pub enum TileMode {
Clamp,
Repeat,
Mirror,
Decal,
}Variants§
Clamp
Clamp to edge colors
Repeat
Repeat the gradient
Mirror
Repeat the gradient in reverse (mirror)
Decal
Decal - render transparent outside gradient
Trait Implementations§
impl Copy for TileMode
impl StructuralPartialEq for TileMode
Auto Trait Implementations§
impl Freeze for TileMode
impl RefUnwindSafe for TileMode
impl Send for TileMode
impl Sync for TileMode
impl Unpin for TileMode
impl UnwindSafe for TileMode
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