[−][src]Struct vulkano::descriptor::pipeline_layout::PipelineLayoutDescUnion
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]
A: PipelineLayoutDesc,
B: PipelineLayoutDesc,
fn num_sets(&self) -> usize
[src]
fn num_bindings_in_set(&self, set: usize) -> Option<usize>
[src]
fn descriptor(&self, set: usize, binding: usize) -> Option<DescriptorDesc>
[src]
fn provided_set_layout(
&self,
set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
[src]
&self,
set: usize
) -> Option<Arc<UnsafeDescriptorSetLayout>>
fn num_push_constants_ranges(&self) -> usize
[src]
fn push_constants_range(&self, num: usize) -> Option<PipelineLayoutDescPcRange>
[src]
fn union<T>(self, other: T) -> PipelineLayoutDescUnion<Self, T> where
Self: Sized,
[src]
Self: Sized,
fn check_against_limits(
&self,
device: &Device
) -> Result<(), PipelineLayoutLimitsError>
[src]
&self,
device: &Device
) -> Result<(), PipelineLayoutLimitsError>
fn build(
self,
device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError> where
Self: Sized,
[src]
self,
device: Arc<Device>
) -> Result<PipelineLayout<Self>, PipelineLayoutCreationError> where
Self: Sized,
Auto Trait Implementations
impl<A, B> Send for PipelineLayoutDescUnion<A, B> where
A: Send,
B: Send,
A: Send,
B: Send,
impl<A, B> Unpin for PipelineLayoutDescUnion<A, B> where
A: Unpin,
B: Unpin,
A: Unpin,
B: Unpin,
impl<A, B> Sync for PipelineLayoutDescUnion<A, B> where
A: Sync,
B: Sync,
A: Sync,
B: Sync,
impl<A, B> UnwindSafe for PipelineLayoutDescUnion<A, B> where
A: UnwindSafe,
B: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
impl<A, B> RefUnwindSafe for PipelineLayoutDescUnion<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
Blanket Implementations
impl<T> Content for T
[src]
fn ref_from_ptr(*mut c_void, usize) -> Option<*mut T>
[src]
fn is_size_suitable(usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,