pub enum TextAlignAllStyleValue {
Start(Ident),
End(Ident),
Left(Ident),
Right(Ident),
Center(Ident),
String(String),
Justify(Ident),
MatchParent(Ident),
}Expand description
Represents the style value for text-align-all as defined in css-text-4.
The grammar is defined as:
start | end | left | right | center | <string> | justify | match-parentVariants§
Start(Ident)
End(Ident)
Left(Ident)
Right(Ident)
Center(Ident)
String(String)
Justify(Ident)
MatchParent(Ident)
Trait Implementations§
Source§impl Clone for TextAlignAllStyleValue
impl Clone for TextAlignAllStyleValue
Source§fn clone(&self) -> TextAlignAllStyleValue
fn clone(&self) -> TextAlignAllStyleValue
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 TextAlignAllStyleValue
impl Debug for TextAlignAllStyleValue
Source§impl Hash for TextAlignAllStyleValue
impl Hash for TextAlignAllStyleValue
Source§impl Ord for TextAlignAllStyleValue
impl Ord for TextAlignAllStyleValue
Source§fn cmp(&self, other: &TextAlignAllStyleValue) -> Ordering
fn cmp(&self, other: &TextAlignAllStyleValue) -> 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 TextAlignAllStyleValue
impl<'a> Parse<'a> for TextAlignAllStyleValue
Source§impl PartialEq for TextAlignAllStyleValue
impl PartialEq for TextAlignAllStyleValue
Source§impl PartialOrd for TextAlignAllStyleValue
impl PartialOrd for TextAlignAllStyleValue
Source§impl<'a> Peek<'a> for TextAlignAllStyleValue
impl<'a> Peek<'a> for TextAlignAllStyleValue
Source§impl ToCursors for TextAlignAllStyleValue
impl ToCursors for TextAlignAllStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for TextAlignAllStyleValue
impl StructuralPartialEq for TextAlignAllStyleValue
Auto Trait Implementations§
impl Freeze for TextAlignAllStyleValue
impl RefUnwindSafe for TextAlignAllStyleValue
impl Send for TextAlignAllStyleValue
impl Sync for TextAlignAllStyleValue
impl Unpin for TextAlignAllStyleValue
impl UnwindSafe for TextAlignAllStyleValue
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