pub unsafe trait NSDateSensorKit:
ClassType
+ Sized
+ Sealed {
// Provided methods
unsafe fn dateWithSRAbsoluteTime(time: SRAbsoluteTime) -> Retained<Self> { ... }
unsafe fn initWithSRAbsoluteTime(
this: Allocated<Self>,
time: SRAbsoluteTime,
) -> Retained<Self> { ... }
unsafe fn srAbsoluteTime(&self) -> SRAbsoluteTime { ... }
}
Expand description
Category “SensorKit” on NSDate
.
Provided Methods§
unsafe fn dateWithSRAbsoluteTime(time: SRAbsoluteTime) -> Retained<Self>
Available on crate feature
objc2-core-foundation
only.unsafe fn initWithSRAbsoluteTime( this: Allocated<Self>, time: SRAbsoluteTime, ) -> Retained<Self>
Available on crate feature
objc2-core-foundation
only.unsafe fn srAbsoluteTime(&self) -> SRAbsoluteTime
Available on crate feature
objc2-core-foundation
only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.