Struct screen_13::prelude::vk::GeometryFlagsKHR
source · pub struct GeometryFlagsKHR(/* private fields */);
Expand description
Implementations§
source§impl GeometryFlagsKHR
impl GeometryFlagsKHR
pub const fn empty() -> GeometryFlagsKHR
pub const fn from_raw(x: u32) -> GeometryFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: GeometryFlagsKHR) -> bool
sourcepub const fn contains(self, other: GeometryFlagsKHR) -> bool
pub const fn contains(self, other: GeometryFlagsKHR) -> bool
Returns whether other
is a subset of self
source§impl GeometryFlagsKHR
impl GeometryFlagsKHR
pub const OPAQUE: GeometryFlagsKHR = _
pub const NO_DUPLICATE_ANY_HIT_INVOCATION: GeometryFlagsKHR = _
source§impl GeometryFlagsKHR
impl GeometryFlagsKHR
Generated from ‘VK_NV_ray_tracing’
pub const OPAQUE_NV: GeometryFlagsKHR = Self::OPAQUE
pub const NO_DUPLICATE_ANY_HIT_INVOCATION_NV: GeometryFlagsKHR = Self::NO_DUPLICATE_ANY_HIT_INVOCATION
Trait Implementations§
source§impl BitAnd for GeometryFlagsKHR
impl BitAnd for GeometryFlagsKHR
§type Output = GeometryFlagsKHR
type Output = GeometryFlagsKHR
The resulting type after applying the
&
operator.source§fn bitand(self, rhs: GeometryFlagsKHR) -> GeometryFlagsKHR
fn bitand(self, rhs: GeometryFlagsKHR) -> GeometryFlagsKHR
Performs the
&
operation. Read moresource§impl BitAndAssign for GeometryFlagsKHR
impl BitAndAssign for GeometryFlagsKHR
source§fn bitand_assign(&mut self, rhs: GeometryFlagsKHR)
fn bitand_assign(&mut self, rhs: GeometryFlagsKHR)
Performs the
&=
operation. Read moresource§impl BitOr for GeometryFlagsKHR
impl BitOr for GeometryFlagsKHR
§type Output = GeometryFlagsKHR
type Output = GeometryFlagsKHR
The resulting type after applying the
|
operator.source§fn bitor(self, rhs: GeometryFlagsKHR) -> GeometryFlagsKHR
fn bitor(self, rhs: GeometryFlagsKHR) -> GeometryFlagsKHR
Performs the
|
operation. Read moresource§impl BitOrAssign for GeometryFlagsKHR
impl BitOrAssign for GeometryFlagsKHR
source§fn bitor_assign(&mut self, rhs: GeometryFlagsKHR)
fn bitor_assign(&mut self, rhs: GeometryFlagsKHR)
Performs the
|=
operation. Read moresource§impl BitXor for GeometryFlagsKHR
impl BitXor for GeometryFlagsKHR
§type Output = GeometryFlagsKHR
type Output = GeometryFlagsKHR
The resulting type after applying the
^
operator.source§fn bitxor(self, rhs: GeometryFlagsKHR) -> GeometryFlagsKHR
fn bitxor(self, rhs: GeometryFlagsKHR) -> GeometryFlagsKHR
Performs the
^
operation. Read moresource§impl BitXorAssign for GeometryFlagsKHR
impl BitXorAssign for GeometryFlagsKHR
source§fn bitxor_assign(&mut self, rhs: GeometryFlagsKHR)
fn bitxor_assign(&mut self, rhs: GeometryFlagsKHR)
Performs the
^=
operation. Read moresource§impl Clone for GeometryFlagsKHR
impl Clone for GeometryFlagsKHR
source§fn clone(&self) -> GeometryFlagsKHR
fn clone(&self) -> GeometryFlagsKHR
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 GeometryFlagsKHR
impl Debug for GeometryFlagsKHR
source§impl Default for GeometryFlagsKHR
impl Default for GeometryFlagsKHR
source§fn default() -> GeometryFlagsKHR
fn default() -> GeometryFlagsKHR
Returns the “default value” for a type. Read more
source§impl Hash for GeometryFlagsKHR
impl Hash for GeometryFlagsKHR
source§impl Not for GeometryFlagsKHR
impl Not for GeometryFlagsKHR
§type Output = GeometryFlagsKHR
type Output = GeometryFlagsKHR
The resulting type after applying the
!
operator.source§fn not(self) -> GeometryFlagsKHR
fn not(self) -> GeometryFlagsKHR
Performs the unary
!
operation. Read moresource§impl Ord for GeometryFlagsKHR
impl Ord for GeometryFlagsKHR
source§fn cmp(&self, other: &GeometryFlagsKHR) -> Ordering
fn cmp(&self, other: &GeometryFlagsKHR) -> 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 GeometryFlagsKHR
impl PartialEq for GeometryFlagsKHR
source§fn eq(&self, other: &GeometryFlagsKHR) -> bool
fn eq(&self, other: &GeometryFlagsKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GeometryFlagsKHR
impl PartialOrd for GeometryFlagsKHR
source§fn partial_cmp(&self, other: &GeometryFlagsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &GeometryFlagsKHR) -> 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 GeometryFlagsKHR
impl Eq for GeometryFlagsKHR
impl StructuralPartialEq for GeometryFlagsKHR
Auto Trait Implementations§
impl RefUnwindSafe for GeometryFlagsKHR
impl Send for GeometryFlagsKHR
impl Sync for GeometryFlagsKHR
impl Unpin for GeometryFlagsKHR
impl UnwindSafe for GeometryFlagsKHR
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.