Trait objc2_app_kit::NSColorChanging

source ·
pub unsafe trait NSColorChanging: NSObjectProtocol {
    // Provided method
    unsafe fn changeColor(&self, sender: Option<&NSColorPanel>)
       where Self: Sized + Message { ... }
}
Available on crate feature NSColorPanel only.

Provided Methods§

source

unsafe fn changeColor(&self, sender: Option<&NSColorPanel>)
where Self: Sized + Message,

Available on crate features NSPanel and NSResponder and NSWindow only.

Trait Implementations§

source§

impl ProtocolType for dyn NSColorChanging

source§

const NAME: &'static str = "NSColorChanging"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn NSColorChanging

Implementations on Foreign Types§

source§

impl<T> NSColorChanging for ProtocolObject<T>
where T: ?Sized + NSColorChanging,

Implementors§

source§

impl NSColorChanging for NSTextView

Available on crate features NSResponder and NSText and NSView and NSTextView only.