Struct winsafe::co::OUT_PRECIS
source · pub struct OUT_PRECIS(/* private fields */);
Available on crate features
kernel
and gdi
only.Expand description
HFONT::CreateFont
out_precision
and LOGFONT
lfOutPrecision
(u8
).
Implementations§
source§impl OUT_PRECIS
impl OUT_PRECIS
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 OUT_PRECIS
impl OUT_PRECIS
pub const DEFAULT: Self = _
pub const STRING: Self = _
pub const CHARACTER: Self = _
pub const STROKE: Self = _
pub const TT: Self = _
pub const DEVICE: Self = _
pub const RASTER: Self = _
pub const TT_ONLY: Self = _
pub const OUTLINE: Self = _
pub const SCREEN_OUTLINE: Self = _
pub const PS_ONLY: Self = _
Trait Implementations§
source§impl AsRef<u8> for OUT_PRECIS
impl AsRef<u8> for OUT_PRECIS
source§impl Binary for OUT_PRECIS
impl Binary for OUT_PRECIS
source§impl Clone for OUT_PRECIS
impl Clone for OUT_PRECIS
source§fn clone(&self) -> OUT_PRECIS
fn clone(&self) -> OUT_PRECIS
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for OUT_PRECIS
impl Debug for OUT_PRECIS
source§impl Default for OUT_PRECIS
impl Default for OUT_PRECIS
source§fn default() -> OUT_PRECIS
fn default() -> OUT_PRECIS
Returns the “default value” for a type. Read more
source§impl Display for OUT_PRECIS
impl Display for OUT_PRECIS
source§impl From<OUT_PRECIS> for u8
impl From<OUT_PRECIS> for u8
source§fn from(v: OUT_PRECIS) -> Self
fn from(v: OUT_PRECIS) -> Self
Converts to this type from the input type.
source§impl Hash for OUT_PRECIS
impl Hash for OUT_PRECIS
source§impl IntUnderlying for OUT_PRECIS
impl IntUnderlying for OUT_PRECIS
source§impl LowerHex for OUT_PRECIS
impl LowerHex for OUT_PRECIS
source§impl Octal for OUT_PRECIS
impl Octal for OUT_PRECIS
source§impl Ord for OUT_PRECIS
impl Ord for OUT_PRECIS
source§impl PartialEq for OUT_PRECIS
impl PartialEq for OUT_PRECIS
source§fn eq(&self, other: &OUT_PRECIS) -> bool
fn eq(&self, other: &OUT_PRECIS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OUT_PRECIS
impl PartialOrd for OUT_PRECIS
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 moresource§impl UpperHex for OUT_PRECIS
impl UpperHex for OUT_PRECIS
impl Copy for OUT_PRECIS
impl Eq for OUT_PRECIS
impl NativeConst for OUT_PRECIS
impl Send for OUT_PRECIS
impl StructuralPartialEq for OUT_PRECIS
Auto Trait Implementations§
impl Freeze for OUT_PRECIS
impl RefUnwindSafe for OUT_PRECIS
impl Sync for OUT_PRECIS
impl Unpin for OUT_PRECIS
impl UnwindSafe for OUT_PRECIS
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