pub enum CssModuleReference {
Local {
name: String,
},
Global {
name: String,
},
Dependency {
name: String,
specifier: String,
},
}
Expand description
A referenced name within a CSS module, e.g. via the composes
property.
See CssModuleExport.
Variants§
Local
A local reference.
Global
A global reference.
Dependency
Fields
A reference to an export in a different file.
Trait Implementations§
source§impl Clone for CssModuleReference
impl Clone for CssModuleReference
source§fn clone(&self) -> CssModuleReference
fn clone(&self) -> CssModuleReference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CssModuleReference
impl Debug for CssModuleReference
source§impl PartialEq<CssModuleReference> for CssModuleReference
impl PartialEq<CssModuleReference> for CssModuleReference
source§fn eq(&self, other: &CssModuleReference) -> bool
fn eq(&self, other: &CssModuleReference) -> bool
source§impl Serialize for CssModuleReference
impl Serialize for CssModuleReference
impl StructuralPartialEq for CssModuleReference
Auto Trait Implementations§
impl RefUnwindSafe for CssModuleReference
impl Send for CssModuleReference
impl Sync for CssModuleReference
impl Unpin for CssModuleReference
impl UnwindSafe for CssModuleReference
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for Fwhere
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
§fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize(
&self,
deserializer: &mut D
) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer