Skip to main content

IFrnCursorFactoryImpl

Trait IFrnCursorFactoryImpl 

Source
pub trait IFrnCursorFactoryImpl: IUnknownImpl {
    // Required methods
    fn get_cursor(
        &self,
        cursor_type: FrnStandardCursorType,
    ) -> Result<Option<ComPtr<IFrnCursor>>, HResult>;
    fn create_custom_cursor(
        &self,
        bitmap_data: *mut c_void,
        length: usize,
        hot_pixel: FrnPixelSize,
    ) -> Result<Option<ComPtr<IFrnCursor>>, HResult>;
}
Expand description

Implement this to provide IFrnCursorFactory to native code (see IFrnCursorFactory::from_impl).

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T: IFrnCursorFactoryImpl + ?Sized> IFrnCursorFactoryImpl for Box<T>

Source§

impl<T: IFrnCursorFactoryImpl + ?Sized> IFrnCursorFactoryImpl for Rc<T>

Implementors§