#[repr(transparent)]pub struct SpvBuiltIn(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const Position: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PointSize: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ClipDistance: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CullDistance: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const VertexId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InstanceId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InvocationId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const Layer: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ViewportIndex: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const TessLevelOuter: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const TessLevelInner: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const TessCoord: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PatchVertices: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragCoord: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PointCoord: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FrontFacing: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SampleId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SamplePosition: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SampleMask: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragDepth: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const HelperInvocation: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const NumWorkgroups: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorkgroupSize: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorkgroupId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LocalInvocationId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const GlobalInvocationId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LocalInvocationIndex: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorkDim: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const GlobalSize: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const EnqueuedWorkgroupSize: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const GlobalOffset: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const GlobalLinearId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupSize: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupMaxSize: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const NumSubgroups: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const NumEnqueuedSubgroups: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLocalInvocationId: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const VertexIndex: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InstanceIndex: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupEqMask: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupEqMaskKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupGeMask: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupGeMaskKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupGtMask: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupGtMaskKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLeMask: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLeMaskKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLtMask: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SubgroupLtMaskKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaseVertex: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaseInstance: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const DrawIndex: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveShadingRateKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const DeviceIndex: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ViewIndex: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ShadingRateKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspAMD: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspCentroidAMD: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspSampleAMD: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordSmoothAMD: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordSmoothCentroidAMD: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordSmoothSampleAMD: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordPullModelAMD: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragStencilRefEXT: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ViewportMaskNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SecondaryPositionNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SecondaryViewportMaskNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PositionPerViewNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ViewportMaskPerViewNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FullyCoveredEXT: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const TaskCountNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveCountNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveIndicesNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ClipDistancePerViewNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CullDistancePerViewNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LayerPerViewNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const MeshViewCountNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const MeshViewIndicesNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const BaryCoordNoPerspNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragSizeEXT: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragmentSizeNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const FragInvocationCountEXT: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InvocationsPerPixelNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitivePointIndicesEXT: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveLineIndicesEXT: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const PrimitiveTriangleIndicesEXT: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CullPrimitiveEXT: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LaunchIdKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LaunchIdNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LaunchSizeKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const LaunchSizeNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldRayOriginKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldRayOriginNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldRayDirectionKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldRayDirectionNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectRayOriginKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectRayOriginNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectRayDirectionKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectRayDirectionNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayTminKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayTminNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayTmaxKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayTmaxNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InstanceCustomIndexKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const InstanceCustomIndexNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectToWorldKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const ObjectToWorldNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldToObjectKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WorldToObjectNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const HitTNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const HitKindKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const HitKindNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CurrentRayTimeNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const IncomingRayFlagsKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const IncomingRayFlagsNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const RayGeometryIndexKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WarpsPerSMNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SMCountNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const WarpIDNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const SMIDNV: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const CullMaskKHR: SpvBuiltIn
Source§impl SpvBuiltIn
impl SpvBuiltIn
pub const Max: SpvBuiltIn
Trait Implementations§
Source§impl Clone for SpvBuiltIn
impl Clone for SpvBuiltIn
Source§fn clone(&self) -> SpvBuiltIn
fn clone(&self) -> SpvBuiltIn
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpvBuiltIn
impl Debug for SpvBuiltIn
Source§impl FromPrimitive for SpvBuiltIn
impl FromPrimitive for SpvBuiltIn
Source§fn from_i64(n: i64) -> Option<Self>
fn from_i64(n: i64) -> Option<Self>
Converts an
i64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u64(n: u64) -> Option<Self>
fn from_u64(n: u64) -> Option<Self>
Converts an
u64 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_isize(n: isize) -> Option<Self>
fn from_isize(n: isize) -> Option<Self>
Converts an
isize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i8(n: i8) -> Option<Self>
fn from_i8(n: i8) -> Option<Self>
Converts an
i8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i16(n: i16) -> Option<Self>
fn from_i16(n: i16) -> Option<Self>
Converts an
i16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i32(n: i32) -> Option<Self>
fn from_i32(n: i32) -> Option<Self>
Converts an
i32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_i128(n: i128) -> Option<Self>
fn from_i128(n: i128) -> Option<Self>
Converts an
i128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§fn from_usize(n: usize) -> Option<Self>
fn from_usize(n: usize) -> Option<Self>
Converts a
usize to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u8(n: u8) -> Option<Self>
fn from_u8(n: u8) -> Option<Self>
Converts an
u8 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u16(n: u16) -> Option<Self>
fn from_u16(n: u16) -> Option<Self>
Converts an
u16 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u32(n: u32) -> Option<Self>
fn from_u32(n: u32) -> Option<Self>
Converts an
u32 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned.Source§fn from_u128(n: u128) -> Option<Self>
fn from_u128(n: u128) -> Option<Self>
Converts an
u128 to return an optional value of this type. If the
value cannot be represented by this type, then None is returned. Read moreSource§impl Hash for SpvBuiltIn
impl Hash for SpvBuiltIn
Source§impl PartialEq for SpvBuiltIn
impl PartialEq for SpvBuiltIn
Source§impl ToPrimitive for SpvBuiltIn
impl ToPrimitive for SpvBuiltIn
Source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self to an i64. If the value cannot be
represented by an i64, then None is returned.Source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self to a u64. If the value cannot be
represented by a u64, then None is returned.Source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self to an isize. If the value cannot be
represented by an isize, then None is returned.Source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self to an i8. If the value cannot be
represented by an i8, then None is returned.Source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self to an i16. If the value cannot be
represented by an i16, then None is returned.Source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self to an i32. If the value cannot be
represented by an i32, then None is returned.Source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self to an i128. If the value cannot be
represented by an i128 (i64 under the default implementation), then
None is returned. Read moreSource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self to a usize. If the value cannot be
represented by a usize, then None is returned.Source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self to a u8. If the value cannot be
represented by a u8, then None is returned.Source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self to a u16. If the value cannot be
represented by a u16, then None is returned.Source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
Converts the value of
self to a u32. If the value cannot be
represented by a u32, then None is returned.Source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
Converts the value of
self to a u128. If the value cannot be
represented by a u128 (u64 under the default implementation), then
None is returned. Read moreimpl Copy for SpvBuiltIn
impl Eq for SpvBuiltIn
impl StructuralPartialEq for SpvBuiltIn
Auto Trait Implementations§
impl Freeze for SpvBuiltIn
impl RefUnwindSafe for SpvBuiltIn
impl Send for SpvBuiltIn
impl Sync for SpvBuiltIn
impl Unpin for SpvBuiltIn
impl UnwindSafe for SpvBuiltIn
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more