[−][src]Struct rn2903::NvmAddress
An address in user-accessible nonvolatile memory. Guaranteed to be between 0x300 and 0x3FF.
Methods
impl NvmAddress
[src]
pub fn new(value: u16) -> NvmAddress
[src]
Create a new NvmAddress
from a u16
. The given value must be between 0x300 and
0x3FF.
Panics
Panics if the given value is not between 0x300 and 0x3FF.
pub fn inner(self) -> u16
[src]
Return the address to which this NvmAddress refers. Guaranteed to be between 0x300 and 0x3FF.
Trait Implementations
impl Clone for NvmAddress
[src]
fn clone(&self) -> NvmAddress
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for NvmAddress
[src]
impl Debug for NvmAddress
[src]
impl Eq for NvmAddress
[src]
impl Ord for NvmAddress
[src]
fn cmp(&self, other: &NvmAddress) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<NvmAddress> for NvmAddress
[src]
fn eq(&self, other: &NvmAddress) -> bool
[src]
fn ne(&self, other: &NvmAddress) -> bool
[src]
impl PartialOrd<NvmAddress> for NvmAddress
[src]
fn partial_cmp(&self, other: &NvmAddress) -> Option<Ordering>
[src]
fn lt(&self, other: &NvmAddress) -> bool
[src]
fn le(&self, other: &NvmAddress) -> bool
[src]
fn gt(&self, other: &NvmAddress) -> bool
[src]
fn ge(&self, other: &NvmAddress) -> bool
[src]
impl StructuralEq for NvmAddress
[src]
impl StructuralPartialEq for NvmAddress
[src]
Auto Trait Implementations
impl RefUnwindSafe for NvmAddress
impl Send for NvmAddress
impl Sync for NvmAddress
impl Unpin for NvmAddress
impl UnwindSafe for NvmAddress
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,