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

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.