pub unsafe trait CIColorUIKitAdditions:
ClassType
+ Sized
+ Sealed {
// Provided method
unsafe fn initWithColor(
this: Allocated<Self>,
color: &UIColor,
) -> Retained<Self> { ... }
}
Available on crate feature
UIColor
only.Expand description
Category “UIKitAdditions” on CIColor
.
Provided Methods§
unsafe fn initWithColor( this: Allocated<Self>, color: &UIColor, ) -> 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§
impl CIColorUIKitAdditions for CIColor
Available on crate feature
objc2-core-image
and non-watchOS only.