Skip to main content

PointerEvent

Trait PointerEvent 

Source
pub trait PointerEvent: EntityEvent {
    // Required method
    fn pointer(&self) -> &Pointer;
}
Expand description

An EntityEvent that contains a Pointer.

Required Methods§

Source

fn pointer(&self) -> &Pointer

Returns the Pointer stored on this EntityEvent.

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.

Implementors§