Struct wayland_cursor::Cursor [−][src]
pub struct Cursor { /* fields omitted */ }
Expand description
A cursor from a theme. Can contain several images if animated.
Implementations
Given a time, calculate which frame to show, and how much time remains until the next frame.
Time will wrap, so if for instance the cursor has an animation during 100ms, then calling this function with 5ms and 105ms as input gives the same output.
Total number of images forming this cursor animation
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Cursor
impl !UnwindSafe for Cursor
Blanket Implementations
Mutably borrows from an owned value. Read more