pub fn frame_and_duration(&self, duration: u32) -> (usize, u32) {
        let mut out_duration = 0u32;
        let frame = unsafe {
            ffi_dispatch!(
                WAYLAND_CURSOR_HANDLE,
                wl_cursor_frame_and_duration,
                self.cursor,
                duration,
                &mut out_duration as *mut u32
            )
        } as usize;
        (frame, out_duration)
    }
/// Returns the frame number and its remaining duration.
///
/// Same as `frame()`, but also returns the amount of milliseconds this
/// frame should continue to be displayed.
Returns the frame number and its remaining duration.
Same as `frame()`, but also returns the amount of milliseconds this
frame should continue to be displayed.
Returns the frame number and its remaining duration . Same as ` frame () ` but also returns the amount of milliseconds this frame should continue to be displayed .
pub fn frame_and_duration(&self, duration: u32) -> (usize, u32) {
        let mut out_duration = 0u32;
        let frame = unsafe {
            ffi_dispatch!(
                WAYLAND_CURSOR_HANDLE,
                wl_cursor_frame_and_duration,
                self.cursor,
                duration,
                &mut out_duration as *mut u32
            )
        } as usize;
        (frame, out_duration)
    }
pub fn frame_and_duration ( & self , duration : u32 ) -> ( usize , u32 ) { let mut out_duration = 0u32 ; let frame = unsafe { ffi_dispatch ! ( WAYLAND_CURSOR_HANDLE wl_cursor_frame_and_duration self cursor duration mut out_duration as mut u32 ) } as usize ; ( frame , out_duration ) }
Returns the frame number and its remaining duration.
Returns the frame number and its remaining duration .
&self
duration
u32
&self
duration
u32