Trait objc2_app_kit::NSImageDelegate
source · pub unsafe trait NSImageDelegate: NSObjectProtocol {
// Provided methods
unsafe fn imageDidNotDraw_inRect(
&self,
sender: &NSImage,
rect: NSRect
) -> Option<Id<NSImage>>
where Self: Sized + Message { ... }
unsafe fn image_willLoadRepresentation(
&self,
image: &NSImage,
rep: &NSImageRep
)
where Self: Sized + Message { ... }
unsafe fn image_didLoadRepresentationHeader(
&self,
image: &NSImage,
rep: &NSImageRep
)
where Self: Sized + Message { ... }
unsafe fn image_didLoadPartOfRepresentation_withValidRows(
&self,
image: &NSImage,
rep: &NSImageRep,
rows: NSInteger
)
where Self: Sized + Message { ... }
unsafe fn image_didLoadRepresentation_withStatus(
&self,
image: &NSImage,
rep: &NSImageRep,
status: NSImageLoadStatus
)
where Self: Sized + Message { ... }
}
Available on crate feature
NSImage
only.Provided Methods§
unsafe fn imageDidNotDraw_inRect( &self, sender: &NSImage, rect: NSRect ) -> Option<Id<NSImage>>
unsafe fn image_willLoadRepresentation(&self, image: &NSImage, rep: &NSImageRep)
👎Deprecated: This method is no longer called on 10.4 or later.
Available on crate feature
NSImageRep
only.unsafe fn image_didLoadRepresentationHeader( &self, image: &NSImage, rep: &NSImageRep )
👎Deprecated: This method is no longer called on 10.4 or later.
Available on crate feature
NSImageRep
only.unsafe fn image_didLoadPartOfRepresentation_withValidRows( &self, image: &NSImage, rep: &NSImageRep, rows: NSInteger )
👎Deprecated: This method is no longer called on 10.4 or later.
Available on crate feature
NSImageRep
only.unsafe fn image_didLoadRepresentation_withStatus( &self, image: &NSImage, rep: &NSImageRep, status: NSImageLoadStatus )
👎Deprecated: This method is no longer called on 10.4 or later.
Available on crate feature
NSImageRep
only.