ferroui-base 0.2.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
use crate::platform::IGeometryImpl;
use std::sync::Arc;

/// A geometry as referenced by render data: something that resolves to a
/// platform geometry when the data is replayed.
pub trait IRenderDataGeometry: 'static {
    /// The platform geometry to draw, if there is one right now.
    fn geometry_impl(&self) -> Option<Arc<dyn IGeometryImpl>>;
}