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