Skip to main content

cursor_style_methods

Macro cursor_style_methods 

Source
cursor_style_methods!() { /* proc-macro */ }
Expand description

Generates the cursor methods for Styled, such as cursor_pointer.

Call it in the body of the Styled trait. The optional { visibility: pub } argument sets the visibility of the generated methods.