Skip to main content

morph_fields_by

Function morph_fields_by 

Source
pub fn morph_fields_by<D: Driver + ?Sized>(
    d: &D,
    a: &[u8],
    b: &[u8],
    t: f32,
    seed: u64,
    dial: impl Fn(usize) -> bool,
) -> Result<Vec<u8>, DriverError>
Expand description

morph_fields for a driver that knows better than its controls which fields are dials (dial, by field index): a number that names something (a destination) must switch, not slide.