[][src]Struct rendy_graph::DescBuilder

pub struct DescBuilder<B: Backend, T: ?Sized, N> { /* fields omitted */ }

Builder for the node.

Implementations

impl<B, T, N> DescBuilder<B, T, N> where
    B: Backend,
    T: ?Sized
[src]

pub fn new(desc: N) -> Self[src]

Create new builder out of desc

pub fn add_buffer(&mut self, buffer: BufferId) -> &mut Self[src]

Add buffer to the node. This method must be called for each buffer node uses.

pub fn with_buffer(self, buffer: BufferId) -> Self[src]

Add buffer to the node. This method must be called for each buffer node uses.

pub fn add_image(&mut self, image: ImageId) -> &mut Self[src]

Add image to the node. This method must be called for each image node uses.

pub fn with_image(self, image: ImageId) -> Self[src]

Add image to the node. This method must be called for each image node uses.

pub fn add_dependency(&mut self, dependency: NodeId) -> &mut Self[src]

Add dependency. Node will be placed after its dependencies.

pub fn with_dependency(self, dependency: NodeId) -> Self[src]

Add dependency. Node will be placed after its dependencies.

Trait Implementations

impl<B, T, N> Debug for DescBuilder<B, T, N> where
    B: Backend,
    T: ?Sized,
    N: Debug
[src]

impl<B, T, N> NodeBuilder<B, T> for DescBuilder<B, T, N> where
    B: Backend,
    T: ?Sized,
    N: NodeDesc<B, T>, 
[src]

impl<B, T, D> RenderGroupBuilder<B, T> for DescBuilder<B, T, D> where
    B: Backend,
    T: ?Sized,
    D: RenderGroupDesc<B, T>, 
[src]

Auto Trait Implementations

impl<B, T: ?Sized, N> RefUnwindSafe for DescBuilder<B, T, N> where
    N: RefUnwindSafe

impl<B, T: ?Sized, N> Send for DescBuilder<B, T, N> where
    N: Send

impl<B, T: ?Sized, N> Sync for DescBuilder<B, T, N> where
    N: Sync

impl<B, T: ?Sized, N> Unpin for DescBuilder<B, T, N> where
    N: Unpin

impl<B, T: ?Sized, N> UnwindSafe for DescBuilder<B, T, N> where
    N: 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.