chore: add rustfmt config
This commit is contained in:
parent
9abc4d483b
commit
9c2a86a8f4
98 changed files with 419 additions and 540 deletions
|
|
@ -6,16 +6,13 @@
|
|||
use std::collections::VecDeque;
|
||||
use std::rc::Rc;
|
||||
|
||||
use crate::widget::Column;
|
||||
use crate::widget::container;
|
||||
use crate::widget::{Column, container};
|
||||
use iced::Task;
|
||||
use iced_core::Element;
|
||||
use slotmap::SlotMap;
|
||||
use slotmap::new_key_type;
|
||||
use slotmap::{SlotMap, new_key_type};
|
||||
use widget::Toaster;
|
||||
|
||||
use super::column;
|
||||
use super::{button, icon, row, text};
|
||||
use super::{button, column, icon, row, text};
|
||||
|
||||
mod widget;
|
||||
|
||||
|
|
|
|||
|
|
@ -4,16 +4,14 @@
|
|||
use iced::{Limits, Size};
|
||||
use iced_core::layout::Node;
|
||||
|
||||
use iced_core::Element;
|
||||
use iced_core::Overlay;
|
||||
use iced_core::event::{self, Event};
|
||||
use iced_core::layout;
|
||||
use iced_core::mouse;
|
||||
use iced_core::overlay;
|
||||
use iced_core::renderer::{self};
|
||||
use iced_core::widget::Operation;
|
||||
use iced_core::widget::tree::Tree;
|
||||
use iced_core::{Clipboard, Layout, Length, Point, Rectangle, Shell, Vector, Widget};
|
||||
use iced_core::{
|
||||
Clipboard, Element, Layout, Length, Overlay, Point, Rectangle, Shell, Vector, Widget, layout,
|
||||
mouse, overlay,
|
||||
};
|
||||
|
||||
pub struct Toaster<'a, Message, Theme, Renderer> {
|
||||
toasts: Element<'a, Message, Theme, Renderer>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue