Trait rin::graphics::vertex::Vertex[][src]

pub trait Vertex {
    type Position;
    pub fn position(&self) -> &Self::Position;
pub fn position_mut(&mut self) -> &mut Self::Position; }

Associated Types

type Position[src]

Loading content...

Required methods

pub fn position(&self) -> &Self::Position[src]

pub fn position_mut(&mut self) -> &mut Self::Position[src]

Loading content...

Implementors

impl Vertex for Vertex[src]

type Position = Matrix<f32, U4, U1, <DefaultAllocator as Allocator<f32, U4, U1>>::Buffer>

impl Vertex for Vertex2D[src]

type Position = Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>

impl Vertex for Vertex2DColor[src]

type Position = Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>

impl Vertex for Vertex2DTex3D[src]

type Position = Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>

impl Vertex for Vertex2DTex[src]

type Position = Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>

impl Vertex for Vertex2DTexColor[src]

type Position = Matrix<f32, U2, U1, <DefaultAllocator as Allocator<f32, U2, U1>>::Buffer>

impl Vertex for Vertex3D[src]

type Position = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>

impl Vertex for Vertex3DColor[src]

type Position = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>

impl Vertex for Vertex3DColorNormal[src]

type Position = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>

impl Vertex for Vertex3DNormal[src]

type Position = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>

impl Vertex for Vertex3DTex[src]

type Position = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>

impl Vertex for Vertex3DTexColor[src]

type Position = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>

impl Vertex for Vertex3DTexNormal[src]

type Position = Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>

Loading content...