Struct playdate_sys::ffi::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§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 Hash for CollisionVector
impl Hash for CollisionVector
source§impl Ord for CollisionVector
impl Ord for CollisionVector
source§impl PartialEq for CollisionVector
impl PartialEq 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 ==
.source§impl PartialOrd for CollisionVector
impl PartialOrd for CollisionVector
impl Copy for CollisionVector
impl Eq for CollisionVector
impl StructuralPartialEq for CollisionVector
Auto Trait Implementations§
impl Freeze for CollisionVector
impl RefUnwindSafe for CollisionVector
impl Send for CollisionVector
impl Sync for CollisionVector
impl Unpin for CollisionVector
impl UnwindSafe for CollisionVector
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§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, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T> ToOwned for Twhere
T: Clone,
impl<T> ToOwned for Twhere
T: Clone,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes