pub struct ArgMapping { /* private fields */ }Implementations§
Source§impl ArgMapping
impl ArgMapping
Trait Implementations§
Source§impl AsRef<PyObject> for ArgMapping
impl AsRef<PyObject> for ArgMapping
Source§impl Borrow<PyObject> for ArgMapping
impl Borrow<PyObject> for ArgMapping
Source§impl Clone for ArgMapping
impl Clone for ArgMapping
Source§fn clone(&self) -> ArgMapping
fn clone(&self) -> ArgMapping
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 ArgMapping
impl Debug for ArgMapping
Source§impl From<ArgMapping> for PyObjectRef
impl From<ArgMapping> for PyObjectRef
Source§fn from(value: ArgMapping) -> Self
fn from(value: ArgMapping) -> Self
Converts to this type from the input type.
Source§impl ToPyObject for ArgMapping
impl ToPyObject for ArgMapping
fn to_pyobject(self, _vm: &VirtualMachine) -> PyObjectRef
Source§impl Traverse for ArgMapping
impl Traverse for ArgMapping
Source§fn traverse(&self, tracer_fn: &mut TraverseFn<'_>)
fn traverse(&self, tracer_fn: &mut TraverseFn<'_>)
impl
traverse() with caution! Following those guideline so traverse doesn’t cause memory error!: Read moreSource§fn clear(&mut self, _out: &mut Vec<PyObjectRef>)
fn clear(&mut self, _out: &mut Vec<PyObjectRef>)
Extract all owned child PyObjectRefs for circular reference resolution (tp_clear).
Called just before object deallocation to break circular references.
Default implementation does nothing.
Source§impl TryFromObject for ArgMapping
impl TryFromObject for ArgMapping
Source§fn try_from_object(vm: &VirtualMachine, obj: PyObjectRef) -> PyResult<Self>
fn try_from_object(vm: &VirtualMachine, obj: PyObjectRef) -> PyResult<Self>
Attempt to convert a Python object to a value of this type.
Auto Trait Implementations§
impl Freeze for ArgMapping
impl !RefUnwindSafe for ArgMapping
impl !Send for ArgMapping
impl !Sync for ArgMapping
impl Unpin for ArgMapping
impl UnsafeUnpin for ArgMapping
impl !UnwindSafe for ArgMapping
Blanket Implementations§
Source§impl<T> AsObject for T
impl<T> AsObject for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FromArgOptional for Twhere
T: TryFromObject,
impl<T> FromArgOptional for Twhere
T: TryFromObject,
Source§impl<T> FromArgs for Twhere
T: TryFromObject,
impl<T> FromArgs for Twhere
T: TryFromObject,
Source§fn arity() -> RangeInclusive<usize>
fn arity() -> RangeInclusive<usize>
The range of positional arguments permitted by the function signature. Read more
Source§fn from_args(
vm: &VirtualMachine,
args: &mut FuncArgs,
) -> Result<T, ArgumentError>
fn from_args( vm: &VirtualMachine, args: &mut FuncArgs, ) -> Result<T, ArgumentError>
Extracts this item from the next argument(s).
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more