Struct egui_vulkano_backend::ScreenDescriptor[][src]

pub struct ScreenDescriptor {
    pub physical_width: u32,
    pub physical_height: u32,
    pub scale_factor: f32,
}
Expand description

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

Builds a pointer to this type from a raw pointer.

Returns true if the size is suitable to store a type like this.

Returns the size of an individual element.

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.