Struct rustc_mir_dataflow::move_paths::MoveOut
source · pub struct MoveOut {
pub path: MovePathIndex,
pub source: Location,
}
Expand description
MoveOut
represents a point in a program that moves out of some
L-value; i.e., “creates” uninitialized memory.
With respect to dataflow analysis:
- Generated by moves and declaration of uninitialized variables.
- Killed by assignments to the memory.
Fields§
§path: MovePathIndex
path being moved
source: Location
location of move
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MoveOut
impl Send for MoveOut
impl Sync for MoveOut
impl Unpin for MoveOut
impl UnwindSafe for MoveOut
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes