Skip to main content

NSScrubberFlowLayoutDelegate

Trait NSScrubberFlowLayoutDelegate 

Source
pub unsafe trait NSScrubberFlowLayoutDelegate: NSScrubberDelegate {
    // Provided method
    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

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<T> ImplementedBy<T> for dyn NSScrubberFlowLayoutDelegate

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

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> NSScrubberFlowLayoutDelegate for ProtocolObject<T>

Implementors§