#[repr(C)]pub struct b3RayCastInput {
pub origin: b3Vec3,
pub translation: b3Vec3,
pub maxFraction: f32,
}Expand description
Low level ray cast input data.
Fields§
§origin: b3Vec3Start point of the ray cast.
translation: b3Vec3Translation of the ray cast. end = start + translation.
maxFraction: f32The maximum fraction of the translation to consider, typically 1
Trait Implementations§
Source§impl Clone for b3RayCastInput
impl Clone for b3RayCastInput
Source§fn clone(&self) -> b3RayCastInput
fn clone(&self) -> b3RayCastInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for b3RayCastInput
Auto Trait Implementations§
impl Freeze for b3RayCastInput
impl RefUnwindSafe for b3RayCastInput
impl Send for b3RayCastInput
impl Sync for b3RayCastInput
impl Unpin for b3RayCastInput
impl UnsafeUnpin for b3RayCastInput
impl UnwindSafe for b3RayCastInput
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