Struct fermium::rect::SDL_FPoint
source · #[repr(C)]pub struct SDL_FPoint {
pub x: c_float,
pub y: c_float,
}
Expand description
The structure that defines a point (floating)
Fields§
§x: c_float
§y: c_float
Trait Implementations§
source§impl Clone for SDL_FPoint
impl Clone for SDL_FPoint
source§fn clone(&self) -> SDL_FPoint
fn clone(&self) -> SDL_FPoint
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 SDL_FPoint
impl Debug for SDL_FPoint
source§impl Default for SDL_FPoint
impl Default for SDL_FPoint
source§fn default() -> SDL_FPoint
fn default() -> SDL_FPoint
Returns the “default value” for a type. Read more
source§impl PartialEq<SDL_FPoint> for SDL_FPoint
impl PartialEq<SDL_FPoint> for SDL_FPoint
source§fn eq(&self, other: &SDL_FPoint) -> bool
fn eq(&self, other: &SDL_FPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<SDL_FPoint> for SDL_FPoint
impl PartialOrd<SDL_FPoint> for SDL_FPoint
source§fn partial_cmp(&self, other: &SDL_FPoint) -> Option<Ordering>
fn partial_cmp(&self, other: &SDL_FPoint) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for SDL_FPoint
impl StructuralPartialEq for SDL_FPoint
Auto Trait Implementations§
impl RefUnwindSafe for SDL_FPoint
impl Send for SDL_FPoint
impl Sync for SDL_FPoint
impl Unpin for SDL_FPoint
impl UnwindSafe for SDL_FPoint
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