Enum VerticalAlignment
#[repr(i32)]pub enum VerticalAlignment {
Bottom = 0,
Top = 1,
Center = 2,
Stretch = 3,
}Expand description
Vertical alignment options.
Variants§
Implementations§
§impl VerticalAlignment
impl VerticalAlignment
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> VerticalAlignment
Trait Implementations§
§impl Clone for VerticalAlignment
impl Clone for VerticalAlignment
§fn clone(&self) -> VerticalAlignment
fn clone(&self) -> VerticalAlignment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for VerticalAlignment
impl Debug for VerticalAlignment
§impl Display for VerticalAlignment
impl Display for VerticalAlignment
§impl PartialEq for VerticalAlignment
impl PartialEq for VerticalAlignment
§impl VariantConstraint for VerticalAlignment
impl VariantConstraint for VerticalAlignment
§type DataArg<'a> = VerticalAlignment
type DataArg<'a> = VerticalAlignment
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = VerticalAlignment
type RetArg = VerticalAlignment
§fn as_arg(&self) -> <VerticalAlignment as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <VerticalAlignment as VariantConstraint>::DataArg<'_>
impl Copy for VerticalAlignment
impl Eq for VerticalAlignment
impl PropertyTypeConstraint 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 UnwindSafe for VerticalAlignment
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