pub enum RepeatStyle {
RepeatX(Ident),
RepeatY(Ident),
Repetition(Repetition, Option<Repetition>),
}Expand description
https://drafts.csswg.org/css-backgrounds-4/#background-repeat
<repeat-style> = repeat-x | repeat-y | <repetition>{1,2}Variants§
Trait Implementations§
Source§impl Clone for RepeatStyle
impl Clone for RepeatStyle
Source§fn clone(&self) -> RepeatStyle
fn clone(&self) -> RepeatStyle
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 RepeatStyle
impl Debug for RepeatStyle
Source§impl Hash for RepeatStyle
impl Hash for RepeatStyle
Source§impl Ord for RepeatStyle
impl Ord for RepeatStyle
Source§fn cmp(&self, other: &RepeatStyle) -> Ordering
fn cmp(&self, other: &RepeatStyle) -> 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 RepeatStyle
impl<'a> Parse<'a> for RepeatStyle
Source§impl PartialEq for RepeatStyle
impl PartialEq for RepeatStyle
Source§impl PartialOrd for RepeatStyle
impl PartialOrd for RepeatStyle
Source§impl<'a> Peek<'a> for RepeatStyle
impl<'a> Peek<'a> for RepeatStyle
Source§impl ToCursors for RepeatStyle
impl ToCursors for RepeatStyle
fn to_cursors(&self, s: &mut impl CursorSink)
impl Copy for RepeatStyle
impl Eq for RepeatStyle
impl StructuralPartialEq for RepeatStyle
Auto Trait Implementations§
impl Freeze for RepeatStyle
impl RefUnwindSafe for RepeatStyle
impl Send for RepeatStyle
impl Sync for RepeatStyle
impl Unpin for RepeatStyle
impl UnwindSafe for RepeatStyle
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