pub trait Rot: Sized {
// Required method
fn rot<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>(
x: &mut V,
y: &mut W,
cos: &Self,
sin: &Self,
);
}
Expand description
Applies a Givens rotation matrix to a pair of vectors, where cos
is
the value of the cosine of the angle in the Givens matrix, and sin
is
the sine.
Required Methods§
fn rot<V: ?Sized + Vector<Self>, W: ?Sized + Vector<Self>>( x: &mut V, y: &mut W, cos: &Self, sin: &Self, )
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.