Enum cameleon_impl::memory::AccessRight
source · pub enum AccessRight {
NA,
RO,
WO,
RW,
}Expand description
Represent access right of each memory cell.
Variants
NA
Not Available.
RO
Read Only.
WO
Write Only.
RW
Read Write.
Implementations
sourceimpl AccessRight
impl AccessRight
pub const fn is_readable(self) -> bool
pub const fn is_writable(self) -> bool
pub const fn as_str(self) -> &'static str
Trait Implementations
sourceimpl Clone for AccessRight
impl Clone for AccessRight
sourcefn clone(&self) -> AccessRight
fn clone(&self) -> AccessRight
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AccessRight
impl Debug for AccessRight
sourceimpl PartialEq<AccessRight> for AccessRight
impl PartialEq<AccessRight> for AccessRight
sourcefn eq(&self, other: &AccessRight) -> bool
fn eq(&self, other: &AccessRight) -> bool
impl Copy for AccessRight
impl Eq for AccessRight
impl StructuralEq for AccessRight
impl StructuralPartialEq for AccessRight
Auto Trait Implementations
impl RefUnwindSafe for AccessRight
impl Send for AccessRight
impl Sync for AccessRight
impl Unpin for AccessRight
impl UnwindSafe for AccessRight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more