Trait CIImageUIKitAdditions

Source
pub unsafe trait CIImageUIKitAdditions:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    unsafe 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§

Source

unsafe fn initWithImage( this: Allocated<Self>, image: &UIImage, ) -> Option<Retained<Self>>

Source

unsafe 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.

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 CIImageUIKitAdditions for CIImage

Available on crate feature objc2-core-image and non-watchOS only.

Implementors§