Struct parcel_css::values::position::Position [−][src]
pub struct Position {
pub x: HorizontalPosition,
pub y: VerticalPosition,
}
Expand description
https://www.w3.org/TR/css-backgrounds-3/#background-position
Fields
x: HorizontalPosition
y: VerticalPosition
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Position
impl UnwindSafe for Position
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