pub enum VerticalAlignment {
Stretch,
Top,
Center,
Bottom,
}Expand description
Defines how a control aligns itself vertically in its parent control.
Variants§
Stretch
The control stretches to fill the height of the parent control.
Top
The control aligns itself to the top of the parent control.
Center
The control centers itself within the parent control.
Bottom
The control aligns itself to the bottom of the parent control.
Trait Implementations§
Source§impl Clone for VerticalAlignment
impl Clone for VerticalAlignment
impl Copy for VerticalAlignment
Source§impl Debug for VerticalAlignment
impl Debug for VerticalAlignment
Source§impl Default for VerticalAlignment
impl Default for VerticalAlignment
impl Eq for VerticalAlignment
Source§impl Hash for VerticalAlignment
impl Hash for VerticalAlignment
Source§impl MarkupTyped for VerticalAlignment
impl MarkupTyped for VerticalAlignment
Source§const MARKUP: &'static MarkupType
const MARKUP: &'static MarkupType
The markup metadata of the type.
Source§impl PartialEq for VerticalAlignment
impl PartialEq for VerticalAlignment
impl StructuralPartialEq for VerticalAlignment
Auto Trait Implementations§
impl Freeze for VerticalAlignment
impl RefUnwindSafe for VerticalAlignment
impl Send for VerticalAlignment
impl Sync for VerticalAlignment
impl Unpin for VerticalAlignment
impl UnsafeUnpin for VerticalAlignment
impl UnwindSafe for VerticalAlignment
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