Struct pyo3_macros_backend::pyclass::FieldPyO3Options
source · [−]struct FieldPyO3Options {
get: bool,
set: bool,
name: Option<NameAttribute>,
}
Expand description
#[pyo3()]
options for pyclass fields
Fields
get: bool
set: bool
name: Option<NameAttribute>
Implementations
sourceimpl FieldPyO3Options
impl FieldPyO3Options
fn take_pyo3_options(attrs: &mut Vec<Attribute>) -> Result<Self>
Auto Trait Implementations
impl RefUnwindSafe for FieldPyO3Options
impl !Send for FieldPyO3Options
impl !Sync for FieldPyO3Options
impl Unpin for FieldPyO3Options
impl UnwindSafe for FieldPyO3Options
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more