[][src]Struct gfx_shader_watch::WatcherPsoCellBuilder

pub struct WatcherPsoCellBuilder<I: PipelineInit> { /* fields omitted */ }

Builds WatcherPsoCell

Methods

impl<I: PipelineInit + Clone> WatcherPsoCellBuilder<I>[src]

pub fn using(init_struct: I) -> WatcherPsoCellBuilder<I>[src]

pub fn vertex_shader<P: Into<PathBuf>>(
    self,
    path: P
) -> WatcherPsoCellBuilder<I>
[src]

pub fn fragment_shader<P: Into<PathBuf>>(
    self,
    path: P
) -> WatcherPsoCellBuilder<I>
[src]

pub fn primitive(self, p: Primitive) -> WatcherPsoCellBuilder<I>[src]

pub fn rasterizer(self, r: Rasterizer) -> WatcherPsoCellBuilder<I>[src]

pub fn build<R, F>(
    self,
    factory: F
) -> Result<WatcherPsoCell<R, F, I>, Box<dyn Error>> where
    R: Resources,
    F: Factory<R>, 
[src]

Trait Implementations

impl<I: Debug + PipelineInit> Debug for WatcherPsoCellBuilder<I>[src]

Auto Trait Implementations

impl<I> Send for WatcherPsoCellBuilder<I> where
    I: Send

impl<I> Sync for WatcherPsoCellBuilder<I> where
    I: Sync

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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