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