Struct lightningcss::css_modules::CssModuleExport
source · pub struct CssModuleExport {
pub name: String,
pub composes: Vec<CssModuleReference>,
pub is_referenced: bool,
}
Expand description
An exported value from a CSS module.
Fields§
§name: String
The local (compiled) name for this export.
composes: Vec<CssModuleReference>
Other names that are composed by this export.
is_referenced: bool
Whether the export is referenced in this file.
Trait Implementations§
source§impl Clone for CssModuleExport
impl Clone for CssModuleExport
source§fn clone(&self) -> CssModuleExport
fn clone(&self) -> CssModuleExport
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 CssModuleExport
impl Debug for CssModuleExport
source§impl PartialEq for CssModuleExport
impl PartialEq for CssModuleExport
source§fn eq(&self, other: &CssModuleExport) -> bool
fn eq(&self, other: &CssModuleExport) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CssModuleExport
impl Serialize for CssModuleExport
impl StructuralPartialEq for CssModuleExport
Auto Trait Implementations§
impl Freeze for CssModuleExport
impl RefUnwindSafe for CssModuleExport
impl Send for CssModuleExport
impl Sync for CssModuleExport
impl Unpin for CssModuleExport
impl UnwindSafe for CssModuleExport
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§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<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