pub trait GlObject { type Id; // Required method fn get_id(&self) -> Self::Id; }
Trait for objects that are OpenGL objects.
The type of identifier for this object.
Returns the id of the object.