Struct playdate_sys::ffi::CollisionPoint
source · #[repr(C)]pub struct CollisionPoint {
pub x: c_float,
pub y: c_float,
}
Fields§
§x: c_float
§y: c_float
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§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 for CollisionPoint
impl PartialEq 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 ==
.source§impl PartialOrd for CollisionPoint
impl PartialOrd for CollisionPoint
impl Copy for CollisionPoint
impl StructuralPartialEq for CollisionPoint
Auto Trait Implementations§
impl Freeze for CollisionPoint
impl RefUnwindSafe for CollisionPoint
impl Send for CollisionPoint
impl Sync for CollisionPoint
impl Unpin for CollisionPoint
impl UnwindSafe for CollisionPoint
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