ferroui-base 0.4.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
use super::{CompositionSurface, ICompositionObject};

/// A surface a composition surface brush shows (WinUI
/// `ICompositionSurface`): a [`CompositionSurface`] (a drawing surface), a
/// [`CompositionVisualSurface`](super::CompositionVisualSurface) or a
/// [`LoadedImageSurface`](super::LoadedImageSurface).
///
/// The server-side counterpart of every surface is an
/// [`IServerCompositionSurface`](super::server::IServerCompositionSurface).
pub trait ICompositionSurface: ICompositionObject {}

impl ICompositionSurface for CompositionSurface {}