[−][src]Struct luminance::shader::BuiltProgram
A built program with potential warnings.
The sole purpose of this type is to be destructured when a program is built.
Parametricity
B
is the backend type.Sem
is theSemantics
type.Out
is the render target type.Uni
is theUniformInterface
type.
Fields
program: Program<B, Sem, Out, Uni>
Built program.
warnings: Vec<ProgramError>
Potential warnings.
Implementations
impl<B: ?Sized, Sem, Out, Uni> BuiltProgram<B, Sem, Out, Uni> where
B: Shader,
[src]
B: Shader,
pub fn ignore_warnings(self) -> Program<B, Sem, Out, Uni>
[src]
Get the program and ignore the warnings.
Auto Trait Implementations
impl<B: ?Sized, Sem, Out, Uni> RefUnwindSafe for BuiltProgram<B, Sem, Out, Uni> where
Out: RefUnwindSafe,
Sem: RefUnwindSafe,
Uni: RefUnwindSafe,
<B as Shader>::ProgramRepr: RefUnwindSafe,
Out: RefUnwindSafe,
Sem: RefUnwindSafe,
Uni: RefUnwindSafe,
<B as Shader>::ProgramRepr: RefUnwindSafe,
impl<B, Sem, Out, Uni> !Send for BuiltProgram<B, Sem, Out, Uni>
impl<B, Sem, Out, Uni> !Sync for BuiltProgram<B, Sem, Out, Uni>
impl<B: ?Sized, Sem, Out, Uni> Unpin for BuiltProgram<B, Sem, Out, Uni> where
Uni: Unpin,
<B as Shader>::ProgramRepr: Unpin,
Uni: Unpin,
<B as Shader>::ProgramRepr: Unpin,
impl<B: ?Sized, Sem, Out, Uni> UnwindSafe for BuiltProgram<B, Sem, Out, Uni> where
Out: RefUnwindSafe,
Sem: RefUnwindSafe,
Uni: UnwindSafe,
<B as Shader>::ProgramRepr: UnwindSafe,
Out: RefUnwindSafe,
Sem: RefUnwindSafe,
Uni: UnwindSafe,
<B as Shader>::ProgramRepr: UnwindSafe,
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, 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>,