Struct kas::widget::SubMenu [−][src]
pub struct SubMenu<D: Directional, W: Menu> { pub list: Column<W>, // some fields omitted }
Expand description
A sub-menu
Fields
list: Column<W>Implementations
Construct a sub-menu
Construct a sub-menu, opening to the right
Construct a sub-menu, opening downwards
Construct a sub-menu
Trait Implementations
Set accel string
Get the number of child widgets
Get a reference to a child widget by index, or None if the index is
out of bounds. Read more
Mutable variant of get Read more
Record first identifier Read more
Check whether id is a descendant Read more
Find the child which is an ancestor of this id, if any Read more
Find the leaf (lowest descendant) with this id, if any Read more
Find the leaf (lowest descendant) with this id, if any Read more
Walk through all widgets, calling f once on each. Read more
Walk through all widgets, calling f once on each. Read more
Get self as type Any (mutable)
Get the name of the widget struct
Erase type
Erase type
Get whether the widget is disabled
Set the disabled state of a widget Read more
Set disabled state (chaining) Read more
Construct InputState Read more
Auto Trait Implementations
impl<D, W> RefUnwindSafe for SubMenu<D, W> where
D: RefUnwindSafe,
W: RefUnwindSafe,
impl<D, W> UnwindSafe for SubMenu<D, W> where
D: UnwindSafe,
W: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Cast to integer, truncating Read more
Cast to the nearest integer Read more
Cast the floor to an integer Read more
Try converting to integer with truncation Read more
Try converting to the nearest integer Read more
Try converting the floor to an integer Read more
Try convert the ceiling to an integer Read more