pub struct MF(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
HMENU::AppendMenu
flags
,
HMENU::GetMenuState
return
value,
HWND::HiliteMenuItem
hilite
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl MF
impl MF
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 MF
impl MF
pub const INSERT: Self = _
pub const CHANGE: Self = _
pub const APPEND: Self = _
pub const DELETE: Self = _
pub const REMOVE: Self = _
pub const BYCOMMAND: Self = _
pub const BYPOSITION: Self = _
pub const SEPARATOR: Self = _
pub const ENABLED: Self = _
pub const GRAYED: Self = _
pub const DISABLED: Self = _
pub const UNCHECKED: Self = _
pub const CHECKED: Self = _
pub const USECHECKBITMAPS: Self = _
pub const STRING: Self = _
pub const BITMAP: Self = _
pub const OWNERDRAW: Self = _
pub const POPUP: Self = _
pub const MENUBARBREAK: Self = _
pub const MENUBREAK: Self = _
pub const UNHILITE: Self = _
pub const HILITE: Self = _
pub const DEFAULT: Self = _
pub const SYSMENU: Self = _
pub const HELP: Self = _
pub const RIGHTJUSTIFY: Self = _
pub const MOUSESELECT: Self = _
Trait Implementations§
source§impl BitAndAssign for MF
impl BitAndAssign for MF
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for MF
impl BitOrAssign for MF
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for MF
impl BitXorAssign for MF
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for MF
impl IntUnderlying for MF
source§impl NativeBitflag for MF
impl NativeBitflag for MF
source§impl Ord for MF
impl Ord for MF
source§impl PartialOrd for MF
impl PartialOrd for MF
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 MF
impl Eq for MF
impl NativeConst for MF
impl Send for MF
impl StructuralPartialEq for MF
Auto Trait Implementations§
impl Freeze for MF
impl RefUnwindSafe for MF
impl Sync for MF
impl Unpin for MF
impl UnwindSafe for MF
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