[go: up one dir, main page]

Trait NSValue

Source
pub trait NSValue: Sized {
    // Provided methods
    unsafe fn valueWithPoint(_: Self, point: NSPoint) -> *mut Object { ... }
    unsafe fn valueWithSize(_: Self, size: NSSize) -> *mut Object { ... }
}
👎Deprecated: use the objc2-foundation crate instead

Provided Methods§

Source

unsafe fn valueWithPoint(_: Self, point: NSPoint) -> *mut Object

👎Deprecated: use the objc2-foundation crate instead
Source

unsafe fn valueWithSize(_: Self, size: NSSize) -> *mut Object

👎Deprecated: use the objc2-foundation crate instead

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 NSValue for *mut Object

Implementors§