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