#[repr(u8)]pub enum Can0Region0 {
NONSECURE_NONPRIV_USER_ALLOWED = 0,
NONSECURE_PRIV_USER_ALLOWED = 1,
SECURE_NONPRIV_USER_ALLOWED = 2,
SECURE_PRIV_USER_ALLOWED = 3,
}Variants§
NONSECURE_NONPRIV_USER_ALLOWED = 0
Non-secure and non-privilege user access allowed
NONSECURE_PRIV_USER_ALLOWED = 1
Non-secure and privilege access allowed
SECURE_NONPRIV_USER_ALLOWED = 2
Secure and non-privilege user access allowed
SECURE_PRIV_USER_ALLOWED = 3
Secure and privilege user access allowed
Implementations§
Source§impl Can0Region0
impl Can0Region0
Trait Implementations§
Source§impl Clone for Can0Region0
impl Clone for Can0Region0
Source§fn clone(&self) -> Can0Region0
fn clone(&self) -> Can0Region0
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 Can0Region0
impl Debug for Can0Region0
Source§impl From<Can0Region0> for u8
impl From<Can0Region0> for u8
Source§fn from(val: Can0Region0) -> u8
fn from(val: Can0Region0) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Can0Region0
impl From<u8> for Can0Region0
Source§fn from(val: u8) -> Can0Region0
fn from(val: u8) -> Can0Region0
Converts to this type from the input type.
Source§impl Ord for Can0Region0
impl Ord for Can0Region0
Source§fn cmp(&self, other: &Can0Region0) -> Ordering
fn cmp(&self, other: &Can0Region0) -> 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 Can0Region0
impl PartialEq for Can0Region0
Source§impl PartialOrd for Can0Region0
impl PartialOrd for Can0Region0
impl Copy for Can0Region0
impl Eq for Can0Region0
impl StructuralPartialEq for Can0Region0
Auto Trait Implementations§
impl Freeze for Can0Region0
impl RefUnwindSafe for Can0Region0
impl Send for Can0Region0
impl Sync for Can0Region0
impl Unpin for Can0Region0
impl UnwindSafe for Can0Region0
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