Trait gfx::device::attrib::format::ToFormat [] [src]

pub trait ToFormat {
    fn describe() -> (Count, Type);
}

A trait for getting the format out of vertex element types. Needed to implement VertexFormat with a macro.

Required Methods

fn describe() -> (Count, Type)

Implementors