Enum parcel_css::values::gradient::GradientItem [−][src]
pub enum GradientItem<D> {
ColorStop(ColorStop<D>),
Hint(D),
}
Variants
ColorStop(ColorStop<D>)
Tuple Fields
0: ColorStop<D>
Hint(D)
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<D> RefUnwindSafe for GradientItem<D> where
D: RefUnwindSafe,
impl<D> Send for GradientItem<D> where
D: Send,
impl<D> Sync for GradientItem<D> where
D: Sync,
impl<D> Unpin for GradientItem<D> where
D: Unpin,
impl<D> UnwindSafe for GradientItem<D> where
D: UnwindSafe,
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more