#[repr(transparent)]pub struct Profiler { /* private fields */ }
Implementations§
source§impl Profiler
impl Profiler
pub const _START: Profiler = _
pub const _START_DRIVER: Profiler = _
pub const INFO: Profiler = _
pub const CLOCK: Profiler = _
pub const DRIVER_BLOCK: Profiler = _
pub const _START_FOLLOWER: Profiler = _
pub const FOLLOWER_BLOCK: Profiler = _
pub const _START_CUSTOM: Profiler = _
Trait Implementations§
source§impl From<Profiler> for spa_profiler
impl From<Profiler> for spa_profiler
source§impl From<u32> for Profiler
impl From<u32> for Profiler
source§fn from(value: spa_profiler) -> Self
fn from(value: spa_profiler) -> Self
Converts to this type from the input type.
source§impl PartialEq<Profiler> for Profiler
impl PartialEq<Profiler> for Profiler
source§impl RawWrapper for Profiler
impl RawWrapper for Profiler
source§fn as_raw_ptr(&self) -> *mut Self::CType
fn as_raw_ptr(&self) -> *mut Self::CType
Raw ptr to the external type
source§fn from_raw(raw: Self::CType) -> Self
fn from_raw(raw: Self::CType) -> Self
Creates wrapper from the external value, can be use when external type has no raw pointers.
source§unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
unsafe fn mut_from_raw_ptr<'lft>(raw: *mut Self::CType) -> &'lft mut Self
Cast external pointer to the borrowed mutable wrapper.
Panic when pointer is null.
Lifetime is not reliable and should be guaranteed explicitly. Read more
impl Copy for Profiler
impl Eq for Profiler
impl StructuralEq for Profiler
impl StructuralPartialEq for Profiler
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§
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