pub struct GlobalFrameView { /* private fields */ }
Expand description
Automatically connects to crate::GlobalProfiler
.
Implementations§
Source§impl GlobalFrameView
impl GlobalFrameView
Sourcepub fn sink_id(&self) -> FrameSinkId
pub fn sink_id(&self) -> FrameSinkId
Sink ID
Sourcepub fn lock(&self) -> MutexGuard<'_, FrameView>
pub fn lock(&self) -> MutexGuard<'_, FrameView>
View the latest profiling data.
Trait Implementations§
Source§impl Default for GlobalFrameView
impl Default for GlobalFrameView
Auto Trait Implementations§
impl Freeze for GlobalFrameView
impl !RefUnwindSafe for GlobalFrameView
impl Send for GlobalFrameView
impl Sync for GlobalFrameView
impl Unpin for GlobalFrameView
impl !UnwindSafe for GlobalFrameView
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more