Struct pyo3_macros_backend::PyClassArgs[][src]

pub struct PyClassArgs {
    pub freelist: Option<Expr>,
    pub name: Option<Ident>,
    pub base: TypePath,
    pub has_dict: bool,
    pub has_weaklist: bool,
    pub is_gc: bool,
    pub is_basetype: bool,
    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<Ident>base: TypePathhas_dict: boolhas_weaklist: boolis_gc: boolis_basetype: boolhas_extends: boolhas_unsendable: boolmodule: Option<LitStr>

Trait Implementations

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.