Enum parcel_css::values::position::PositionComponent [−][src]
pub enum PositionComponent<S> {
Center,
Length(LengthPercentage),
Side(S, Option<LengthPercentage>),
}
Variants
Center
center
Length(LengthPercentage)
Tuple Fields
<length-percentage>
Side(S, Option<LengthPercentage>)
<side> <length-percentage>?
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<S> RefUnwindSafe for PositionComponent<S> where
S: RefUnwindSafe,
impl<S> Send for PositionComponent<S> where
S: Send,
impl<S> Sync for PositionComponent<S> where
S: Sync,
impl<S> Unpin for PositionComponent<S> where
S: Unpin,
impl<S> UnwindSafe for PositionComponent<S> where
S: 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