Trait easy_imgui_renderer::glr::AttribProviderList
source · pub trait AttribProviderList {
type KeepType;
// Required methods
fn len(&self) -> usize;
fn bind(&self, p: &Program) -> Self::KeepType;
// Provided method
fn is_empty(&self) -> bool { ... }
}
Required Associated Types§
Required Methods§
Provided Methods§
Implementations on Foreign Types§
source§impl<A0: AttribProviderList, A1: AttribProviderList> AttribProviderList for (A0, A1)
impl<A0: AttribProviderList, A1: AttribProviderList> AttribProviderList for (A0, A1)
source§impl<A: AttribProvider> AttribProviderList for &[A]
impl<A: AttribProvider> AttribProviderList for &[A]
Uses a normal array as attrib provider.
This is quite inefficient, but easy to use.