#[repr(C)]pub struct SDL_FRect {
pub x: f32,
pub y: f32,
pub w: f32,
pub h: f32,
}
Expand description
A rectangle, with the origin at the upper left (floating point).
\sa SDL_FRectEmpty \sa SDL_FRectEquals \sa SDL_FRectEqualsEpsilon \sa SDL_HasIntersectionF \sa SDL_IntersectFRect \sa SDL_IntersectFRectAndLine \sa SDL_UnionFRect \sa SDL_EncloseFPoints \sa SDL_PointInFRect
Fields§
§x: f32
§y: f32
§w: f32
§h: f32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SDL_FRect
impl RefUnwindSafe for SDL_FRect
impl Send for SDL_FRect
impl Sync for SDL_FRect
impl Unpin for SDL_FRect
impl UnwindSafe for SDL_FRect
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