Struct sway_ast::punctuated::Punctuated
source · pub struct Punctuated<T, P> {
pub value_separator_pairs: Vec<(T, P)>,
pub final_value_opt: Option<Box<T>>,
}Fields§
§value_separator_pairs: Vec<(T, P)>§final_value_opt: Option<Box<T>>Implementations§
Trait Implementations§
source§impl<T: Clone, P: Clone> Clone for Punctuated<T, P>
impl<T: Clone, P: Clone> Clone for Punctuated<T, P>
source§fn clone(&self) -> Punctuated<T, P>
fn clone(&self) -> Punctuated<T, P>
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 more