Skip to main content

navigation_item

Function navigation_item 

Source
pub fn navigation_item<R>(cx: &Cx) -> Option<NavigationItem>
where R: Resource,
Expand description

R’s sidebar entry in the context’s panel, with its label, URL and icon; None when the panel does not register R. A resource hidden from the sidebar still has one, to link to it by.