Enum probe_rs::Architecture
source · pub enum Architecture {
Arm,
Riscv,
}
Expand description
The architecture family of a specific CoreType
.
Variants§
Arm
An ARM core of one of the specific types CoreType::Armv6m
, CoreType::Armv7m
, CoreType::Armv7em
or CoreType::Armv8m
Riscv
A RISC-V core.
Trait Implementations§
source§impl Clone for Architecture
impl Clone for Architecture
source§fn clone(&self) -> Architecture
fn clone(&self) -> Architecture
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 moresource§impl Debug for Architecture
impl Debug for Architecture
source§impl PartialEq<Architecture> for Architecture
impl PartialEq<Architecture> for Architecture
source§fn eq(&self, other: &Architecture) -> bool
fn eq(&self, other: &Architecture) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Architecture
impl Eq for Architecture
impl StructuralEq for Architecture
impl StructuralPartialEq for Architecture
Auto Trait Implementations§
impl RefUnwindSafe for Architecture
impl Send for Architecture
impl Sync for Architecture
impl Unpin for Architecture
impl UnwindSafe for Architecture
Blanket Implementations§
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.