pub struct CssVariantAttrs {
pub function: Option<Override<String>>,
pub derive_debug: bool,
pub comma: bool,
pub bitflags: Option<CssBitflagAttrs>,
pub dimension: bool,
pub keyword: Option<String>,
pub skip: bool,
}
Fields§
§function: Option<Override<String>>
§derive_debug: bool
§comma: bool
§bitflags: Option<CssBitflagAttrs>
§dimension: bool
§keyword: Option<String>
§skip: bool
Trait Implementations§
source§impl Default for CssVariantAttrs
impl Default for CssVariantAttrs
source§fn default() -> CssVariantAttrs
fn default() -> CssVariantAttrs
Returns the “default value” for a type. Read more
source§impl FromVariant for CssVariantAttrs
impl FromVariant for CssVariantAttrs
source§fn from_variant(__variant: &Variant) -> Result<Self>
fn from_variant(__variant: &Variant) -> Result<Self>
Create an instance from
syn::Variant
, or return an error.Auto Trait Implementations§
impl Freeze for CssVariantAttrs
impl RefUnwindSafe for CssVariantAttrs
impl !Send for CssVariantAttrs
impl !Sync for CssVariantAttrs
impl Unpin for CssVariantAttrs
impl UnwindSafe for CssVariantAttrs
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