Function quat::conj_mut[][src]

pub fn conj_mut<'out, T>(out: &'out mut [T; 4]) -> &'out mut [T; 4] where
    T: Clone,
    &'a T: Neg<Output = T>, 

Example

let mut v = [1; 4];
quat::conj_mut(&mut v);
assert_eq!(v, [-1, -1, -1, 1]);