Struct fp_bindgen::types::VariantAttrs
source · [−]Fields
field_casing: Casing
rename: Option<String>
Optional name to use in the serialized format (only used if different than the variant name itself).
Implementations
sourceimpl VariantAttrs
impl VariantAttrs
Trait Implementations
sourceimpl Clone for VariantAttrs
impl Clone for VariantAttrs
sourcefn clone(&self) -> VariantAttrs
fn clone(&self) -> VariantAttrs
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VariantAttrs
impl Debug for VariantAttrs
sourceimpl Default for VariantAttrs
impl Default for VariantAttrs
sourcefn default() -> VariantAttrs
fn default() -> VariantAttrs
Returns the “default value” for a type. Read more
sourceimpl Hash for VariantAttrs
impl Hash for VariantAttrs
sourceimpl Parse for VariantAttrs
impl Parse for VariantAttrs
fn parse(input: ParseStream<'_>) -> Result<Self>
sourceimpl PartialEq<VariantAttrs> for VariantAttrs
impl PartialEq<VariantAttrs> for VariantAttrs
sourcefn eq(&self, other: &VariantAttrs) -> bool
fn eq(&self, other: &VariantAttrs) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VariantAttrs) -> bool
fn ne(&self, other: &VariantAttrs) -> bool
This method tests for !=
.
impl Eq for VariantAttrs
impl StructuralEq for VariantAttrs
impl StructuralPartialEq for VariantAttrs
Auto Trait Implementations
impl RefUnwindSafe for VariantAttrs
impl Send for VariantAttrs
impl Sync for VariantAttrs
impl Unpin for VariantAttrs
impl UnwindSafe for VariantAttrs
Blanket Implementations
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