pub enum Repetition {
Repeat(Ident),
Space(Ident),
Round(Ident),
NoRepeat(Ident),
}Expand description
https://drafts.csswg.org/css-backgrounds-4/#typedef-repetition
<repetition> = repeat | space | round | no-repeatVariants§
Trait Implementations§
Source§impl Clone for Repetition
impl Clone for Repetition
Source§fn clone(&self) -> Repetition
fn clone(&self) -> Repetition
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 Repetition
impl Debug for Repetition
Source§impl From<Repetition> for Cursor
impl From<Repetition> for Cursor
Source§fn from(value: Repetition) -> Cursor
fn from(value: Repetition) -> Cursor
Converts to this type from the input type.
Source§impl From<Repetition> for Token
impl From<Repetition> for Token
Source§fn from(value: Repetition) -> Token
fn from(value: Repetition) -> Token
Converts to this type from the input type.
Source§impl Hash for Repetition
impl Hash for Repetition
Source§impl Ord for Repetition
impl Ord for Repetition
Source§fn cmp(&self, other: &Repetition) -> Ordering
fn cmp(&self, other: &Repetition) -> 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 Repetition
impl<'a> Parse<'a> for Repetition
Source§impl PartialEq for Repetition
impl PartialEq for Repetition
Source§impl PartialOrd for Repetition
impl PartialOrd for Repetition
Source§impl<'a> Peek<'a> for Repetition
impl<'a> Peek<'a> for Repetition
Source§impl ToCursors for Repetition
impl ToCursors for Repetition
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for Repetition
impl Eq for Repetition
impl StructuralPartialEq for Repetition
Auto Trait Implementations§
impl Freeze for Repetition
impl RefUnwindSafe for Repetition
impl Send for Repetition
impl Sync for Repetition
impl Unpin for Repetition
impl UnwindSafe for Repetition
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