Struct parcel_css::properties::css_modules::Composes
source · [−]pub struct Composes {
pub names: SmallVec<[CustomIdent; 1]>,
pub from: Option<ComposesFrom>,
pub loc: SourceLocation,
}
Expand description
The composes
property from CSS modules.
https://github.com/css-modules/css-modules/#dependencies
Fields
names: SmallVec<[CustomIdent; 1]>
from: Option<ComposesFrom>
loc: SourceLocation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Composes
impl UnwindSafe for Composes
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