Struct webgl2_glyph::glyph_brush::Rectangle [−]
Expand description
A rectangle, with top-left corner at min, and bottom-right corner at max.
Fields
min: [N; 2]
max: [N; 2]
Implementations
Trait Implementations
impl<N> PartialOrd<Rectangle<N>> for Rectangle<N> where
N: PartialOrd<N>,
impl<N> PartialOrd<Rectangle<N>> for Rectangle<N> where
N: PartialOrd<N>,
pub fn partial_cmp(&self, other: &Rectangle<N>) -> Option<Ordering>
pub fn partial_cmp(&self, other: &Rectangle<N>) -> 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<N> StructuralEq for Rectangle<N>
impl<N> StructuralPartialEq for Rectangle<N>
Auto Trait Implementations
impl<N> RefUnwindSafe for Rectangle<N> where
N: RefUnwindSafe,
impl<N> UnwindSafe for Rectangle<N> where
N: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more