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§
unsafe fn valueWithPoint(_: Self, point: NSPoint) -> *mut Object
👎Deprecated: use the objc2-foundation crate instead
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.