[][src]Struct phosphorus::StructGenerator

pub struct StructGenerator {
    pub trace: bool,
    pub debug_assert_error_check: bool,
}

Fields

trace: bool

If true, the bindings will import a trace! macro from the parent module and invoke it with the name of the function about to be called before actually calling each GL function.

debug_assert_error_check: bool

If true, the bindings will import an error! macro from the parent module and, when debug_assertions are configured for the build, will check after each GL call if there was an error. If an error is detected, the error! macro will be invoked with a format string and args to format.

Trait Implementations

impl Debug for StructGenerator[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]