pub struct OSSignpostId(/* private fields */);Expand description
Opaque signpost identifier.
Implementations§
Source§impl OSSignpostId
impl OSSignpostId
pub const NULL: Self
pub const INVALID: Self
pub const EXCLUSIVE: Self
pub fn generate(log: &OSLog) -> Self
pub fn from_pointer<T>(log: &OSLog, pointer: *const T) -> Self
pub const fn as_u64(self) -> u64
pub const fn from_u64(raw: u64) -> Self
pub const fn is_null(self) -> bool
pub const fn is_invalid(self) -> bool
Trait Implementations§
Source§impl Clone for OSSignpostId
impl Clone for OSSignpostId
Source§fn clone(&self) -> OSSignpostId
fn clone(&self) -> OSSignpostId
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 moreSource§impl Debug for OSSignpostId
impl Debug for OSSignpostId
Source§impl Hash for OSSignpostId
impl Hash for OSSignpostId
Source§impl Ord for OSSignpostId
impl Ord for OSSignpostId
Source§fn cmp(&self, other: &OSSignpostId) -> Ordering
fn cmp(&self, other: &OSSignpostId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OSSignpostId
impl PartialEq for OSSignpostId
Source§fn eq(&self, other: &OSSignpostId) -> bool
fn eq(&self, other: &OSSignpostId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OSSignpostId
impl PartialOrd for OSSignpostId
impl Copy for OSSignpostId
impl Eq for OSSignpostId
impl StructuralPartialEq for OSSignpostId
Auto Trait Implementations§
impl Freeze for OSSignpostId
impl RefUnwindSafe for OSSignpostId
impl Send for OSSignpostId
impl Sync for OSSignpostId
impl Unpin for OSSignpostId
impl UnsafeUnpin for OSSignpostId
impl UnwindSafe for OSSignpostId
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