pub enum ImageRepeat {
Repeat,
RepeatX,
RepeatY,
NoRepeat,
}Expand description
A picture painted as a background, and the reference’s fitting.
How a picture fills the room its fit leaves: once, or repeated across, down, or both
— the reference’s ImageRepeat.
Variants§
Repeat
Across and down, until the box is covered.
RepeatX
Across only.
RepeatY
Down only.
NoRepeat
Once; the rest of the box stays empty.
Trait Implementations§
Source§impl Clone for ImageRepeat
impl Clone for ImageRepeat
Source§fn clone(&self) -> ImageRepeat
fn clone(&self) -> ImageRepeat
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 ImageRepeat
Source§impl Debug for ImageRepeat
impl Debug for ImageRepeat
Source§impl Default for ImageRepeat
impl Default for ImageRepeat
Source§fn default() -> ImageRepeat
fn default() -> ImageRepeat
Returns the “default value” for a type. Read more
impl Eq for ImageRepeat
Source§impl Hash for ImageRepeat
impl Hash for ImageRepeat
Source§impl PartialEq for ImageRepeat
impl PartialEq for ImageRepeat
impl StructuralPartialEq for ImageRepeat
Auto Trait Implementations§
impl Freeze for ImageRepeat
impl RefUnwindSafe for ImageRepeat
impl Send for ImageRepeat
impl Sync for ImageRepeat
impl Unpin for ImageRepeat
impl UnsafeUnpin for ImageRepeat
impl UnwindSafe for ImageRepeat
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