pub struct Target {
pub arch: Architecture,
pub abi: Abi,
pub pointer_width: u8,
}Fields§
§arch: Architecture§abi: Abi§pointer_width: u8Implementations§
Source§impl Target
impl Target
pub fn from_arch(arch: Architecture, abi: Abi) -> Self
pub fn endianness(&self) -> Endianness
pub fn host() -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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