Struct trace_recorder_parser::snapshot::symbol_table::SymbolTable
source · pub struct SymbolTable {
pub symbols: BTreeMap<ObjectHandle, SymbolTableEntry>,
}
Fields§
§symbols: BTreeMap<ObjectHandle, SymbolTableEntry>
The key is the byte offset of this entry within the originating table in memory, referenced by user event payloads
Implementations§
source§impl SymbolTable
impl SymbolTable
pub fn insert( &mut self, handle: ObjectHandle, channel_index: Option<ObjectHandle>, crc: SymbolCrc6, symbol: SymbolString, )
pub fn get(&self, handle: ObjectHandle) -> Option<&SymbolTableEntry>
Trait Implementations§
source§impl Clone for SymbolTable
impl Clone for SymbolTable
source§fn clone(&self) -> SymbolTable
fn clone(&self) -> SymbolTable
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 SymbolTable
impl Debug for SymbolTable
source§impl Default for SymbolTable
impl Default for SymbolTable
source§fn default() -> SymbolTable
fn default() -> SymbolTable
Returns the “default value” for a type. Read more
source§impl Hash for SymbolTable
impl Hash for SymbolTable
source§impl Ord for SymbolTable
impl Ord for SymbolTable
source§fn cmp(&self, other: &SymbolTable) -> Ordering
fn cmp(&self, other: &SymbolTable) -> Ordering
1.21.0 · 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 SymbolTable
impl PartialEq for SymbolTable
source§fn eq(&self, other: &SymbolTable) -> bool
fn eq(&self, other: &SymbolTable) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SymbolTable
impl PartialOrd for SymbolTable
source§fn partial_cmp(&self, other: &SymbolTable) -> Option<Ordering>
fn partial_cmp(&self, other: &SymbolTable) -> Option<Ordering>
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 Eq for SymbolTable
impl StructuralPartialEq for SymbolTable
Auto Trait Implementations§
impl Freeze for SymbolTable
impl RefUnwindSafe for SymbolTable
impl Send for SymbolTable
impl Sync for SymbolTable
impl Unpin for SymbolTable
impl UnwindSafe for SymbolTable
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