1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-28 07:23:13 -04:00

Remove epaint::mutex::Arc type alias

This commit is contained in:
Emil Ernerfeldt
2022-04-15 15:18:04 +02:00
parent 5a78213421
commit 2355828d41
18 changed files with 35 additions and 42 deletions

View File

@@ -1,10 +1,11 @@
use crate::{
mutex::{Arc, Mutex, RwLock},
mutex::{Mutex, RwLock},
TextureAtlas,
};
use ahash::AHashMap;
use emath::{vec2, Vec2};
use std::collections::BTreeSet;
use std::sync::Arc;
// ----------------------------------------------------------------------------

View File

@@ -1,7 +1,8 @@
use std::collections::BTreeMap;
use std::sync::Arc;
use crate::{
mutex::{Arc, Mutex, MutexGuard},
mutex::{Mutex, MutexGuard},
text::{
font::{Font, FontImpl},
Galley, LayoutJob,

View File

@@ -1,7 +1,8 @@
use std::ops::RangeInclusive;
use std::sync::Arc;
use super::{FontsImpl, Galley, Glyph, LayoutJob, LayoutSection, Row, RowVisuals};
use crate::{mutex::Arc, Color32, Mesh, Stroke, Vertex};
use crate::{Color32, Mesh, Stroke, Vertex};
use emath::*;
// ----------------------------------------------------------------------------

View File

@@ -1,9 +1,10 @@
#![allow(clippy::derive_hash_xor_eq)] // We need to impl Hash for f32, but we don't implement Eq, which is fine
use std::ops::Range;
use std::sync::Arc;
use super::{cursor::*, font::UvRect};
use crate::{mutex::Arc, Color32, FontId, Mesh, Stroke};
use crate::{Color32, FontId, Mesh, Stroke};
use emath::*;
/// Describes the task of laying out text.