summaryrefslogtreecommitdiffstats
path: root/tiny_skia
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-21 01:22:56 +0100
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2025-02-21 01:37:13 +0100
commit9ceb467e6e12129b42d67a4a1ff3cb21bc7daadd (patch)
treedd8a9407058915c152ce6544ba20b75240ca85be /tiny_skia
parent28caeccf22d163e9014b5ed26334b6085683a28b (diff)
downloadiced-9ceb467e6e12129b42d67a4a1ff3cb21bc7daadd.tar.gz
iced-9ceb467e6e12129b42d67a4a1ff3cb21bc7daadd.tar.bz2
iced-9ceb467e6e12129b42d67a4a1ff3cb21bc7daadd.zip
Run `cargo fmt`
Diffstat (limited to 'tiny_skia')
-rw-r--r--tiny_skia/src/engine.rs2
-rw-r--r--tiny_skia/src/geometry.rs2
-rw-r--r--tiny_skia/src/layer.rs2
-rw-r--r--tiny_skia/src/lib.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/tiny_skia/src/engine.rs b/tiny_skia/src/engine.rs
index 196c36cf..c1c02376 100644
--- a/tiny_skia/src/engine.rs
+++ b/tiny_skia/src/engine.rs
@@ -1,10 +1,10 @@
+use crate::Primitive;
use crate::core::renderer::Quad;
use crate::core::{
Background, Color, Gradient, Rectangle, Size, Transformation, Vector,
};
use crate::graphics::{Image, Text};
use crate::text;
-use crate::Primitive;
#[derive(Debug)]
pub struct Engine {
diff --git a/tiny_skia/src/geometry.rs b/tiny_skia/src/geometry.rs
index 681bf25d..dbdff444 100644
--- a/tiny_skia/src/geometry.rs
+++ b/tiny_skia/src/geometry.rs
@@ -1,3 +1,4 @@
+use crate::Primitive;
use crate::core::text::LineHeight;
use crate::core::{self, Pixels, Point, Radians, Rectangle, Size, Svg, Vector};
use crate::graphics::cache::{self, Cached};
@@ -5,7 +6,6 @@ use crate::graphics::geometry::fill::{self, Fill};
use crate::graphics::geometry::stroke::{self, Stroke};
use crate::graphics::geometry::{self, Path, Style};
use crate::graphics::{self, Gradient, Image, Text};
-use crate::Primitive;
use std::rc::Rc;
diff --git a/tiny_skia/src/layer.rs b/tiny_skia/src/layer.rs
index bdfd4d38..444efb84 100644
--- a/tiny_skia/src/layer.rs
+++ b/tiny_skia/src/layer.rs
@@ -1,3 +1,4 @@
+use crate::Primitive;
use crate::core::renderer::Quad;
use crate::core::{
self, Background, Color, Point, Rectangle, Svg, Transformation,
@@ -6,7 +7,6 @@ use crate::graphics::damage;
use crate::graphics::layer;
use crate::graphics::text::{Editor, Paragraph, Text};
use crate::graphics::{self, Image};
-use crate::Primitive;
use std::rc::Rc;
diff --git a/tiny_skia/src/lib.rs b/tiny_skia/src/lib.rs
index a42f1de4..b73eb842 100644
--- a/tiny_skia/src/lib.rs
+++ b/tiny_skia/src/lib.rs
@@ -32,9 +32,9 @@ use crate::core::{
Background, Color, Font, Pixels, Point, Rectangle, Size, Transformation,
};
use crate::engine::Engine;
+use crate::graphics::Viewport;
use crate::graphics::compositor;
use crate::graphics::text::{Editor, Paragraph};
-use crate::graphics::Viewport;
/// A [`tiny-skia`] graphics renderer for [`iced`].
///