#[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).
Fields§
§x: f32
§y: f32
§w: f32
§h: f32
Trait Implementations§
source§impl PartialEq<SDL_FRect> for SDL_FRect
impl PartialEq<SDL_FRect> for SDL_FRect
source§impl PartialOrd<SDL_FRect> for SDL_FRect
impl PartialOrd<SDL_FRect> for SDL_FRect
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_FRect
impl StructuralPartialEq for SDL_FRect
Auto Trait Implementations§
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