Struct sdl2::mouse::Cursor[src]
pub struct Cursor { // some fields omitted }
pub struct Cursor { // some fields omitted }
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)
impl Drop for Cursor
fn drop(&mut self)
impl Eq for Cursor
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).