pub struct ScopeId(pub NonZeroU32);
Expand description
A unique id for each scope and ScopeDetails
.
Tuple Fields§
§0: NonZeroU32
Trait Implementations§
source§impl Ord for ScopeId
impl Ord for ScopeId
source§impl PartialEq for ScopeId
impl PartialEq for ScopeId
source§impl PartialOrd for ScopeId
impl PartialOrd for ScopeId
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ScopeId
impl Eq for ScopeId
impl StructuralPartialEq for ScopeId
Auto Trait Implementations§
impl Freeze for ScopeId
impl RefUnwindSafe for ScopeId
impl Send for ScopeId
impl Sync for ScopeId
impl Unpin for ScopeId
impl UnwindSafe for ScopeId
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