pub struct TypedArgsList {
pub posonly_args: Vec<(Name, Option<Expression>, Option<Expression>)>,
pub args: Vec<(Name, Option<Expression>, Option<Expression>)>,
pub star_args: StarParams<(Name, Option<Expression>)>,
pub keyword_args: Vec<(Name, Option<Expression>, Option<Expression>)>,
pub star_kwargs: Option<(Name, Option<Expression>)>,
}
Expand description
The list of parameters of a function definition.
Fields§
§posonly_args: Vec<(Name, Option<Expression>, Option<Expression>)>
§args: Vec<(Name, Option<Expression>, Option<Expression>)>
§star_args: StarParams<(Name, Option<Expression>)>
§keyword_args: Vec<(Name, Option<Expression>, Option<Expression>)>
§star_kwargs: Option<(Name, Option<Expression>)>
Trait Implementations§
Source§impl Clone for TypedArgsList
impl Clone for TypedArgsList
Source§fn clone(&self) -> TypedArgsList
fn clone(&self) -> TypedArgsList
Returns a copy 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 TypedArgsList
impl Debug for TypedArgsList
Source§impl Default for TypedArgsList
impl Default for TypedArgsList
Source§fn default() -> TypedArgsList
fn default() -> TypedArgsList
Returns the “default value” for a type. Read more
Source§impl PartialEq for TypedArgsList
impl PartialEq for TypedArgsList
impl StructuralPartialEq for TypedArgsList
Auto Trait Implementations§
impl Freeze for TypedArgsList
impl RefUnwindSafe for TypedArgsList
impl Send for TypedArgsList
impl Sync for TypedArgsList
impl Unpin for TypedArgsList
impl UnwindSafe for TypedArgsList
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