Trait glitter::vertex_data::VertexBytes [] [src]

pub trait VertexBytes {
    fn vertex_bytes(&self) -> &[u8];
}

Indicates that a type can be coerced to a u8 slice that can then be treated as a stream of vertex data.

Required Methods

Create a byte slice of vertex data from self.

Implementations on Foreign Types

impl<T> VertexBytes for [T] where
    T: VertexData
[src]

[src]

Implementors