Struct rustpython_vm::bytecode::Arguments
source · 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