pub struct PowerBroadcast<'a> {
pub event: PBT,
pub data: Option<&'a POWERBROADCAST_SETTING>,
}
Available on crate feature
user
only.Expand description
WM_POWERBROADCAST
message parameters.
Return type: ()
.
Fields§
§event: PBT
§data: Option<&'a POWERBROADCAST_SETTING>
Trait Implementations§
Source§impl<'a> MsgSend for PowerBroadcast<'a>
impl<'a> MsgSend for PowerBroadcast<'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 PowerBroadcast<'a>
impl<'a> MsgSendRecv for PowerBroadcast<'a>
Auto Trait Implementations§
impl<'a> Freeze for PowerBroadcast<'a>
impl<'a> RefUnwindSafe for PowerBroadcast<'a>
impl<'a> Send for PowerBroadcast<'a>
impl<'a> Sync for PowerBroadcast<'a>
impl<'a> Unpin for PowerBroadcast<'a>
impl<'a> UnwindSafe for PowerBroadcast<'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