pub struct System {
pub vars: HashMap<String, Variable>,
pub rules: Vec<Rule>,
pub sampler: UniformSampler,
}Expand description
A comprehensive struct for handling variables, rules and a uniform sampler cohesively.
Fields§
§vars: HashMap<String, Variable>§rules: Vec<Rule>§sampler: UniformSamplerImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for System
impl !RefUnwindSafe for System
impl Send for System
impl Sync for System
impl Unpin for System
impl !UnwindSafe for System
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