pub enum PyClassPyO3Option {
Show 20 variants
Crate(KeywordAttribute<Crate, LitStrValue<Path>>),
Dict(dict),
Eq(eq),
EqInt(eq_int),
Extends(KeywordAttribute<extends, Path>),
Freelist(KeywordAttribute<freelist, Box<Expr>>),
Frozen(frozen),
GetAll(get_all),
Hash(hash),
Mapping(mapping),
Module(KeywordAttribute<module, LitStr>),
Name(KeywordAttribute<name, NameLitStr>),
Ord(ord),
RenameAll(KeywordAttribute<rename_all, RenamingRuleLitStr>),
Sequence(sequence),
SetAll(set_all),
Str(OptionalKeywordAttribute<str, StringFormatter>),
Subclass(subclass),
Unsendable(unsendable),
Weakref(weakref),
}
Variants§
Crate(KeywordAttribute<Crate, LitStrValue<Path>>)
Dict(dict)
Eq(eq)
EqInt(eq_int)
Extends(KeywordAttribute<extends, Path>)
Freelist(KeywordAttribute<freelist, Box<Expr>>)
Frozen(frozen)
GetAll(get_all)
Hash(hash)
Mapping(mapping)
Module(KeywordAttribute<module, LitStr>)
Name(KeywordAttribute<name, NameLitStr>)
Ord(ord)
RenameAll(KeywordAttribute<rename_all, RenamingRuleLitStr>)
Sequence(sequence)
SetAll(set_all)
Str(OptionalKeywordAttribute<str, StringFormatter>)
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