Struct rin::gl::program::Settings [−][src]
pub struct Settings<S> where
S: Eq + Hash + Debug, { pub version: usize, pub extensions: Vec<S, Global>, pub precision: ShaderPrecision, pub defines: Vec<(S, S), Global>, pub shaders: Vec<(u32, S), Global>, pub bindings: IndexMap<String, u32, RandomState>, pub base_path: S, pub includes: IndexMap<S, S, RandomState>, }
Fields
version: usize
extensions: Vec<S, Global>
precision: ShaderPrecision
defines: Vec<(S, S), Global>
shaders: Vec<(u32, S), Global>
bindings: IndexMap<String, u32, RandomState>
base_path: S
includes: IndexMap<S, S, RandomState>
Trait Implementations
impl<S> Eq for Settings<S> where
S: Eq + Hash + Debug,
[src]
S: Eq + Hash + Debug,
impl<S> StructuralEq for Settings<S> where
S: Eq + Hash + Debug,
[src]
S: Eq + Hash + Debug,
impl<S> StructuralPartialEq for Settings<S> where
S: Eq + Hash + Debug,
[src]
S: Eq + Hash + Debug,
Auto Trait Implementations
impl<S> RefUnwindSafe for Settings<S> where
S: RefUnwindSafe,
S: RefUnwindSafe,
impl<S> Send for Settings<S> where
S: Send,
S: Send,
impl<S> Sync for Settings<S> where
S: Sync,
S: Sync,
impl<S> Unpin for Settings<S> where
S: Unpin,
S: Unpin,
impl<S> UnwindSafe for Settings<S> where
S: UnwindSafe,
S: UnwindSafe,
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]