pub struct DiffStyle {
pub phasing: Phasing,
pub lag_ratio: f32,
pub move_arc: f64,
pub replace: ReplaceStyle,
pub highlight_changes: bool,
pub debug: bool,
}Expand description
Choreography of a TransformDiff.
Fields§
§phasing: PhasingWhen each kind of op runs.
lag_ratio: f32Stagger between mobjects within a phase, as a fraction of one mobject’s duration.
move_arc: f64Moved parts travel along an arc of this angle (radians); 0 is a straight line.
replace: ReplaceStyleHow replaced parts change.
highlight_changes: boolBriefly tint inserted and replaced parts.
debug: boolColor parts by op while the clip plays (SPEC §7.4): green insert, red delete, blue move, amber replace, grey equal.
Trait Implementations§
impl Copy for DiffStyle
impl StructuralPartialEq for DiffStyle
Auto Trait Implementations§
impl Freeze for DiffStyle
impl RefUnwindSafe for DiffStyle
impl Send for DiffStyle
impl Sync for DiffStyle
impl Unpin for DiffStyle
impl UnsafeUnpin for DiffStyle
impl UnwindSafe for DiffStyle
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