Struct wayland_sys::cursor::wl_cursor_image
source · #[repr(C)]pub struct wl_cursor_image {
pub width: u32,
pub height: u32,
pub hotspot_x: u32,
pub hotspot_y: u32,
pub delay: u32,
}
Available on crate features
cursor
and client
only.Fields§
§width: u32
actual width
height: u32
actual height
hotspot_x: u32
hot spot x (must be inside image)
hotspot_y: u32
hot spot y (must be inside image)
delay: u32
animation delay to next frame
Auto Trait Implementations§
impl Freeze for wl_cursor_image
impl RefUnwindSafe for wl_cursor_image
impl Send for wl_cursor_image
impl Sync for wl_cursor_image
impl Unpin for wl_cursor_image
impl UnwindSafe for wl_cursor_image
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