#[repr(transparent)]pub struct FormatFeatureFlags(_);Expand description
Implementations
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
sourcepub const SAMPLED_IMAGE: FormatFeatureFlags
pub const SAMPLED_IMAGE: FormatFeatureFlags
Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)
sourcepub const STORAGE_IMAGE: FormatFeatureFlags
pub const STORAGE_IMAGE: FormatFeatureFlags
Format can be used for storage images (STORAGE_IMAGE descriptor type)
sourcepub const STORAGE_IMAGE_ATOMIC: FormatFeatureFlags
pub const STORAGE_IMAGE_ATOMIC: FormatFeatureFlags
Format supports atomic operations in case it is used for storage images
sourcepub const UNIFORM_TEXEL_BUFFER: FormatFeatureFlags
pub const UNIFORM_TEXEL_BUFFER: FormatFeatureFlags
Format can be used for uniform texel buffers (TBOs)
sourcepub const STORAGE_TEXEL_BUFFER: FormatFeatureFlags
pub const STORAGE_TEXEL_BUFFER: FormatFeatureFlags
Format can be used for storage texel buffers (IBOs)
sourcepub const STORAGE_TEXEL_BUFFER_ATOMIC: FormatFeatureFlags
pub const STORAGE_TEXEL_BUFFER_ATOMIC: FormatFeatureFlags
Format supports atomic operations in case it is used for storage texel buffers
sourcepub const VERTEX_BUFFER: FormatFeatureFlags
pub const VERTEX_BUFFER: FormatFeatureFlags
Format can be used for vertex buffers (VBOs)
sourcepub const COLOR_ATTACHMENT: FormatFeatureFlags
pub const COLOR_ATTACHMENT: FormatFeatureFlags
Format can be used for color attachment images
sourcepub const COLOR_ATTACHMENT_BLEND: FormatFeatureFlags
pub const COLOR_ATTACHMENT_BLEND: FormatFeatureFlags
Format supports blending in case it is used for color attachment images
sourcepub const DEPTH_STENCIL_ATTACHMENT: FormatFeatureFlags
pub const DEPTH_STENCIL_ATTACHMENT: FormatFeatureFlags
Format can be used for depth/stencil attachment images
sourcepub const BLIT_SRC: FormatFeatureFlags
pub const BLIT_SRC: FormatFeatureFlags
Format can be used as the source image of blits with vkCmdBlitImage
sourcepub const BLIT_DST: FormatFeatureFlags
pub const BLIT_DST: FormatFeatureFlags
Format can be used as the destination image of blits with vkCmdBlitImage
sourcepub const SAMPLED_IMAGE_FILTER_LINEAR: FormatFeatureFlags
pub const SAMPLED_IMAGE_FILTER_LINEAR: FormatFeatureFlags
Format can be filtered with VK_FILTER_LINEAR when being sampled
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_IMG_filter_cubic’
sourcepub const SAMPLED_IMAGE_FILTER_CUBIC_IMG: FormatFeatureFlags
pub const SAMPLED_IMAGE_FILTER_CUBIC_IMG: FormatFeatureFlags
Format can be filtered with VK_FILTER_CUBIC_IMG when being sampled
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_OUTPUT_KHR: FormatFeatureFlags
pub const VIDEO_DECODE_DPB_KHR: FormatFeatureFlags
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_maintenance1’
pub const TRANSFER_SRC_KHR: FormatFeatureFlags
pub const TRANSFER_DST_KHR: FormatFeatureFlags
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_sampler_filter_minmax’
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_acceleration_structure’
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_sampler_ycbcr_conversion’
pub const MIDPOINT_CHROMA_SAMPLES_KHR: FormatFeatureFlags
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_KHR: FormatFeatureFlags
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_KHR: FormatFeatureFlags
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_KHR: FormatFeatureFlags
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_KHR: FormatFeatureFlags
pub const DISJOINT_KHR: FormatFeatureFlags
pub const COSITED_CHROMA_SAMPLES_KHR: FormatFeatureFlags
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_filter_cubic’
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: FormatFeatureFlags
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_fragment_shading_rate’
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_INPUT_KHR: FormatFeatureFlags
pub const VIDEO_ENCODE_DPB_KHR: FormatFeatureFlags
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const TRANSFER_SRC: FormatFeatureFlags
pub const TRANSFER_SRC: FormatFeatureFlags
Format can be used as the source image of image transfer commands
sourcepub const TRANSFER_DST: FormatFeatureFlags
pub const TRANSFER_DST: FormatFeatureFlags
Format can be used as the destination image of image transfer commands
sourcepub const MIDPOINT_CHROMA_SAMPLES: FormatFeatureFlags
pub const MIDPOINT_CHROMA_SAMPLES: FormatFeatureFlags
Format can have midpoint rather than cosited chroma samples
sourcepub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: FormatFeatureFlags
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: FormatFeatureFlags
Format can be used with linear filtering whilst color conversion is enabled
sourcepub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: FormatFeatureFlags
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: FormatFeatureFlags
Format can have different chroma, min and mag filters
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT: FormatFeatureFlags
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE: FormatFeatureFlags
sourcepub const DISJOINT: FormatFeatureFlags
pub const DISJOINT: FormatFeatureFlags
Format supports disjoint planes
sourcepub const COSITED_CHROMA_SAMPLES: FormatFeatureFlags
pub const COSITED_CHROMA_SAMPLES: FormatFeatureFlags
Format can have cosited rather than midpoint chroma samples
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
Generated from ‘VK_VERSION_1_2’
sourcepub const SAMPLED_IMAGE_FILTER_MINMAX: FormatFeatureFlags
pub const SAMPLED_IMAGE_FILTER_MINMAX: FormatFeatureFlags
Format can be used with min/max reduction filtering
sourceimpl FormatFeatureFlags
impl FormatFeatureFlags
pub const fn empty() -> FormatFeatureFlags
pub const fn from_raw(x: u32) -> FormatFeatureFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: FormatFeatureFlags) -> bool
sourcepub const fn contains(self, other: FormatFeatureFlags) -> bool
pub const fn contains(self, other: FormatFeatureFlags) -> bool
Returns whether other is a subset of self
Trait Implementations
sourceimpl BitAnd<FormatFeatureFlags> for FormatFeatureFlags
impl BitAnd<FormatFeatureFlags> for FormatFeatureFlags
type Output = FormatFeatureFlags
type Output = FormatFeatureFlags
The resulting type after applying the & operator.
sourcepub fn bitand(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
pub fn bitand(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<FormatFeatureFlags> for FormatFeatureFlags
impl BitAndAssign<FormatFeatureFlags> for FormatFeatureFlags
sourcepub fn bitand_assign(&mut self, rhs: FormatFeatureFlags)
pub fn bitand_assign(&mut self, rhs: FormatFeatureFlags)
Performs the &= operation. Read more
sourceimpl BitOr<FormatFeatureFlags> for FormatFeatureFlags
impl BitOr<FormatFeatureFlags> for FormatFeatureFlags
type Output = FormatFeatureFlags
type Output = FormatFeatureFlags
The resulting type after applying the | operator.
sourcepub fn bitor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
pub fn bitor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<FormatFeatureFlags> for FormatFeatureFlags
impl BitOrAssign<FormatFeatureFlags> for FormatFeatureFlags
sourcepub fn bitor_assign(&mut self, rhs: FormatFeatureFlags)
pub fn bitor_assign(&mut self, rhs: FormatFeatureFlags)
Performs the |= operation. Read more
sourceimpl BitXor<FormatFeatureFlags> for FormatFeatureFlags
impl BitXor<FormatFeatureFlags> for FormatFeatureFlags
type Output = FormatFeatureFlags
type Output = FormatFeatureFlags
The resulting type after applying the ^ operator.
sourcepub fn bitxor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
pub fn bitxor(self, rhs: FormatFeatureFlags) -> FormatFeatureFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<FormatFeatureFlags> for FormatFeatureFlags
impl BitXorAssign<FormatFeatureFlags> for FormatFeatureFlags
sourcepub fn bitxor_assign(&mut self, rhs: FormatFeatureFlags)
pub fn bitxor_assign(&mut self, rhs: FormatFeatureFlags)
Performs the ^= operation. Read more
sourceimpl Clone for FormatFeatureFlags
impl Clone for FormatFeatureFlags
sourcepub fn clone(&self) -> FormatFeatureFlags
pub fn clone(&self) -> FormatFeatureFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for FormatFeatureFlags
impl Debug for FormatFeatureFlags
sourceimpl Default for FormatFeatureFlags
impl Default for FormatFeatureFlags
sourcepub fn default() -> FormatFeatureFlags
pub fn default() -> FormatFeatureFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for FormatFeatureFlags
impl Hash for FormatFeatureFlags
sourceimpl Not for FormatFeatureFlags
impl Not for FormatFeatureFlags
type Output = FormatFeatureFlags
type Output = FormatFeatureFlags
The resulting type after applying the ! operator.
sourcepub fn not(self) -> FormatFeatureFlags
pub fn not(self) -> FormatFeatureFlags
Performs the unary ! operation. Read more
sourceimpl Ord for FormatFeatureFlags
impl Ord for FormatFeatureFlags
sourceimpl PartialEq<FormatFeatureFlags> for FormatFeatureFlags
impl PartialEq<FormatFeatureFlags> for FormatFeatureFlags
sourcepub fn eq(&self, other: &FormatFeatureFlags) -> bool
pub fn eq(&self, other: &FormatFeatureFlags) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcepub fn ne(&self, other: &FormatFeatureFlags) -> bool
pub fn ne(&self, other: &FormatFeatureFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<FormatFeatureFlags> for FormatFeatureFlags
impl PartialOrd<FormatFeatureFlags> for FormatFeatureFlags
sourcepub fn partial_cmp(&self, other: &FormatFeatureFlags) -> Option<Ordering>
pub fn partial_cmp(&self, other: &FormatFeatureFlags) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for FormatFeatureFlags
impl Eq for FormatFeatureFlags
impl StructuralEq for FormatFeatureFlags
impl StructuralPartialEq for FormatFeatureFlags
Auto Trait Implementations
impl RefUnwindSafe for FormatFeatureFlags
impl Send for FormatFeatureFlags
impl Sync for FormatFeatureFlags
impl Unpin for FormatFeatureFlags
impl UnwindSafe for FormatFeatureFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for P where
R: Read + ReadEndian<P>,
P: Default,
sourcefn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_little_endian().
sourcefn read_from_big_endian(read: &mut R) -> Result<Self, Error>
fn read_from_big_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_big_endian().
sourcefn read_from_native_endian(read: &mut R) -> Result<Self, Error>
fn read_from_native_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as ReadEndian::read_from_native_endian().
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more