Struct druid_shell::CursorDesc [−][src]
pub struct CursorDesc { /* fields omitted */ }
Expand description
A platform-independent description of a custom cursor.
Implementations
Creates a new CursorDesc
.
hot
is the “hot spot” of the cursor, measured in terms of the pixels in image
with
(0, 0)
at the top left. The hot spot is the logical position of the mouse cursor within
the image. For example, if the image is a picture of a arrow, the hot spot might be the
coordinates of the arrow’s tip.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CursorDesc
impl Send for CursorDesc
impl Sync for CursorDesc
impl Unpin for CursorDesc
impl UnwindSafe for CursorDesc
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn round_from(x: T) -> T
pub fn round_from(x: T) -> T
Performs the conversion.
pub fn round_into(self) -> U
pub fn round_into(self) -> U
Performs the conversion.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more