Skip to main content

ferroui_base/platform/
i_stream_geometry_impl.rs

1#![allow(deprecated)]
2
3use crate::platform::{IGeometryImpl, IStreamGeometryContextImpl};
4use std::sync::Arc;
5
6/// Defines the platform-specific interface for a stream geometry.
7#[deprecated(note = "This interface is unused and will be removed.")]
8pub trait IStreamGeometryImpl: IGeometryImpl {
9    /// Clones the geometry.
10    #[deprecated(note = "This method is unused and will be removed.")]
11    fn clone_geometry(&self) -> Arc<dyn IStreamGeometryImpl>;
12
13    /// Opens the geometry to start defining it.
14    ///
15    /// Returns a context which can be used to define the geometry.
16    #[deprecated(note = "This method is unused and will be removed.")]
17    fn open(&self) -> Box<dyn IStreamGeometryContextImpl>;
18}