Skip to main content

NSSpringLoadingDestination

Trait NSSpringLoadingDestination 

Source
pub unsafe trait NSSpringLoadingDestination: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn springLoadingActivated_draggingInfo(
        &self,
        activated: bool,
        dragging_info: &ProtocolObject<dyn NSDraggingInfo>,
    )
       where Self: Sized + Message { ... }
    fn springLoadingHighlightChanged(
        &self,
        dragging_info: &ProtocolObject<dyn NSDraggingInfo>,
    )
       where Self: Sized + Message { ... }
    fn springLoadingEntered(
        &self,
        dragging_info: &ProtocolObject<dyn NSDraggingInfo>,
    ) -> NSSpringLoadingOptions
       where Self: Sized + Message { ... }
    fn springLoadingUpdated(
        &self,
        dragging_info: &ProtocolObject<dyn NSDraggingInfo>,
    ) -> NSSpringLoadingOptions
       where Self: Sized + Message { ... }
    fn springLoadingExited(
        &self,
        dragging_info: &ProtocolObject<dyn NSDraggingInfo>,
    )
       where Self: Sized + Message { ... }
    fn draggingEnded(&self, dragging_info: &ProtocolObject<dyn NSDraggingInfo>)
       where Self: Sized + Message { ... }
}
Available on crate feature NSDragging only.
Expand description

Provided Methods§

Source

fn springLoadingActivated_draggingInfo( &self, activated: bool, dragging_info: &ProtocolObject<dyn NSDraggingInfo>, )
where Self: Sized + Message,

Source

fn springLoadingHighlightChanged( &self, dragging_info: &ProtocolObject<dyn NSDraggingInfo>, )
where Self: Sized + Message,

Source

fn springLoadingEntered( &self, dragging_info: &ProtocolObject<dyn NSDraggingInfo>, ) -> NSSpringLoadingOptions
where Self: Sized + Message,

Source

fn springLoadingUpdated( &self, dragging_info: &ProtocolObject<dyn NSDraggingInfo>, ) -> NSSpringLoadingOptions
where Self: Sized + Message,

Source

fn springLoadingExited( &self, dragging_info: &ProtocolObject<dyn NSDraggingInfo>, )
where Self: Sized + Message,

Source

fn draggingEnded(&self, dragging_info: &ProtocolObject<dyn NSDraggingInfo>)
where Self: Sized + Message,

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSSpringLoadingDestination

Source§

impl ProtocolType for dyn NSSpringLoadingDestination

Source§

const NAME: &'static str = "NSSpringLoadingDestination"

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> NSSpringLoadingDestination for ProtocolObject<T>

Implementors§