pub struct Stretch {
pub len: f64,
pub a: [[f64; 2]; 2],
pub b: [f64; 2],
}Expand description
One stretch of a sequence that repeats, on a linear model of two states: held for len, x’ = a x + b.
Fields§
§len: f64§a: [[f64; 2]; 2]§b: [f64; 2]Implementations§
Trait Implementations§
impl Copy for Stretch
impl StructuralPartialEq for Stretch
Auto Trait Implementations§
impl Freeze for Stretch
impl RefUnwindSafe for Stretch
impl Send for Stretch
impl Sync for Stretch
impl Unpin for Stretch
impl UnsafeUnpin for Stretch
impl UnwindSafe for Stretch
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