Struct glin::program::Settings[][src]

pub struct Settings<S: Eq + Hash + Debug> {
    pub version: usize,
    pub extensions: Vec<S>,
    pub precision: ShaderPrecision,
    pub defines: Vec<(S, S)>,
    pub shaders: Vec<(GLenum, S)>,
    pub bindings: HashMap<String, u32>,
    pub base_path: S,
    pub includes: HashMap<S, S>,
}

Fields

version: usizeextensions: Vec<S>precision: ShaderPrecisiondefines: Vec<(S, S)>shaders: Vec<(GLenum, S)>bindings: HashMap<String, u32>base_path: Sincludes: HashMap<S, S>

Trait Implementations

impl<S: Clone + Eq + Hash + Debug> Clone for Settings<S>[src]

impl<S: Debug + Eq + Hash> Debug for Settings<S>[src]

impl<S: Default + Eq + Hash + Debug> Default for Settings<S>[src]

impl<S: PartialEq + Eq + Hash + Debug> PartialEq<Settings<S>> for Settings<S>[src]

impl<S: Eq + Hash + Debug> Eq for Settings<S>[src]

impl<S: Eq + Hash + Debug> StructuralEq for Settings<S>[src]

impl<S: Eq + Hash + Debug> StructuralPartialEq for Settings<S>[src]

Auto Trait Implementations

impl<S> RefUnwindSafe for Settings<S> where
    S: RefUnwindSafe

impl<S> Send for Settings<S> where
    S: Send

impl<S> Sync for Settings<S> where
    S: Sync

impl<S> Unpin for Settings<S> where
    S: Unpin

impl<S> UnwindSafe for Settings<S> where
    S: UnwindSafe

Blanket Implementations

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

impl<T> Any for T where
    T: Any
[src]

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

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

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.