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