pub struct PyClassArgs {
pub freelist: Option<Expr>,
pub name: Option<Expr>,
pub flags: Vec<Expr>,
pub base: TypePath,
pub has_extends: bool,
pub has_unsendable: bool,
pub module: Option<LitStr>,
}
Expand description
The parsed arguments of the pyclass macro
Fields§
§freelist: Option<Expr>
§name: Option<Expr>
§flags: Vec<Expr>
§base: TypePath
§has_extends: bool
§has_unsendable: bool
§module: Option<LitStr>
Trait Implementations§
Source§impl Default for PyClassArgs
impl Default for PyClassArgs
Source§impl Parse for PyClassArgs
impl Parse for PyClassArgs
fn parse(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations§
impl Freeze for PyClassArgs
impl RefUnwindSafe for PyClassArgs
impl !Send for PyClassArgs
impl !Sync for PyClassArgs
impl Unpin for PyClassArgs
impl UnwindSafe for PyClassArgs
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