Trait objc2_ui_kit::CIColorUIKitAdditions
source · pub unsafe trait CIColorUIKitAdditions: ClassType {
// Provided method
unsafe fn initWithColor(
this: Allocated<Self>,
color: &UIColor
) -> Retained<Self>
where Self: Sized + Message { ... }
}Available on crate feature
UIColor only.Expand description
Category “UIKitAdditions” on CIColor.
Provided Methods§
unsafe fn initWithColor( this: Allocated<Self>, color: &UIColor ) -> Retained<Self>
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
impl CIColorUIKitAdditions for CIColor
Available on crate feature
objc2-core-image and non-watchOS only.