Struct winsafe::co::FORMAT_MESSAGE
source · pub struct FORMAT_MESSAGE(/* private fields */);
Available on crate feature
kernel
only.Expand description
FormatMessage
dwFlags
(u32
).
This is a bitflag constant, which implements the
NativeBitflag
trait.
Implementations§
source§impl FORMAT_MESSAGE
impl FORMAT_MESSAGE
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 FORMAT_MESSAGE
impl FORMAT_MESSAGE
pub const ALLOCATE_BUFFER: Self = _
pub const ARGUMENT_ARRAY: Self = _
pub const FROM_HMODULE: Self = _
pub const FROM_STRING: Self = _
pub const FROM_SYSTEM: Self = _
pub const IGNORE_INSERTS: Self = _
pub const MAX_WIDTH_MASK: Self = _
Trait Implementations§
source§impl AsRef<u32> for FORMAT_MESSAGE
impl AsRef<u32> for FORMAT_MESSAGE
source§impl Binary for FORMAT_MESSAGE
impl Binary for FORMAT_MESSAGE
source§impl BitAnd for FORMAT_MESSAGE
impl BitAnd for FORMAT_MESSAGE
source§impl BitAndAssign for FORMAT_MESSAGE
impl BitAndAssign for FORMAT_MESSAGE
source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&=
operation. Read moresource§impl BitOr for FORMAT_MESSAGE
impl BitOr for FORMAT_MESSAGE
source§impl BitOrAssign for FORMAT_MESSAGE
impl BitOrAssign for FORMAT_MESSAGE
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl BitXor for FORMAT_MESSAGE
impl BitXor for FORMAT_MESSAGE
source§impl BitXorAssign for FORMAT_MESSAGE
impl BitXorAssign for FORMAT_MESSAGE
source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^=
operation. Read moresource§impl Clone for FORMAT_MESSAGE
impl Clone for FORMAT_MESSAGE
source§fn clone(&self) -> FORMAT_MESSAGE
fn clone(&self) -> FORMAT_MESSAGE
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FORMAT_MESSAGE
impl Debug for FORMAT_MESSAGE
source§impl Default for FORMAT_MESSAGE
impl Default for FORMAT_MESSAGE
source§fn default() -> FORMAT_MESSAGE
fn default() -> FORMAT_MESSAGE
Returns the “default value” for a type. Read more
source§impl Display for FORMAT_MESSAGE
impl Display for FORMAT_MESSAGE
source§impl From<FORMAT_MESSAGE> for u32
impl From<FORMAT_MESSAGE> for u32
source§fn from(v: FORMAT_MESSAGE) -> Self
fn from(v: FORMAT_MESSAGE) -> Self
Converts to this type from the input type.
source§impl Hash for FORMAT_MESSAGE
impl Hash for FORMAT_MESSAGE
source§impl IntUnderlying for FORMAT_MESSAGE
impl IntUnderlying for FORMAT_MESSAGE
source§impl LowerHex for FORMAT_MESSAGE
impl LowerHex for FORMAT_MESSAGE
source§impl NativeBitflag for FORMAT_MESSAGE
impl NativeBitflag for FORMAT_MESSAGE
source§impl Not for FORMAT_MESSAGE
impl Not for FORMAT_MESSAGE
source§impl Octal for FORMAT_MESSAGE
impl Octal for FORMAT_MESSAGE
source§impl Ord for FORMAT_MESSAGE
impl Ord for FORMAT_MESSAGE
source§impl PartialEq for FORMAT_MESSAGE
impl PartialEq for FORMAT_MESSAGE
source§fn eq(&self, other: &FORMAT_MESSAGE) -> bool
fn eq(&self, other: &FORMAT_MESSAGE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FORMAT_MESSAGE
impl PartialOrd for FORMAT_MESSAGE
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 moresource§impl UpperHex for FORMAT_MESSAGE
impl UpperHex for FORMAT_MESSAGE
impl Copy for FORMAT_MESSAGE
impl Eq for FORMAT_MESSAGE
impl NativeConst for FORMAT_MESSAGE
impl Send for FORMAT_MESSAGE
impl StructuralPartialEq for FORMAT_MESSAGE
Auto Trait Implementations§
impl Freeze for FORMAT_MESSAGE
impl RefUnwindSafe for FORMAT_MESSAGE
impl Sync for FORMAT_MESSAGE
impl Unpin for FORMAT_MESSAGE
impl UnwindSafe for FORMAT_MESSAGE
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