pub struct PyFunctionMeta {
pub name: Option<String>,
pub signature: Option<String>,
}Expand description
PyO3 #[pyfunction] metadata
Fields§
§name: Option<String>§signature: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PyFunctionMeta
impl Clone for PyFunctionMeta
Source§fn clone(&self) -> PyFunctionMeta
fn clone(&self) -> PyFunctionMeta
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PyFunctionMeta
impl Debug for PyFunctionMeta
Source§impl Default for PyFunctionMeta
impl Default for PyFunctionMeta
Source§impl<'de> Deserialize<'de> for PyFunctionMeta
impl<'de> Deserialize<'de> for PyFunctionMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PyFunctionMeta
impl RefUnwindSafe for PyFunctionMeta
impl Send for PyFunctionMeta
impl Sync for PyFunctionMeta
impl Unpin for PyFunctionMeta
impl UnsafeUnpin for PyFunctionMeta
impl UnwindSafe for PyFunctionMeta
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more