Struct rin::gl::program::Builder [−][src]
pub struct Builder<'a>(_);
Implementations
impl<'a> Builder<'a>
[src]
impl<'a> Builder<'a>
[src]pub fn from_src(&self, src: &[(u32, &str)]) -> Result<Program, Error>
[src]
Create a shader for a slice of shader type and source tuples
pub fn from_src_bindings<S, B>(
&self,
src: &[(u32, S)],
bindings: &B
) -> Result<Program, Error> where
B: Bindings,
S: AsRef<str>,
[src]
&self,
src: &[(u32, S)],
bindings: &B
) -> Result<Program, Error> where
B: Bindings,
S: AsRef<str>,
Create a shader for a slice of shader type and source tuples + default attribute bindings
pub fn from_settings<S>(&self, settings: Settings<S>) -> Result<Program, Error> where
S: AsRef<str> + From<&'a str> + Eq + Hash + Debug,
[src]
S: AsRef<str> + From<&'a str> + Eq + Hash + Debug,
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
Blanket Implementations
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]