Skip to main content

navigation_item

Function navigation_item 

Source
pub fn navigation_item<R: Resource>(cx: &Cx) -> Option<NavigationItem>
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.