#[repr(u32)]pub enum CandidateIntersection {
Triangle = 0,
AABB = 1,
}
Expand description
Describes the type of the intersection which is currently the candidate in a ray query,
returned by RayQuery::get_candidate_intersection_type
.
Variants§
Triangle = 0
A potential intersection with a triangle is being considered.
AABB = 1
A potential intersection with an axis-aligned bounding box is being considered.
Trait Implementations§
Source§impl Clone for CandidateIntersection
impl Clone for CandidateIntersection
Source§fn clone(&self) -> CandidateIntersection
fn clone(&self) -> CandidateIntersection
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 Hash for CandidateIntersection
impl Hash for CandidateIntersection
Source§impl Ord for CandidateIntersection
impl Ord for CandidateIntersection
Source§fn cmp(&self, other: &CandidateIntersection) -> Ordering
fn cmp(&self, other: &CandidateIntersection) -> 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 CandidateIntersection
impl PartialEq for CandidateIntersection
Source§impl PartialOrd for CandidateIntersection
impl PartialOrd for CandidateIntersection
impl Copy for CandidateIntersection
impl Eq for CandidateIntersection
impl StructuralPartialEq for CandidateIntersection
Auto Trait Implementations§
impl Freeze for CandidateIntersection
impl RefUnwindSafe for CandidateIntersection
impl Send for CandidateIntersection
impl Sync for CandidateIntersection
impl Unpin for CandidateIntersection
impl UnwindSafe for CandidateIntersection
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