Struct makepad_vector::geometry::Rectangle
source · [−]Expand description
An axis-aligned rectangle in 2-dimensional Euclidian space.
Fields
p_min: Point
p_max: Point
Implementations
Trait Implementations
sourceimpl Transform for Rectangle
impl Transform for Rectangle
fn transform<T>(self, t: &T) -> Rectanglewhere
T: Transformation,
fn transform_mut<T>(&mut self, t: &T)where
T: Transformation,
impl Copy for Rectangle
impl StructuralPartialEq for Rectangle
Auto Trait Implementations
impl RefUnwindSafe for Rectangle
impl Send for Rectangle
impl Sync for Rectangle
impl Unpin for Rectangle
impl UnwindSafe for Rectangle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more