Struct egui_wgpu_backend::ScreenDescriptor [−][src]
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
Expand description
Width of the window in physical pixel.
physical_height: u32
Expand description
Height of the window in physical pixel.
scale_factor: f32
Expand description
HiDPI scale factor.
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more