pub struct SetFont {
pub hfont: HFONT,
pub redraw: bool,
}
Available on crate features
user
and gdi
only.Expand description
WM_SETFONT
message parameters.
Return type: ()
.
Fields§
§hfont: HFONT
§redraw: bool
Trait Implementations§
source§impl MsgSend for SetFont
impl MsgSend for SetFont
§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 SetFont
impl MsgSendRecv for SetFont
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 SetFont
impl RefUnwindSafe for SetFont
impl Send for SetFont
impl !Sync for SetFont
impl Unpin for SetFont
impl UnwindSafe for SetFont
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