Trait CIImageNSAppKitAdditions

Source
pub unsafe trait CIImageNSAppKitAdditions:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    unsafe fn initWithBitmapImageRep(
        this: Allocated<Self>,
        bitmap_image_rep: &NSBitmapImageRep,
    ) -> Option<Retained<Self>> { ... }
    unsafe fn drawInRect_fromRect_operation_fraction(
        &self,
        rect: NSRect,
        from_rect: NSRect,
        op: NSCompositingOperation,
        delta: CGFloat,
    ) { ... }
    unsafe fn drawAtPoint_fromRect_operation_fraction(
        &self,
        point: NSPoint,
        from_rect: NSRect,
        op: NSCompositingOperation,
        delta: CGFloat,
    ) { ... }
}
Available on crate feature NSCIImageRep only.
Expand description

Category “NSAppKitAdditions” on CIImage.

Provided Methods§

Source

unsafe fn initWithBitmapImageRep( this: Allocated<Self>, bitmap_image_rep: &NSBitmapImageRep, ) -> Option<Retained<Self>>

Available on crate features NSBitmapImageRep and NSImageRep only.
Source

unsafe fn drawInRect_fromRect_operation_fraction( &self, rect: NSRect, from_rect: NSRect, op: NSCompositingOperation, delta: CGFloat, )

Available on crate features NSGraphics and objc2-core-foundation only.
Source

unsafe fn drawAtPoint_fromRect_operation_fraction( &self, point: NSPoint, from_rect: NSRect, op: NSCompositingOperation, delta: CGFloat, )

Available on crate features NSGraphics and objc2-core-foundation 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 CIImageNSAppKitAdditions for CIImage

Available on crate feature objc2-core-image and Apple only.

Implementors§