Enum style_traits::cursor::Cursor [] [src]

#[repr(u8)]
pub enum Cursor { None, Default, Pointer, ContextMenu, Help, Progress, Wait, Cell, Crosshair, Text, VerticalText, Alias, Copy, Move, NoDrop, NotAllowed, Grab, Grabbing, EResize, NResize, NeResize, NwResize, SResize, SeResize, SwResize, WResize, EwResize, NsResize, NeswResize, NwseResize, ColResize, RowResize, AllScroll, ZoomIn, ZoomOut, }

https://drafts.csswg.org/css-ui/#cursor

Variants

Methods

impl Cursor
[src]

[src]

Given a CSS keyword, get the corresponding cursor enum.

[src]

From the C u8 value, get the corresponding Cursor enum.

Trait Implementations

impl Clone for Cursor
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for Cursor
[src]

impl Debug for Cursor
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Cursor
[src]

impl MallocSizeOf for Cursor
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more

impl PartialEq for Cursor
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl ToCss for Cursor
[src]

[src]

Serialize self in CSS syntax, writing to dest.

[src]

Serialize self in CSS syntax and return a string. Read more