Struct egui_wgpu::ScreenDescriptor
source · pub struct ScreenDescriptor {
pub size_in_pixels: [u32; 2],
pub pixels_per_point: f32,
}
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).
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