pub trait GlUniform {
// Required methods
fn uniform(location: i32, val: &Self);
fn uniformv(location: i32, count: i32, ptr: *const Self);
fn send_uniform(&self, location: i32);
}Required Methods§
fn uniform(location: i32, val: &Self)
fn uniformv(location: i32, count: i32, ptr: *const Self)
fn send_uniform(&self, location: i32)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.