Struct Profilingenable
#[repr(transparent)]pub struct Profilingenable(pub u32);Expand description
Enable the profiling counters.
Tuple Fields§
§0: u32Implementations§
§impl Profilingenable
impl Profilingenable
pub const fn set_enable(&mut self, val: bool)
pub const 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 duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Profilingenable
§impl Debug for Profilingenable
impl Debug for Profilingenable
§impl Default for Profilingenable
impl Default for Profilingenable
§fn default() -> Profilingenable
fn default() -> Profilingenable
Returns the “default value” for a type. Read more
impl Eq for Profilingenable
§impl PartialEq for Profilingenable
impl PartialEq 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 UnsafeUnpin 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