Struct parcel_css::properties::transform::Translate
source · [−]pub struct Translate {
pub x: LengthPercentage,
pub y: LengthPercentage,
pub z: Length,
}
Expand description
https://drafts.csswg.org/css-transforms-2/#propdef-translate
Fields
x: LengthPercentage
y: LengthPercentage
z: Length
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Translate
impl UnwindSafe for Translate
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