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
source§fn eq(&self, other: &GradientExtend) -> bool
fn eq(&self, other: &GradientExtend) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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