pub struct EntryTable(/* private fields */);
Expand description
The address field of an entry is the key. This is either an object address (task, queue, etc) or the address of the entry “slot” in memory (self-referential, i.e. user event strings).
Implementations§
Source§impl EntryTable
impl EntryTable
pub fn entries(&self) -> &BTreeMap<ObjectHandle, Entry>
pub fn symbol(&self, handle: ObjectHandle) -> Option<&SymbolString>
pub fn class(&self, handle: ObjectHandle) -> Option<ObjectClass>
pub fn symbol_handle<S: AsRef<str>>( &self, symbol: S, class: Option<ObjectClass>, ) -> Option<ObjectHandle>
Trait Implementations§
Source§impl Clone for EntryTable
impl Clone for EntryTable
Source§fn clone(&self) -> EntryTable
fn clone(&self) -> EntryTable
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 EntryTable
impl Debug for EntryTable
Source§impl Default for EntryTable
impl Default for EntryTable
Source§impl Hash for EntryTable
impl Hash for EntryTable
Source§impl Ord for EntryTable
impl Ord for EntryTable
Source§fn cmp(&self, other: &EntryTable) -> Ordering
fn cmp(&self, other: &EntryTable) -> 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 EntryTable
impl PartialEq for EntryTable
Source§impl PartialOrd for EntryTable
impl PartialOrd for EntryTable
impl Eq for EntryTable
impl StructuralPartialEq for EntryTable
Auto Trait Implementations§
impl Freeze for EntryTable
impl RefUnwindSafe for EntryTable
impl Send for EntryTable
impl Sync for EntryTable
impl Unpin for EntryTable
impl UnwindSafe for EntryTable
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