Struct valkyrie_ast::ParametersList
source · pub struct ParametersList {
pub kind: ParameterKind,
pub terms: Vec<ParameterTerm>,
}Expand description
micro f(t: Type = default) or class F⦓T: Trait = Default⦔
Fields§
§kind: ParameterKindThe kind of the parameter node
terms: Vec<ParameterTerm>The raw string of the number.
Implementations§
source§impl ParametersList
impl ParametersList
sourcepub fn new(capacity: usize, kind: ParameterKind) -> Self
pub fn new(capacity: usize, kind: ParameterKind) -> Self
Create a new parameter list
Trait Implementations§
source§impl Clone for ParametersList
impl Clone for ParametersList
source§fn clone(&self) -> ParametersList
fn clone(&self) -> ParametersList
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 ParametersList
impl Debug for ParametersList
source§impl Default for ParametersList
impl Default for ParametersList
source§impl Hash for ParametersList
impl Hash for ParametersList
source§impl PartialEq for ParametersList
impl PartialEq for ParametersList
source§fn eq(&self, other: &ParametersList) -> bool
fn eq(&self, other: &ParametersList) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ParametersList
impl StructuralPartialEq for ParametersList
Auto Trait Implementations§
impl RefUnwindSafe for ParametersList
impl Send for ParametersList
impl Sync for ParametersList
impl Unpin for ParametersList
impl UnwindSafe for ParametersList
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