pub enum ContentDistribution {
SpaceBetween(Ident),
SpaceAround(Ident),
SpaceEvenly(Ident),
Stretch(Ident),
}Expand description
https://drafts.csswg.org/css-align-3/#typedef-content-distribution
<content-distribution> = space-between | space-around | space-evenly | stretchVariants§
Trait Implementations§
Source§impl Clone for ContentDistribution
impl Clone for ContentDistribution
Source§fn clone(&self) -> ContentDistribution
fn clone(&self) -> ContentDistribution
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 ContentDistribution
impl Debug for ContentDistribution
Source§impl From<ContentDistribution> for Cursor
impl From<ContentDistribution> for Cursor
Source§fn from(value: ContentDistribution) -> Cursor
fn from(value: ContentDistribution) -> Cursor
Converts to this type from the input type.
Source§impl From<ContentDistribution> for Token
impl From<ContentDistribution> for Token
Source§fn from(value: ContentDistribution) -> Token
fn from(value: ContentDistribution) -> Token
Converts to this type from the input type.
Source§impl Hash for ContentDistribution
impl Hash for ContentDistribution
Source§impl Ord for ContentDistribution
impl Ord for ContentDistribution
Source§fn cmp(&self, other: &ContentDistribution) -> Ordering
fn cmp(&self, other: &ContentDistribution) -> 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 ContentDistribution
impl<'a> Parse<'a> for ContentDistribution
Source§impl PartialEq for ContentDistribution
impl PartialEq for ContentDistribution
Source§impl PartialOrd for ContentDistribution
impl PartialOrd for ContentDistribution
Source§impl<'a> Peek<'a> for ContentDistribution
impl<'a> Peek<'a> for ContentDistribution
Source§impl ToCursors for ContentDistribution
impl ToCursors for ContentDistribution
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for ContentDistribution
impl Eq for ContentDistribution
impl StructuralPartialEq for ContentDistribution
Auto Trait Implementations§
impl Freeze for ContentDistribution
impl RefUnwindSafe for ContentDistribution
impl Send for ContentDistribution
impl Sync for ContentDistribution
impl Unpin for ContentDistribution
impl UnwindSafe for ContentDistribution
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