Skip to main content

sidebar

Function sidebar 

Source
pub fn sidebar<'a, C: ContentCx<'a>>(
    cx: &mut C,
    id: impl Into<WidgetId>,
    rect: Rect,
    state: &mut SidebarState,
    view: &mut SidebarView<'_>,
    settings: &SidebarSettings,
    kind: &SidebarRenderKind,
)
Expand description

Register and draw an edge sidebar.