[−][src]Struct riscv_target::Target
Fields
bits: u32
base_extension: char
extensions: HashSet<char>
suffix: String
vendor_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
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]
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> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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>,