Trait beagle::scalar_array::ScalarArrayRef
[−]
[src]
pub trait ScalarArrayRef: ScalarArray where
Self::Row: DimRef<Self::Scalar>,
Self::Dim: TwoDimRef<Self::Scalar, Self::Row>,
<Self::Row as HasSmaller>::Smaller: Array<Self::Scalar>,
<Self::Dim as HasSmaller>::Smaller: Array<<Self::Row as Array<Self::Scalar>>::Type>, { fn get_ref(
&self
) -> <Self::Dim as Array<<Self::Row as Array<&Self::Scalar>>::Type>>::Type; }
Matrix/Vector types that can be references
Required Methods
fn get_ref(
&self
) -> <Self::Dim as Array<<Self::Row as Array<&Self::Scalar>>::Type>>::Type
&self
) -> <Self::Dim as Array<<Self::Row as Array<&Self::Scalar>>::Type>>::Type
Extract the inner array references
Implementors
impl<'a, S, D, I0, I1> ScalarArrayRef for &'a Vec2Ref<D, S, I0, I1> where
D: Dim<S> + IsLargerThan<I0> + IsLargerThan<I1>,
I0: IsSmallerThan<D>,
I1: IsSmallerThan<D>,
D::Smaller: Array<S>,impl<'a, S, D, I0, I1> ScalarArrayRef for &'a mut Vec2Ref<D, S, I0, I1> where
D: Dim<S> + IsLargerThan<I0> + IsLargerThan<I1>,
I0: IsSmallerThan<D>,
I1: IsSmallerThan<D>,
D::Smaller: Array<S>,impl<'a, S, D, I0, I1, I2> ScalarArrayRef for &'a Vec3Ref<D, S, I0, I1, I2> where
D: Dim<S> + IsLargerThan<I0> + IsLargerThan<I1> + IsLargerThan<I2>,
I0: IsSmallerThan<D>,
I1: IsSmallerThan<D>,
I2: IsSmallerThan<D>,
D::Smaller: Array<S>,impl<'a, S, D, I0, I1, I2> ScalarArrayRef for &'a mut Vec3Ref<D, S, I0, I1, I2> where
D: Dim<S> + IsLargerThan<I0> + IsLargerThan<I1> + IsLargerThan<I2>,
I0: IsSmallerThan<D>,
I1: IsSmallerThan<D>,
I2: IsSmallerThan<D>,
D::Smaller: Array<S>,impl<'a, S, D, I0, I1, I2, I3> ScalarArrayRef for &'a Vec4Ref<D, S, I0, I1, I2, I3> where
D: Dim<S> + IsLargerThan<I0> + IsLargerThan<I1> + IsLargerThan<I2> + IsLargerThan<I3>,
I0: IsSmallerThan<D>,
I1: IsSmallerThan<D>,
I2: IsSmallerThan<D>,
I3: IsSmallerThan<D>,
D::Smaller: Array<S>,impl<'a, S, D, I0, I1, I2, I3> ScalarArrayRef for &'a mut Vec4Ref<D, S, I0, I1, I2, I3> where
D: Dim<S> + IsLargerThan<I0> + IsLargerThan<I1> + IsLargerThan<I2> + IsLargerThan<I3>,
I0: IsSmallerThan<D>,
I1: IsSmallerThan<D>,
I2: IsSmallerThan<D>,
I3: IsSmallerThan<D>,
D::Smaller: Array<S>,impl<S, C: DimRef<S>, R: TwoDimRef<S, C>> ScalarArrayRef for Mat<R, C, S> where
C::Smaller: Array<S>,
R::Smaller: Array<<C as Array<S>>::Type>,impl<S, D: DimRef<S>> ScalarArrayRef for Vec<D, S> where
D::Smaller: Array<S> + Array<&'a S>,