struct PyClassSimpleEnum<'a> {
ident: &'a Ident,
repr_type: Ident,
variants: Vec<PyClassEnumUnitVariant<'a>>,
}
Fields§
§ident: &'a Ident
§repr_type: Ident
§variants: Vec<PyClassEnumUnitVariant<'a>>
Implementations§
Auto Trait Implementations§
impl<'a> Freeze for PyClassSimpleEnum<'a>
impl<'a> RefUnwindSafe for PyClassSimpleEnum<'a>
impl<'a> !Send for PyClassSimpleEnum<'a>
impl<'a> !Sync for PyClassSimpleEnum<'a>
impl<'a> Unpin for PyClassSimpleEnum<'a>
impl<'a> UnwindSafe for PyClassSimpleEnum<'a>
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