Trait gfx::render::mesh::ToSlice
[−]
[src]
pub trait ToSlice<R: Resources> { fn to_slice(&self, pt: PrimitiveType) -> Slice<R>; }
A helper trait for cleanly getting the slice of a type.
Required Methods
fn to_slice(&self, pt: PrimitiveType) -> Slice<R>
Get the slice of a type.