Enum stable_mir::ty::RegionKind
source · pub enum RegionKind {
ReEarlyBound(EarlyBoundRegion),
ReLateBound(u32, BoundRegion),
ReStatic,
RePlaceholder(Placeholder<BoundRegion>),
ReErased,
}
Variants§
ReEarlyBound(EarlyBoundRegion)
ReLateBound(u32, BoundRegion)
ReStatic
RePlaceholder(Placeholder<BoundRegion>)
ReErased
Trait Implementations§
source§impl Clone for RegionKind
impl Clone for RegionKind
source§fn clone(&self) -> RegionKind
fn clone(&self) -> RegionKind
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 RefUnwindSafe for RegionKind
impl Send for RegionKind
impl Sync for RegionKind
impl Unpin for RegionKind
impl UnwindSafe for RegionKind
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: 64 bytes
Size for each variant:
ReEarlyBound
: 44 bytesReLateBound
: 52 bytesReStatic
: 0 bytesRePlaceholder
: 60 bytesReErased
: 0 bytes