pub struct RenderingSettings {
pub width: u32,
pub height: u32,
pub fps: u32,
pub buffer_count: u32,
pub text_resolution_multiplier: f32,
}Fields§
§width: u32§height: u32§fps: u32§buffer_count: u32§text_resolution_multiplier: f32Trait Implementations§
Source§impl Clone for RenderingSettings
impl Clone for RenderingSettings
Source§fn clone(&self) -> RenderingSettings
fn clone(&self) -> RenderingSettings
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 moreimpl Copy for RenderingSettings
Source§impl Debug for RenderingSettings
impl Debug for RenderingSettings
Source§impl<'de> Deserialize<'de> for RenderingSettings
impl<'de> Deserialize<'de> for RenderingSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RenderingSettings
impl RefUnwindSafe for RenderingSettings
impl Send for RenderingSettings
impl Sync for RenderingSettings
impl Unpin for RenderingSettings
impl UnsafeUnpin for RenderingSettings
impl UnwindSafe for RenderingSettings
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