Skip to main content

control_bar

Function control_bar 

Source
pub fn control_bar(
    theme: &Theme,
    shape: Shape,
    leading: Vec<AnyElement>,
    centre: Option<AnyElement>,
    trailing: Vec<AnyElement>,
) -> AnyElement
Expand description

The bar. centre is optional — a toolbar with only clusters passes None and the rails still hold their ends.