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