pub enum RubyOverhangStyleValue {
Auto(Ident),
None(Ident),
}Expand description
Represents the style value for ruby-overhang as defined in css-ruby-1.
The ruby-overhang CSS property sets whether ruby annotations may overlap adjacent text.
The grammar is defined as:
auto | noneVariants§
Trait Implementations§
Source§impl Clone for RubyOverhangStyleValue
impl Clone for RubyOverhangStyleValue
Source§fn clone(&self) -> RubyOverhangStyleValue
fn clone(&self) -> RubyOverhangStyleValue
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 RubyOverhangStyleValue
impl Debug for RubyOverhangStyleValue
Source§impl Hash for RubyOverhangStyleValue
impl Hash for RubyOverhangStyleValue
Source§impl Ord for RubyOverhangStyleValue
impl Ord for RubyOverhangStyleValue
Source§fn cmp(&self, other: &RubyOverhangStyleValue) -> Ordering
fn cmp(&self, other: &RubyOverhangStyleValue) -> 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 RubyOverhangStyleValue
impl<'a> Parse<'a> for RubyOverhangStyleValue
Source§impl PartialEq for RubyOverhangStyleValue
impl PartialEq for RubyOverhangStyleValue
Source§impl PartialOrd for RubyOverhangStyleValue
impl PartialOrd for RubyOverhangStyleValue
Source§impl<'a> Peek<'a> for RubyOverhangStyleValue
impl<'a> Peek<'a> for RubyOverhangStyleValue
Source§impl ToCursors for RubyOverhangStyleValue
impl ToCursors for RubyOverhangStyleValue
fn to_cursors(&self, s: &mut impl CursorSink)
impl Eq for RubyOverhangStyleValue
impl StructuralPartialEq for RubyOverhangStyleValue
Auto Trait Implementations§
impl Freeze for RubyOverhangStyleValue
impl RefUnwindSafe for RubyOverhangStyleValue
impl Send for RubyOverhangStyleValue
impl Sync for RubyOverhangStyleValue
impl Unpin for RubyOverhangStyleValue
impl UnwindSafe for RubyOverhangStyleValue
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