[][src]Struct luminance::shader::BuiltProgram

pub struct BuiltProgram<B: ?Sized, Sem, Out, Uni> where
    B: Shader
{ pub program: Program<B, Sem, Out, Uni>, pub warnings: Vec<ProgramError>, }

A built program with potential warnings.

The sole purpose of this type is to be destructured when a program is built.

Parametricity

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]

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

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

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

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.