#[repr(C)]pub enum LayoutAlignSelf {
Auto = 0,
Stretch = 1,
Center = 2,
Start = 3,
End = 4,
Baseline = 5,
}Expand description
Represents an align-self attribute, which allows the default alignment
(or the one specified by align-items) to be overridden for individual flex items.
Default: Auto
Variants§
Trait Implementations§
Source§impl Clone for LayoutAlignSelf
impl Clone for LayoutAlignSelf
Source§fn clone(&self) -> LayoutAlignSelf
fn clone(&self) -> LayoutAlignSelf
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 moreSource§impl Debug for LayoutAlignSelf
impl Debug for LayoutAlignSelf
Source§impl Default for LayoutAlignSelf
impl Default for LayoutAlignSelf
Source§impl FormatAsRustCode for LayoutAlignSelf
impl FormatAsRustCode for LayoutAlignSelf
fn format_as_rust_code(&self, _tabs: usize) -> String
Source§impl From<LayoutAlignSelf> for CssProperty
impl From<LayoutAlignSelf> for CssProperty
Source§fn from(e: LayoutAlignSelf) -> Self
fn from(e: LayoutAlignSelf) -> Self
Converts to this type from the input type.
Source§impl Hash for LayoutAlignSelf
impl Hash for LayoutAlignSelf
Source§impl Ord for LayoutAlignSelf
impl Ord for LayoutAlignSelf
Source§fn cmp(&self, other: &LayoutAlignSelf) -> Ordering
fn cmp(&self, other: &LayoutAlignSelf) -> 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 LayoutAlignSelf
impl PartialEq for LayoutAlignSelf
Source§impl PartialOrd for LayoutAlignSelf
impl PartialOrd for LayoutAlignSelf
Source§impl PrintAsCssValue for LayoutAlignSelf
impl PrintAsCssValue for LayoutAlignSelf
fn print_as_css_value(&self) -> String
impl Copy for LayoutAlignSelf
impl Eq for LayoutAlignSelf
impl StructuralPartialEq for LayoutAlignSelf
Auto Trait Implementations§
impl Freeze for LayoutAlignSelf
impl RefUnwindSafe for LayoutAlignSelf
impl Send for LayoutAlignSelf
impl Sync for LayoutAlignSelf
impl Unpin for LayoutAlignSelf
impl UnwindSafe for LayoutAlignSelf
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