#[repr(C)]pub struct ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV {
pub _bitfield_1: u32,
}Expand description
Native structure VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV.
Khronos reference: VkClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
Fields§
§_bitfield_1: u32Implementations§
Source§impl ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
Sourcepub const fn geometry_index(&self) -> u32
pub const fn geometry_index(&self) -> u32
Read native bitfield geometryIndex.
Sourcepub fn set_geometry_index(&mut self, value: u32)
pub fn set_geometry_index(&mut self, value: u32)
Set native bitfield geometryIndex, retaining its low 24 bits.
Sourcepub fn set_reserved(&mut self, value: u32)
pub fn set_reserved(&mut self, value: u32)
Set native bitfield reserved, retaining its low 5 bits.
Sourcepub const fn geometry_flags(&self) -> u32
pub const fn geometry_flags(&self) -> u32
Read native bitfield geometryFlags.
Sourcepub fn set_geometry_flags(&mut self, value: u32)
pub fn set_geometry_flags(&mut self, value: u32)
Set native bitfield geometryFlags, retaining its low 3 bits.
Trait Implementations§
impl Copy for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
Auto Trait Implementations§
impl Forget for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl Freeze for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl Move for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl RefUnwindSafe for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl Send for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl Sync for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl Unpin for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl UnsafeUnpin for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
impl UnwindSafe for ClusterAccelerationStructureGeometryIndexAndGeometryFlagsNV
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