pub struct VarCollection {
pub vars: HashMap<String, VarMetadata>,
}Expand description
Collected variables with metadata, ready for template generation
Fields§
§vars: HashMap<String, VarMetadata>Map of var_name → metadata
Trait Implementations§
Source§impl Clone for VarCollection
impl Clone for VarCollection
Source§fn clone(&self) -> VarCollection
fn clone(&self) -> VarCollection
Returns a duplicate 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 VarCollection
impl Debug for VarCollection
Source§impl Default for VarCollection
impl Default for VarCollection
Source§fn default() -> VarCollection
fn default() -> VarCollection
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VarCollection
impl RefUnwindSafe for VarCollection
impl Send for VarCollection
impl Sync for VarCollection
impl Unpin for VarCollection
impl UnsafeUnpin for VarCollection
impl UnwindSafe for VarCollection
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