[−][src]Enum nannou::vk::DescriptorDescTy
Describes the content and layout of each array element of a descriptor.
Variants
CombinedImageSampler(DescriptorImageDesc)
Image(DescriptorImageDesc)
Fields of TexelBuffer
storage: bool
If true
, this describes a storage texel buffer.
format: Option<Format>
The format of the content, or None
if the format is unknown. Depending on the
context, it may be invalid to have a None
value here. If the format is Some
, only
buffer views that have this exact format can be attached to this descriptor.
Fields of InputAttachment
multisampled: bool
If true
, the input attachment is multisampled. Only multisampled images can be
attached to this descriptor. If false
, only single-sampled images can be attached.
array_layers: DescriptorImageDescArray
Buffer(DescriptorBufferDesc)
Methods
impl DescriptorDescTy
[src]
pub fn ty(&self) -> Option<DescriptorType>
[src]
Returns the type of descriptor.
Returns None
if there's not enough info to determine the type.
pub fn is_superset_of(
&self,
other: &DescriptorDescTy
) -> Result<(), DescriptorDescSupersetError>
[src]
&self,
other: &DescriptorDescTy
) -> Result<(), DescriptorDescSupersetError>
Checks whether we are a superset of another descriptor type.
Trait Implementations
impl Clone for DescriptorDescTy
[src]
fn clone(&self) -> DescriptorDescTy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for DescriptorDescTy
[src]
impl Debug for DescriptorDescTy
[src]
impl PartialEq<DescriptorDescTy> for DescriptorDescTy
[src]
fn eq(&self, other: &DescriptorDescTy) -> bool
[src]
fn ne(&self, other: &DescriptorDescTy) -> bool
[src]
Auto Trait Implementations
impl Send for DescriptorDescTy
impl Unpin for DescriptorDescTy
impl Sync for DescriptorDescTy
impl UnwindSafe for DescriptorDescTy
impl RefUnwindSafe for DescriptorDescTy
Blanket Implementations
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, 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,
impl<T> Style for T where
T: Any + Debug + PartialEq<T>,
[src]
T: Any + Debug + PartialEq<T>,
impl<T> Content for T
[src]
fn ref_from_ptr(ptr: *mut c_void, size: usize) -> Option<*mut T>
[src]
fn is_size_suitable(size: usize) -> bool
[src]
fn indiv_size() -> usize
[src]
impl<T> SafeBorrow<T> for T
[src]
impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
[src]
D: AdaptFrom<S, Swp, Dwp, T>,
Dwp: WhitePoint,
Swp: WhitePoint,
T: Component + Float,
fn adapt_into_using<M>(self, method: M) -> D where
M: TransformMatrix<Swp, Dwp, T>,
[src]
M: TransformMatrix<Swp, Dwp, T>,
fn adapt_into(self) -> D
[src]
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,