pub struct CssVar(/* private fields */);Expand description
A CSS custom property reference.
This struct represents a reference to a CSS variable used in property
values. It simply stores the variable name and formats it as
var(--name) when displayed.
Implementations§
Trait Implementations§
Source§impl From<CssVar> for AlignItems
 
impl From<CssVar> for AlignItems
Source§impl From<CssVar> for BorderStyle
 
impl From<CssVar> for BorderStyle
Source§impl From<CssVar> for FlexDirection
 
impl From<CssVar> for FlexDirection
Source§impl From<CssVar> for FontWeight
 
impl From<CssVar> for FontWeight
Source§impl From<CssVar> for JustifyContent
 
impl From<CssVar> for JustifyContent
Source§impl From<CssVar> for LineHeight
 
impl From<CssVar> for LineHeight
Source§impl From<CssVar> for TextDecoration
 
impl From<CssVar> for TextDecoration
Source§impl From<CssVar> for Visibility
 
impl From<CssVar> for Visibility
impl StructuralPartialEq for CssVar
Auto Trait Implementations§
impl Freeze for CssVar
impl RefUnwindSafe for CssVar
impl Send for CssVar
impl Sync for CssVar
impl Unpin for CssVar
impl UnwindSafe for CssVar
Blanket Implementations§
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