Struct wwind::RectRegion
source · pub struct RectRegion {
pub x: u16,
pub y: u16,
pub width: u16,
pub height: u16,
}
Fields§
§x: u16
§y: u16
§width: u16
§height: u16
Implementations§
source§impl RectRegion
impl RectRegion
pub fn get_bottom_y(&self) -> u16
pub fn get_right_x(&self) -> u16
Trait Implementations§
source§impl Clone for RectRegion
impl Clone for RectRegion
source§fn clone(&self) -> RectRegion
fn clone(&self) -> RectRegion
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RectRegion
impl Debug for RectRegion
impl Copy for RectRegion
Auto Trait Implementations§
impl RefUnwindSafe for RectRegion
impl Send for RectRegion
impl Sync for RectRegion
impl Unpin for RectRegion
impl UnwindSafe for RectRegion
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