pub trait NSValue: Sized {
// Provided methods
unsafe fn valueWithPoint(_: Self, point: NSPoint) -> id { ... }
unsafe fn valueWithSize(_: Self, size: NSSize) -> id { ... }
}
๐Deprecated: use the objc2-foundation crate instead
Provided Methodsยง
unsafe fn valueWithPoint(_: Self, point: NSPoint) -> id
๐Deprecated: use the objc2-foundation crate instead
unsafe fn valueWithSize(_: Self, size: NSSize) -> id
๐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.