pub struct Arguments<'a, N>{
pub posonlyargs: &'a [N],
pub args: &'a [N],
pub vararg: Option<&'a N>,
pub kwonlyargs: &'a [N],
pub varkwarg: Option<&'a N>,
}
Expand description
Argument structure
Fields§
§posonlyargs: &'a [N]
§args: &'a [N]
§vararg: Option<&'a N>
§kwonlyargs: &'a [N]
§varkwarg: Option<&'a N>
Trait Implementations§
Auto Trait Implementations§
impl<'a, N> Freeze for Arguments<'a, N>
impl<'a, N> RefUnwindSafe for Arguments<'a, N>where
N: RefUnwindSafe,
impl<'a, N> Send for Arguments<'a, N>where
N: Sync,
impl<'a, N> Sync for Arguments<'a, N>where
N: Sync,
impl<'a, N> Unpin for Arguments<'a, N>
impl<'a, N> UnwindSafe for Arguments<'a, N>where
N: RefUnwindSafe,
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
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