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
sourceimpl 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
sourceimpl Clone for SymbolTable
impl Clone for SymbolTable
sourcefn clone(&self) -> SymbolTable
fn clone(&self) -> SymbolTable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SymbolTable
impl Debug for SymbolTable
sourceimpl Default for SymbolTable
impl Default for SymbolTable
sourcefn default() -> SymbolTable
fn default() -> SymbolTable
Returns the “default value” for a type. Read more
sourceimpl Hash for SymbolTable
impl Hash for SymbolTable
sourceimpl Ord for SymbolTable
impl Ord for SymbolTable
sourcefn cmp(&self, other: &SymbolTable) -> Ordering
fn cmp(&self, other: &SymbolTable) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<SymbolTable> for SymbolTable
impl PartialEq<SymbolTable> for SymbolTable
sourcefn eq(&self, other: &SymbolTable) -> bool
fn eq(&self, other: &SymbolTable) -> bool
sourceimpl PartialOrd<SymbolTable> for SymbolTable
impl PartialOrd<SymbolTable> for SymbolTable
sourcefn partial_cmp(&self, other: &SymbolTable) -> Option<Ordering>
fn partial_cmp(&self, other: &SymbolTable) -> Option<Ordering>
1.0.0 · sourcefn 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 StructuralEq for SymbolTable
impl StructuralPartialEq for SymbolTable
Auto Trait Implementations
impl RefUnwindSafe for SymbolTable
impl Send for SymbolTable
impl Sync for SymbolTable
impl Unpin for SymbolTable
impl UnwindSafe for SymbolTable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more