Struct amplify_syn::Variant
source · pub struct Variant {
pub attr: ParametrizedAttr,
pub name: Ident,
pub fields: Fields,
}
Fields§
§attr: ParametrizedAttr
§name: Ident
§fields: Fields
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Variant
impl !Send for Variant
impl !Sync for Variant
impl Unpin for Variant
impl UnwindSafe for Variant
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