Enum probe_rs::config::MemoryRegion
source · [−]Expand description
Declares the type of a memory region.
Variants
Ram(RamRegion)
Memory region describing RAM.
Generic(GenericRegion)
Generic memory region, which is neither flash nor RAM.
Nvm(NvmRegion)
Memory region describing flash, EEPROM or other non-volatile memory.
Trait Implementations
sourceimpl Clone for MemoryRegion
impl Clone for MemoryRegion
sourcefn clone(&self) -> MemoryRegion
fn clone(&self) -> MemoryRegion
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 more
sourceimpl Debug for MemoryRegion
impl Debug for MemoryRegion
sourceimpl<'de> Deserialize<'de> for MemoryRegion
impl<'de> Deserialize<'de> for MemoryRegion
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<MemoryRegion, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MemoryRegion, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Hash for MemoryRegion
impl Hash for MemoryRegion
sourceimpl PartialEq<MemoryRegion> for MemoryRegion
impl PartialEq<MemoryRegion> for MemoryRegion
sourcefn eq(&self, other: &MemoryRegion) -> bool
fn eq(&self, other: &MemoryRegion) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MemoryRegion) -> bool
fn ne(&self, other: &MemoryRegion) -> bool
This method tests for !=
.
sourceimpl Serialize for MemoryRegion
impl Serialize for MemoryRegion
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for MemoryRegion
impl StructuralEq for MemoryRegion
impl StructuralPartialEq for MemoryRegion
Auto Trait Implementations
impl RefUnwindSafe for MemoryRegion
impl Send for MemoryRegion
impl Sync for MemoryRegion
impl Unpin for MemoryRegion
impl UnwindSafe for MemoryRegion
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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 Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
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.