pub struct InternalCounters {
pub core: CoreCounters,
pub hal: HalCounters,
}Expand description
All internal counters, exposed for debugging purposes.
Obtain this from
Device::get_internal_counters().
Fields§
§core: CoreCounterswgpu-core counters.
hal: HalCounterswgpu-hal counters.
Trait Implementations§
Source§impl Clone for InternalCounters
impl Clone for InternalCounters
Source§impl Debug for InternalCounters
impl Debug for InternalCounters
Auto Trait Implementations§
impl !Freeze for InternalCounters
impl Forget for InternalCounters
impl Move for InternalCounters
impl RefUnwindSafe for InternalCounters
impl Send for InternalCounters
impl Sync for InternalCounters
impl Unpin for InternalCounters
impl UnsafeUnpin for InternalCounters
impl UnwindSafe for InternalCounters
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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