pub struct ConicGradient {
pub extend_mode: ExtendMode,
pub center: PointKey,
pub params: ConicGradientParams,
pub stretch_size: SizeKey,
pub stops: Vec<GradientStopKey>,
pub tile_spacing: SizeKey,
pub nine_patch: Option<Box<NinePatchDescriptor>>,
}Fields§
§extend_mode: ExtendMode§center: PointKey§params: ConicGradientParams§stretch_size: SizeKey§stops: Vec<GradientStopKey>§tile_spacing: SizeKey§nine_patch: Option<Box<NinePatchDescriptor>>Trait Implementations§
Source§impl Debug for ConicGradient
impl Debug for ConicGradient
Source§impl Internable for ConicGradient
impl Internable for ConicGradient
const PROFILE_COUNTER: usize = 95usize
type Key = ConicGradientKey
type StoreData = ConicGradientTemplate
type InternData = ()
Source§impl InternablePrimitive for ConicGradient
impl InternablePrimitive for ConicGradient
Source§fn into_key(self, info: &LayoutPrimitiveInfo) -> ConicGradientKey
fn into_key(self, info: &LayoutPrimitiveInfo) -> ConicGradientKey
Build a new key from self with
info.fn make_instance_kind( _key: ConicGradientKey, data_handle: Handle<ConicGradient>, _prim_store: &mut PrimitiveStore, ) -> PrimitiveInstanceKind
Source§impl IsVisible for ConicGradient
impl IsVisible for ConicGradient
fn is_visible(&self) -> bool
Source§impl MallocSizeOf for ConicGradient
impl MallocSizeOf for ConicGradient
Source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
Measure the heap usage of all descendant heap-allocated structures, but
not the space taken up by the value itself.
Auto Trait Implementations§
impl Freeze for ConicGradient
impl RefUnwindSafe for ConicGradient
impl Send for ConicGradient
impl Sync for ConicGradient
impl Unpin for ConicGradient
impl UnwindSafe for ConicGradient
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more