pub struct CDRF(/* private fields */);
Available on crate features
kernel
and comctl
only.Expand description
NM_CUSTOMDRAW
return value (u32
).
Implementations§
source§impl CDRF
impl CDRF
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 CDRF
impl CDRF
pub const DODEFAULT: Self = _
pub const NEWFONT: Self = _
pub const SKIPDEFAULT: Self = _
pub const DOERASE: Self = _
pub const SKIPPOSTPAINT: Self = _
pub const NOTIFYPOSTPAINT: Self = _
pub const NOTIFYITEMDRAW: Self = _
pub const NOTIFYSUBITEMDRAW: Self = _
pub const NOTIFYPOSTERASE: Self = _
Trait Implementations§
source§impl IntUnderlying for CDRF
impl IntUnderlying for CDRF
source§impl Ord for CDRF
impl Ord for CDRF
source§impl PartialEq for CDRF
impl PartialEq for CDRF
source§impl PartialOrd for CDRF
impl PartialOrd for CDRF
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 CDRF
impl Eq for CDRF
impl NativeConst for CDRF
impl Send for CDRF
impl StructuralPartialEq for CDRF
Auto Trait Implementations§
impl Freeze for CDRF
impl RefUnwindSafe for CDRF
impl Sync for CDRF
impl Unpin for CDRF
impl UnwindSafe for CDRF
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