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