pub struct VariableNode<'tcx> {
pub id: usize,
pub alias_set: HashSet<usize>,
points_to: Option<usize>,
pointed_by: HashSet<usize>,
pub field: HashMap<usize, usize>,
pub ty: Option<Ty<'tcx>>,
pub is_dropped: bool,
pub states: States,
}
Fields§
§id: usize
§alias_set: HashSet<usize>
§points_to: Option<usize>
§pointed_by: HashSet<usize>
§field: HashMap<usize, usize>
§ty: Option<Ty<'tcx>>
§is_dropped: bool
§states: States
Implementations§
source§impl<'tcx> VariableNode<'tcx>
impl<'tcx> VariableNode<'tcx>
Trait Implementations§
source§impl<'tcx> Clone for VariableNode<'tcx>
impl<'tcx> Clone for VariableNode<'tcx>
source§fn clone(&self) -> VariableNode<'tcx>
fn clone(&self) -> VariableNode<'tcx>
Returns a copy 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 moreAuto Trait Implementations§
impl<'tcx> Freeze for VariableNode<'tcx>
impl<'tcx> !RefUnwindSafe for VariableNode<'tcx>
impl<'tcx> Send for VariableNode<'tcx>
impl<'tcx> Sync for VariableNode<'tcx>
impl<'tcx> Unpin for VariableNode<'tcx>
impl<'tcx> !UnwindSafe for VariableNode<'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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)