NSFileWrapperNSExtensions

Trait NSFileWrapperNSExtensions 

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

Category “NSExtensions” on NSFileWrapper.

Provided Methods§

Source

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

Available on crate feature NSImage only.
Source

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§