1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 22:00:03 -04:00

Enable and fix some more clippy lints

This commit is contained in:
Emil Ernerfeldt
2022-12-05 09:29:59 +01:00
parent e1f348e4b2
commit 5093b67e9b
28 changed files with 44 additions and 44 deletions

View File

@@ -1,10 +1,10 @@
use crate::*;
use crate::{pos2, remap, remap_clamp, Pos2, Rect, Vec2};
/// Linearly transforms positions from one [`Rect`] to another.
///
/// [`RectTransform`] stores the rectangles, and therefore supports clamping and culling.
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq)]
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(serde::Deserialize, serde::Serialize))]
#[cfg_attr(feature = "bytemuck", derive(bytemuck::Pod, bytemuck::Zeroable))]
pub struct RectTransform {