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§
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>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".