pub trait GlObject {
type Id;
// Required method
fn get_id(&self) -> Self::Id;
}Expand description
Trait for objects that are OpenGL objects.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".