pub struct UpscaleConfig {
pub factor: u32,
pub model_path: Option<String>,
pub quality: UpscaleQuality,
}Expand description
Configuration for the upscaler.
Fields§
§factor: u32§model_path: Option<String>§quality: UpscaleQualityTrait Implementations§
Source§impl Clone for UpscaleConfig
impl Clone for UpscaleConfig
Source§fn clone(&self) -> UpscaleConfig
fn clone(&self) -> UpscaleConfig
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 UpscaleConfig
impl Debug for UpscaleConfig
Auto Trait Implementations§
impl Freeze for UpscaleConfig
impl RefUnwindSafe for UpscaleConfig
impl Send for UpscaleConfig
impl Sync for UpscaleConfig
impl Unpin for UpscaleConfig
impl UnsafeUnpin for UpscaleConfig
impl UnwindSafe for UpscaleConfig
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