Struct softbuffer::Rect
source · pub struct Rect {
pub x: u32,
pub y: u32,
pub width: NonZeroU32,
pub height: NonZeroU32,
}
Expand description
A rectangular region of the buffer coordinate space.
Fields§
§x: u32
x coordinate of top left corner
y: u32
y coordinate of top left corner
width: NonZeroU32
width
height: NonZeroU32
height
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rect
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