pub enum BoundRegionKind {
BrAnon,
BrNamed(BrNamedDef, String),
BrEnv,
}
Variants§
Trait Implementations§
Source§impl Clone for BoundRegionKind
impl Clone for BoundRegionKind
Source§fn clone(&self) -> BoundRegionKind
fn clone(&self) -> BoundRegionKind
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 BoundRegionKind
impl Debug for BoundRegionKind
Source§impl PartialEq for BoundRegionKind
impl PartialEq for BoundRegionKind
Source§impl Serialize for BoundRegionKind
impl Serialize for BoundRegionKind
impl Eq for BoundRegionKind
impl StructuralPartialEq for BoundRegionKind
Auto Trait Implementations§
impl Freeze for BoundRegionKind
impl RefUnwindSafe for BoundRegionKind
impl Send for BoundRegionKind
impl Sync for BoundRegionKind
impl Unpin for BoundRegionKind
impl UnwindSafe for BoundRegionKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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: 32 bytes
Size for each variant:
BrAnon
: 0 bytesBrNamed
: 32 bytesBrEnv
: 0 bytes