pub struct Zoom {
pub k: f32,
pub os: f32,
pub level: i8,
}Expand description
What the Renderer is drawing at, as it last reported.
Fields§
§k: f32The whole factor, os × app.
os: f32The operating system’s text size, where 1 is the default.
level: i8The application’s zoom level, from MIN_ZOOM_LEVEL to MAX_ZOOM_LEVEL.
Implementations§
Trait Implementations§
impl Copy for Zoom
impl StructuralPartialEq for Zoom
Auto Trait Implementations§
impl Freeze for Zoom
impl RefUnwindSafe for Zoom
impl Send for Zoom
impl Sync for Zoom
impl Unpin for Zoom
impl UnsafeUnpin for Zoom
impl UnwindSafe for Zoom
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more