Enum rustc_mir_transform::gvn::AddressKind
source · enum AddressKind {
Ref(BorrowKind),
Address(Mutability),
}Variants§
Ref(BorrowKind)
Address(Mutability)
Trait Implementations§
source§impl Clone for AddressKind
impl Clone for AddressKind
source§fn clone(&self) -> AddressKind
fn clone(&self) -> AddressKind
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 AddressKind
impl Debug for AddressKind
source§impl Hash for AddressKind
impl Hash for AddressKind
source§impl PartialEq for AddressKind
impl PartialEq for AddressKind
source§fn eq(&self, other: &AddressKind) -> bool
fn eq(&self, other: &AddressKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for AddressKind
impl Eq for AddressKind
impl StructuralEq for AddressKind
impl StructuralPartialEq for AddressKind
Auto Trait Implementations§
impl RefUnwindSafe for AddressKind
impl Send for AddressKind
impl Sync for AddressKind
impl Unpin for AddressKind
impl UnwindSafe for AddressKind
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: 2 bytes
Size for each variant:
Ref: 1 byteAddress: 1 byte