Enum rustc_borrowck::renumber::BoundRegionInfo
source · pub(crate) enum BoundRegionInfo {
Name(Symbol),
Span(Span),
}Variants§
Trait Implementations§
source§impl Clone for BoundRegionInfo
impl Clone for BoundRegionInfo
source§fn clone(&self) -> BoundRegionInfo
fn clone(&self) -> BoundRegionInfo
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 BoundRegionInfo
impl Debug for BoundRegionInfo
source§impl Hash for BoundRegionInfo
impl Hash for BoundRegionInfo
source§impl PartialEq<BoundRegionInfo> for BoundRegionInfo
impl PartialEq<BoundRegionInfo> for BoundRegionInfo
source§fn eq(&self, other: &BoundRegionInfo) -> bool
fn eq(&self, other: &BoundRegionInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for BoundRegionInfo
impl Eq for BoundRegionInfo
impl StructuralEq for BoundRegionInfo
impl StructuralPartialEq for BoundRegionInfo
Auto Trait Implementations§
impl RefUnwindSafe for BoundRegionInfo
impl !Send for BoundRegionInfo
impl !Sync for BoundRegionInfo
impl Unpin for BoundRegionInfo
impl UnwindSafe for BoundRegionInfo
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:12 bytes
Size for each variant:
Name: 4 bytesSpan: 8 bytes