pub struct OptimizationHints {
pub pure_functions: HashSet<String>,
pub view_functions: HashSet<String>,
pub constant_expressions: Vec<ConstantExpression>,
pub loop_bounds: HashMap<BlockId, LoopBound>,
pub invariants: Vec<Invariant>,
}Fields§
§pure_functions: HashSet<String>§view_functions: HashSet<String>§constant_expressions: Vec<ConstantExpression>§loop_bounds: HashMap<BlockId, LoopBound>§invariants: Vec<Invariant>Trait Implementations§
Source§impl Clone for OptimizationHints
impl Clone for OptimizationHints
Source§fn clone(&self) -> OptimizationHints
fn clone(&self) -> OptimizationHints
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OptimizationHints
impl Debug for OptimizationHints
Source§impl Default for OptimizationHints
impl Default for OptimizationHints
Source§fn default() -> OptimizationHints
fn default() -> OptimizationHints
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OptimizationHints
impl<'de> Deserialize<'de> for OptimizationHints
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OptimizationHints
impl RefUnwindSafe for OptimizationHints
impl Send for OptimizationHints
impl Sync for OptimizationHints
impl Unpin for OptimizationHints
impl UnsafeUnpin for OptimizationHints
impl UnwindSafe for OptimizationHints
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