Skip to main content

NSValueGCTypes

Trait NSValueGCTypes 

Source
pub unsafe trait NSValueGCTypes:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    unsafe fn valueWithGCPoint2(point: GCPoint2) -> Retained<Self> { ... }
    unsafe fn GCPoint2Value(&self) -> GCPoint2 { ... }
}
Available on crate feature GCTypes only.
Expand description

Category “GCTypes” on NSValue.

Provided Methods§

Source

unsafe fn valueWithGCPoint2(point: GCPoint2) -> Retained<Self>

Source

unsafe fn GCPoint2Value(&self) -> GCPoint2

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl NSValueGCTypes for NSValue

Implementors§