Struct pyo3_macros_backend::pymethod::PyMethod
source · [−]pub struct PyMethod<'a> {
kind: PyMethodKind,
method_name: String,
spec: FnSpec<'a>,
}
Fields
kind: PyMethodKind
method_name: String
spec: FnSpec<'a>
Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for PyMethod<'a>
impl<'a> !Send for PyMethod<'a>
impl<'a> !Sync for PyMethod<'a>
impl<'a> Unpin for PyMethod<'a>
impl<'a> UnwindSafe for PyMethod<'a>
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