Struct target_info::Target
[−]
[src]
pub struct Target;
Collection of functions to give information on the build target.
Methods
impl Target
[src]
fn arch() -> &'static str
Architecture; given by target_arch
.
fn endian() -> &'static str
Endianness; given by target_endian
.
fn env() -> &'static str
Toolchain environment; given by target_environment
.
fn family() -> &'static str
OS familt; given by target_family
.
fn os() -> &'static str
Operating system; given by target_os
.
fn pointer_width() -> &'static str
Pointer width; given by target_pointer_width
.