#[repr(C)]pub struct b2RayCastInput {
pub origin: b2Vec2,
pub translation: b2Vec2,
pub maxFraction: f32,
}Expand description
Low level ray cast input data
Fields§
§origin: b2Vec2Start point of the ray cast
translation: b2Vec2Translation of the ray cast
maxFraction: f32The maximum fraction of the translation to consider, typically 1
Trait Implementations§
Source§impl Clone for b2RayCastInput
impl Clone for b2RayCastInput
Source§fn clone(&self) -> b2RayCastInput
fn clone(&self) -> b2RayCastInput
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for b2RayCastInput
impl Debug for b2RayCastInput
impl Copy for b2RayCastInput
Auto Trait Implementations§
impl Freeze for b2RayCastInput
impl RefUnwindSafe for b2RayCastInput
impl Send for b2RayCastInput
impl Sync for b2RayCastInput
impl Unpin for b2RayCastInput
impl UnwindSafe for b2RayCastInput
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)