pub struct Arguments {
pub positional_only_arguments: Vec<Argument>,
pub arguments: Vec<Argument>,
pub vararg: Option<VariableLengthArgument>,
pub keyword_only_arguments: Vec<Argument>,
pub kwarg: Option<VariableLengthArgument>,
}
Fields§
§positional_only_arguments: Vec<Argument>
Arguments before /
arguments: Vec<Argument>
Regular arguments (between / and *)
vararg: Option<VariableLengthArgument>
*vararg
keyword_only_arguments: Vec<Argument>
Arguments after *
kwarg: Option<VariableLengthArgument>
**kwarg
Trait Implementations§
impl Eq for Arguments
impl StructuralPartialEq for Arguments
Auto Trait Implementations§
impl Freeze for Arguments
impl RefUnwindSafe for Arguments
impl Send for Arguments
impl Sync for Arguments
impl Unpin for Arguments
impl UnwindSafe for Arguments
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