Write missing docs in iced_graphics and iced_wgpu
This commit is contained in:
parent
fa5650cfd1
commit
6921564c9f
8 changed files with 17 additions and 5 deletions
|
|
@ -1,10 +1,14 @@
|
|||
//! Draw using different graphical primitives.
|
||||
use crate::core::Rectangle;
|
||||
use crate::graphics::{Damage, Mesh};
|
||||
|
||||
/// The graphical primitives supported by `iced_wgpu`.
|
||||
pub type Primitive = crate::graphics::Primitive<Custom>;
|
||||
|
||||
/// The custom primitives supported by `iced_wgpu`.
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
pub enum Custom {
|
||||
/// A mesh primitive.
|
||||
Mesh(Mesh),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue