Struct egui_winit_platform::PlatformDescriptor
source · pub struct PlatformDescriptor {
pub physical_width: u32,
pub physical_height: u32,
pub scale_factor: f64,
pub font_definitions: FontDefinitions,
pub style: Style,
}
Expand description
Configures the creation of the Platform
.
Fields§
§physical_width: u32
Width of the window in physical pixel.
physical_height: u32
Height of the window in physical pixel.
scale_factor: f64
HiDPI scale factor.
font_definitions: FontDefinitions
Egui font configuration.
style: Style
Egui style configuration.
Trait Implementations§
source§impl Debug for PlatformDescriptor
impl Debug for PlatformDescriptor
source§impl Default for PlatformDescriptor
impl Default for PlatformDescriptor
source§fn default() -> PlatformDescriptor
fn default() -> PlatformDescriptor
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PlatformDescriptor
impl RefUnwindSafe for PlatformDescriptor
impl Send for PlatformDescriptor
impl Sync for PlatformDescriptor
impl Unpin for PlatformDescriptor
impl UnwindSafe for PlatformDescriptor
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