Trait nalgebra::Repeat
[−]
[src]
pub trait Repeat<N> { fn repeat(val: N) -> Self; }
Trait for constructiong an object repeating a value.
Required Methods
fn repeat(val: N) -> Self
Returns a value with filled by val
.
Implementors
impl<N: Copy> Repeat<N> for Vector1<N>
impl<N: Copy> Repeat<N> for Vector2<N>
impl<N: Copy> Repeat<N> for Vector3<N>
impl<N: Copy> Repeat<N> for Vector4<N>
impl<N: Copy> Repeat<N> for Vector5<N>
impl<N: Copy> Repeat<N> for Vector6<N>
impl<N: Copy> Repeat<N> for Point1<N>
impl<N: Copy> Repeat<N> for Point2<N>
impl<N: Copy> Repeat<N> for Point3<N>
impl<N: Copy> Repeat<N> for Point4<N>
impl<N: Copy> Repeat<N> for Point5<N>
impl<N: Copy> Repeat<N> for Point6<N>
impl<N: Copy> Repeat<N> for Quaternion<N>
impl<N: Copy> Repeat<N> for Matrix1<N>
impl<N: Copy> Repeat<N> for Matrix2<N>
impl<N: Copy> Repeat<N> for Matrix3<N>
impl<N: Copy> Repeat<N> for Matrix4<N>
impl<N: Copy> Repeat<N> for Matrix5<N>
impl<N: Copy> Repeat<N> for Matrix6<N>