pub struct OptiScalerProfile {Show 17 fields
pub id: &'static str,
pub name: &'static str,
pub source_url: &'static str,
pub tested_optiscaler_version: &'static str,
pub source_mode: Option<&'static str>,
pub goverlay_channel: Option<&'static str>,
pub proxy_dll: &'static str,
pub release_tag: Option<&'static str>,
pub release_asset: Option<&'static str>,
pub wine_dll_overrides: &'static [&'static str],
pub copy_companion_files: bool,
pub enable_optipatcher: bool,
pub fsr4_variant: Option<&'static str>,
pub emulate_fp8: bool,
pub spoof_dlss: bool,
pub ini_overrides: &'static [OptiScalerIniOverride],
pub notes: &'static str,
}Expand description
A community-tested OptiScaler configuration for a game.
Fields§
§id: &'static str§name: &'static str§source_url: &'static str§tested_optiscaler_version: &'static str§source_mode: Option<&'static str>§goverlay_channel: Option<&'static str>§proxy_dll: &'static str§release_tag: Option<&'static str>§release_asset: Option<&'static str>§wine_dll_overrides: &'static [&'static str]§copy_companion_files: bool§enable_optipatcher: bool§fsr4_variant: Option<&'static str>§emulate_fp8: bool§spoof_dlss: bool§ini_overrides: &'static [OptiScalerIniOverride]§notes: &'static strTrait Implementations§
Source§impl Clone for OptiScalerProfile
impl Clone for OptiScalerProfile
Source§fn clone(&self) -> OptiScalerProfile
fn clone(&self) -> OptiScalerProfile
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 OptiScalerProfile
impl Debug for OptiScalerProfile
Source§impl PartialEq for OptiScalerProfile
impl PartialEq for OptiScalerProfile
Source§fn eq(&self, other: &OptiScalerProfile) -> bool
fn eq(&self, other: &OptiScalerProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OptiScalerProfile
impl Eq for OptiScalerProfile
impl StructuralPartialEq for OptiScalerProfile
Auto Trait Implementations§
impl Freeze for OptiScalerProfile
impl RefUnwindSafe for OptiScalerProfile
impl Send for OptiScalerProfile
impl Sync for OptiScalerProfile
impl Unpin for OptiScalerProfile
impl UnsafeUnpin for OptiScalerProfile
impl UnwindSafe for OptiScalerProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.