Struct ProfilingEnable
#[repr(transparent)]pub struct ProfilingEnable(pub u32);
Expand description
Enable the profiling counters.
Tuple Fields§
§0: u32
Implementations§
§impl ProfilingEnable
impl ProfilingEnable
pub fn set_enable(&mut self, val: bool)
pub fn set_enable(&mut self, val: bool)
Enable the profiling counters
Trait Implementations§
§impl Clone for ProfilingEnable
impl Clone for ProfilingEnable
§fn clone(&self) -> ProfilingEnable
fn clone(&self) -> ProfilingEnable
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Default for ProfilingEnable
impl Default for ProfilingEnable
§fn default() -> ProfilingEnable
fn default() -> ProfilingEnable
Returns the “default value” for a type. Read more
§impl PartialEq for ProfilingEnable
impl PartialEq for ProfilingEnable
impl Copy for ProfilingEnable
impl Eq for ProfilingEnable
impl StructuralPartialEq for ProfilingEnable
Auto Trait Implementations§
impl Freeze for ProfilingEnable
impl RefUnwindSafe for ProfilingEnable
impl Send for ProfilingEnable
impl Sync for ProfilingEnable
impl Unpin for ProfilingEnable
impl UnwindSafe for ProfilingEnable
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)