pub struct Arch {
pub name: String,
pub triple: String,
pub bits: i32,
pub defines: Vec<String>,
}Expand description
Target architecture settings that differ between scrape passes.
Fields§
§name: StringShort name (x64, arm64, x86) and throwaway subdirectory name.
triple: StringThe clang --target triple, e.g. x86_64-pc-windows-msvc.
bits: i32SupportedArchitecture bitmask: 1 = X86, 2 = X64, 4 = Arm64.
defines: Vec<String>Extra -D defines for this architecture.
Implementations§
Auto Trait Implementations§
impl Freeze for Arch
impl RefUnwindSafe for Arch
impl Send for Arch
impl Sync for Arch
impl Unpin for Arch
impl UnsafeUnpin for Arch
impl UnwindSafe for Arch
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