Enum egui_sdl2_gl::DpiScaling[][src]

pub enum DpiScaling {
    Default,
    Custom(f32),
}

Variants

Default

Default is handled by sdl2, probably 1.0

Custom(f32)

Custome DPI scaling, e.g: 0.8, 1.5, 2.0 and so fort.

Tuple Fields of Custom

0: f32

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.