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 duplicate 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§impl PartialOrd for SymbolTable
impl PartialOrd for SymbolTable
impl 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