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