#[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 more