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: 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)
impl Drop for Cursor
fn drop(&mut self)
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
, enum
,
trait
, typedef
(or
tdef
).
Search functions by type signature (e.g.
vec -> usize
)