pub struct Args<T = PyObjectRef>(_);
A list of positional argument values.
A built-in function with aArgs
parameter is analogous to a Pythonfunction with*args
. All remaining positional arguments are extracted(and hence the function will permit an arbitrary number of them).
Args
optionally accepts a generic type parameter to allow type checksor conversions of each argument.
impl<T>Args<T>
[src]impl<T: PyValue>Args<PyRef<T>>
[src]pub fninto_tuple(self, vm: &VirtualMachine) ->PyObjectRef
[src]impl<T: Clone>Clone forArgs<T>
[src]impl<T>FromArgs forArgs<T>where
T:TryFromObject,
[src]fnfrom_args(
vm: &VirtualMachine,
args: &mutPyFuncArgs
) ->Result<Self,ArgumentError>
[src]fnarity() ->RangeInclusive<usize>
[src]impl<T>IntoIterator forArgs<T>
[src]impl<T>RefUnwindSafe forArgs<T>where
T:RefUnwindSafe,
impl<T>Send forArgs<T>where
T:Send,
impl<T>Sync forArgs<T>where
T:Sync,
impl<T>Unpin forArgs<T>where
T:Unpin,
impl<T>UnwindSafe forArgs<T>where
T:UnwindSafe,
impl<T>Any for Twhere
T: 'static + ?Sized,
[src]impl<T>Borrow<T> for Twhere
T: ?Sized,
[src]impl<T>BorrowMut<T> for Twhere
T: ?Sized,
[src]fnborrow_mut(&mut self) ->&mutT
[src]impl<T>From<T> for T
[src]impl<T>FromArgs for Twhere
T:TryFromObject,
[src]fnarity() ->RangeInclusive<usize>
[src]fnfrom_args(&VirtualMachine, &mutPyFuncArgs) ->Result<T,ArgumentError>
[src]impl<T, U>Into<U> for Twhere
U:From<T>,
[src]impl<I>IntoIterator for Iwhere
I:Iterator,
[src]typeItem = <I asIterator>::Item
The type of the elements being iterated over.
typeIntoIter = I
Which kind of iterator are we turning this into?
fninto_iter(self) -> I
[src]impl<T> Same<T> for T
typeOutput = T
Should always beSelf
impl<T> Statistics<f64> for Twhere
T:IntoIterator,
<T asIntoIterator>::Item:Borrow<f64>,
fnmin(self) ->f64
fnmax(self) ->f64
fnabs_min(self) ->f64
fnabs_max(self) ->f64
fnmean(self) ->f64
fngeometric_mean(self) ->f64
fnharmonic_mean(self) ->f64
fnvariance(self) ->f64
fnstd_dev(self) ->f64
fnpopulation_variance(self) ->f64
fnpopulation_std_dev(self) ->f64
fncovariance(self, other: T) ->f64
fnpopulation_covariance(self, other: T) ->f64
fnquadratic_mean(self) ->f64
impl<T>ToOwned for Twhere
T:Clone,
[src]typeOwned = T
The resulting type after obtaining ownership.
fnto_owned(&self) -> T
[src]fnclone_into(&self, target:&mutT)
[src]impl<T, U>TryFrom<U> for Twhere
U:Into<T>,
[src]typeError =Infallible
The type returned in the event of a conversion error.
fntry_from(value: U) ->Result<T, <T asTryFrom<U>>::Error>
[src]impl<T, U>TryInto<U> for Twhere
U:TryFrom<T>,
[src]typeError = <U asTryFrom<T>>::Error
The type returned in the event of a conversion error.
fntry_into(self) ->Result<U, <U asTryFrom<T>>::Error>
[src]impl<V, T> VZip<V> for Twhere
V: MultiLane<T>,
fnvzip(self) -> V