Trait objc2_app_kit::NSScrubberDataSource

source ·
pub unsafe trait NSScrubberDataSource: NSObjectProtocol + IsMainThreadOnly {
    // Provided methods
    unsafe fn numberOfItemsForScrubber(
        &self,
        scrubber: &NSScrubber
    ) -> NSInteger
       where Self: Sized + Message { ... }
    unsafe fn scrubber_viewForItemAtIndex(
        &self,
        scrubber: &NSScrubber,
        index: NSInteger
    ) -> Id<NSScrubberItemView>
       where Self: Sized + Message { ... }
}
Available on crate feature NSScrubber only.

Provided Methods§

source

unsafe fn numberOfItemsForScrubber(&self, scrubber: &NSScrubber) -> NSInteger
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.
source

unsafe fn scrubber_viewForItemAtIndex( &self, scrubber: &NSScrubber, index: NSInteger ) -> Id<NSScrubberItemView>
where Self: Sized + Message,

Available on crate features NSResponder and NSScrubberItemView and NSView only.

Trait Implementations§

source§

impl ProtocolType for dyn NSScrubberDataSource

source§

const NAME: &'static str = "NSScrubberDataSource"

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 NSScrubberDataSource

Implementations on Foreign Types§

source§

impl<T> NSScrubberDataSource for ProtocolObject<T>

Implementors§