#[repr(C)]pub struct GlobalDynamicResolutionSettings {
pub enabled: bool,
pub max_percentage: f32,
pub min_percentage: f32,
pub dyn_res_type: DynamicResolutionType,
pub upsample_filter: DynamicResUpscaleFilter,
pub force_resolution: bool,
pub forced_percentage: f32,
}Expand description
Fields§
§enabled: bool§max_percentage: f32§min_percentage: f32§dyn_res_type: DynamicResolutionType§upsample_filter: DynamicResUpscaleFilter§force_resolution: bool§forced_percentage: f32Implementations§
Source§impl GlobalDynamicResolutionSettings
impl GlobalDynamicResolutionSettings
Sourcepub fn new_default() -> GlobalDynamicResolutionSettings
pub fn new_default() -> GlobalDynamicResolutionSettings
NewDefault() overload
Source§impl GlobalDynamicResolutionSettings
impl GlobalDynamicResolutionSettings
pub fn new_default_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl Clone for GlobalDynamicResolutionSettings
impl Clone for GlobalDynamicResolutionSettings
Source§fn clone(&self) -> GlobalDynamicResolutionSettings
fn clone(&self) -> GlobalDynamicResolutionSettings
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GlobalDynamicResolutionSettings
Auto Trait Implementations§
impl Freeze for GlobalDynamicResolutionSettings
impl RefUnwindSafe for GlobalDynamicResolutionSettings
impl Send for GlobalDynamicResolutionSettings
impl Sync for GlobalDynamicResolutionSettings
impl Unpin for GlobalDynamicResolutionSettings
impl UnwindSafe for GlobalDynamicResolutionSettings
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)