Trait NSFileWrapperNSExtensions

Source
pub unsafe trait NSFileWrapperNSExtensions:
    ClassType
    + Sized
    + Sealed {
    // Provided methods
    unsafe fn icon(&self) -> Option<Retained<NSImage>> { ... }
    unsafe fn setIcon(&self, icon: Option<&NSImage>) { ... }
}
Available on crate feature NSFileWrapperExtensions only.
Expand description

Category “NSExtensions” on NSFileWrapper.

Provided Methods§

Source

unsafe fn icon(&self) -> Option<Retained<NSImage>>

Available on crate feature NSImage only.
Source

unsafe fn setIcon(&self, icon: Option<&NSImage>)

Available on crate feature NSImage only.

Setter for icon.

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 NSFileWrapperNSExtensions for NSFileWrapper

Implementors§