Struct codeviz_common::Elements
[−]
[src]
pub struct Elements<Var> where
Var: VariableFormat, { pub elements: Vec<Element<Var>>, }
Fields
elements: Vec<Element<Var>>
Methods
impl<Var> Elements<Var> where
Var: VariableFormat,
[src]
Var: VariableFormat,
fn new() -> Elements<Var>
fn push<E>(&mut self, element: E) where
E: Into<Element<Var>>,
E: Into<Element<Var>>,
fn push_nested<E>(&mut self, element: E) where
E: Into<Element<Var>>,
E: Into<Element<Var>>,
fn is_empty(&self) -> bool
fn join<S>(self, separator: S) -> Elements<Var> where
S: Into<Element<Var>> + Clone,
S: Into<Element<Var>> + Clone,
Trait Implementations
impl<Var: Debug> Debug for Elements<Var> where
Var: VariableFormat,
[src]
Var: VariableFormat,
impl<Var: Clone> Clone for Elements<Var> where
Var: VariableFormat,
[src]
Var: VariableFormat,
fn clone(&self) -> Elements<Var>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more