pub enum TextSpread {
Pad,
Repeat,
Reflect,
}Expand description
What a linear or radial gradient shows past its first and last stops.
Variants§
Pad
The end colors continue.
Repeat
The gradient starts again.
Reflect
The gradient runs back and forth.
Trait Implementations§
Source§impl Clone for TextSpread
impl Clone for TextSpread
impl Copy for TextSpread
Source§impl Debug for TextSpread
impl Debug for TextSpread
Source§impl Default for TextSpread
impl Default for TextSpread
impl Eq for TextSpread
Source§impl PartialEq for TextSpread
impl PartialEq for TextSpread
impl StructuralPartialEq for TextSpread
Auto Trait Implementations§
impl Freeze for TextSpread
impl RefUnwindSafe for TextSpread
impl Send for TextSpread
impl Sync for TextSpread
impl Unpin for TextSpread
impl UnsafeUnpin for TextSpread
impl UnwindSafe for TextSpread
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