pub struct PermName;Implementations§
Source§impl PermName
impl PermName
pub const INDEX_PERM_INHERIT: u32 = 0
pub const INDEX_PERM_PRIORITY: u32 = 3
pub const INDEX_PERM_READ: u32 = 2
pub const INDEX_PERM_WRITE: u32 = 1
pub const PERM_INHERIT: u32
pub const PERM_PRIORITY: u32
pub const PERM_READ: u32
pub const PERM_WRITE: u32
pub fn perm2string(perm: u32) -> String
pub fn perm_to_string(perm: u32) -> String
pub fn is_readable(perm: u32) -> bool
pub fn is_writeable(perm: u32) -> bool
pub fn is_inherited(perm: u32) -> bool
pub fn is_valid(perm: u32) -> bool
pub fn is_priority(perm: u32) -> bool
pub fn is_valid_str(perm: &str) -> bool
Auto Trait Implementations§
impl Freeze for PermName
impl RefUnwindSafe for PermName
impl Send for PermName
impl Sync for PermName
impl Unpin for PermName
impl UnsafeUnpin for PermName
impl UnwindSafe for PermName
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