Enum magick_rust::bindings::PolicyRights
source · #[repr(u32)]pub enum PolicyRights {
Undefined = 0,
Read = 1,
Write = 2,
Execute = 4,
All = 255,
}
Variants§
Implementations§
source§impl PolicyRights
impl PolicyRights
pub const No: PolicyRights = PolicyRights::Undefined
Trait Implementations§
source§impl Clone for PolicyRights
impl Clone for PolicyRights
source§fn clone(&self) -> PolicyRights
fn clone(&self) -> PolicyRights
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 PolicyRights
impl Debug for PolicyRights
source§impl Hash for PolicyRights
impl Hash for PolicyRights
source§impl PartialEq for PolicyRights
impl PartialEq for PolicyRights
source§fn eq(&self, other: &PolicyRights) -> bool
fn eq(&self, other: &PolicyRights) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PolicyRights
impl Eq for PolicyRights
impl StructuralPartialEq for PolicyRights
Auto Trait Implementations§
impl Freeze for PolicyRights
impl RefUnwindSafe for PolicyRights
impl Send for PolicyRights
impl Sync for PolicyRights
impl Unpin for PolicyRights
impl UnwindSafe for PolicyRights
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)