#[repr(u32)]pub enum ImageTiling {
None = 0,
Repeat = 1,
Round = 2,
}
Expand description
This enum specifies how the source image will be tiled.
Variants§
None = 0
The source image will not be tiled.
Repeat = 1
The source image will be repeated to fill the Image
element.
Round = 2
The source image will be repeated and scaled to fill the Image
element, ensuring an integer number of repetitions.
Trait Implementations§
Source§impl Clone for ImageTiling
impl Clone for ImageTiling
Source§fn clone(&self) -> ImageTiling
fn clone(&self) -> ImageTiling
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 ImageTiling
impl Debug for ImageTiling
Source§impl Default for ImageTiling
impl Default for ImageTiling
Source§impl Display for ImageTiling
impl Display for ImageTiling
Source§impl FromStr for ImageTiling
impl FromStr for ImageTiling
Source§impl Hash for ImageTiling
impl Hash for ImageTiling
Source§impl PartialEq for ImageTiling
impl PartialEq for ImageTiling
Source§impl TryFrom<&str> for ImageTiling
impl TryFrom<&str> for ImageTiling
impl Copy for ImageTiling
impl Eq for ImageTiling
impl StructuralPartialEq for ImageTiling
Auto Trait Implementations§
impl Freeze for ImageTiling
impl RefUnwindSafe for ImageTiling
impl Send for ImageTiling
impl Sync for ImageTiling
impl Unpin for ImageTiling
impl UnwindSafe for ImageTiling
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Converts the given value to a
SharedString
.