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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user