Trait Upcast
khronos_egl
pub trait Upcast<V> { fn upcast(&self) -> Option<&V>; }
fn upcast(&self) -> Option<&V>
impl<T> Upcast<T> for T
fn upcast(&self) -> Option<&T>