#[repr(transparent)]pub struct LocalIdx(usize);
Expand description
The index of a local in the scope’s local array at compile time.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl PartialEq for LocalIdx
impl PartialEq for LocalIdx
source§impl PartialOrd for LocalIdx
impl PartialOrd for LocalIdx
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 LocalIdx
impl Eq for LocalIdx
impl StructuralPartialEq for LocalIdx
Auto Trait Implementations§
impl Freeze for LocalIdx
impl RefUnwindSafe for LocalIdx
impl Send for LocalIdx
impl Sync for LocalIdx
impl Unpin for LocalIdx
impl UnwindSafe for LocalIdx
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.