Trait rin::prelude::ToSimpleVao [−][src]
pub trait ToSimpleVao<T, U> { pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error>
where
C: CreationContext,
B: Bindings; pub fn as_simple_vao_data(&self) -> Data<'_, T>; }
Required methods
pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
pub fn as_simple_vao_data(&self) -> Data<'_, T>
[src]
Implementations on Foreign Types
impl<'a, T> ToSimpleVao<T, (&'a [T], PrimitiveType)> for (&'a [T], PrimitiveType) where
T: 'static + VertexFormat + Clone,
[src]
impl<'a, T> ToSimpleVao<T, (&'a [T], PrimitiveType)> for (&'a [T], PrimitiveType) where
T: 'static + VertexFormat + Clone,
[src]pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
pub fn as_simple_vao_data(&self) -> Data<'_, T>
[src]
impl<'a, T> ToSimpleVao<T, (&'a [T], &'a [u32], PrimitiveType)> for (&'a [T], &'a [u32], PrimitiveType) where
T: 'static + VertexFormat + Clone,
[src]
impl<'a, T> ToSimpleVao<T, (&'a [T], &'a [u32], PrimitiveType)> for (&'a [T], &'a [u32], PrimitiveType) where
T: 'static + VertexFormat + Clone,
[src]pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
pub fn as_simple_vao_data(&self) -> Data<'_, T>
[src]
Implementors
impl ToSimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>> for Mesh<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>
[src]
impl ToSimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>> for Mesh<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>
[src]pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>, Error> where
C: CreationContext,
B: Bindings,
pub fn as_simple_vao_data(
&self
) -> Data<'_, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>
[src]
&self
) -> Data<'_, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>
impl ToSimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for Mesh<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]
impl ToSimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for Mesh<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>, Error> where
C: CreationContext,
B: Bindings,
pub fn as_simple_vao_data(
&self
) -> Data<'_, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]
&self
) -> Data<'_, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
impl<'a> ToSimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>> for MeshSlice<'a, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>
[src]
impl<'a> ToSimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>> for MeshSlice<'a, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>
[src]pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>, Error> where
C: CreationContext,
B: Bindings,
pub fn as_simple_vao_data(
&self
) -> Data<'_, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>
[src]
&self
) -> Data<'_, Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>>
impl<'a> ToSimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for MeshSlice<'a, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]
impl<'a> ToSimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>> for MeshSlice<'a, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>, Error> where
C: CreationContext,
B: Bindings,
pub fn as_simple_vao_data(
&self
) -> Data<'_, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]
&self
) -> Data<'_, Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
impl<'a, T> ToSimpleVao<T, MeshSlice<'a, T>> for MeshSlice<'a, T> where
T: 'static + VertexFormat + Clone,
[src]
impl<'a, T> ToSimpleVao<T, MeshSlice<'a, T>> for MeshSlice<'a, T> where
T: 'static + VertexFormat + Clone,
[src]pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
pub fn as_simple_vao_data(&self) -> Data<'_, T>
[src]
impl<T> ToSimpleVao<T, Mesh<T>> for Mesh<T> where
T: 'static + VertexFormat + Clone,
[src]
impl<T> ToSimpleVao<T, Mesh<T>> for Mesh<T> where
T: 'static + VertexFormat + Clone,
[src]pub fn to_simple_vao<C, B>(
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,
[src]
&self,
gl: &C,
bindings: &B,
usage: u32
) -> Result<SimpleVao<T>, Error> where
C: CreationContext,
B: Bindings,