Struct win_wrap::msaa::event::WinEventSource
source · pub struct WinEventSource {
pub h_wnd: HWND,
pub id_object: i32,
pub id_child: i32,
pub id_thread: u32,
pub ms_time: u32,
}Fields§
§h_wnd: HWND§id_object: i32§id_child: i32§id_thread: u32§ms_time: u32Implementations§
source§impl WinEventSource
impl WinEventSource
sourcepub fn get_object(&self) -> Result<(AccessibleObject, i32)>
pub fn get_object(&self) -> Result<(AccessibleObject, i32)>
获取事件对应的可访问性对象。
sourcepub fn get_class_name(&self) -> String
pub fn get_class_name(&self) -> String
获取事件对应窗口的类名。
Trait Implementations§
source§impl Clone for WinEventSource
impl Clone for WinEventSource
source§fn clone(&self) -> WinEventSource
fn clone(&self) -> WinEventSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for WinEventSource
impl Debug for WinEventSource
impl Send for WinEventSource
impl Sync for WinEventSource
Auto Trait Implementations§
impl Freeze for WinEventSource
impl RefUnwindSafe for WinEventSource
impl Unpin for WinEventSource
impl UnwindSafe for WinEventSource
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)