#[non_exhaustive]pub struct HirScopeId { /* private fields */ }Expand description
Stable identifier for a HIR scope frame within one lowered file.
Implementations§
Source§impl HirScopeId
impl HirScopeId
Trait Implementations§
Source§impl Clone for HirScopeId
impl Clone for HirScopeId
Source§fn clone(&self) -> HirScopeId
fn clone(&self) -> HirScopeId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HirScopeId
impl Debug for HirScopeId
Source§impl Hash for HirScopeId
impl Hash for HirScopeId
Source§impl Ord for HirScopeId
impl Ord for HirScopeId
Source§fn cmp(&self, other: &HirScopeId) -> Ordering
fn cmp(&self, other: &HirScopeId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HirScopeId
impl PartialEq for HirScopeId
Source§fn eq(&self, other: &HirScopeId) -> bool
fn eq(&self, other: &HirScopeId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for HirScopeId
impl PartialOrd for HirScopeId
impl Copy for HirScopeId
impl Eq for HirScopeId
impl StructuralPartialEq for HirScopeId
Auto Trait Implementations§
impl Freeze for HirScopeId
impl RefUnwindSafe for HirScopeId
impl Send for HirScopeId
impl Sync for HirScopeId
impl Unpin for HirScopeId
impl UnsafeUnpin for HirScopeId
impl UnwindSafe for HirScopeId
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