mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Add Zoom Factor to options panel (#7517)
This commit is contained in:
@@ -3,19 +3,14 @@
|
||||
use crate::{ClippedShape, Galley, Mesh, Primitive, Shape};
|
||||
|
||||
/// Size of the elements in a vector/array.
|
||||
#[derive(Clone, Copy, PartialEq)]
|
||||
#[derive(Clone, Copy, Default, PartialEq)]
|
||||
enum ElementSize {
|
||||
#[default]
|
||||
Unknown,
|
||||
Homogeneous(usize),
|
||||
Heterogenous,
|
||||
}
|
||||
|
||||
impl Default for ElementSize {
|
||||
fn default() -> Self {
|
||||
Self::Unknown
|
||||
}
|
||||
}
|
||||
|
||||
/// Aggregate information about a bunch of allocations.
|
||||
#[derive(Clone, Copy, Default, PartialEq)]
|
||||
pub struct AllocInfo {
|
||||
|
||||
Reference in New Issue
Block a user