pub enum RubyAlignStyleValue {
Start(Ident),
Center(Ident),
SpaceBetween(Ident),
SpaceAround(Ident),
}Expand description
Represents the style value for ruby-align as defined in css-ruby-1.
The ruby-align CSS property sets the spacing and alignment of ruby annotation text when it does not fill its available space.
The grammar is defined as:
start | center | space-between | space-aroundVariants§
Trait Implementations§
Source§impl Clone for RubyAlignStyleValue
impl Clone for RubyAlignStyleValue
Source§fn clone(&self) -> RubyAlignStyleValue
fn clone(&self) -> RubyAlignStyleValue
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 RubyAlignStyleValue
impl Debug for RubyAlignStyleValue
Source§impl Hash for RubyAlignStyleValue
impl Hash for RubyAlignStyleValue
Source§impl Ord for RubyAlignStyleValue
impl Ord for RubyAlignStyleValue
Source§fn cmp(&self, other: &RubyAlignStyleValue) -> Ordering
fn cmp(&self, other: &RubyAlignStyleValue) -> 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 RubyAlignStyleValue
impl<'a> Parse<'a> for RubyAlignStyleValue
Source§impl PartialEq for RubyAlignStyleValue
impl PartialEq for RubyAlignStyleValue
Source§impl PartialOrd for RubyAlignStyleValue
impl PartialOrd for RubyAlignStyleValue
Source§impl<'a> Peek<'a> for RubyAlignStyleValue
impl<'a> Peek<'a> for RubyAlignStyleValue
Source§impl ToCursors for RubyAlignStyleValue
impl ToCursors for RubyAlignStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for RubyAlignStyleValue
impl StructuralPartialEq for RubyAlignStyleValue
Auto Trait Implementations§
impl Freeze for RubyAlignStyleValue
impl RefUnwindSafe for RubyAlignStyleValue
impl Send for RubyAlignStyleValue
impl Sync for RubyAlignStyleValue
impl Unpin for RubyAlignStyleValue
impl UnwindSafe for RubyAlignStyleValue
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