Struct erg_compiler::ty::ArgsOwnership
source · pub struct ArgsOwnership {
pub non_defaults: Vec<(Option<Str>, Ownership)>,
pub var_params: Option<(Option<Str>, Ownership)>,
pub defaults: Vec<(Str, Ownership)>,
pub kw_var_params: Option<(Option<Str>, Ownership)>,
}
Fields§
§non_defaults: Vec<(Option<Str>, Ownership)>
§var_params: Option<(Option<Str>, Ownership)>
§defaults: Vec<(Str, Ownership)>
§kw_var_params: Option<(Option<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 for ArgsOwnership
impl PartialEq 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 ==
.impl Eq for ArgsOwnership
impl StructuralEq for ArgsOwnership
impl StructuralPartialEq for ArgsOwnership
Auto Trait Implementations§
impl RefUnwindSafe for ArgsOwnership
impl Send for ArgsOwnership
impl Sync for ArgsOwnership
impl Unpin for ArgsOwnership
impl UnwindSafe for ArgsOwnership
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