struct PyClassEnumStructVariant<'a> {
ident: &'a Ident,
fields: Vec<PyClassEnumVariantNamedField<'a>>,
options: EnumVariantPyO3Options,
}
Expand description
A struct variant has named fields
Fields§
§ident: &'a Ident
§fields: Vec<PyClassEnumVariantNamedField<'a>>
§options: EnumVariantPyO3Options
Auto Trait Implementations§
impl<'a> Freeze for PyClassEnumStructVariant<'a>
impl<'a> RefUnwindSafe for PyClassEnumStructVariant<'a>
impl<'a> !Send for PyClassEnumStructVariant<'a>
impl<'a> !Sync for PyClassEnumStructVariant<'a>
impl<'a> Unpin for PyClassEnumStructVariant<'a>
impl<'a> UnwindSafe for PyClassEnumStructVariant<'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