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