Struct tiny_skia::pipeline::EvenlySpaced2StopGradientCtx
source · pub struct EvenlySpaced2StopGradientCtx {
pub factor: GradientColor,
pub bias: GradientColor,
}
Fields§
§factor: GradientColor
§bias: GradientColor
Trait Implementations§
source§impl Clone for EvenlySpaced2StopGradientCtx
impl Clone for EvenlySpaced2StopGradientCtx
source§fn clone(&self) -> EvenlySpaced2StopGradientCtx
fn clone(&self) -> EvenlySpaced2StopGradientCtx
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 EvenlySpaced2StopGradientCtx
impl Debug for EvenlySpaced2StopGradientCtx
source§impl Default for EvenlySpaced2StopGradientCtx
impl Default for EvenlySpaced2StopGradientCtx
source§fn default() -> EvenlySpaced2StopGradientCtx
fn default() -> EvenlySpaced2StopGradientCtx
Returns the “default value” for a type. Read more
impl Copy for EvenlySpaced2StopGradientCtx
Auto Trait Implementations§
impl Freeze for EvenlySpaced2StopGradientCtx
impl RefUnwindSafe for EvenlySpaced2StopGradientCtx
impl Send for EvenlySpaced2StopGradientCtx
impl Sync for EvenlySpaced2StopGradientCtx
impl Unpin for EvenlySpaced2StopGradientCtx
impl UnwindSafe for EvenlySpaced2StopGradientCtx
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
)