pub struct Bounds<T> {
pub x: Range<T>,
pub y: Range<T>,
}
Expand description
A rectangular region in a 2D vector space over a generic field.
Fields§
§x: Range<T>
Boundary of this region in the x-dimension.
y: Range<T>
Boundary of this region in the y-dimension.
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Bounds<T>where
T: Freeze,
impl<T> RefUnwindSafe for Bounds<T>where
T: RefUnwindSafe,
impl<T> Send for Bounds<T>where
T: Send,
impl<T> Sync for Bounds<T>where
T: Sync,
impl<T> Unpin for Bounds<T>where
T: Unpin,
impl<T> UnwindSafe for Bounds<T>where
T: UnwindSafe,
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