CIImageNSAppKitAdditions

Trait CIImageNSAppKitAdditions 

Source
pub unsafe trait CIImageNSAppKitAdditions:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    fn initWithBitmapImageRep(
        this: Allocated<Self>,
        bitmap_image_rep: &NSBitmapImageRep,
    ) -> Option<Retained<Self>> { ... }
    fn drawInRect_fromRect_operation_fraction(
        &self,
        rect: NSRect,
        from_rect: NSRect,
        op: NSCompositingOperation,
        delta: CGFloat,
    ) { ... }
    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

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

Available on crate features NSBitmapImageRep and NSImageRep only.
Source

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

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.

Implementors§