Trait objc2_app_kit::NSFileWrapperNSExtensions

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

Category “NSExtensions” on NSFileWrapper.

Provided Methods§

source

unsafe fn icon(&self) -> Option<Retained<NSImage>>
where Self: Sized + Message,

Available on crate feature NSImage only.
source

unsafe fn setIcon(&self, icon: Option<&NSImage>)
where Self: Sized + Message,

Available on crate feature NSImage only.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl NSFileWrapperNSExtensions for NSFileWrapper

Implementors§