pub struct Block {
pub min: Point,
pub max: Point,
}Expand description
An axis-aligned rectangular obstacle [x0, x1] × [y0, y1].
Fields§
§min: PointThe lower-left corner.
max: PointThe upper-right corner.
Trait Implementations§
impl Copy for Block
impl StructuralPartialEq for Block
Auto Trait Implementations§
impl Forget for Block
impl Freeze for Block
impl Move for Block
impl RefUnwindSafe for Block
impl Send for Block
impl Sync for Block
impl Unpin for Block
impl UnsafeUnpin for Block
impl UnwindSafe for Block
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