diff options
| author | 2024-03-22 05:27:31 +0100 | |
|---|---|---|
| committer | 2024-03-22 05:27:31 +0100 | |
| commit | 1f13a91361258a1607c71f4840a26a6437f88612 (patch) | |
| tree | 972fd3bd7afbab9958d16b8475d42ff3e41df484 /graphics/src/backend.rs | |
| parent | bbafeed13d20f2cbd6fc18b949b34596aa0c6c2e (diff) | |
| download | iced-1f13a91361258a1607c71f4840a26a6437f88612.tar.gz iced-1f13a91361258a1607c71f4840a26a6437f88612.tar.bz2 iced-1f13a91361258a1607c71f4840a26a6437f88612.zip | |
Make `iced_tiny_skia` optional with a `tiny-skia` feature
Diffstat (limited to '')
| -rw-r--r-- | graphics/src/backend.rs | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/graphics/src/backend.rs b/graphics/src/backend.rs index e394c956..e982b54a 100644 --- a/graphics/src/backend.rs +++ b/graphics/src/backend.rs @@ -10,6 +10,9 @@ use std::borrow::Cow;  ///  /// [`Renderer`]: crate::Renderer  pub trait Backend { +    /// The compositor of this [`Backend`]. +    type Compositor; +      /// The custom kind of primitives this [`Backend`] supports.      type Primitive: TryFrom<Mesh, Error = &'static str>;  } | 
