pub struct ConstantFoldState {
pub real_definitions: FxHashMap<StatementId, f64>,
pub integer_definitions: FxHashMap<StatementId, i64>,
pub string_definitions: FxHashMap<StatementId, StringLiteral>,
pub real_parameters: FxHashMap<ParameterId, f64>,
pub int_parameters: FxHashMap<ParameterId, i64>,
pub string_parameters: FxHashMap<ParameterId, StringLiteral>,
}Fields§
§real_definitions: FxHashMap<StatementId, f64>§integer_definitions: FxHashMap<StatementId, i64>§string_definitions: FxHashMap<StatementId, StringLiteral>§real_parameters: FxHashMap<ParameterId, f64>§int_parameters: FxHashMap<ParameterId, i64>§string_parameters: FxHashMap<ParameterId, StringLiteral>Trait Implementations§
Source§impl Clone for ConstantFoldState
impl Clone for ConstantFoldState
Source§fn clone(&self) -> ConstantFoldState
fn clone(&self) -> ConstantFoldState
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 ConstantFoldState
impl Debug for ConstantFoldState
Source§impl Default for ConstantFoldState
impl Default for ConstantFoldState
Source§fn default() -> ConstantFoldState
fn default() -> ConstantFoldState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ConstantFoldState
impl RefUnwindSafe for ConstantFoldState
impl Send for ConstantFoldState
impl Sync for ConstantFoldState
impl Unpin for ConstantFoldState
impl UnwindSafe for ConstantFoldState
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