NSEventSKNodeEvent

Trait NSEventSKNodeEvent 

Source
pub unsafe trait NSEventSKNodeEvent:
    ClassType
    + Sized
    + Sealed {
    // Provided method
    unsafe fn locationInNode(&self, node: &SKNode) -> CGPoint { ... }
}
Available on crate feature SKNode only.
Expand description

Category “SKNodeEvent” on NSEvent.

Provided Methods§

Source

unsafe fn locationInNode(&self, node: &SKNode) -> CGPoint

Available on crate feature objc2-app-kit and crate feature objc2-core-foundation and macOS only.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl NSEventSKNodeEvent for NSEvent

Available on crate feature objc2-app-kit and macOS only.

Implementors§