NSDateSensorKit

Trait NSDateSensorKit 

Source
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§

Source

unsafe fn dateWithSRAbsoluteTime(time: SRAbsoluteTime) -> Retained<Self>

Available on crate feature objc2-core-foundation only.
Source

unsafe fn initWithSRAbsoluteTime( this: Allocated<Self>, time: SRAbsoluteTime, ) -> Retained<Self>

Available on crate feature objc2-core-foundation only.
Source

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.

Implementations on Foreign Types§

Source§

impl NSDateSensorKit for NSDate

Implementors§