Enum stm32_metapac::rcc::vals::Spriv
#[repr(u8)]pub enum Spriv {
ANY = 0,
PRIVILEGED = 1,
}
Variants§
ANY = 0
Read and write to RCC secure functions can be done by privileged or unprivileged access.
PRIVILEGED = 1
Read and write to RCC secure functions can be done by privileged access only
Implementations§
Trait Implementations§
§impl Ord for Spriv
impl Ord for Spriv
§impl PartialOrd for Spriv
impl PartialOrd for Spriv
impl Copy for Spriv
impl Eq for Spriv
impl StructuralPartialEq for Spriv
Auto Trait Implementations§
impl Freeze for Spriv
impl RefUnwindSafe for Spriv
impl Send for Spriv
impl Sync for Spriv
impl Unpin for Spriv
impl UnwindSafe for Spriv
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)