pub struct Rect {
pub top_left: Point<i32>,
pub width: u32,
pub height: u32,
pub color: PaletteIdx,
pub style: Style,
}
Fields§
§top_left: Point<i32>
§width: u32
§height: u32
§color: PaletteIdx
§style: Style
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Rect
impl Send for Rect
impl Sync for Rect
impl Unpin 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