struct ValueInfoVariantAttrs {
starts_with_keyword: bool,
other_values: Option<String>,
}
Fields§
§starts_with_keyword: bool
§other_values: Option<String>
Trait Implementations§
source§impl Default for ValueInfoVariantAttrs
impl Default for ValueInfoVariantAttrs
source§fn default() -> ValueInfoVariantAttrs
fn default() -> ValueInfoVariantAttrs
Returns the “default value” for a type. Read more
source§impl FromVariant for ValueInfoVariantAttrs
impl FromVariant for ValueInfoVariantAttrs
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 ValueInfoVariantAttrs
impl RefUnwindSafe for ValueInfoVariantAttrs
impl Send for ValueInfoVariantAttrs
impl Sync for ValueInfoVariantAttrs
impl Unpin for ValueInfoVariantAttrs
impl UnwindSafe for ValueInfoVariantAttrs
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