Struct pyo3_macros_backend::PyClassArgs
source · [−]pub struct PyClassArgs {
pub class_kind: PyClassKind,
pub options: PyClassPyO3Options,
pub deprecations: Deprecations,
}
Expand description
The parsed arguments of the pyclass macro
Fields
class_kind: PyClassKind
options: PyClassPyO3Options
deprecations: Deprecations
Implementations
sourceimpl PyClassArgs
impl PyClassArgs
pub fn parse_stuct_args(input: ParseStream<'_>) -> Result<Self>
pub fn parse_enum_args(input: ParseStream<'_>) -> Result<Self>
Auto Trait Implementations
impl RefUnwindSafe for PyClassArgs
impl !Send for PyClassArgs
impl !Sync for PyClassArgs
impl Unpin for PyClassArgs
impl UnwindSafe for PyClassArgs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more