pub struct CursorFactory;Expand description
The cursor factory of a platform that shows no cursor of the application: every cursor is the same empty cursor.
Trait Implementations§
Source§impl Default for CursorFactory
impl Default for CursorFactory
Source§impl ICursorFactory for CursorFactory
impl ICursorFactory for CursorFactory
Source§fn get_cursor(&self, _cursor_type: StandardCursorType) -> Rc<dyn ICursorImpl>
fn get_cursor(&self, _cursor_type: StandardCursorType) -> Rc<dyn ICursorImpl>
Gets the platform cursor for a standard cursor type.
Source§fn create_cursor(
&self,
_cursor: &Bitmap,
_hot_spot: PixelPoint,
) -> Rc<dyn ICursorImpl>
fn create_cursor( &self, _cursor: &Bitmap, _hot_spot: PixelPoint, ) -> Rc<dyn ICursorImpl>
Creates a platform cursor from a bitmap.
hot_spot is the position
within the bitmap that is the position of the pointer. Read moreAuto Trait Implementations§
impl Freeze for CursorFactory
impl RefUnwindSafe for CursorFactory
impl Send for CursorFactory
impl Sync for CursorFactory
impl Unpin for CursorFactory
impl UnsafeUnpin for CursorFactory
impl UnwindSafe for CursorFactory
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more