Trait rin_graphics::vertex::Vertex[][src]

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

Associated Types

type Position[src]

Loading content...

Required methods

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

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

Loading content...

Implementors

impl Vertex for Vertex2D[src]

type Position = Vec2

impl Vertex for Vertex2DColor[src]

type Position = Vec2

impl Vertex for Vertex2DTex3D[src]

type Position = Vec2

impl Vertex for Vertex2DTex[src]

type Position = Vec2

impl Vertex for Vertex2DTexColor[src]

type Position = Vec2

impl Vertex for Vertex3D[src]

type Position = Vec3

impl Vertex for Vertex3DColor[src]

type Position = Vec3

impl Vertex for Vertex3DColorNormal[src]

type Position = Vec3

impl Vertex for Vertex3DNormal[src]

type Position = Vec3

impl Vertex for Vertex3DTex[src]

type Position = Vec3

impl Vertex for Vertex3DTexColor[src]

type Position = Vec3

impl Vertex for Vertex3DTexNormal[src]

type Position = Vec3

Loading content...