pub struct Cursor {
pub sprite_sheet: Option<String>,
pub hotspot: [i32; 2],
}Expand description
A mouse pointer: the sprite sheet whose image is the pointer, and its hot spot.
Original: UI::Cursor::Serialize, Runtime 0x1800cf980 (version 1).
Fields§
§sprite_sheet: Option<String>The sprite sheet whose image is the pointer.
hotspot: [i32; 2]The point of the image that is the pointer’s position, in pixels.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cursor
impl RefUnwindSafe for Cursor
impl Send for Cursor
impl Sync for Cursor
impl Unpin for Cursor
impl UnsafeUnpin for Cursor
impl UnwindSafe for Cursor
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