Trait objc2_ui_kit::CIImageUIKitAdditions

source ·
pub unsafe trait CIImageUIKitAdditions: ClassType {
    // Provided methods
    unsafe fn initWithImage(
        this: Allocated<Self>,
        image: &UIImage
    ) -> Option<Retained<Self>>
       where Self: Sized + Message { ... }
    unsafe fn initWithImage_options(
        this: Allocated<Self>,
        image: &UIImage,
        options: Option<&NSDictionary<CIImageOption, AnyObject>>
    ) -> Option<Retained<Self>>
       where Self: Sized + Message { ... }
}
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>>
where Self: Sized + Message,

source

unsafe fn initWithImage_options( this: Allocated<Self>, image: &UIImage, options: Option<&NSDictionary<CIImageOption, AnyObject>> ) -> Option<Retained<Self>>
where Self: Sized + Message,

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

Object Safety§

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§