ferroui-base 0.1.0

The base library of FerroUI: the property system, layout, input, styling, media, text, animation, data binding and the compositor
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::any::Any;

/// Represents a platform implementation of a mouse cursor.
pub trait ICursorImpl {
    /// Releases the platform resources of the cursor.
    fn dispose(&self);

    /// Lets the backend that created the cursor recover its concrete type
    /// (the reference backends cast the cursor they are handed back).
    fn as_any(&self) -> &dyn Any;
}