[−][src]Struct phosphorus::GlRegistry
Holds all the info accumulated from gl.xml
.
Fields
gl_types: Vec<GlType>
The special types we need to support.
gl_enums: Vec<GlEnum>
The special constant names we need defined.
gl_commands: Vec<GlCommand>
The functions you'll be able to call.
gl_features: Vec<GlFeature>
The various API profiles you might target.
gl_extensions: Vec<GlExtension>
The vendor extensions that you might wish to also try using.
Implementations
impl GlRegistry
[src]
pub fn from_gl_xml_str(gl_xml: &str) -> Self
[src]
This is how you parse the contents of gl.xml
into a GlRegistry
.
Trait Implementations
impl Clone for GlRegistry
[src]
fn clone(&self) -> GlRegistry
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for GlRegistry
[src]
impl Default for GlRegistry
[src]
fn default() -> GlRegistry
[src]
Auto Trait Implementations
impl RefUnwindSafe for GlRegistry
impl Send for GlRegistry
impl Sync for GlRegistry
impl Unpin for GlRegistry
impl UnwindSafe for GlRegistry
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,