pub struct FormatFeatureFlags2(_);Expand description
Implementations
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
pub const fn empty() -> FormatFeatureFlags2
pub const fn from_raw(x: u64) -> FormatFeatureFlags2
pub const fn as_raw(self) -> u64
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: FormatFeatureFlags2) -> bool
sourcepub const fn contains(self, other: FormatFeatureFlags2) -> bool
pub const fn contains(self, other: FormatFeatureFlags2) -> bool
Returns whether other is a subset of self
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
pub const SAMPLED_IMAGE: FormatFeatureFlags2 = Self(1)
pub const SAMPLED_IMAGE_KHR: FormatFeatureFlags2 = Self::SAMPLED_IMAGE
pub const STORAGE_IMAGE: FormatFeatureFlags2 = Self(2)
pub const STORAGE_IMAGE_KHR: FormatFeatureFlags2 = Self::STORAGE_IMAGE
pub const STORAGE_IMAGE_ATOMIC: FormatFeatureFlags2 = Self(4)
pub const STORAGE_IMAGE_ATOMIC_KHR: FormatFeatureFlags2 = Self::STORAGE_IMAGE_ATOMIC
pub const UNIFORM_TEXEL_BUFFER: FormatFeatureFlags2 = Self(8)
pub const UNIFORM_TEXEL_BUFFER_KHR: FormatFeatureFlags2 = Self::UNIFORM_TEXEL_BUFFER
pub const STORAGE_TEXEL_BUFFER: FormatFeatureFlags2 = Self(16)
pub const STORAGE_TEXEL_BUFFER_KHR: FormatFeatureFlags2 = Self::STORAGE_TEXEL_BUFFER
pub const STORAGE_TEXEL_BUFFER_ATOMIC: FormatFeatureFlags2 = Self(32)
pub const STORAGE_TEXEL_BUFFER_ATOMIC_KHR: FormatFeatureFlags2 = Self::STORAGE_TEXEL_BUFFER_ATOMIC
pub const VERTEX_BUFFER: FormatFeatureFlags2 = Self(64)
pub const VERTEX_BUFFER_KHR: FormatFeatureFlags2 = Self::VERTEX_BUFFER
pub const COLOR_ATTACHMENT: FormatFeatureFlags2 = Self(128)
pub const COLOR_ATTACHMENT_KHR: FormatFeatureFlags2 = Self::COLOR_ATTACHMENT
pub const COLOR_ATTACHMENT_BLEND: FormatFeatureFlags2 = Self(256)
pub const COLOR_ATTACHMENT_BLEND_KHR: FormatFeatureFlags2 = Self::COLOR_ATTACHMENT_BLEND
pub const DEPTH_STENCIL_ATTACHMENT: FormatFeatureFlags2 = Self(512)
pub const DEPTH_STENCIL_ATTACHMENT_KHR: FormatFeatureFlags2 = Self::DEPTH_STENCIL_ATTACHMENT
pub const BLIT_SRC: FormatFeatureFlags2 = Self(1024)
pub const BLIT_SRC_KHR: FormatFeatureFlags2 = Self::BLIT_SRC
pub const BLIT_DST: FormatFeatureFlags2 = Self(2048)
pub const BLIT_DST_KHR: FormatFeatureFlags2 = Self::BLIT_DST
pub const SAMPLED_IMAGE_FILTER_LINEAR: FormatFeatureFlags2 = Self(4096)
pub const SAMPLED_IMAGE_FILTER_LINEAR_KHR: FormatFeatureFlags2 = Self::SAMPLED_IMAGE_FILTER_LINEAR
pub const SAMPLED_IMAGE_FILTER_CUBIC: FormatFeatureFlags2 = Self(8192)
pub const SAMPLED_IMAGE_FILTER_CUBIC_EXT: FormatFeatureFlags2 = Self::SAMPLED_IMAGE_FILTER_CUBIC
pub const TRANSFER_SRC: FormatFeatureFlags2 = Self(16384)
pub const TRANSFER_SRC_KHR: FormatFeatureFlags2 = Self::TRANSFER_SRC
pub const TRANSFER_DST: FormatFeatureFlags2 = Self(32768)
pub const TRANSFER_DST_KHR: FormatFeatureFlags2 = Self::TRANSFER_DST
pub const SAMPLED_IMAGE_FILTER_MINMAX: FormatFeatureFlags2 = Self(65536)
pub const SAMPLED_IMAGE_FILTER_MINMAX_KHR: FormatFeatureFlags2 = Self::SAMPLED_IMAGE_FILTER_MINMAX
pub const MIDPOINT_CHROMA_SAMPLES: FormatFeatureFlags2 = Self(131072)
pub const MIDPOINT_CHROMA_SAMPLES_KHR: FormatFeatureFlags2 = Self::MIDPOINT_CHROMA_SAMPLES
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER: FormatFeatureFlags2 = Self(262144)
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER_KHR: FormatFeatureFlags2 = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_LINEAR_FILTER
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER: FormatFeatureFlags2 = Self(524288)
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER_KHR: FormatFeatureFlags2 = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_SEPARATE_RECONSTRUCTION_FILTER
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT: FormatFeatureFlags2 = Self(1048576)
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_KHR: FormatFeatureFlags2 = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE: FormatFeatureFlags2 = Self(2097152)
pub const SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE_KHR: FormatFeatureFlags2 = Self::SAMPLED_IMAGE_YCBCR_CONVERSION_CHROMA_RECONSTRUCTION_EXPLICIT_FORCEABLE
pub const DISJOINT: FormatFeatureFlags2 = Self(4194304)
pub const DISJOINT_KHR: FormatFeatureFlags2 = Self::DISJOINT
pub const COSITED_CHROMA_SAMPLES: FormatFeatureFlags2 = Self(8388608)
pub const COSITED_CHROMA_SAMPLES_KHR: FormatFeatureFlags2 = Self::COSITED_CHROMA_SAMPLES
pub const STORAGE_READ_WITHOUT_FORMAT: FormatFeatureFlags2 = Self(2147483648)
pub const STORAGE_READ_WITHOUT_FORMAT_KHR: FormatFeatureFlags2 = Self::STORAGE_READ_WITHOUT_FORMAT
pub const STORAGE_WRITE_WITHOUT_FORMAT: FormatFeatureFlags2 = Self(4294967296)
pub const STORAGE_WRITE_WITHOUT_FORMAT_KHR: FormatFeatureFlags2 = Self::STORAGE_WRITE_WITHOUT_FORMAT
pub const SAMPLED_IMAGE_DEPTH_COMPARISON: FormatFeatureFlags2 = Self(8589934592)
pub const SAMPLED_IMAGE_DEPTH_COMPARISON_KHR: FormatFeatureFlags2 = Self::SAMPLED_IMAGE_DEPTH_COMPARISON
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_OUTPUT_KHR: FormatFeatureFlags2 = Self(33554432)
pub const VIDEO_DECODE_DPB_KHR: FormatFeatureFlags2 = Self(67108864)
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
Generated from ‘VK_KHR_acceleration_structure’
pub const ACCELERATION_STRUCTURE_VERTEX_BUFFER_KHR: FormatFeatureFlags2 = Self(536870912)
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
Generated from ‘VK_EXT_fragment_density_map’
pub const FRAGMENT_DENSITY_MAP_EXT: FormatFeatureFlags2 = Self(16777216)
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
Generated from ‘VK_KHR_fragment_shading_rate’
pub const FRAGMENT_SHADING_RATE_ATTACHMENT_KHR: FormatFeatureFlags2 = Self(1073741824)
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_INPUT_KHR: FormatFeatureFlags2 = Self(134217728)
pub const VIDEO_ENCODE_DPB_KHR: FormatFeatureFlags2 = Self(268435456)
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
Generated from ‘VK_NV_linear_color_attachment’
sourcepub const LINEAR_COLOR_ATTACHMENT_NV: FormatFeatureFlags2 = Self(274877906944)
pub const LINEAR_COLOR_ATTACHMENT_NV: FormatFeatureFlags2 = Self(274877906944)
Format support linear image as render target, it cannot be mixed with non linear attachment
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
Generated from ‘VK_QCOM_extension_441’
pub const RESERVED_34_QCOM: FormatFeatureFlags2 = Self(17179869184)
pub const RESERVED_35_QCOM: FormatFeatureFlags2 = Self(34359738368)
pub const RESERVED_36_QCOM: FormatFeatureFlags2 = Self(68719476736)
pub const RESERVED_37_QCOM: FormatFeatureFlags2 = Self(137438953472)
sourceimpl FormatFeatureFlags2
impl FormatFeatureFlags2
Generated from ‘VK_EXT_extension_461’
pub const RESERVED_39_EXT: FormatFeatureFlags2 = Self(549755813888)
Trait Implementations
sourceimpl BitAnd<FormatFeatureFlags2> for FormatFeatureFlags2
impl BitAnd<FormatFeatureFlags2> for FormatFeatureFlags2
type Output = FormatFeatureFlags2
type Output = FormatFeatureFlags2
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: FormatFeatureFlags2) -> FormatFeatureFlags2
fn bitand(self, rhs: FormatFeatureFlags2) -> FormatFeatureFlags2
Performs the
& operation. Read moresourceimpl BitAndAssign<FormatFeatureFlags2> for FormatFeatureFlags2
impl BitAndAssign<FormatFeatureFlags2> for FormatFeatureFlags2
sourcefn bitand_assign(&mut self, rhs: FormatFeatureFlags2)
fn bitand_assign(&mut self, rhs: FormatFeatureFlags2)
Performs the
&= operation. Read moresourceimpl BitOr<FormatFeatureFlags2> for FormatFeatureFlags2
impl BitOr<FormatFeatureFlags2> for FormatFeatureFlags2
type Output = FormatFeatureFlags2
type Output = FormatFeatureFlags2
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: FormatFeatureFlags2) -> FormatFeatureFlags2
fn bitor(self, rhs: FormatFeatureFlags2) -> FormatFeatureFlags2
Performs the
| operation. Read moresourceimpl BitOrAssign<FormatFeatureFlags2> for FormatFeatureFlags2
impl BitOrAssign<FormatFeatureFlags2> for FormatFeatureFlags2
sourcefn bitor_assign(&mut self, rhs: FormatFeatureFlags2)
fn bitor_assign(&mut self, rhs: FormatFeatureFlags2)
Performs the
|= operation. Read moresourceimpl BitXor<FormatFeatureFlags2> for FormatFeatureFlags2
impl BitXor<FormatFeatureFlags2> for FormatFeatureFlags2
type Output = FormatFeatureFlags2
type Output = FormatFeatureFlags2
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: FormatFeatureFlags2) -> FormatFeatureFlags2
fn bitxor(self, rhs: FormatFeatureFlags2) -> FormatFeatureFlags2
Performs the
^ operation. Read moresourceimpl BitXorAssign<FormatFeatureFlags2> for FormatFeatureFlags2
impl BitXorAssign<FormatFeatureFlags2> for FormatFeatureFlags2
sourcefn bitxor_assign(&mut self, rhs: FormatFeatureFlags2)
fn bitxor_assign(&mut self, rhs: FormatFeatureFlags2)
Performs the
^= operation. Read moresourceimpl Clone for FormatFeatureFlags2
impl Clone for FormatFeatureFlags2
sourcefn clone(&self) -> FormatFeatureFlags2
fn clone(&self) -> FormatFeatureFlags2
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for FormatFeatureFlags2
impl Debug for FormatFeatureFlags2
sourceimpl Default for FormatFeatureFlags2
impl Default for FormatFeatureFlags2
sourcefn default() -> FormatFeatureFlags2
fn default() -> FormatFeatureFlags2
Returns the “default value” for a type. Read more
sourceimpl Hash for FormatFeatureFlags2
impl Hash for FormatFeatureFlags2
sourceimpl Not for FormatFeatureFlags2
impl Not for FormatFeatureFlags2
type Output = FormatFeatureFlags2
type Output = FormatFeatureFlags2
The resulting type after applying the
! operator.sourcefn not(self) -> FormatFeatureFlags2
fn not(self) -> FormatFeatureFlags2
Performs the unary
! operation. Read moresourceimpl Ord for FormatFeatureFlags2
impl Ord for FormatFeatureFlags2
sourcefn cmp(&self, other: &FormatFeatureFlags2) -> Ordering
fn cmp(&self, other: &FormatFeatureFlags2) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<FormatFeatureFlags2> for FormatFeatureFlags2
impl PartialEq<FormatFeatureFlags2> for FormatFeatureFlags2
sourcefn eq(&self, other: &FormatFeatureFlags2) -> bool
fn eq(&self, other: &FormatFeatureFlags2) -> bool
sourceimpl PartialOrd<FormatFeatureFlags2> for FormatFeatureFlags2
impl PartialOrd<FormatFeatureFlags2> for FormatFeatureFlags2
sourcefn partial_cmp(&self, other: &FormatFeatureFlags2) -> Option<Ordering>
fn partial_cmp(&self, other: &FormatFeatureFlags2) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 moreimpl Copy for FormatFeatureFlags2
impl Eq for FormatFeatureFlags2
impl StructuralEq for FormatFeatureFlags2
impl StructuralPartialEq for FormatFeatureFlags2
Auto Trait Implementations
impl RefUnwindSafe for FormatFeatureFlags2
impl Send for FormatFeatureFlags2
impl Sync for FormatFeatureFlags2
impl Unpin for FormatFeatureFlags2
impl UnwindSafe for FormatFeatureFlags2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more