Trait objc2_app_kit::CIColorNSAppKitAdditions

source ·
pub unsafe trait CIColorNSAppKitAdditions: ClassType {
    // Provided method
    unsafe fn initWithColor(
        this: Allocated<Self>,
        color: &NSColor
    ) -> Option<Retained<Self>>
       where Self: Sized + Message { ... }
}
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>>
where Self: Sized + Message,

Object Safety§

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§