pub struct HDI(/* private fields */);
Available on crate features
kernel
and comctl
only.Expand description
HDITEM
and NMHDDISPINFO
mask
(i32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl HDI
impl HDI
sourcepub const unsafe fn from_raw(v: i32) -> Self
pub const unsafe fn from_raw(v: i32) -> 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) -> i32
pub const fn raw(&self) -> i32
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 HDI
impl HDI
pub const WIDTH: Self = _
pub const HEIGHT: Self = _
pub const TEXT: Self = _
pub const FORMAT: Self = _
pub const LPARAM: Self = _
pub const BITMAP: Self = _
pub const IMAGE: Self = _
pub const DI_SETITEM: Self = _
pub const ORDER: Self = _
pub const FILTER: Self = _
pub const STATE: Self = _
Trait Implementations§
source§impl BitAndAssign for HDI
impl BitAndAssign for HDI
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for HDI
impl BitOrAssign for HDI
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for HDI
impl BitXorAssign for HDI
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for HDI
impl IntUnderlying for HDI
source§impl NativeBitflag for HDI
impl NativeBitflag for HDI
impl Copy for HDI
impl Eq for HDI
impl NativeConst for HDI
impl Send for HDI
impl StructuralPartialEq for HDI
Auto Trait Implementations§
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