Enum rustc_codegen_ssa::mir::analyze::DefLocation
source · enum DefLocation {
Argument,
Body(Location),
}
Variants§
Implementations§
source§impl DefLocation
impl DefLocation
fn dominates( self, location: Location, dominators: &Dominators<BasicBlock> ) -> bool
Trait Implementations§
source§impl Clone for DefLocation
impl Clone for DefLocation
source§fn clone(&self) -> DefLocation
fn clone(&self) -> DefLocation
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 moresource§impl PartialEq<DefLocation> for DefLocation
impl PartialEq<DefLocation> for DefLocation
source§fn eq(&self, other: &DefLocation) -> bool
fn eq(&self, other: &DefLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DefLocation
impl Eq for DefLocation
impl StructuralEq for DefLocation
impl StructuralPartialEq for DefLocation
Auto Trait Implementations§
impl RefUnwindSafe for DefLocation
impl Send for DefLocation
impl Sync for DefLocation
impl Unpin for DefLocation
impl UnwindSafe for DefLocation
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: 16 bytes
Size for each variant:
Argument
: 0 bytesBody
: 16 bytes