Struct ash::vk::enums::AccelerationStructureTypeKHR
source · #[repr(transparent)]pub struct AccelerationStructureTypeKHR(pub(crate) i32);
Expand description
Tuple Fields§
§0: i32
Implementations§
source§impl AccelerationStructureTypeKHR
impl AccelerationStructureTypeKHR
Generated from ‘VK_NV_ray_tracing’
pub const TOP_LEVEL_NV: Self = Self::TOP_LEVEL
pub const BOTTOM_LEVEL_NV: Self = Self::BOTTOM_LEVEL
Trait Implementations§
source§impl Clone for AccelerationStructureTypeKHR
impl Clone for AccelerationStructureTypeKHR
source§fn clone(&self) -> AccelerationStructureTypeKHR
fn clone(&self) -> AccelerationStructureTypeKHR
Returns a copy 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 AccelerationStructureTypeKHR
impl Debug for AccelerationStructureTypeKHR
source§impl Default for AccelerationStructureTypeKHR
impl Default for AccelerationStructureTypeKHR
source§fn default() -> AccelerationStructureTypeKHR
fn default() -> AccelerationStructureTypeKHR
Returns the “default value” for a type. Read more
source§impl Hash for AccelerationStructureTypeKHR
impl Hash for AccelerationStructureTypeKHR
source§impl Ord for AccelerationStructureTypeKHR
impl Ord for AccelerationStructureTypeKHR
source§fn cmp(&self, other: &AccelerationStructureTypeKHR) -> Ordering
fn cmp(&self, other: &AccelerationStructureTypeKHR) -> Ordering
1.21.0 · source§fn 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
source§impl PartialEq for AccelerationStructureTypeKHR
impl PartialEq for AccelerationStructureTypeKHR
source§fn eq(&self, other: &AccelerationStructureTypeKHR) -> bool
fn eq(&self, other: &AccelerationStructureTypeKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for AccelerationStructureTypeKHR
impl PartialOrd for AccelerationStructureTypeKHR
source§fn partial_cmp(&self, other: &AccelerationStructureTypeKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &AccelerationStructureTypeKHR) -> Option<Ordering>
1.0.0 · source§fn 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 AccelerationStructureTypeKHR
impl Eq for AccelerationStructureTypeKHR
impl StructuralPartialEq for AccelerationStructureTypeKHR
Auto Trait Implementations§
impl Freeze for AccelerationStructureTypeKHR
impl RefUnwindSafe for AccelerationStructureTypeKHR
impl Send for AccelerationStructureTypeKHR
impl Sync for AccelerationStructureTypeKHR
impl Unpin for AccelerationStructureTypeKHR
impl UnwindSafe for AccelerationStructureTypeKHR
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