Struct ttf_parser::RectF
source · pub struct RectF {
pub x_min: f32,
pub y_min: f32,
pub x_max: f32,
pub y_max: f32,
}
Expand description
A rectangle described by the left-lower and upper-right points.
Fields§
§x_min: f32
The horizontal minimum of the rect.
y_min: f32
The vertical minimum of the rect.
x_max: f32
The horizontal maximum of the rect.
y_max: f32
The vertical maximum of the rect.
Implementations§
Trait Implementations§
source§impl PartialEq for RectF
impl PartialEq for RectF
impl Copy for RectF
impl StructuralPartialEq for RectF
Auto Trait Implementations§
impl Freeze for RectF
impl RefUnwindSafe for RectF
impl Send for RectF
impl Sync for RectF
impl Unpin for RectF
impl UnwindSafe for RectF
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