Skip to main content

NSInputServerMouseTracker

Trait NSInputServerMouseTracker 

Source
pub unsafe trait NSInputServerMouseTracker {
    // Provided methods
    unsafe fn mouseDownOnCharacterIndex_atCoordinate_withModifier_client(
        &self,
        index: NSUInteger,
        point: NSPoint,
        flags: NSUInteger,
        sender: Option<&AnyObject>,
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn mouseDraggedOnCharacterIndex_atCoordinate_withModifier_client(
        &self,
        index: NSUInteger,
        point: NSPoint,
        flags: NSUInteger,
        sender: Option<&AnyObject>,
    ) -> bool
       where Self: Sized + Message { ... }
    unsafe fn mouseUpOnCharacterIndex_atCoordinate_withModifier_client(
        &self,
        index: NSUInteger,
        point: NSPoint,
        flags: NSUInteger,
        sender: Option<&AnyObject>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature NSInputServer only.
Expand description

Provided Methods§

Source

unsafe fn mouseDownOnCharacterIndex_atCoordinate_withModifier_client( &self, index: NSUInteger, point: NSPoint, flags: NSUInteger, sender: Option<&AnyObject>, ) -> bool
where Self: Sized + Message,

👎Deprecated
§Safety
  • sender should be of the correct type.
  • sender might not allow None.
Source

unsafe fn mouseDraggedOnCharacterIndex_atCoordinate_withModifier_client( &self, index: NSUInteger, point: NSPoint, flags: NSUInteger, sender: Option<&AnyObject>, ) -> bool
where Self: Sized + Message,

👎Deprecated
§Safety
  • sender should be of the correct type.
  • sender might not allow None.
Source

unsafe fn mouseUpOnCharacterIndex_atCoordinate_withModifier_client( &self, index: NSUInteger, point: NSPoint, flags: NSUInteger, sender: Option<&AnyObject>, )
where Self: Sized + Message,

👎Deprecated
§Safety
  • sender should be of the correct type.
  • sender might not allow None.

Trait Implementations§

Source§

impl<T> ImplementedBy<T> for dyn NSInputServerMouseTracker

Source§

impl ProtocolType for dyn NSInputServerMouseTracker

Source§

const NAME: &'static str = "NSInputServerMouseTracker"

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

Implementors§