Struct screen_13::prelude::vk::GeometryTypeKHR
source · pub struct GeometryTypeKHR(_);Expand description
Implementations
sourceimpl GeometryTypeKHR
impl GeometryTypeKHR
pub const TRIANGLES: GeometryTypeKHR = Self(0)
pub const AABBS: GeometryTypeKHR = Self(1)
pub const INSTANCES: GeometryTypeKHR = Self(2)
sourceimpl GeometryTypeKHR
impl GeometryTypeKHR
Generated from ‘VK_NV_ray_tracing’
pub const TRIANGLES_NV: GeometryTypeKHR = Self::TRIANGLES
pub const AABBS_NV: GeometryTypeKHR = Self::AABBS
Trait Implementations
sourceimpl Clone for GeometryTypeKHR
impl Clone for GeometryTypeKHR
sourcefn clone(&self) -> GeometryTypeKHR
fn clone(&self) -> GeometryTypeKHR
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 GeometryTypeKHR
impl Debug for GeometryTypeKHR
sourceimpl Default for GeometryTypeKHR
impl Default for GeometryTypeKHR
sourcefn default() -> GeometryTypeKHR
fn default() -> GeometryTypeKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for GeometryTypeKHR
impl Hash for GeometryTypeKHR
sourceimpl Ord for GeometryTypeKHR
impl Ord for GeometryTypeKHR
sourcefn cmp(&self, other: &GeometryTypeKHR) -> Ordering
fn cmp(&self, other: &GeometryTypeKHR) -> 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<GeometryTypeKHR> for GeometryTypeKHR
impl PartialEq<GeometryTypeKHR> for GeometryTypeKHR
sourcefn eq(&self, other: &GeometryTypeKHR) -> bool
fn eq(&self, other: &GeometryTypeKHR) -> bool
sourceimpl PartialOrd<GeometryTypeKHR> for GeometryTypeKHR
impl PartialOrd<GeometryTypeKHR> for GeometryTypeKHR
sourcefn partial_cmp(&self, other: &GeometryTypeKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &GeometryTypeKHR) -> 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 GeometryTypeKHR
impl Eq for GeometryTypeKHR
impl StructuralEq for GeometryTypeKHR
impl StructuralPartialEq for GeometryTypeKHR
Auto Trait Implementations
impl RefUnwindSafe for GeometryTypeKHR
impl Send for GeometryTypeKHR
impl Sync for GeometryTypeKHR
impl Unpin for GeometryTypeKHR
impl UnwindSafe for GeometryTypeKHR
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