Struct sdl2::mouse::Cursor
[−]
[src]
pub struct Cursor { /* fields omitted */ }Methods
impl Cursor[src]
fn new(data: &[u8],
mask: &[u8],
width: i32,
height: i32,
hot_x: i32,
hot_y: i32)
-> Result<Cursor, String>
mask: &[u8],
width: i32,
height: i32,
hot_x: i32,
hot_y: i32)
-> Result<Cursor, String>
fn from_surface<S: AsRef<SurfaceRef>>(surface: S,
hot_x: i32,
hot_y: i32)
-> Result<Cursor, String>
hot_x: i32,
hot_y: i32)
-> Result<Cursor, String>