pub enum Repetition {
Repeat,
RepeatX,
RepeatY,
NoRepeat,
}
Expand description
An enum indicating how to repeat the image.
Variants§
Repeat
Repeat in both directions
RepeatX
Repeat horizontally
RepeatY
Repeat vertically
NoRepeat
Don’t repeat
Trait Implementations§
Source§impl Clone for Repetition
impl Clone for Repetition
Source§fn clone(&self) -> Repetition
fn clone(&self) -> Repetition
Returns a copy 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 Default for Repetition
impl Default for Repetition
Source§fn default() -> Repetition
fn default() -> Repetition
Returns the “default value” for a type. Read more
Source§impl PartialEq for Repetition
impl PartialEq for Repetition
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