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