[−][src]Struct pyo3_derive_backend::PyFunctionAttr
The attributes of the pyfunction macro
Fields
arguments: Vec<Argument>Implementations
impl PyFunctionAttr[src]
pub fn from_meta<'a>(
iter: impl IntoIterator<Item = &'a NestedMeta>
) -> Result<Self>[src]
iter: impl IntoIterator<Item = &'a NestedMeta>
) -> Result<Self>
pub fn add_item(&mut self, item: &NestedMeta) -> Result<()>[src]
Trait Implementations
impl Default for PyFunctionAttr[src]
fn default() -> PyFunctionAttr[src]
impl Parse for PyFunctionAttr[src]
fn parse(input: &ParseBuffer<'_>) -> Result<Self>[src]
Auto Trait Implementations
impl RefUnwindSafe for PyFunctionAttr
impl !Send for PyFunctionAttr
impl !Sync for PyFunctionAttr
impl Unpin for PyFunctionAttr
impl UnwindSafe for PyFunctionAttr
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,