Enum ttf_parser::colr::GradientExtend
source · pub enum GradientExtend {
Pad,
Repeat,
Reflect,
}
Expand description
Variants§
Pad
The Pad
gradient extend mode.
Repeat
The Repeat
gradient extend mode.
Reflect
The Reflect
gradient extend mode.
Trait Implementations§
source§impl Clone for GradientExtend
impl Clone for GradientExtend
source§fn clone(&self) -> GradientExtend
fn clone(&self) -> GradientExtend
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 GradientExtend
impl Debug for GradientExtend
source§impl FromData for GradientExtend
impl FromData for GradientExtend
source§impl PartialEq for GradientExtend
impl PartialEq for GradientExtend
impl Copy for GradientExtend
impl StructuralPartialEq for GradientExtend
Auto Trait Implementations§
impl Freeze for GradientExtend
impl RefUnwindSafe for GradientExtend
impl Send for GradientExtend
impl Sync for GradientExtend
impl Unpin for GradientExtend
impl UnwindSafe for GradientExtend
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,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)