Struct webgl2_glyph::glyph_brush::ab_glyph::Rect [−]
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
impl PartialOrd<Rect> for Rect
impl PartialOrd<Rect> for Rect
pub fn partial_cmp(&self, other: &Rect) -> Option<Ordering>
pub fn partial_cmp(&self, other: &Rect) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl StructuralPartialEq for Rect
Auto Trait Implementations
impl RefUnwindSafe for Rect
impl UnwindSafe for Rect
Blanket Implementations
Mutably borrows from an owned value. Read more