Skip to main content

ICursorImpl

Trait ICursorImpl 

Source
pub trait ICursorImpl {
    // Required methods
    fn dispose(&self);
    fn as_any(&self) -> &dyn Any;
}
Expand description

Represents a platform implementation of a mouse cursor.

Required Methods§

Source

fn dispose(&self)

Releases the platform resources of the cursor.

Source

fn as_any(&self) -> &dyn Any

Lets the backend that created the cursor recover its concrete type (the reference backends cast the cursor they are handed back).

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§