pub struct ApiVariant { /* private fields */ }
Trait Implementations§
Source§impl Debug for ApiVariant
impl Debug for ApiVariant
Source§impl FromVariant for ApiVariant
impl FromVariant for ApiVariant
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 ApiVariant
impl RefUnwindSafe for ApiVariant
impl !Send for ApiVariant
impl !Sync for ApiVariant
impl Unpin for ApiVariant
impl UnwindSafe for ApiVariant
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