enum PyClassPyO3Option {
Show 15 variants
Crate(KeywordAttribute<Crate, LitStrValue<Path>>),
Dict(dict),
Extends(KeywordAttribute<extends, Path>),
Freelist(KeywordAttribute<freelist, Box<Expr>>),
Frozen(frozen),
GetAll(get_all),
Mapping(mapping),
Module(KeywordAttribute<module, LitStr>),
Name(KeywordAttribute<name, NameLitStr>),
RenameAll(KeywordAttribute<rename_all, RenamingRuleLitStr>),
Sequence(sequence),
SetAll(set_all),
Subclass(subclass),
Unsendable(unsendable),
Weakref(weakref),
}
Variants§
Crate(KeywordAttribute<Crate, LitStrValue<Path>>)
Dict(dict)
Extends(KeywordAttribute<extends, Path>)
Freelist(KeywordAttribute<freelist, Box<Expr>>)
Frozen(frozen)
GetAll(get_all)
Mapping(mapping)
Module(KeywordAttribute<module, LitStr>)
Name(KeywordAttribute<name, NameLitStr>)
RenameAll(KeywordAttribute<rename_all, RenamingRuleLitStr>)
Sequence(sequence)
SetAll(set_all)
Subclass(subclass)
Unsendable(unsendable)
Weakref(weakref)
Trait Implementations§
source§impl Parse for PyClassPyO3Option
impl Parse for PyClassPyO3Option
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for PyClassPyO3Option
impl RefUnwindSafe for PyClassPyO3Option
impl !Send for PyClassPyO3Option
impl !Sync for PyClassPyO3Option
impl Unpin for PyClassPyO3Option
impl UnwindSafe for PyClassPyO3Option
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