#[non_exhaustive]pub enum BackgroundRepeat {
NoRepeat,
Repeat,
RepeatX,
RepeatY,
Round,
Space,
Raw(Raw),
}Expand description
A value of background-repeat.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoRepeat
no-repeat.
Repeat
repeat.
RepeatX
repeat-x.
RepeatY
repeat-y.
Round
round.
Space
space.
Raw(Raw)
Any other value, passed through unchecked.
Trait Implementations§
Source§impl Clone for BackgroundRepeat
impl Clone for BackgroundRepeat
Source§fn clone(&self) -> BackgroundRepeat
fn clone(&self) -> BackgroundRepeat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BackgroundRepeat
impl Debug for BackgroundRepeat
Source§impl Display for BackgroundRepeat
impl Display for BackgroundRepeat
Source§impl From<Raw> for BackgroundRepeat
impl From<Raw> for BackgroundRepeat
Source§impl PartialEq for BackgroundRepeat
impl PartialEq for BackgroundRepeat
impl StructuralPartialEq for BackgroundRepeat
Auto Trait Implementations§
impl Freeze for BackgroundRepeat
impl RefUnwindSafe for BackgroundRepeat
impl Send for BackgroundRepeat
impl Sync for BackgroundRepeat
impl Unpin for BackgroundRepeat
impl UnsafeUnpin for BackgroundRepeat
impl UnwindSafe for BackgroundRepeat
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