[−][src]Macro glium::implement_buffer_content
Implements the glium::buffer::Content
trait for the given type.
Contrary to the other similar macros, this one doesn't require you pass the list of parameters.
Only use this macro on structs. Using it with anything else will result in a segfault.
Example
struct Data { data: [u32] } implement_buffer_content!(Data);