Struct lpc55::protected_flash::ActivationCode
source · [−]pub struct ActivationCode(_);
Trait Implementations
sourceimpl AsRef<[u8]> for ActivationCode
impl AsRef<[u8]> for ActivationCode
sourceimpl Clone for ActivationCode
impl Clone for ActivationCode
sourcefn clone(&self) -> ActivationCode
fn clone(&self) -> ActivationCode
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ActivationCode
impl Debug for ActivationCode
sourceimpl Default for ActivationCode
impl Default for ActivationCode
sourceimpl<'de> Deserialize<'de> for ActivationCode
impl<'de> Deserialize<'de> for ActivationCode
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for ActivationCode
impl Hash for ActivationCode
sourceimpl Ord for ActivationCode
impl Ord for ActivationCode
sourcefn cmp(&self, other: &ActivationCode) -> Ordering
fn cmp(&self, other: &ActivationCode) -> Ordering
1.21.0 · sourcefn 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
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<ActivationCode> for ActivationCode
impl PartialEq<ActivationCode> for ActivationCode
sourcefn eq(&self, other: &ActivationCode) -> bool
fn eq(&self, other: &ActivationCode) -> bool
sourceimpl PartialOrd<ActivationCode> for ActivationCode
impl PartialOrd<ActivationCode> for ActivationCode
sourcefn partial_cmp(&self, other: &ActivationCode) -> Option<Ordering>
fn partial_cmp(&self, other: &ActivationCode) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresourceimpl Serialize for ActivationCode
impl Serialize for ActivationCode
impl Copy for ActivationCode
impl Eq for ActivationCode
impl StructuralEq for ActivationCode
impl StructuralPartialEq for ActivationCode
Auto Trait Implementations
impl RefUnwindSafe for ActivationCode
impl Send for ActivationCode
impl Sync for ActivationCode
impl Unpin for ActivationCode
impl UnwindSafe for ActivationCode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.sourceimpl<T> ToHex for Twhere
T: AsRef<[u8]>,
impl<T> ToHex for Twhere
T: AsRef<[u8]>,
sourcefn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Lower case
letters are used (e.g. f9b4ca
) Read moresourcefn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self
into the result. Upper case
letters are used (e.g. F9B4CA
) Read more