#[repr(C)]pub enum ConfigFlags {
Show 16 variants
VsyncHint = 64,
FullscreenMode = 2,
WindowResizable = 4,
WindowUndecorated = 8,
WindowHidden = 128,
WindowMinimized = 512,
WindowMaximized = 1_024,
WindowUnfocused = 2_048,
WindowTopmost = 4_096,
WindowAlwaysRun = 256,
WindowTransparent = 16,
WindowHighdpi = 8_192,
WindowMousePassthrough = 16_384,
BorderlessWindowedMode = 32_768,
Msaa4xHint = 32,
InterlacedHint = 65_536,
}
Expand description
System/Window config flags
Variants§
VsyncHint = 64
Set to try enabling V-Sync on GPU
FullscreenMode = 2
Set to run program in fullscreen
WindowResizable = 4
Set to allow resizable window
WindowUndecorated = 8
Set to disable window decoration (frame and buttons)
WindowHidden = 128
Set to hide window
WindowMinimized = 512
Set to minimize window (iconify)
WindowMaximized = 1_024
Set to maximize window (expanded to monitor)
WindowUnfocused = 2_048
Set to window non focused
WindowTopmost = 4_096
Set to window always on top
WindowAlwaysRun = 256
Set to allow windows running while minimized
WindowTransparent = 16
Set to allow transparent framebuffer
WindowHighdpi = 8_192
Set to support HighDPI
WindowMousePassthrough = 16_384
Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED
BorderlessWindowedMode = 32_768
Set to run program in borderless windowed mode
Msaa4xHint = 32
Set to try enabling MSAA 4X
InterlacedHint = 65_536
Set to try enabling interlaced video format (for V3D)
Trait Implementations§
Source§impl Clone for ConfigFlags
impl Clone for ConfigFlags
Source§fn clone(&self) -> ConfigFlags
fn clone(&self) -> ConfigFlags
Returns a copy of the value. Read more
1.0.0 · 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 ConfigFlags
impl Debug for ConfigFlags
Source§impl Hash for ConfigFlags
impl Hash for ConfigFlags
Source§impl PartialEq for ConfigFlags
impl PartialEq for ConfigFlags
impl Copy for ConfigFlags
impl Eq for ConfigFlags
impl StructuralPartialEq for ConfigFlags
Auto Trait Implementations§
impl Freeze for ConfigFlags
impl RefUnwindSafe for ConfigFlags
impl Send for ConfigFlags
impl Sync for ConfigFlags
impl Unpin for ConfigFlags
impl UnwindSafe for ConfigFlags
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