pub struct CssCursorFactory;Expand description
Creates CSS cursors.
Trait Implementations§
Source§impl Default for CssCursorFactory
impl Default for CssCursorFactory
Source§impl ICursorFactory for CssCursorFactory
impl ICursorFactory for CssCursorFactory
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>
§Panics
Panics when the bitmap cannot be encoded.
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.
Auto Trait Implementations§
impl Freeze for CssCursorFactory
impl RefUnwindSafe for CssCursorFactory
impl Send for CssCursorFactory
impl Sync for CssCursorFactory
impl Unpin for CssCursorFactory
impl UnsafeUnpin for CssCursorFactory
impl UnwindSafe for CssCursorFactory
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