Struct me3_framework::tracing::Profiler
source · [−]pub struct Profiler { /* private fields */ }
Implementations
sourceimpl Profiler
impl Profiler
pub fn tracy(&self) -> &Client
pub fn install_at(
&self,
addr: *const (),
name: &'static str
) -> Result<ProfiledFunction, FrameworkError>
Trait Implementations
sourceimpl FrameworkGlobal for Profiler
impl FrameworkGlobal for Profiler
fn cell() -> &'static OnceCell<Self>
fn create() -> Result<Self, FrameworkError>
fn get_or_create() -> Result<&'static Self, FrameworkError>
sourceunsafe fn get_unchecked() -> &'static Self
unsafe fn get_unchecked() -> &'static Self
Safety Read more
Auto Trait Implementations
impl RefUnwindSafe for Profiler
impl Send for Profiler
impl Sync for Profiler
impl Unpin for Profiler
impl UnwindSafe for Profiler
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