Struct hawktracer_parser::registry::EventKlassRegistry
source · pub struct EventKlassRegistry { /* private fields */ }
Implementations
sourceimpl EventKlassRegistry
impl EventKlassRegistry
pub fn new() -> EventKlassRegistry
pub fn add_klass(&mut self, klass: EventKlass)
pub fn get_klass_by_id(&self, id: u32) -> Option<&EventKlass>
pub fn get_klass_by_id_mut(&mut self, id: u32) -> Option<&mut EventKlass>
pub fn get_klass_by_name(&self, name: &str) -> Option<&EventKlass>
Trait Implementations
sourceimpl Default for EventKlassRegistry
impl Default for EventKlassRegistry
sourcefn default() -> EventKlassRegistry
fn default() -> EventKlassRegistry
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for EventKlassRegistry
impl Send for EventKlassRegistry
impl Sync for EventKlassRegistry
impl Unpin for EventKlassRegistry
impl UnwindSafe for EventKlassRegistry
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