Struct object::read::SymbolIndex
source · pub struct SymbolIndex(pub usize);
Expand description
The index used to identify a symbol in a symbol table.
Tuple Fields§
§0: usize
Trait Implementations§
source§impl Clone for SymbolIndex
impl Clone for SymbolIndex
source§fn clone(&self) -> SymbolIndex
fn clone(&self) -> SymbolIndex
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 SymbolIndex
impl Debug for SymbolIndex
source§impl Hash for SymbolIndex
impl Hash for SymbolIndex
source§impl PartialEq for SymbolIndex
impl PartialEq for SymbolIndex
source§fn eq(&self, other: &SymbolIndex) -> bool
fn eq(&self, other: &SymbolIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SymbolIndex
impl Eq for SymbolIndex
impl StructuralPartialEq for SymbolIndex
Auto Trait Implementations§
impl Freeze for SymbolIndex
impl RefUnwindSafe for SymbolIndex
impl Send for SymbolIndex
impl Sync for SymbolIndex
impl Unpin for SymbolIndex
impl UnwindSafe for SymbolIndex
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.