Enum stable_mir::mir::body::VarDebugInfoContents
source · pub enum VarDebugInfoContents {
Place(Place),
Const(ConstOperand),
}
Variants§
Place(Place)
Const(ConstOperand)
Trait Implementations§
source§impl Clone for VarDebugInfoContents
impl Clone for VarDebugInfoContents
source§fn clone(&self) -> VarDebugInfoContents
fn clone(&self) -> VarDebugInfoContents
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 Debug for VarDebugInfoContents
impl Debug for VarDebugInfoContents
source§impl PartialEq for VarDebugInfoContents
impl PartialEq for VarDebugInfoContents
source§fn eq(&self, other: &VarDebugInfoContents) -> bool
fn eq(&self, other: &VarDebugInfoContents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VarDebugInfoContents
impl StructuralPartialEq for VarDebugInfoContents
Auto Trait Implementations§
impl Freeze for VarDebugInfoContents
impl RefUnwindSafe for VarDebugInfoContents
impl Send for VarDebugInfoContents
impl Sync for VarDebugInfoContents
impl Unpin for VarDebugInfoContents
impl UnwindSafe for VarDebugInfoContents
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: 104 bytes
Size for each variant:
Place
: 40 bytesConst
: 104 bytes