pub struct MNS(/* private fields */);
Available on crate features
kernel
and user
only.Expand description
MENUINFO
dwStyle
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl MNS
impl MNS
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 MNS
impl MNS
pub const NOCHECK: Self = _
pub const MODELESS: Self = _
pub const DRAGDROP: Self = _
pub const AUTODISMISS: Self = _
pub const NOTIFYBYPOS: Self = _
pub const CHECKORBMP: Self = _
Trait Implementations§
source§impl BitAndAssign for MNS
impl BitAndAssign for MNS
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOrAssign for MNS
impl BitOrAssign for MNS
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXorAssign for MNS
impl BitXorAssign for MNS
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl IntUnderlying for MNS
impl IntUnderlying for MNS
source§impl NativeBitflag for MNS
impl NativeBitflag for MNS
source§impl Ord for MNS
impl Ord for MNS
source§impl PartialOrd for MNS
impl PartialOrd for MNS
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 MNS
impl Eq for MNS
impl NativeConst for MNS
impl Send for MNS
impl StructuralPartialEq for MNS
Auto Trait Implementations§
impl Freeze for MNS
impl RefUnwindSafe for MNS
impl Sync for MNS
impl Unpin for MNS
impl UnwindSafe for MNS
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