Struct winsafe::co::DROPEFFECT
source · pub struct DROPEFFECT(/* private fields */);
Available on crate features
kernel
and ole
only.Expand description
DROPEFFECT
constants (u32
).
Implementations§
source§impl DROPEFFECT
impl DROPEFFECT
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.
Trait Implementations§
source§impl AsRef<u32> for DROPEFFECT
impl AsRef<u32> for DROPEFFECT
source§impl Binary for DROPEFFECT
impl Binary for DROPEFFECT
source§impl Clone for DROPEFFECT
impl Clone for DROPEFFECT
source§fn clone(&self) -> DROPEFFECT
fn clone(&self) -> DROPEFFECT
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 DROPEFFECT
impl Debug for DROPEFFECT
source§impl Default for DROPEFFECT
impl Default for DROPEFFECT
source§fn default() -> DROPEFFECT
fn default() -> DROPEFFECT
Returns the “default value” for a type. Read more
source§impl Display for DROPEFFECT
impl Display for DROPEFFECT
source§impl From<DROPEFFECT> for u32
impl From<DROPEFFECT> for u32
source§fn from(v: DROPEFFECT) -> Self
fn from(v: DROPEFFECT) -> Self
Converts to this type from the input type.
source§impl Hash for DROPEFFECT
impl Hash for DROPEFFECT
source§impl IntUnderlying for DROPEFFECT
impl IntUnderlying for DROPEFFECT
source§impl LowerHex for DROPEFFECT
impl LowerHex for DROPEFFECT
source§impl Octal for DROPEFFECT
impl Octal for DROPEFFECT
source§impl Ord for DROPEFFECT
impl Ord for DROPEFFECT
source§impl PartialEq for DROPEFFECT
impl PartialEq for DROPEFFECT
source§fn eq(&self, other: &DROPEFFECT) -> bool
fn eq(&self, other: &DROPEFFECT) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DROPEFFECT
impl PartialOrd for DROPEFFECT
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 DROPEFFECT
impl UpperHex for DROPEFFECT
impl Copy for DROPEFFECT
impl Eq for DROPEFFECT
impl NativeConst for DROPEFFECT
impl Send for DROPEFFECT
impl StructuralPartialEq for DROPEFFECT
Auto Trait Implementations§
impl Freeze for DROPEFFECT
impl RefUnwindSafe for DROPEFFECT
impl Sync for DROPEFFECT
impl Unpin for DROPEFFECT
impl UnwindSafe for DROPEFFECT
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