pub struct CHARSET(/* private fields */);
Available on crate features
kernel
and gdi
only.Expand description
HFONT::CreateFont
char_set
and LOGFONT
lfCharset
(u8
).
Implementations§
source§impl CHARSET
impl CHARSET
sourcepub const unsafe fn from_raw(v: u8) -> Self
pub const unsafe fn from_raw(v: u8) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> u8
pub const fn raw(&self) -> u8
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl CHARSET
impl CHARSET
pub const ANSI: Self = _
pub const DEFAULT: Self = _
pub const SYMBOL: Self = _
pub const SHIFTJIS: Self = _
pub const HANGEUL: Self = _
pub const HANGUL: Self = _
pub const GB2312: Self = _
pub const CHINESEBIG5: Self = _
pub const OEM: Self = _
pub const JOHAB: Self = _
pub const HEBREW: Self = _
pub const ARABIC: Self = _
pub const GREEK: Self = _
pub const TURKISH: Self = _
pub const VIETNAMESE: Self = _
pub const THAI: Self = _
pub const EASTEUROPE: Self = _
pub const RUSSIAN: Self = _
pub const MAC: Self = _
pub const BALTIC: Self = _
Trait Implementations§
source§impl IntUnderlying for CHARSET
impl IntUnderlying for CHARSET
source§impl PartialEq for CHARSET
impl PartialEq for CHARSET
impl Copy for CHARSET
impl Eq for CHARSET
impl NativeConst for CHARSET
impl Send for CHARSET
impl StructuralPartialEq for CHARSET
Auto Trait Implementations§
impl RefUnwindSafe for CHARSET
impl Sync for CHARSET
impl Unpin for CHARSET
impl UnwindSafe for CHARSET
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