Struct sdl2_sys::SDL_FPoint
source · #[repr(C)]pub struct SDL_FPoint {
pub x: f32,
pub y: f32,
}
Expand description
The structure that defines a point (floating point)
\sa SDL_EncloseFPoints \sa SDL_PointInFRect
Fields§
§x: f32
§y: f32
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 moreimpl Copy for SDL_FPoint
Auto Trait Implementations§
impl Freeze for SDL_FPoint
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