pub enum LineWidthOrRepeat<'a> {
LineWidth(LineWidth),
RepeatFunction(RepeatFunction<'a>),
}Expand description
https://drafts.csswg.org/css-gaps-1/#typedef-line-width-or-repeat
<line-width-or-repeat> = [ <line-width> | <repeat-line-width> ]Variants§
LineWidth(LineWidth)
RepeatFunction(RepeatFunction<'a>)
Trait Implementations§
Source§impl<'a> Clone for LineWidthOrRepeat<'a>
impl<'a> Clone for LineWidthOrRepeat<'a>
Source§fn clone(&self) -> LineWidthOrRepeat<'a>
fn clone(&self) -> LineWidthOrRepeat<'a>
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<'a> Debug for LineWidthOrRepeat<'a>
impl<'a> Debug for LineWidthOrRepeat<'a>
Source§impl<'a> Hash for LineWidthOrRepeat<'a>
impl<'a> Hash for LineWidthOrRepeat<'a>
Source§impl<'a> Ord for LineWidthOrRepeat<'a>
impl<'a> Ord for LineWidthOrRepeat<'a>
Source§fn cmp(&self, other: &LineWidthOrRepeat<'a>) -> Ordering
fn cmp(&self, other: &LineWidthOrRepeat<'a>) -> 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 LineWidthOrRepeat<'a>
impl<'a> Parse<'a> for LineWidthOrRepeat<'a>
Source§impl<'a> PartialEq for LineWidthOrRepeat<'a>
impl<'a> PartialEq for LineWidthOrRepeat<'a>
Source§impl<'a> PartialOrd for LineWidthOrRepeat<'a>
impl<'a> PartialOrd for LineWidthOrRepeat<'a>
Source§impl<'a> Peek<'a> for LineWidthOrRepeat<'a>
impl<'a> Peek<'a> for LineWidthOrRepeat<'a>
Source§impl<'a> ToCursors for LineWidthOrRepeat<'a>
impl<'a> ToCursors for LineWidthOrRepeat<'a>
fn to_cursors(&self, s: &mut impl CursorSink)
impl<'a> Eq for LineWidthOrRepeat<'a>
impl<'a> StructuralPartialEq for LineWidthOrRepeat<'a>
Auto Trait Implementations§
impl<'a> Freeze for LineWidthOrRepeat<'a>
impl<'a> !RefUnwindSafe for LineWidthOrRepeat<'a>
impl<'a> !Send for LineWidthOrRepeat<'a>
impl<'a> !Sync for LineWidthOrRepeat<'a>
impl<'a> Unpin for LineWidthOrRepeat<'a>
impl<'a> !UnwindSafe for LineWidthOrRepeat<'a>
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