Struct glyph_brush_layout::ab_glyph::Rect
source · pub struct Rect {
pub min: Point,
pub max: Point,
}
Expand description
A rectangle, with top-left corner at min
, and bottom-right corner at max
.
Fields§
§min: Point
§max: Point
Implementations§
Trait Implementations§
source§impl PartialEq for Rect
impl PartialEq for Rect
source§impl PartialOrd for Rect
impl PartialOrd for Rect
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 Rect
impl StructuralPartialEq for Rect
Auto Trait Implementations§
impl RefUnwindSafe for Rect
impl Send for Rect
impl Sync for Rect
impl Unpin for Rect
impl UnwindSafe for Rect
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