[][src]Struct riscv_target::Target

pub struct Target {
    pub bits: u32,
    pub base_extension: char,
    pub extensions: HashSet<char>,
    pub suffix: String,
    pub vendor_os: String,
}

Fields

bits: u32base_extension: charextensions: HashSet<char>suffix: Stringvendor_os: String

Implementations

impl Target[src]

pub fn from_target_str(target_str: &str) -> Self[src]

pub fn retain_extensions(&mut self, extensions: &str)[src]

pub fn remove_extensions(&mut self, extensions: &str)[src]

pub fn add_extensions(&mut self, extensions: &str)[src]

pub fn has_extension(&self, extension: char) -> bool[src]

Trait Implementations

impl ToString for Target[src]

Auto Trait Implementations

impl RefUnwindSafe for Target

impl Send for Target

impl Sync for Target

impl Unpin for Target

impl UnwindSafe for Target

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.