#[repr(u8)]pub enum SramSect2Rule {
ENUM_NS_NP = 0,
ENUM_NS_P = 1,
ENUM_S_NP = 2,
ENUM_S_P = 3,
}Variants§
ENUM_NS_NP = 0
Non-secure and Non-priviledge user access allowed.
ENUM_NS_P = 1
Non-secure and Privilege access allowed.
ENUM_S_NP = 2
Secure and Non-priviledge user access allowed.
ENUM_S_P = 3
Secure and Priviledge user access allowed.
Implementations§
Source§impl SramSect2Rule
impl SramSect2Rule
Trait Implementations§
Source§impl Clone for SramSect2Rule
impl Clone for SramSect2Rule
Source§fn clone(&self) -> SramSect2Rule
fn clone(&self) -> SramSect2Rule
Returns a duplicate 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 SramSect2Rule
impl Debug for SramSect2Rule
Source§impl From<SramSect2Rule> for u8
impl From<SramSect2Rule> for u8
Source§fn from(val: SramSect2Rule) -> u8
fn from(val: SramSect2Rule) -> u8
Converts to this type from the input type.
Source§impl From<u8> for SramSect2Rule
impl From<u8> for SramSect2Rule
Source§fn from(val: u8) -> SramSect2Rule
fn from(val: u8) -> SramSect2Rule
Converts to this type from the input type.
Source§impl Ord for SramSect2Rule
impl Ord for SramSect2Rule
Source§fn cmp(&self, other: &SramSect2Rule) -> Ordering
fn cmp(&self, other: &SramSect2Rule) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SramSect2Rule
impl PartialEq for SramSect2Rule
Source§impl PartialOrd for SramSect2Rule
impl PartialOrd for SramSect2Rule
impl Copy for SramSect2Rule
impl Eq for SramSect2Rule
impl StructuralPartialEq for SramSect2Rule
Auto Trait Implementations§
impl Freeze for SramSect2Rule
impl RefUnwindSafe for SramSect2Rule
impl Send for SramSect2Rule
impl Sync for SramSect2Rule
impl Unpin for SramSect2Rule
impl UnwindSafe for SramSect2Rule
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