pub struct IFrnWindowBaseEvents { /* private fields */ }Implementations§
Source§impl IFrnWindowBaseEvents
impl IFrnWindowBaseEvents
Sourcepub fn from_impl<T: IFrnWindowBaseEventsImpl + 'static>(
value: T,
) -> ComPtr<IFrnWindowBaseEvents>
pub fn from_impl<T: IFrnWindowBaseEventsImpl + 'static>( value: T, ) -> ComPtr<IFrnWindowBaseEvents>
Wraps a Rust implementation into a COM object native code can call.
Sourcepub fn deactivated(&self)
pub fn deactivated(&self)
IFrnWindowBaseEvents::Deactivated
Sourcepub fn position_changed(&self, position: FrnPoint)
pub fn position_changed(&self, position: FrnPoint)
IFrnWindowBaseEvents::PositionChanged
Methods from Deref<Target = IFrnTopLevelEvents>§
Sourcepub fn resized(&self, size: &FrnSize, reason: FrnPlatformResizeReason)
pub fn resized(&self, size: &FrnSize, reason: FrnPlatformResizeReason)
IFrnTopLevelEvents::Resized
Sourcepub fn raw_mouse_event(
&self,
type_: FrnRawMouseEventType,
device_type: FrnPointerDeviceType,
time_stamp: u64,
modifiers: FrnInputModifiers,
point: FrnPoint,
delta: FrnVector,
pressure: f32,
x_tilt: f32,
y_tilt: f32,
)
pub fn raw_mouse_event( &self, type_: FrnRawMouseEventType, device_type: FrnPointerDeviceType, time_stamp: u64, modifiers: FrnInputModifiers, point: FrnPoint, delta: FrnVector, pressure: f32, x_tilt: f32, y_tilt: f32, )
IFrnTopLevelEvents::RawMouseEvent
Sourcepub fn raw_key_event(
&self,
type_: FrnRawKeyEventType,
time_stamp: u64,
modifiers: FrnInputModifiers,
key: FrnKey,
physical_key: FrnPhysicalKey,
key_symbol: Option<&CStr>,
) -> bool
pub fn raw_key_event( &self, type_: FrnRawKeyEventType, time_stamp: u64, modifiers: FrnInputModifiers, key: FrnKey, physical_key: FrnPhysicalKey, key_symbol: Option<&CStr>, ) -> bool
IFrnTopLevelEvents::RawKeyEvent
Sourcepub fn raw_text_input_event(&self, time_stamp: u64, text: Option<&CStr>) -> bool
pub fn raw_text_input_event(&self, time_stamp: u64, text: Option<&CStr>) -> bool
IFrnTopLevelEvents::RawTextInputEvent
Sourcepub fn scaling_changed(&self, scaling: f64)
pub fn scaling_changed(&self, scaling: f64)
IFrnTopLevelEvents::ScalingChanged
Sourcepub fn run_render_priority_jobs(&self)
pub fn run_render_priority_jobs(&self)
IFrnTopLevelEvents::RunRenderPriorityJobs
Sourcepub fn lost_focus(&self)
pub fn lost_focus(&self)
IFrnTopLevelEvents::LostFocus
Sourcepub fn get_automation_peer(&self) -> Option<ComPtr<IFrnAutomationPeer>>
pub fn get_automation_peer(&self) -> Option<ComPtr<IFrnAutomationPeer>>
IFrnTopLevelEvents::GetAutomationPeer
Sourcepub unsafe fn drag_event(
&self,
type_: FrnDragEventType,
position: FrnPoint,
modifiers: FrnInputModifiers,
effects: FrnDragDropEffects,
clipboard: Option<&IFrnClipboard>,
data_transfer_handle: *mut c_void,
) -> FrnDragDropEffects
pub unsafe fn drag_event( &self, type_: FrnDragEventType, position: FrnPoint, modifiers: FrnInputModifiers, effects: FrnDragDropEffects, clipboard: Option<&IFrnClipboard>, data_transfer_handle: *mut c_void, ) -> FrnDragDropEffects
IFrnTopLevelEvents::DragEvent
§Safety
Raw pointer arguments must satisfy the native method’s contract.
Methods from Deref<Target = IUnknown>§
Trait Implementations§
Source§impl Deref for IFrnWindowBaseEvents
impl Deref for IFrnWindowBaseEvents
Source§type Target = IFrnTopLevelEvents
type Target = IFrnTopLevelEvents
The resulting type after dereferencing.
Source§fn deref(&self) -> &IFrnTopLevelEvents
fn deref(&self) -> &IFrnTopLevelEvents
Dereferences the value.
Source§impl<T: IFrnWindowBaseEventsImpl> ImplementedBy<T> for IFrnWindowBaseEvents
impl<T: IFrnWindowBaseEventsImpl> ImplementedBy<T> for IFrnWindowBaseEvents
const VTBL: &'static IFrnWindowBaseEventsVtbl
Source§impl Interface for IFrnWindowBaseEvents
impl Interface for IFrnWindowBaseEvents
type Vtbl = IFrnWindowBaseEventsVtbl
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 IFrnWindowBaseEvents
impl !Sync for IFrnWindowBaseEvents
impl Freeze for IFrnWindowBaseEvents
impl RefUnwindSafe for IFrnWindowBaseEvents
impl Unpin for IFrnWindowBaseEvents
impl UnsafeUnpin for IFrnWindowBaseEvents
impl UnwindSafe for IFrnWindowBaseEvents
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