pub trait INSUUID: PNSObject {
// Provided methods
fn m_uuid() -> Self
where Self: Sized + FromId { ... }
fn m_init(&mut self) -> Self
where Self: Sized + FromId { ... }
fn m_init_with_uuid_string(&mut self, string: NSString) -> Self
where Self: Sized + FromId { ... }
fn m_init_with_uuid_bytes(&mut self, bytes: *const c_uchar) -> Self
where Self: Sized + FromId { ... }
fn m_get_uuid_bytes(&self, uuid: *mut c_uchar) { ... }
fn p_uuid_string(&self) -> NSString { ... }
fn m_compare(&self, other_uuid: NSUUID) -> NSComparisonResult { ... }
}Expand description
A trait containing all the methods for NSUUID
Provided Methods§
Sourcefn m_init_with_uuid_string(&mut self, string: NSString) -> Self
fn m_init_with_uuid_string(&mut self, string: NSString) -> Self
Initializes a new UUID with the formatted string.
Sourcefn m_init_with_uuid_bytes(&mut self, bytes: *const c_uchar) -> Self
fn m_init_with_uuid_bytes(&mut self, bytes: *const c_uchar) -> Self
Sourcefn m_get_uuid_bytes(&self, uuid: *mut c_uchar)
fn m_get_uuid_bytes(&self, uuid: *mut c_uchar)
Sourcefn p_uuid_string(&self) -> NSString
fn p_uuid_string(&self) -> NSString
The UUID as a string.
Sourcefn m_compare(&self, other_uuid: NSUUID) -> NSComparisonResult
fn m_compare(&self, other_uuid: NSUUID) -> NSComparisonResult
Compares NSUUID with another
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".