Enum parcel_css::properties::transform::Perspective [−][src]
pub enum Perspective {
None,
Length(Length),
}
Expand description
https://drafts.csswg.org/css-transforms-2/#perspective-property
Variants
None
Length(Length)
Tuple Fields
0: Length
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 Perspective
impl Send for Perspective
impl Sync for Perspective
impl Unpin for Perspective
impl UnwindSafe for Perspective
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