pub struct IFrnCursorFactory { /* private fields */ }Implementations§
Source§impl IFrnCursorFactory
impl IFrnCursorFactory
Sourcepub fn from_impl<T: IFrnCursorFactoryImpl + 'static>(
value: T,
) -> ComPtr<IFrnCursorFactory>
pub fn from_impl<T: IFrnCursorFactoryImpl + 'static>( value: T, ) -> ComPtr<IFrnCursorFactory>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn get_cursor(
&self,
cursor_type: FrnStandardCursorType,
) -> Result<Option<ComPtr<IFrnCursor>>, HResult>
pub fn get_cursor( &self, cursor_type: FrnStandardCursorType, ) -> Result<Option<ComPtr<IFrnCursor>>, HResult>
IFrnCursorFactory::GetCursor
Sourcepub unsafe fn create_custom_cursor(
&self,
bitmap_data: *mut c_void,
length: usize,
hot_pixel: FrnPixelSize,
) -> Result<Option<ComPtr<IFrnCursor>>, HResult>
pub unsafe fn create_custom_cursor( &self, bitmap_data: *mut c_void, length: usize, hot_pixel: FrnPixelSize, ) -> Result<Option<ComPtr<IFrnCursor>>, HResult>
IFrnCursorFactory::CreateCustomCursor
§Safety
Raw pointer arguments must satisfy the native method’s contract.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnCursorFactory
impl Deref for IFrnCursorFactory
Source§impl<T: IFrnCursorFactoryImpl> ImplementedBy<T> for IFrnCursorFactory
impl<T: IFrnCursorFactoryImpl> ImplementedBy<T> for IFrnCursorFactory
const VTBL: &'static IFrnCursorFactoryVtbl
Source§impl Interface for IFrnCursorFactory
impl Interface for IFrnCursorFactory
type Vtbl = IFrnCursorFactoryVtbl
Source§fn matches_iid(iid: &Guid) -> bool
fn matches_iid(iid: &Guid) -> bool
true if iid names this interface or one of its bases (including
IUnknown). Both the IDL value and the value materialized by com.h
(see Guid::as_com_h_materialized) are accepted.fn as_unknown(&self) -> &IUnknown
fn as_raw(&self) -> *mut Self
Auto Trait Implementations§
impl !Send for IFrnCursorFactory
impl !Sync for IFrnCursorFactory
impl Freeze for IFrnCursorFactory
impl RefUnwindSafe for IFrnCursorFactory
impl Unpin for IFrnCursorFactory
impl UnsafeUnpin for IFrnCursorFactory
impl UnwindSafe for IFrnCursorFactory
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