Struct rummage::CargoTarget
source · pub struct CargoTarget {
pub profile: String,
pub host: String,
pub target: String,
pub family: String,
pub os: String,
pub arch: String,
pub pointer_width: String,
pub endian: String,
pub features: String,
}Expand description
How Cargo was configured while building the crate containing the crate containing the info!
invocation
Fields§
§profile: StringTypically either “debug” or “release”
host: StringThe target triple of the environment performing the compilation
target: StringThe target triple of the environment the built artifact is intended for
family: StringThe “family” of the target, eg “unix”
os: StringThe specific OS within the target family, eg “linux”
arch: StringThe CPU architecture of the target, eg “x86_64”
pointer_width: StringThe number of bits in a pointer on the target platform, eg “64”.
endian: StringThe endianness of the target platform, eg “little”
features: StringA comma separated list of the features of the target platform that the compilation is using, eg “fxsr,sse,sse2”
Implementations§
source§impl CargoTarget
impl CargoTarget
Trait Implementations§
source§impl Clone for CargoTarget
impl Clone for CargoTarget
source§fn clone(&self) -> CargoTarget
fn clone(&self) -> CargoTarget
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CargoTarget
impl Debug for CargoTarget
Auto Trait Implementations§
impl RefUnwindSafe for CargoTarget
impl Send for CargoTarget
impl Sync for CargoTarget
impl Unpin for CargoTarget
impl UnwindSafe for CargoTarget
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