pub unsafe trait CIImageUIKitAdditions:
ClassType
+ Sized
+ Sealed {
// Provided methods
fn initWithImage(
this: Allocated<Self>,
image: &UIImage,
) -> Option<Retained<Self>> { ... }
unsafe fn initWithImage_options(
this: Allocated<Self>,
image: &UIImage,
options: Option<&NSDictionary<CIImageOption, AnyObject>>,
) -> Option<Retained<Self>> { ... }
}Available on crate feature
UIImage only.Expand description
Category “UIKitAdditions” on CIImage.
Provided Methods§
fn initWithImage( this: Allocated<Self>, image: &UIImage, ) -> Option<Retained<Self>>
Sourceunsafe fn initWithImage_options(
this: Allocated<Self>,
image: &UIImage,
options: Option<&NSDictionary<CIImageOption, AnyObject>>,
) -> Option<Retained<Self>>
Available on crate feature objc2-core-image and non-watchOS only.
unsafe fn initWithImage_options( this: Allocated<Self>, image: &UIImage, options: Option<&NSDictionary<CIImageOption, AnyObject>>, ) -> Option<Retained<Self>>
objc2-core-image and non-watchOS only.§Safety
options generic should be of the correct type.
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 CIImageUIKitAdditions for CIImage
Available on crate feature
objc2-core-image and non-watchOS only.