Struct erupt::vk1_0::ShaderStageFlagBits
source · #[repr(transparent)]pub struct ShaderStageFlagBits(pub u32);
Expand description
Vulkan Manual Page · Bits enum of ShaderStageFlags
Tuple Fields
0: u32
Implementations
sourceimpl ShaderStageFlagBits
impl ShaderStageFlagBits
Provided by crate::extensions::huawei_subpass_shading
pub const SUBPASS_SHADING_HUAWEI: Self = _
sourceimpl ShaderStageFlagBits
impl ShaderStageFlagBits
Provided by crate::extensions::khr_ray_tracing_pipeline
pub const RAYGEN_KHR: Self = _
pub const ANY_HIT_KHR: Self = _
pub const CLOSEST_HIT_KHR: Self = _
pub const MISS_KHR: Self = _
pub const INTERSECTION_KHR: Self = _
pub const CALLABLE_KHR: Self = _
sourceimpl ShaderStageFlagBits
impl ShaderStageFlagBits
Provided by crate::extensions::nv_mesh_shader
sourceimpl ShaderStageFlagBits
impl ShaderStageFlagBits
Provided by crate::extensions::nv_ray_tracing
pub const RAYGEN_NV: Self = Self::RAYGEN_KHR
pub const ANY_HIT_NV: Self = Self::ANY_HIT_KHR
pub const CLOSEST_HIT_NV: Self = Self::CLOSEST_HIT_KHR
pub const MISS_NV: Self = Self::MISS_KHR
pub const INTERSECTION_NV: Self = Self::INTERSECTION_KHR
pub const CALLABLE_NV: Self = Self::CALLABLE_KHR
sourceimpl ShaderStageFlagBits
impl ShaderStageFlagBits
sourcepub const fn bitmask(&self) -> ShaderStageFlags
pub const fn bitmask(&self) -> ShaderStageFlags
Converts this enum variant to the corresponding bitmask
sourceimpl ShaderStageFlagBits
impl ShaderStageFlagBits
Provided by crate::vk1_0
Trait Implementations
sourceimpl Clone for ShaderStageFlagBits
impl Clone for ShaderStageFlagBits
sourcefn clone(&self) -> ShaderStageFlagBits
fn clone(&self) -> ShaderStageFlagBits
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 moresourceimpl Debug for ShaderStageFlagBits
impl Debug for ShaderStageFlagBits
sourceimpl Default for ShaderStageFlagBits
impl Default for ShaderStageFlagBits
sourcefn default() -> ShaderStageFlagBits
fn default() -> ShaderStageFlagBits
Returns the “default value” for a type. Read more
sourceimpl Hash for ShaderStageFlagBits
impl Hash for ShaderStageFlagBits
sourceimpl Ord for ShaderStageFlagBits
impl Ord for ShaderStageFlagBits
sourcefn cmp(&self, other: &ShaderStageFlagBits) -> Ordering
fn cmp(&self, other: &ShaderStageFlagBits) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ShaderStageFlagBits> for ShaderStageFlagBits
impl PartialEq<ShaderStageFlagBits> for ShaderStageFlagBits
sourcefn eq(&self, other: &ShaderStageFlagBits) -> bool
fn eq(&self, other: &ShaderStageFlagBits) -> bool
sourceimpl PartialOrd<ShaderStageFlagBits> for ShaderStageFlagBits
impl PartialOrd<ShaderStageFlagBits> for ShaderStageFlagBits
sourcefn partial_cmp(&self, other: &ShaderStageFlagBits) -> Option<Ordering>
fn partial_cmp(&self, other: &ShaderStageFlagBits) -> Option<Ordering>
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 moreimpl Copy for ShaderStageFlagBits
impl Eq for ShaderStageFlagBits
impl StructuralEq for ShaderStageFlagBits
impl StructuralPartialEq for ShaderStageFlagBits
Auto Trait Implementations
impl RefUnwindSafe for ShaderStageFlagBits
impl Send for ShaderStageFlagBits
impl Sync for ShaderStageFlagBits
impl Unpin for ShaderStageFlagBits
impl UnwindSafe for ShaderStageFlagBits
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