pub enum ContainerSizing {
Normal,
Width,
Height,
WidthAndHeight,
}Expand description
Defines how a container is queried.
Variants§
Normal
The container is not included in any size queries.
Width
The container size can be queried for width.
Height
The container size can be queried for height.
WidthAndHeight
The container size can be queried for width and height.
Trait Implementations§
Source§impl Clone for ContainerSizing
impl Clone for ContainerSizing
impl Copy for ContainerSizing
Source§impl Debug for ContainerSizing
impl Debug for ContainerSizing
Source§impl Default for ContainerSizing
impl Default for ContainerSizing
impl Eq for ContainerSizing
Source§impl Hash for ContainerSizing
impl Hash for ContainerSizing
Source§impl MarkupTyped for ContainerSizing
impl MarkupTyped for ContainerSizing
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for ContainerSizing
impl PartialEq for ContainerSizing
impl StructuralPartialEq for ContainerSizing
Auto Trait Implementations§
impl Freeze for ContainerSizing
impl RefUnwindSafe for ContainerSizing
impl Send for ContainerSizing
impl Sync for ContainerSizing
impl Unpin for ContainerSizing
impl UnsafeUnpin for ContainerSizing
impl UnwindSafe for ContainerSizing
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