pub struct PyFunctionArgPyO3Attributes {
pub from_py_with: Option<FromPyWithAttribute>,
}
Fields
from_py_with: Option<FromPyWithAttribute>
Implementations
sourceimpl PyFunctionArgPyO3Attributes
impl PyFunctionArgPyO3Attributes
sourcepub fn from_attrs(attrs: &mut Vec<Attribute>) -> Result<Self>
pub fn from_attrs(attrs: &mut Vec<Attribute>) -> Result<Self>
Parses #[pyo3(from_python_with = “func”)]
Trait Implementations
sourceimpl Clone for PyFunctionArgPyO3Attributes
impl Clone for PyFunctionArgPyO3Attributes
sourcefn clone(&self) -> PyFunctionArgPyO3Attributes
fn clone(&self) -> PyFunctionArgPyO3Attributes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PyFunctionArgPyO3Attributes
impl Debug for PyFunctionArgPyO3Attributes
sourceimpl PartialEq<PyFunctionArgPyO3Attributes> for PyFunctionArgPyO3Attributes
impl PartialEq<PyFunctionArgPyO3Attributes> for PyFunctionArgPyO3Attributes
sourcefn eq(&self, other: &PyFunctionArgPyO3Attributes) -> bool
fn eq(&self, other: &PyFunctionArgPyO3Attributes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PyFunctionArgPyO3Attributes) -> bool
fn ne(&self, other: &PyFunctionArgPyO3Attributes) -> bool
This method tests for !=
.
impl StructuralPartialEq for PyFunctionArgPyO3Attributes
Auto Trait Implementations
impl RefUnwindSafe for PyFunctionArgPyO3Attributes
impl !Send for PyFunctionArgPyO3Attributes
impl !Sync for PyFunctionArgPyO3Attributes
impl Unpin for PyFunctionArgPyO3Attributes
impl UnwindSafe for PyFunctionArgPyO3Attributes
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more