pub struct Inspector { /* private fields */ }Implementations§
Source§impl Inspector
impl Inspector
pub fn new() -> Self
pub fn get_debugger(&mut self) -> &mut Debugger
pub fn get_profiler(&mut self) -> &mut Profiler
pub fn add_event_listener( &mut self, event: String, listener: Box<dyn Fn(String) + Send + Sync>, )
pub fn emit_event(&self, event: &str, data: String)
pub fn start_inspection(&mut self)
pub fn stop_inspection(&mut self) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Inspector
impl !RefUnwindSafe for Inspector
impl Send for Inspector
impl Sync for Inspector
impl Unpin for Inspector
impl !UnwindSafe for Inspector
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