pub enum TileMode {
Clamp,
Repeated,
Mirror,
Decal,
}Expand description
The three gradients and how they tile.
What a gradient does past its ends (dart:ui’s TileMode).
Variants§
Clamp
The end colours carry on. The default.
Repeated
The gradient starts again.
Mirror
The gradient comes back the other way, and so on.
Decal
Nothing past the ends.
Trait Implementations§
impl Copy for TileMode
impl Eq 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 UnsafeUnpin 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