NSBundleImageExtension

Trait NSBundleImageExtension 

Source
pub unsafe trait NSBundleImageExtension:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    fn imageForResource(&self, name: &NSImageName) -> Option<Retained<NSImage>> { ... }
    fn pathForImageResource(
        &self,
        name: &NSImageName,
    ) -> Option<Retained<NSString>> { ... }
    fn URLForImageResource(&self, name: &NSImageName) -> Option<Retained<NSURL>> { ... }
}
Available on crate feature NSImage only.
Expand description

Category on NSBundle.

Provided Methods§

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 NSBundleImageExtension for NSBundle

Implementors§