Struct crankstart_sys::CollisionPoint
source · #[repr(C)]pub struct CollisionPoint {
pub x: f32,
pub y: f32,
}
Fields§
§x: f32
§y: f32
Trait Implementations§
source§impl Clone for CollisionPoint
impl Clone for CollisionPoint
source§fn clone(&self) -> CollisionPoint
fn clone(&self) -> CollisionPoint
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 moresource§impl Debug for CollisionPoint
impl Debug for CollisionPoint
source§impl Default for CollisionPoint
impl Default for CollisionPoint
source§fn default() -> CollisionPoint
fn default() -> CollisionPoint
Returns the “default value” for a type. Read more
source§impl PartialEq<CollisionPoint> for CollisionPoint
impl PartialEq<CollisionPoint> for CollisionPoint
source§fn eq(&self, other: &CollisionPoint) -> bool
fn eq(&self, other: &CollisionPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CollisionPoint
impl StructuralPartialEq for CollisionPoint
Auto Trait Implementations§
impl RefUnwindSafe for CollisionPoint
impl Send for CollisionPoint
impl Sync for CollisionPoint
impl Unpin for CollisionPoint
impl UnwindSafe for CollisionPoint
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