Run cargo fmt

This commit is contained in:
Héctor Ramón Jiménez 2023-11-14 11:52:34 +01:00
parent 226eac35c3
commit 2dda9132cd
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 6 additions and 3 deletions

View file

@ -5,17 +5,20 @@ use crate::core::mouse::{Cursor, Interaction};
use crate::core::renderer::Style;
use crate::core::widget::tree::{State, Tag};
use crate::core::widget::{tree, Tree};
use crate::core::{self, layout, mouse, widget, Clipboard, Element, Layout, Length, Rectangle, Shell, Size, Widget, window};
use crate::core::{
self, layout, mouse, widget, window, Clipboard, Element, Layout, Length,
Rectangle, Shell, Size, Widget,
};
use std::marker::PhantomData;
mod event;
mod program;
pub use event::Event;
pub use iced_graphics::Transformation;
pub use iced_wgpu::custom::Primitive;
pub use iced_wgpu::custom::Storage;
pub use program::Program;
pub use iced_graphics::Transformation;
/// A widget which can render custom shaders with Iced's `wgpu` backend.
///

View file

@ -1,8 +1,8 @@
//! Handle events of a custom shader widget.
use std::time::Instant;
use crate::core::keyboard;
use crate::core::mouse;
use crate::core::touch;
use std::time::Instant;
pub use crate::core::event::Status;