pub struct Rect {
pub llx: f64,
pub lly: f64,
pub urx: f64,
pub ury: f64,
}Expand description
A rectangle [llx lly urx ury], normalized so llx <= urx and
lly <= ury.
Fields§
§llx: f64Lower-left x.
lly: f64Lower-left y.
urx: f64Upper-right x.
ury: f64Upper-right y.
Implementations§
Trait Implementations§
impl Copy for Rect
impl StructuralPartialEq for Rect
Auto Trait Implementations§
impl Freeze for Rect
impl RefUnwindSafe for Rect
impl Send for Rect
impl Sync for Rect
impl Unpin for Rect
impl UnsafeUnpin 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