Struct stm32_metapac::flash::vals::ProductState
pub struct ProductState(/* private fields */);
Implementations§
§impl ProductState
impl ProductState
pub const PROVISIONING: Self = _
pub const PROVISIONING: Self = _
Provisioning
pub const IROT_PROVISIONED: Self = _
pub const IROT_PROVISIONED: Self = _
iROT-Provisioned
pub const LOCKED: Self = _
pub const LOCKED: Self = _
Locked
pub const CLOSED: Self = _
pub const CLOSED: Self = _
Closed
pub const REGRESSION: Self = _
pub const REGRESSION: Self = _
Regression
pub const OPEN: Self = _
pub const OPEN: Self = _
Open
§impl ProductState
impl ProductState
pub const fn from_bits(val: u8) -> ProductState
pub const fn to_bits(self) -> u8
Trait Implementations§
§impl Clone for ProductState
impl Clone for ProductState
§fn clone(&self) -> ProductState
fn clone(&self) -> ProductState
Returns a copy 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 more§impl Debug for ProductState
impl Debug for ProductState
§impl From<ProductState> for u8
impl From<ProductState> for u8
§fn from(val: ProductState) -> u8
fn from(val: ProductState) -> u8
Converts to this type from the input type.
§impl From<u8> for ProductState
impl From<u8> for ProductState
§fn from(val: u8) -> ProductState
fn from(val: u8) -> ProductState
Converts to this type from the input type.
§impl Ord for ProductState
impl Ord for ProductState
§impl PartialEq for ProductState
impl PartialEq for ProductState
§impl PartialOrd for ProductState
impl PartialOrd for ProductState
impl Copy for ProductState
impl Eq for ProductState
impl StructuralPartialEq for ProductState
Auto Trait Implementations§
impl Freeze for ProductState
impl RefUnwindSafe for ProductState
impl Send for ProductState
impl Sync for ProductState
impl Unpin for ProductState
impl UnwindSafe for ProductState
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
)