pub struct CLIP(/* private fields */);
Available on crate features
kernel
and gdi
only.Expand description
HFONT::CreateFont
clip_precision
and LOGFONT
lfClipPrecision
(u8
).
Implementations§
source§impl CLIP
impl CLIP
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 CLIP
impl CLIP
pub const DEFAULT_PRECIS: Self = _
pub const CHARACTER_PRECIS: Self = _
pub const STROKE_PRECIS: Self = _
pub const MASK: Self = _
pub const LH_ANGLES: Self = _
pub const TT_ALWAYS: Self = _
pub const DFA_DISABLE: Self = _
pub const EMBEDDED: Self = _
Trait Implementations§
source§impl IntUnderlying for CLIP
impl IntUnderlying for CLIP
source§impl Ord for CLIP
impl Ord for CLIP
source§impl PartialEq for CLIP
impl PartialEq for CLIP
source§impl PartialOrd for CLIP
impl PartialOrd for CLIP
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for CLIP
impl Eq for CLIP
impl NativeConst for CLIP
impl Send for CLIP
impl StructuralPartialEq for CLIP
Auto Trait Implementations§
impl Freeze for CLIP
impl RefUnwindSafe for CLIP
impl Sync for CLIP
impl Unpin for CLIP
impl UnwindSafe for CLIP
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