pub struct Cursor { /* private fields */ }Implementations§
source§impl Cursor
impl Cursor
pub fn new( data: &[u8], mask: &[u8], width: i32, height: i32, hot_x: i32, hot_y: i32 ) -> Result<Cursor, String>
pub fn from_surface<S: AsRef<SurfaceRef>>( surface: S, hot_x: i32, hot_y: i32 ) -> Result<Cursor, String>
pub fn from_system(cursor: SystemCursor) -> Result<Cursor, String>
pub fn set(&self)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Cursor
impl !Send for Cursor
impl !Sync for Cursor
impl Unpin for Cursor
impl UnwindSafe for Cursor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more