pub struct GraphicsSettings {
pub resolution: (u32, u32),
pub fullscreen: bool,
pub vsync: bool,
pub target_fps: u32,
pub quality_preset: QualityPreset,
}Fields§
§resolution: (u32, u32)§fullscreen: bool§vsync: bool§target_fps: u32§quality_preset: QualityPresetTrait Implementations§
Source§impl Clone for GraphicsSettings
impl Clone for GraphicsSettings
Source§fn clone(&self) -> GraphicsSettings
fn clone(&self) -> GraphicsSettings
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 moreSource§impl Debug for GraphicsSettings
impl Debug for GraphicsSettings
Auto Trait Implementations§
impl Freeze for GraphicsSettings
impl RefUnwindSafe for GraphicsSettings
impl Send for GraphicsSettings
impl Sync for GraphicsSettings
impl Unpin for GraphicsSettings
impl UnsafeUnpin for GraphicsSettings
impl UnwindSafe for GraphicsSettings
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