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