Struct erg_compiler::ty::ArgsOwnership
source · pub struct ArgsOwnership {
pub non_defaults: Vec<(Option<Str>, Ownership)>,
pub var_params: Option<(Str, Ownership)>,
pub defaults: Vec<(Str, Ownership)>,
}
Fields§
§non_defaults: Vec<(Option<Str>, Ownership)>
§var_params: Option<(Str, Ownership)>
§defaults: Vec<(Str, Ownership)>
Implementations§
Trait Implementations§
source§impl Clone for ArgsOwnership
impl Clone for ArgsOwnership
source§fn clone(&self) -> ArgsOwnership
fn clone(&self) -> ArgsOwnership
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 ArgsOwnership
impl Debug for ArgsOwnership
source§impl Display for ArgsOwnership
impl Display for ArgsOwnership
source§impl Hash for ArgsOwnership
impl Hash for ArgsOwnership
source§impl PartialEq<ArgsOwnership> for ArgsOwnership
impl PartialEq<ArgsOwnership> for ArgsOwnership
source§fn eq(&self, other: &ArgsOwnership) -> bool
fn eq(&self, other: &ArgsOwnership) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.