Trait CIColorNSAppKitAdditions

Source
pub unsafe trait CIColorNSAppKitAdditions:
    ClassType
    + Sized
    + Sealed {
    // Provided method
    unsafe fn initWithColor(
        this: Allocated<Self>,
        color: &NSColor,
    ) -> Option<Retained<Self>> { ... }
}
Available on crate feature NSColor only.
Expand description

Category “NSAppKitAdditions” on CIColor.

Provided Methods§

Source

unsafe fn initWithColor( this: Allocated<Self>, color: &NSColor, ) -> Option<Retained<Self>>

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 CIColorNSAppKitAdditions for CIColor

Available on crate feature objc2-core-image and Apple only.

Implementors§