Struct parcel_css::properties::custom::Variable
source · [−]pub struct Variable<'i> {
pub name: DashedIdentReference<'i>,
pub fallback: Option<TokenList<'i>>,
}
Expand description
A CSS variable reference.
Fields
name: DashedIdentReference<'i>
The variable name.
fallback: Option<TokenList<'i>>
A fallback value in case the variable is not defined.
Trait Implementations
impl<'i> StructuralPartialEq for Variable<'i>
Auto Trait Implementations
impl<'i> RefUnwindSafe for Variable<'i>
impl<'i> Send for Variable<'i>
impl<'i> Sync for Variable<'i>
impl<'i> Unpin for Variable<'i>
impl<'i> UnwindSafe for Variable<'i>
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.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more