pub enum AlignSelfStyleValue {
Auto(Ident),
Normal(Ident),
Stretch(Ident),
BaselinePosition(BaselinePosition),
SelfPosition(Option<OverflowPosition>, SelfPosition),
}Expand description
Represents the style value for align-self as defined in css-align-3.
Flexbox is a one-dimensional layout system, which places content either horizontally or vertically, with optional wrapping.
The grammar is defined as:
auto | normal | stretch | <baseline-position> | <overflow-position>? <self-position>Variants§
Auto(Ident)
Normal(Ident)
Stretch(Ident)
BaselinePosition(BaselinePosition)
SelfPosition(Option<OverflowPosition>, SelfPosition)
Trait Implementations§
Source§impl Clone for AlignSelfStyleValue
impl Clone for AlignSelfStyleValue
Source§fn clone(&self) -> AlignSelfStyleValue
fn clone(&self) -> AlignSelfStyleValue
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 AlignSelfStyleValue
impl Debug for AlignSelfStyleValue
Source§impl Hash for AlignSelfStyleValue
impl Hash for AlignSelfStyleValue
Source§impl Ord for AlignSelfStyleValue
impl Ord for AlignSelfStyleValue
Source§fn cmp(&self, other: &AlignSelfStyleValue) -> Ordering
fn cmp(&self, other: &AlignSelfStyleValue) -> 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<'a> Parse<'a> for AlignSelfStyleValue
impl<'a> Parse<'a> for AlignSelfStyleValue
Source§impl PartialEq for AlignSelfStyleValue
impl PartialEq for AlignSelfStyleValue
Source§impl PartialOrd for AlignSelfStyleValue
impl PartialOrd for AlignSelfStyleValue
Source§impl<'a> Peek<'a> for AlignSelfStyleValue
impl<'a> Peek<'a> for AlignSelfStyleValue
Source§impl ToCursors for AlignSelfStyleValue
impl ToCursors for AlignSelfStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for AlignSelfStyleValue
impl StructuralPartialEq for AlignSelfStyleValue
Auto Trait Implementations§
impl Freeze for AlignSelfStyleValue
impl RefUnwindSafe for AlignSelfStyleValue
impl Send for AlignSelfStyleValue
impl Sync for AlignSelfStyleValue
impl Unpin for AlignSelfStyleValue
impl UnwindSafe for AlignSelfStyleValue
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