pub struct ValueDomain<'tcx> {
pub def: Option<SymbolicDef<'tcx>>,
pub value_constraint: Option<u128>,
}Fields§
§def: Option<SymbolicDef<'tcx>>§value_constraint: Option<u128>Implementations§
Source§impl<'tcx> ValueDomain<'tcx>
impl<'tcx> ValueDomain<'tcx>
pub fn get_constant(&self) -> Option<u128>
Trait Implementations§
Source§impl<'tcx> Clone for ValueDomain<'tcx>
impl<'tcx> Clone for ValueDomain<'tcx>
Source§fn clone(&self) -> ValueDomain<'tcx>
fn clone(&self) -> ValueDomain<'tcx>
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<'tcx> Debug for ValueDomain<'tcx>
impl<'tcx> Debug for ValueDomain<'tcx>
Source§impl<'tcx> Default for ValueDomain<'tcx>
impl<'tcx> Default for ValueDomain<'tcx>
Source§fn default() -> ValueDomain<'tcx>
fn default() -> ValueDomain<'tcx>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'tcx> Freeze for ValueDomain<'tcx>
impl<'tcx> !RefUnwindSafe for ValueDomain<'tcx>
impl<'tcx> Send for ValueDomain<'tcx>
impl<'tcx> Sync for ValueDomain<'tcx>
impl<'tcx> Unpin for ValueDomain<'tcx>
impl<'tcx> !UnwindSafe for ValueDomain<'tcx>
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