Skip to main content

separator

Function separator 

Source
pub fn separator<'a, C: ContentCx<'a>>(
    cx: &mut C,
    id: impl Into<WidgetId>,
    rect: Rect,
    kind: SeparatorKind,
    view: &SeparatorView,
    settings: &SeparatorSettings,
)
Expand description

Register and draw a separator. kind picks the hit sense (divider or resize handle); view picks the paint.