pub struct ScreenRect {
pub start: ScreenPoint,
pub offset: ScreenPoint,
}Expand description
A rectangle in screen space
Fields§
§start: ScreenPointThe upper left corner of the rectangle
offset: ScreenPointThe height and width of the rectangle
Auto Trait Implementations§
impl Freeze for ScreenRect
impl RefUnwindSafe for ScreenRect
impl Send for ScreenRect
impl Sync for ScreenRect
impl Unpin for ScreenRect
impl UnsafeUnpin for ScreenRect
impl UnwindSafe for ScreenRect
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