Struct pyo3_macros_backend::frompyobject::Enum
source · [−]Expand description
Describes derivation input of an enum.
Fields
enum_ident: &'a Ident
variants: Vec<Container<'a>>
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Enum<'a>
impl<'a> !Send for Enum<'a>
impl<'a> !Sync for Enum<'a>
impl<'a> Unpin for Enum<'a>
impl<'a> UnwindSafe for Enum<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more