pub struct Target;
Expand description

Collection of functions to give information on the build target.

Implementations

Architecture; given by target_arch.

Endianness; given by target_endian.

Toolchain environment; given by target_environment.

OS familt; given by target_family.

Operating system; given by target_os.

Pointer width; given by target_pointer_width.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.