Struct wrapped2d::collision::RayCastInput
source · #[repr(C)]pub struct RayCastInput {
pub p1: Vec2,
pub p2: Vec2,
pub max_fraction: f32,
}
Fields§
§p1: Vec2
§p2: Vec2
§max_fraction: f32
Trait Implementations§
source§impl Clone for RayCastInput
impl Clone for RayCastInput
source§fn clone(&self) -> RayCastInput
fn clone(&self) -> RayCastInput
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 moreAuto Trait Implementations§
impl RefUnwindSafe for RayCastInput
impl Send for RayCastInput
impl Sync for RayCastInput
impl Unpin for RayCastInput
impl UnwindSafe for RayCastInput
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