Struct sdl2::mouse::Cursor[src]

pub struct Cursor {
    // some fields omitted
}

Methods

impl Cursor

fn new(data: &[u8], mask: &[u8], width: int, height: int, hot_x: int, hot_y: int) -> Result<Cursor, ~str>

fn from_surface(surface: Surface, hot_x: int, hot_y: int) -> Result<Cursor, ~str>

fn from_system(cursor: SystemCursor) -> Result<Cursor, ~str>

fn set(&self)

Trait Implementations

impl Drop for Cursor

fn drop(&mut self)

Derived Implementations

impl Eq for Cursor

fn eq(&self, __arg_0: &Cursor) -> bool

fn ne(&self, __arg_0: &Cursor) -> bool