Struct sdl2::mouse::Cursor [] [src]

pub struct Cursor {
    // some fields omitted
}

Methods

impl Cursor
[src]

fn new(data: &[u8], mask: &[u8], width: i32, height: i32, hot_x: i32, hot_y: i32) -> SdlResult<Cursor>

fn from_surface<S: AsRef<SurfaceRef>>(surface: S, hot_x: i32, hot_y: i32) -> SdlResult<Cursor>

fn from_system(cursor: SystemCursor) -> SdlResult<Cursor>

fn set(&self)

Trait Implementations

impl Drop for Cursor
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more