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:
@@ -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;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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::*;
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user