pub struct MFT(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
MENUITEMINFO
fType
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl MFT
impl MFT
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 MFT
impl MFT
pub const STRING: Self = _
pub const BITMAP: Self = _
pub const MENUBARBREAK: Self = _
pub const MENUBREAK: Self = _
pub const OWNERDRAW: Self = _
pub const RADIOCHECK: Self = _
pub const SEPARATOR: Self = _
pub const RIGHTORDER: Self = _
pub const RIGHTJUSTIFY: Self = _
Trait Implementations§
source§impl BitAndAssign for MFT
impl BitAndAssign for MFT
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for MFT
impl BitOrAssign for MFT
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for MFT
impl BitXorAssign for MFT
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for MFT
impl IntUnderlying for MFT
source§impl NativeBitflag for MFT
impl NativeBitflag for MFT
source§impl Ord for MFT
impl Ord for MFT
source§impl PartialOrd for MFT
impl PartialOrd for MFT
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 MFT
impl Eq for MFT
impl NativeConst for MFT
impl Send for MFT
impl StructuralPartialEq for MFT
Auto Trait Implementations§
impl Freeze for MFT
impl RefUnwindSafe for MFT
impl Sync for MFT
impl Unpin for MFT
impl UnwindSafe for MFT
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