pub enum RayFail {
NoHit,
Parallel,
}
Expand description
Raycast failure states.
Variants§
NoHit
Did not hit any colliders.
Universal
Parallel
Ray and Barrier are parallel; cannot collide.
Exclusive to isolated checks -> cast
Auto Trait Implementations§
impl Freeze for RayFail
impl RefUnwindSafe for RayFail
impl Send for RayFail
impl Sync for RayFail
impl Unpin for RayFail
impl UnwindSafe for RayFail
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