ferroui-base 0.3.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
12
13
14
15
16
17
18
#![allow(deprecated)]

use crate::platform::{IGeometryImpl, IStreamGeometryContextImpl};
use std::sync::Arc;

/// Defines the platform-specific interface for a stream geometry.
#[deprecated(note = "This interface is unused and will be removed.")]
pub trait IStreamGeometryImpl: IGeometryImpl {
    /// Clones the geometry.
    #[deprecated(note = "This method is unused and will be removed.")]
    fn clone_geometry(&self) -> Arc<dyn IStreamGeometryImpl>;

    /// Opens the geometry to start defining it.
    ///
    /// Returns a context which can be used to define the geometry.
    #[deprecated(note = "This method is unused and will be removed.")]
    fn open(&self) -> Box<dyn IStreamGeometryContextImpl>;
}