pub struct DT(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
HDC::DrawText
format
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl DT
impl DT
sourcepub const unsafe fn from_raw(v: u32) -> Self
pub const unsafe fn from_raw(v: u32) -> 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) -> u32
pub const fn raw(&self) -> u32
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 DT
impl DT
pub const TOP: Self = _
pub const LEFT: Self = _
pub const CENTER: Self = _
pub const RIGHT: Self = _
pub const VCENTER: Self = _
pub const BOTTOM: Self = _
pub const WORDBREAK: Self = _
pub const SINGLELINE: Self = _
pub const EXPANDTABS: Self = _
pub const TABSTOP: Self = _
pub const NOCLIP: Self = _
pub const EXTERNALLEADING: Self = _
pub const CALCRECT: Self = _
pub const NOPREFIX: Self = _
pub const INTERNAL: Self = _
pub const EDITCONTROL: Self = _
pub const PATH_ELLIPSIS: Self = _
pub const END_ELLIPSIS: Self = _
pub const MODIFYSTRING: Self = _
pub const RTLREADING: Self = _
pub const WORD_ELLIPSIS: Self = _
pub const NOFULLWIDTHCHARBREAK: Self = _
pub const HIDEPREFIX: Self = _
pub const PREFIXONLY: Self = _
Trait Implementations§
source§impl BitAndAssign for DT
impl BitAndAssign for DT
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for DT
impl BitOrAssign for DT
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for DT
impl BitXorAssign for DT
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for DT
impl IntUnderlying for DT
source§impl NativeBitflag for DT
impl NativeBitflag for DT
source§impl Ord for DT
impl Ord for DT
source§impl PartialOrd for DT
impl PartialOrd for DT
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 DT
impl Eq for DT
impl NativeConst for DT
impl Send for DT
impl StructuralPartialEq for DT
Auto Trait Implementations§
impl Freeze for DT
impl RefUnwindSafe for DT
impl Sync for DT
impl Unpin for DT
impl UnwindSafe for DT
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