Struct sdl::mouse::Cursor
[−]
[src]
pub struct Cursor { pub raw: *mut SDL_Cursor, pub owned: bool, }
Fields
raw: *mut SDL_Cursor
owned: bool
Methods
impl Cursor
[src]
fn new(
data: &[u8],
mask: &[u8],
w: isize,
h: isize,
hot_x: isize,
hot_y: isize
) -> Result<Cursor, String>
data: &[u8],
mask: &[u8],
w: isize,
h: isize,
hot_x: isize,
hot_y: isize
) -> Result<Cursor, String>
Trait Implementations
impl PartialEq for Cursor
[src]
fn eq(&self, __arg_0: &Cursor) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Cursor) -> bool
This method tests for !=
.