#[repr(u8)]pub enum Gpio1Alias {
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 Gpio1Alias
impl Gpio1Alias
Trait Implementations§
Source§impl Clone for Gpio1Alias
impl Clone for Gpio1Alias
Source§fn clone(&self) -> Gpio1Alias
fn clone(&self) -> Gpio1Alias
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 Gpio1Alias
impl Debug for Gpio1Alias
Source§impl From<Gpio1Alias> for u8
impl From<Gpio1Alias> for u8
Source§fn from(val: Gpio1Alias) -> u8
fn from(val: Gpio1Alias) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Gpio1Alias
impl From<u8> for Gpio1Alias
Source§fn from(val: u8) -> Gpio1Alias
fn from(val: u8) -> Gpio1Alias
Converts to this type from the input type.
Source§impl Ord for Gpio1Alias
impl Ord for Gpio1Alias
Source§fn cmp(&self, other: &Gpio1Alias) -> Ordering
fn cmp(&self, other: &Gpio1Alias) -> 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 Gpio1Alias
impl PartialEq for Gpio1Alias
Source§impl PartialOrd for Gpio1Alias
impl PartialOrd for Gpio1Alias
impl Copy for Gpio1Alias
impl Eq for Gpio1Alias
impl StructuralPartialEq for Gpio1Alias
Auto Trait Implementations§
impl Freeze for Gpio1Alias
impl RefUnwindSafe for Gpio1Alias
impl Send for Gpio1Alias
impl Sync for Gpio1Alias
impl Unpin for Gpio1Alias
impl UnwindSafe for Gpio1Alias
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