pub unsafe trait NSImageDelegate: NSObjectProtocol {
// Provided methods
fn imageDidNotDraw_inRect(
&self,
sender: &NSImage,
rect: NSRect,
) -> Option<Retained<NSImage>>
where Self: Sized + Message { ... }
fn image_willLoadRepresentation(&self, image: &NSImage, rep: &NSImageRep)
where Self: Sized + Message { ... }
fn image_didLoadRepresentationHeader(
&self,
image: &NSImage,
rep: &NSImageRep,
)
where Self: Sized + Message { ... }
fn image_didLoadPartOfRepresentation_withValidRows(
&self,
image: &NSImage,
rep: &NSImageRep,
rows: NSInteger,
)
where Self: Sized + Message { ... }
fn image_didLoadRepresentation_withStatus(
&self,
image: &NSImage,
rep: &NSImageRep,
status: NSImageLoadStatus,
)
where Self: Sized + Message { ... }
}Available on crate feature
NSImage only.Expand description
Provided Methods§
fn imageDidNotDraw_inRect( &self, sender: &NSImage, rect: NSRect, ) -> Option<Retained<NSImage>>
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.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.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.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.Trait Implementations§
impl<T> ImplementedBy<T> for dyn NSImageDelegate
Source§impl ProtocolType for dyn NSImageDelegate
impl ProtocolType for dyn NSImageDelegate
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".