pub struct DeviceChange<'a> {
pub event: DBT,
pub data: Option<&'a DEV_BROADCAST_HDR>,
}
Available on crate feature
user
only.Expand description
WM_DEVICECHANGE
message parameters.
Return type: ()
.
Fields§
§event: DBT
§data: Option<&'a DEV_BROADCAST_HDR>
Trait Implementations§
Source§impl<'a> MsgSend for DeviceChange<'a>
impl<'a> MsgSend for DeviceChange<'a>
Source§unsafe fn isize_to_ret(&self, _: isize) -> Self::RetType
unsafe fn isize_to_ret(&self, _: isize) -> Self::RetType
Unmarshaling method which converts the generic
isize
return value to
the specific type returned by the message. Read moreSource§fn as_generic_wm(&mut self) -> WndMsg
fn as_generic_wm(&mut self) -> WndMsg
Marshaling method which converts the specific message parameters struct
into the generic
WndMsg
message struct.Source§impl<'a> MsgSendRecv for DeviceChange<'a>
impl<'a> MsgSendRecv for DeviceChange<'a>
Auto Trait Implementations§
impl<'a> Freeze for DeviceChange<'a>
impl<'a> RefUnwindSafe for DeviceChange<'a>
impl<'a> Send for DeviceChange<'a>
impl<'a> Sync for DeviceChange<'a>
impl<'a> Unpin for DeviceChange<'a>
impl<'a> UnwindSafe for DeviceChange<'a>
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