pub struct PlatformConfig {
pub vsync: bool,
pub antialiasing: bool,
pub default_width: u32,
pub default_height: u32,
pub fsr_auto: bool,
pub fsr_threshold: u32,
}Expand description
Configuración defaults por plataforma
Fields§
§vsync: bool¿Usar VSync?
antialiasing: bool¿Usar anti-aliasing?
default_width: u32Resolución por defecto (ancho)
default_height: u32Resolución por defecto (alto)
fsr_auto: bool¿Habilitar FSR auto?
fsr_threshold: u32Umbral FPS para FSR auto
Implementations§
Trait Implementations§
Source§impl Clone for PlatformConfig
impl Clone for PlatformConfig
Source§fn clone(&self) -> PlatformConfig
fn clone(&self) -> PlatformConfig
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for PlatformConfig
impl RefUnwindSafe for PlatformConfig
impl Send for PlatformConfig
impl Sync for PlatformConfig
impl Unpin for PlatformConfig
impl UnsafeUnpin for PlatformConfig
impl UnwindSafe for PlatformConfig
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