[−][src]Enum gfx_hal::pso::Descriptor
A handle to a specific shader resource that can be bound for use in a DescriptorSet
.
Usually provided in a DescriptorSetWrite
Variants
Sampler(&'a B::Sampler)
Image(&'a B::ImageView, Layout)
CombinedImageSampler(&'a B::ImageView, Layout, &'a B::Sampler)
Buffer(&'a B::Buffer, Range<Option<Offset>>)
UniformTexelBuffer(&'a B::BufferView)
StorageTexelBuffer(&'a B::BufferView)
Trait Implementations
impl<'a, B: Clone + Backend> Clone for Descriptor<'a, B> where
B::Sampler: Clone,
B::ImageView: Clone,
B::ImageView: Clone,
B::Sampler: Clone,
B::Buffer: Clone,
B::BufferView: Clone,
B::BufferView: Clone,
[src]
B::Sampler: Clone,
B::ImageView: Clone,
B::ImageView: Clone,
B::Sampler: Clone,
B::Buffer: Clone,
B::BufferView: Clone,
B::BufferView: Clone,
fn clone(&self) -> Descriptor<'a, B>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a, B: Debug + Backend> Debug for Descriptor<'a, B> where
B::Sampler: Debug,
B::ImageView: Debug,
B::ImageView: Debug,
B::Sampler: Debug,
B::Buffer: Debug,
B::BufferView: Debug,
B::BufferView: Debug,
[src]
B::Sampler: Debug,
B::ImageView: Debug,
B::ImageView: Debug,
B::Sampler: Debug,
B::Buffer: Debug,
B::BufferView: Debug,
B::BufferView: Debug,
Auto Trait Implementations
impl<'a, B> Unpin for Descriptor<'a, B>
impl<'a, B> Sync for Descriptor<'a, B> where
<B as Backend>::Buffer: Sync,
<B as Backend>::BufferView: Sync,
<B as Backend>::ImageView: Sync,
<B as Backend>::Sampler: Sync,
<B as Backend>::Buffer: Sync,
<B as Backend>::BufferView: Sync,
<B as Backend>::ImageView: Sync,
<B as Backend>::Sampler: Sync,
impl<'a, B> Send for Descriptor<'a, B> where
<B as Backend>::Buffer: Sync,
<B as Backend>::BufferView: Sync,
<B as Backend>::ImageView: Sync,
<B as Backend>::Sampler: Sync,
<B as Backend>::Buffer: Sync,
<B as Backend>::BufferView: Sync,
<B as Backend>::ImageView: Sync,
<B as Backend>::Sampler: Sync,
impl<'a, B> UnwindSafe for Descriptor<'a, B> where
<B as Backend>::Buffer: RefUnwindSafe,
<B as Backend>::BufferView: RefUnwindSafe,
<B as Backend>::ImageView: RefUnwindSafe,
<B as Backend>::Sampler: RefUnwindSafe,
<B as Backend>::Buffer: RefUnwindSafe,
<B as Backend>::BufferView: RefUnwindSafe,
<B as Backend>::ImageView: RefUnwindSafe,
<B as Backend>::Sampler: RefUnwindSafe,
impl<'a, B> RefUnwindSafe for Descriptor<'a, B> where
<B as Backend>::Buffer: RefUnwindSafe,
<B as Backend>::BufferView: RefUnwindSafe,
<B as Backend>::ImageView: RefUnwindSafe,
<B as Backend>::Sampler: RefUnwindSafe,
<B as Backend>::Buffer: RefUnwindSafe,
<B as Backend>::BufferView: RefUnwindSafe,
<B as Backend>::ImageView: RefUnwindSafe,
<B as Backend>::Sampler: RefUnwindSafe,
Blanket Implementations
impl<T> Supports<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,