pub enum BackgroundRepeat {
Repeat,
NoRepeat,
RepeatX,
RepeatY,
Space,
Round,
}Expand description
The background-repeat keyword.
Variants§
Repeat
repeat — tile both axes. Default.
NoRepeat
no-repeat — no tiling.
RepeatX
repeat-x — tile horizontally only.
RepeatY
repeat-y — tile vertically only.
Space
space — tile with extra space between tiles to fill the box.
Round
round — tile, scaling each tile so an integer number fit.
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 moreimpl Copy for BackgroundRepeat
Source§impl Debug for BackgroundRepeat
impl Debug for BackgroundRepeat
impl Eq for BackgroundRepeat
Source§impl Hash for BackgroundRepeat
impl Hash for BackgroundRepeat
Source§impl PartialEq for BackgroundRepeat
impl PartialEq for BackgroundRepeat
Source§fn eq(&self, other: &BackgroundRepeat) -> bool
fn eq(&self, other: &BackgroundRepeat) -> bool
Tests for
self and other values to be equal, and is used by ==.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