pub enum TargetArch {
ARMCortexM(CortexMVariant),
RISCV(RISCVVariant),
}Expand description
Target architecture for synthesis
Variants§
Implementations§
Source§impl TargetArch
impl TargetArch
Sourcepub fn target_triple(&self) -> &str
pub fn target_triple(&self) -> &str
Get the target triple string (for compilation)
Sourcepub fn has_hardware_fp(&self) -> bool
pub fn has_hardware_fp(&self) -> bool
Check if target has FPU
Trait Implementations§
Source§impl Clone for TargetArch
impl Clone for TargetArch
Source§fn clone(&self) -> TargetArch
fn clone(&self) -> TargetArch
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TargetArch
impl Debug for TargetArch
Source§impl<'de> Deserialize<'de> for TargetArch
impl<'de> Deserialize<'de> for TargetArch
Source§fn 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
Source§impl PartialEq for TargetArch
impl PartialEq for TargetArch
Source§fn eq(&self, other: &TargetArch) -> bool
fn eq(&self, other: &TargetArch) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetArch
impl Serialize for TargetArch
impl Eq for TargetArch
impl StructuralPartialEq for TargetArch
Auto Trait Implementations§
impl Freeze for TargetArch
impl RefUnwindSafe for TargetArch
impl Send for TargetArch
impl Sync for TargetArch
impl Unpin for TargetArch
impl UnsafeUnpin for TargetArch
impl UnwindSafe for TargetArch
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.