pub trait IDynamicResolutionHandler: IObject {
Show 30 methods
// Provided methods
fn m_enabled(self) -> bool { ... }
fn set_m_enabled(self, value: bool) { ... }
fn m_min_screen_fraction(self) -> f32 { ... }
fn set_m_min_screen_fraction(self, value: f32) { ... }
fn m_max_screen_fraction(self) -> f32 { ... }
fn set_m_max_screen_fraction(self, value: f32) { ... }
fn m_current_fraction(self) -> f32 { ... }
fn set_m_current_fraction(self, value: f32) { ... }
fn m_prev_fraction(self) -> f32 { ... }
fn set_m_prev_fraction(self, value: f32) { ... }
fn m_forcing_res(self) -> bool { ... }
fn set_m_forcing_res(self, value: bool) { ... }
fn m_current_camera_request(self) -> bool { ... }
fn set_m_current_camera_request(self, value: bool) { ... }
fn m_force_software_fallback(self) -> bool { ... }
fn set_m_force_software_fallback(self, value: bool) { ... }
fn m_prev_hw_scale_width(self) -> f32 { ... }
fn set_m_prev_hw_scale_width(self, value: f32) { ... }
fn m_prev_hw_scale_height(self) -> f32 { ... }
fn set_m_prev_hw_scale_height(self, value: f32) { ... }
fn m_last_scaled_size(self) -> Vector2Int { ... }
fn set_m_last_scaled_size(self, value: Vector2Int) { ... }
fn m_scaler_type(self) -> DynamicResScalePolicyType { ... }
fn set_m_scaler_type(self, value: DynamicResScalePolicyType) { ... }
fn cached_original_size(self) -> Vector2Int { ... }
fn set_cached_original_size(self, value: Vector2Int) { ... }
fn type(self) -> DynamicResolutionType { ... }
fn set_type(self, value: DynamicResolutionType) { ... }
fn m_dynamic_res_method(self) -> PerformDynamicRes { ... }
fn set_m_dynamic_res_method(self, value: PerformDynamicRes) { ... }
}Provided Methods§
fn m_enabled(self) -> bool
fn set_m_enabled(self, value: bool)
fn m_min_screen_fraction(self) -> f32
fn set_m_min_screen_fraction(self, value: f32)
fn m_max_screen_fraction(self) -> f32
fn set_m_max_screen_fraction(self, value: f32)
fn m_current_fraction(self) -> f32
fn set_m_current_fraction(self, value: f32)
fn m_prev_fraction(self) -> f32
fn set_m_prev_fraction(self, value: f32)
fn m_forcing_res(self) -> bool
fn set_m_forcing_res(self, value: bool)
fn m_current_camera_request(self) -> bool
fn set_m_current_camera_request(self, value: bool)
fn m_force_software_fallback(self) -> bool
fn set_m_force_software_fallback(self, value: bool)
fn m_prev_hw_scale_width(self) -> f32
fn set_m_prev_hw_scale_width(self, value: f32)
fn m_prev_hw_scale_height(self) -> f32
fn set_m_prev_hw_scale_height(self, value: f32)
fn m_last_scaled_size(self) -> Vector2Int
fn set_m_last_scaled_size(self, value: Vector2Int)
fn m_scaler_type(self) -> DynamicResScalePolicyType
fn set_m_scaler_type(self, value: DynamicResScalePolicyType)
fn cached_original_size(self) -> Vector2Int
fn set_cached_original_size(self, value: Vector2Int)
fn type(self) -> DynamicResolutionType
fn set_type(self, value: DynamicResolutionType)
fn m_dynamic_res_method(self) -> PerformDynamicRes
fn set_m_dynamic_res_method(self, value: PerformDynamicRes)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.