pub struct Rectangle {
pub location: Point,
pub height: usize,
pub width: usize,
pub pixels: Vec<Vec<Pixel>>,
}
Fields§
§location: Point
§height: usize
§width: usize
§pixels: Vec<Vec<Pixel>>
Auto Trait Implementations§
impl Freeze for Rectangle
impl RefUnwindSafe for Rectangle
impl Send for Rectangle
impl Sync for Rectangle
impl Unpin for Rectangle
impl UnwindSafe for Rectangle
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