Trait objc2_app_kit::NSStackViewDelegate

source ·
pub unsafe trait NSStackViewDelegate: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn stackView_willDetachViews(
        &self,
        stack_view: &NSStackView,
        views: &NSArray<NSView>
    )
       where Self: Sized + Message { ... }
    unsafe fn stackView_didReattachViews(
        &self,
        stack_view: &NSStackView,
        views: &NSArray<NSView>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSStackView only.

Provided Methods§

source

unsafe fn stackView_willDetachViews( &self, stack_view: &NSStackView, views: &NSArray<NSView> )
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
source

unsafe fn stackView_didReattachViews( &self, stack_view: &NSStackView, views: &NSArray<NSView> )
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.

Trait Implementations§

source§

impl ProtocolType for dyn NSStackViewDelegate

source§

const NAME: &'static str = "NSStackViewDelegate"

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 NSStackViewDelegate

Implementations on Foreign Types§

source§

impl<T> NSStackViewDelegate for ProtocolObject<T>

Implementors§