fn sidebar_primitive(cx: &Context<'_>, buf: &mut Buffer, it: &Item)