pub struct EguiSettings {
pub graphics_config: GraphicsConfig,
pub enable_vsync_on_x11: bool,
pub gl_config: GlConfig,
}Fields§
§graphics_config: GraphicsConfig§enable_vsync_on_x11: boolBy default this is set to false.
gl_config: GlConfigThe configuration of the OpenGL context.
By default this is set to:
ⓘ
GlConfig {
version: (3, 2),
profile: Profile::Core,
red_bits: 8,
blue_bits: 8,
green_bits: 8,
alpha_bits: 8,
depth_bits: 24,
stencil_bits: 8,
samples: None,
srgb: true,
double_buffer: true,
vsync: false,
}Trait Implementations§
Source§impl Clone for EguiSettings
impl Clone for EguiSettings
Source§fn clone(&self) -> EguiSettings
fn clone(&self) -> EguiSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EguiSettings
impl Debug for EguiSettings
Source§impl Default for EguiSettings
impl Default for EguiSettings
Source§fn default() -> EguiSettings
fn default() -> EguiSettings
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EguiSettings
impl RefUnwindSafe for EguiSettings
impl Send for EguiSettings
impl Sync for EguiSettings
impl Unpin for EguiSettings
impl UnsafeUnpin for EguiSettings
impl UnwindSafe for EguiSettings
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