Struct winsafe::msg::wm::DisplayChange
source · pub struct DisplayChange {
pub depth_bpp: u32,
pub horz_res: u16,
pub vert_res: u16,
}
Available on crate features
user
and gdi
only.Expand description
WM_DISPLAYCHANGE
message parameters.
Return type: ()
.
Fields§
§depth_bpp: u32
§horz_res: u16
§vert_res: u16
Trait Implementations§
source§impl MsgSend for DisplayChange
impl MsgSend for DisplayChange
§type RetType = ()
type RetType = ()
Available on crate feature
user
only.The specific type of the value returned by the message.
source§fn convert_ret(&self, _: isize) -> Self::RetType
fn convert_ret(&self, _: isize) -> Self::RetType
Available on crate feature
user
only.Converts the generic
isize
return value to the specific type returned
by the message.source§fn as_generic_wm(&mut self) -> WndMsg
fn as_generic_wm(&mut self) -> WndMsg
Available on crate feature
user
only.Converts the specific message parameters struct into the generic
WndMsg
message struct.source§impl MsgSendRecv for DisplayChange
impl MsgSendRecv for DisplayChange
source§fn from_generic_wm(p: WndMsg) -> Self
fn from_generic_wm(p: WndMsg) -> Self
Available on crate feature
user
only.Converts the generic
WndMsg
parameters struct
into the specific message struct.Auto Trait Implementations§
impl Freeze for DisplayChange
impl RefUnwindSafe for DisplayChange
impl Send for DisplayChange
impl Sync for DisplayChange
impl Unpin for DisplayChange
impl UnwindSafe for DisplayChange
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