enum PyClassEnumVariant<'a> {
Struct(PyClassEnumStructVariant<'a>),
Tuple(PyClassEnumTupleVariant<'a>),
}
Variants§
Struct(PyClassEnumStructVariant<'a>)
Tuple(PyClassEnumTupleVariant<'a>)
Trait Implementations§
Source§impl EnumVariant for PyClassEnumVariant<'_>
impl EnumVariant for PyClassEnumVariant<'_>
fn get_ident(&self) -> &Ident
fn get_options(&self) -> &EnumVariantPyO3Options
fn get_python_name(&self, args: &PyClassArgs) -> Cow<'_, Ident>
Auto Trait Implementations§
impl<'a> Freeze for PyClassEnumVariant<'a>
impl<'a> RefUnwindSafe for PyClassEnumVariant<'a>
impl<'a> !Send for PyClassEnumVariant<'a>
impl<'a> !Sync for PyClassEnumVariant<'a>
impl<'a> Unpin for PyClassEnumVariant<'a>
impl<'a> UnwindSafe for PyClassEnumVariant<'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