#[repr(i32)]pub enum BarLayoutBehavior {
Inset = 0,
Overlay = 1,
}Expand description
Defines how a bar (such as a navigation bar or drawer header) is laid out relative to page content.
Variants§
Inset = 0
The bar occupies its own layout space and content is placed below it.
Overlay = 1
The bar overlays the content area without consuming layout space.
Trait Implementations§
Source§impl Clone for BarLayoutBehavior
impl Clone for BarLayoutBehavior
impl Copy for BarLayoutBehavior
Source§impl Debug for BarLayoutBehavior
impl Debug for BarLayoutBehavior
impl Eq for BarLayoutBehavior
Source§impl Hash for BarLayoutBehavior
impl Hash for BarLayoutBehavior
Source§impl MarkupTyped for BarLayoutBehavior
impl MarkupTyped for BarLayoutBehavior
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for BarLayoutBehavior
impl PartialEq for BarLayoutBehavior
impl StructuralPartialEq for BarLayoutBehavior
Auto Trait Implementations§
impl Freeze for BarLayoutBehavior
impl RefUnwindSafe for BarLayoutBehavior
impl Send for BarLayoutBehavior
impl Sync for BarLayoutBehavior
impl Unpin for BarLayoutBehavior
impl UnsafeUnpin for BarLayoutBehavior
impl UnwindSafe for BarLayoutBehavior
Blanket Implementations§
Source§impl<T> AnyValue for Twhere
T: PartialEq + 'static,
impl<T> AnyValue for Twhere
T: PartialEq + 'static,
fn any_value_as_any(&self) -> &(dyn Any + 'static)
fn any_value_eq(&self, other: &(dyn AnyValue + 'static)) -> bool
fn any_value_type_name(&self) -> &'static str
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more