Enum parcel_css::values::gradient::WebKitGradient
source · [−]pub enum WebKitGradient {
Linear {
from: WebKitGradientPoint,
to: WebKitGradientPoint,
stops: Vec<WebKitColorStop>,
},
Radial {
from: WebKitGradientPoint,
r0: f32,
to: WebKitGradientPoint,
r1: f32,
stops: Vec<WebKitColorStop>,
},
}
Variants
Linear
Radial
Implementations
Attempts to convert a standard gradient to a legacy -webkit-gradient()
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 RefUnwindSafe for WebKitGradient
impl Send for WebKitGradient
impl Sync for WebKitGradient
impl Unpin for WebKitGradient
impl UnwindSafe for WebKitGradient
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