pub enum TrailingBlock {
None,
Children,
Action,
OptionalAction,
Menu,
}Expand description
What the { … } after an element holds.
Variants§
None
Children
Child elements.
Action
Statements to run when the element is used.
OptionalAction
Statements to run when the element is used, which it may go without.
Menu
A menu’s items.
Trait Implementations§
Source§impl Clone for TrailingBlock
impl Clone for TrailingBlock
Source§fn clone(&self) -> TrailingBlock
fn clone(&self) -> TrailingBlock
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TrailingBlock
Source§impl Debug for TrailingBlock
impl Debug for TrailingBlock
impl Eq for TrailingBlock
Source§impl PartialEq for TrailingBlock
impl PartialEq for TrailingBlock
impl StructuralPartialEq for TrailingBlock
Auto Trait Implementations§
impl Freeze for TrailingBlock
impl RefUnwindSafe for TrailingBlock
impl Send for TrailingBlock
impl Sync for TrailingBlock
impl Unpin for TrailingBlock
impl UnsafeUnpin for TrailingBlock
impl UnwindSafe for TrailingBlock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more