pub struct CursorRect {
pub x: f32,
pub y: f32,
pub w: f32,
pub h: f32,
pub z: f32,
}
Fields§
§x: f32
§y: f32
§w: f32
§h: f32
§z: f32
Trait Implementations§
Source§impl Clone for CursorRect
impl Clone for CursorRect
Source§fn clone(&self) -> CursorRect
fn clone(&self) -> CursorRect
Returns a duplicate 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 moreimpl Copy for CursorRect
Auto Trait Implementations§
impl Freeze for CursorRect
impl RefUnwindSafe for CursorRect
impl Send for CursorRect
impl Sync for CursorRect
impl Unpin for CursorRect
impl UnwindSafe for CursorRect
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