Struct egui_fltk_frontend::ScreenDescriptor
source · [−]Expand description
Information about the screen used for rendering.
Fields
size_in_pixels: [u32; 2]
Size of the window in physical pixels.
pixels_per_point: f32
HiDPI scale factor (pixels per point).
Implementations
sourceimpl ScreenDescriptor
impl ScreenDescriptor
sourcepub fn screen_size_in_points(&self) -> [f32; 2]
pub fn screen_size_in_points(&self) -> [f32; 2]
size in “logical” points
Auto Trait Implementations
impl RefUnwindSafe for ScreenDescriptor
impl Send for ScreenDescriptor
impl Sync for ScreenDescriptor
impl Unpin for ScreenDescriptor
impl UnwindSafe for ScreenDescriptor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more