struct Var {
colors: BTreeMap<String, Color>,
materials: BTreeMap<String, Material>,
transformations: BTreeMap<String, Transformation>,
vectors: BTreeMap<String, Vector>,
}
Expand description
Variables object, useful to store when parsing.
Struct that wrap different BTreeMap
for each of scene blocks.
Ready to be used when parsing a Token::Identifier
with a key that exist for the particular block.
Fields§
§colors: BTreeMap<String, Color>
Map of colors.
materials: BTreeMap<String, Material>
Map of materials.
transformations: BTreeMap<String, Transformation>
Map of transformations.
vectors: BTreeMap<String, Vector>
Map of vectors.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Var
impl Send for Var
impl Sync for Var
impl Unpin for Var
impl UnwindSafe for Var
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