pub enum LayoutAlignItems {
Stretch,
Center,
Start,
End,
}
Expand description
Represents a align-items
attribute
Variants§
Stretch
Items are stretched to fit the container
Center
Items are positioned at the center of the container
Start
Items are positioned at the beginning of the container
End
Items are positioned at the end of the container
Trait Implementations§
Source§impl Clone for LayoutAlignItems
impl Clone for LayoutAlignItems
Source§fn clone(&self) -> LayoutAlignItems
fn clone(&self) -> LayoutAlignItems
Returns a copy 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 moreSource§impl Debug for LayoutAlignItems
impl Debug for LayoutAlignItems
Source§impl Default for LayoutAlignItems
impl Default for LayoutAlignItems
Source§impl From<LayoutAlignItems> for CssProperty
impl From<LayoutAlignItems> for CssProperty
Source§fn from(e: LayoutAlignItems) -> Self
fn from(e: LayoutAlignItems) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutAlignItems
impl Hash for LayoutAlignItems
Source§impl Ord for LayoutAlignItems
impl Ord for LayoutAlignItems
Source§fn cmp(&self, other: &LayoutAlignItems) -> Ordering
fn cmp(&self, other: &LayoutAlignItems) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LayoutAlignItems
impl PartialEq for LayoutAlignItems
Source§impl PartialOrd for LayoutAlignItems
impl PartialOrd for LayoutAlignItems
impl Copy for LayoutAlignItems
impl Eq for LayoutAlignItems
impl StructuralPartialEq for LayoutAlignItems
Auto Trait Implementations§
impl Freeze for LayoutAlignItems
impl RefUnwindSafe for LayoutAlignItems
impl Send for LayoutAlignItems
impl Sync for LayoutAlignItems
impl Unpin for LayoutAlignItems
impl UnwindSafe for LayoutAlignItems
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)