Trait NSScrubberFlowLayoutDelegate

Source
pub unsafe trait NSScrubberFlowLayoutDelegate: NSScrubberDelegate {
    // Provided method
    unsafe fn scrubber_layout_sizeForItemAtIndex(
        &self,
        scrubber: &NSScrubber,
        layout: &NSScrubberFlowLayout,
        item_index: NSInteger,
    ) -> NSSize
       where Self: Sized + Message { ... }
}
Available on crate features NSScrubber and NSScrubberLayout only.
Expand description

Provided Methods§

Source

unsafe fn scrubber_layout_sizeForItemAtIndex( &self, scrubber: &NSScrubber, layout: &NSScrubberFlowLayout, item_index: NSInteger, ) -> NSSize
where Self: Sized + Message,

Available on crate features NSResponder and NSView only.

Trait Implementations§

Source§

impl ProtocolType for dyn NSScrubberFlowLayoutDelegate

Source§

const NAME: &'static str = "NSScrubberFlowLayoutDelegate"

The name of the Objective-C protocol that this type represents. Read more
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 NSScrubberFlowLayoutDelegate

Implementations on Foreign Types§

Source§

impl<T> NSScrubberFlowLayoutDelegate for ProtocolObject<T>

Implementors§