[][src]Struct nannou::vk::descriptor::pipeline_layout::PipelineLayoutDescUnion

pub struct PipelineLayoutDescUnion<A, B> { /* fields omitted */ }

Contains the union of two pipeline layout description.

If A and B both implement PipelineLayoutDesc, then this struct also implements PipelineLayoutDesc and will correspond to the union of the A object and the B object.

Methods

impl<A, B> PipelineLayoutDescUnion<A, B>[src]

pub fn new(a: A, b: B) -> PipelineLayoutDescUnion<A, B>[src]

Trait Implementations

impl<A, B> PipelineLayoutDesc for PipelineLayoutDescUnion<A, B> where
    A: PipelineLayoutDesc,
    B: PipelineLayoutDesc
[src]

fn union<T>(self, other: T) -> PipelineLayoutDescUnion<Self, T>[src]

Builds the union of this layout and another.

fn check_against_limits(
    &self,
    device: &Device
) -> Result<(), PipelineLayoutLimitsError>
[src]

Checks whether this description fulfills the device limits requirements.

fn build(
    self,
    device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError>
[src]

Turns the layout description into a PipelineLayout object that can be used by Vulkan. Read more

Auto Trait Implementations

impl<A, B> Send for PipelineLayoutDescUnion<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for PipelineLayoutDescUnion<A, B> where
    A: Sync,
    B: Sync

Blanket Implementations

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.

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

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

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

impl<T> PipelineLayoutDesc for T where
    T: SafeDeref,
    <T as Deref>::Target: PipelineLayoutDesc
[src]

fn provided_set_layout(
    &self,
    _set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
[src]

If the PipelineLayoutDesc implementation is able to provide an existing UnsafeDescriptorSetLayout for a given set, it can do so by returning it here. Read more

fn union<T>(self, other: T) -> PipelineLayoutDescUnion<Self, T>[src]

Builds the union of this layout and another.

fn check_against_limits(
    &self,
    device: &Device
) -> Result<(), PipelineLayoutLimitsError>
[src]

Checks whether this description fulfills the device limits requirements.

fn build(
    self,
    device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError>
[src]

Turns the layout description into a PipelineLayout object that can be used by Vulkan. Read more

impl<T> Content for T[src]

impl<T, U> PipelineLayoutPushConstantsCompatible<U> for T where
    T: PipelineLayoutDesc + ?Sized,
    U: ?Sized
[src]

impl<T, U> PipelineLayoutSuperset<U> for T where
    T: PipelineLayoutDesc + ?Sized,
    U: PipelineLayoutDesc + ?Sized
[src]

impl<T, U> PipelineLayoutSetsCompatible<U> for T where
    T: PipelineLayoutDesc + ?Sized,
    U: DescriptorSetsCollection + ?Sized
[src]

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

impl<T> Erased for T

impl<S> FromSample<S> for S[src]

impl<T, U> ToSample<U> for T where
    U: FromSample<T>, 
[src]

impl<S, T> Duplex<S> for T where
    T: FromSample<S> + ToSample<S>, 
[src]

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.

impl<T> SetParameter for T

fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
    T: Parameter<Self>, 

Sets value as a parameter of self.