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
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 for CssModuleReference
impl PartialEq for CssModuleReference
source§impl Serialize for CssModuleReference
impl Serialize for CssModuleReference
impl StructuralPartialEq for CssModuleReference
Auto Trait Implementations§
impl Freeze for CssModuleReference
impl RefUnwindSafe for CssModuleReference
impl Send for CssModuleReference
impl Sync for CssModuleReference
impl Unpin for CssModuleReference
impl UnwindSafe for CssModuleReference
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
source§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§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.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more