pub struct StepPrecision {
pub step: u32,
pub precision: Precision,
pub is_transition: bool,
pub blend_factor: Option<f32>,
pub vram_ratio: f32,
pub quality_factor: f32,
}Expand description
Precision assignment for a single step
Fields§
§step: u32Step number
precision: PrecisionAssigned precision
is_transition: boolWhether this is a transition step
blend_factor: Option<f32>Blending factor (for gradual transitions)
vram_ratio: f32Expected VRAM usage ratio
quality_factor: f32Expected quality impact
Trait Implementations§
Source§impl Clone for StepPrecision
impl Clone for StepPrecision
Source§fn clone(&self) -> StepPrecision
fn clone(&self) -> StepPrecision
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 StepPrecision
impl Debug for StepPrecision
Source§impl<'de> Deserialize<'de> for StepPrecision
impl<'de> Deserialize<'de> for StepPrecision
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 StepPrecision
impl RefUnwindSafe for StepPrecision
impl Send for StepPrecision
impl Sync for StepPrecision
impl Unpin for StepPrecision
impl UnwindSafe for StepPrecision
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