Struct egui_wgpu_backend::ScreenDescriptor
source · pub struct ScreenDescriptor {
pub physical_width: u32,
pub physical_height: u32,
pub scale_factor: f32,
}
Expand description
Information about the screen used for rendering.
Fields§
§physical_width: u32
Width of the window in physical pixel.
physical_height: u32
Height of the window in physical pixel.
scale_factor: f32
HiDPI scale factor.
Auto Trait Implementations§
impl Freeze for ScreenDescriptor
impl RefUnwindSafe for ScreenDescriptor
impl Send for ScreenDescriptor
impl Sync for ScreenDescriptor
impl Unpin for ScreenDescriptor
impl UnwindSafe for ScreenDescriptor
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