[−][src]Struct open_vaf::analysis::constant_folding::ReadingConstantFold
Trait Implementations
impl<'lt> ConstantFolder for ReadingConstantFold<'lt>
[src]
fn resolve_to_string_subexpressions(
&mut self,
_dst: StringExpressionId,
_newval: StringExpressionId
)
[src]
&mut self,
_dst: StringExpressionId,
_newval: StringExpressionId
)
fn resolve_to_int_subexpressions(
&mut self,
_dst: IntegerExpressionId,
_newval: IntegerExpressionId
)
[src]
&mut self,
_dst: IntegerExpressionId,
_newval: IntegerExpressionId
)
fn resolve_to_real_subexpressions(
&mut self,
_dst: RealExpressionId,
_newval: RealExpressionId
)
[src]
&mut self,
_dst: RealExpressionId,
_newval: RealExpressionId
)
fn mir(&self) -> &Mir
[src]
fn real_constant_fold(
&mut self,
resolver: &mut impl ConstantResolver,
expr: RealExpressionId
) -> Option<f64>
[src]
&mut self,
resolver: &mut impl ConstantResolver,
expr: RealExpressionId
) -> Option<f64>
fn int_constant_fold(
&mut self,
resolver: &mut impl ConstantResolver,
expr: IntegerExpressionId
) -> Option<i64>
[src]
&mut self,
resolver: &mut impl ConstantResolver,
expr: IntegerExpressionId
) -> Option<i64>
fn string_constant_fold(
&mut self,
resolver: &mut impl ConstantResolver,
expr: StringExpressionId
) -> Option<StringLiteral>
[src]
&mut self,
resolver: &mut impl ConstantResolver,
expr: StringExpressionId
) -> Option<StringLiteral>
Auto Trait Implementations
impl<'lt> RefUnwindSafe for ReadingConstantFold<'lt>
impl<'lt> !Send for ReadingConstantFold<'lt>
impl<'lt> !Sync for ReadingConstantFold<'lt>
impl<'lt> Unpin for ReadingConstantFold<'lt>
impl<'lt> UnwindSafe for ReadingConstantFold<'lt>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,