Struct tectonic_cfg_support::TARGET_CONFIG
source · [−]pub struct TARGET_CONFIG { /* private fields */ }
Methods from Deref<Target = TargetConfiguration>
sourcepub fn target_arch(&self, arch: &str) -> bool
pub fn target_arch(&self, arch: &str) -> bool
Test whether the target architecture exactly matches the argument, in case-insensitive fashion.
sourcepub fn target_os(&self, os: &str) -> bool
pub fn target_os(&self, os: &str) -> bool
Test whether the target OS exactly matches the argument, in case-insensitive fashion.
sourcepub fn target_family(&self, family: &str) -> bool
pub fn target_family(&self, family: &str) -> bool
Test whether the target family exactly matches the argument, in case-insensitive fashion.
sourcepub fn target_env(&self, env: &str) -> bool
pub fn target_env(&self, env: &str) -> bool
Test whether the target “environment” exactly matches the argument, in case-insensitive fashion.
sourcepub fn target_endian(&self, endian: &str) -> bool
pub fn target_endian(&self, endian: &str) -> bool
Test whether the target endianness exactly matches the argument, in case-insensitive fashion.
sourcepub fn target_pointer_width(&self, pointer_width: &str) -> bool
pub fn target_pointer_width(&self, pointer_width: &str) -> bool
Test whether the target pointer width exactly matches the argument, in case-insensitive fashion.
sourcepub fn target_vendor(&self, vendor: &str) -> bool
pub fn target_vendor(&self, vendor: &str) -> bool
Test whether the target vendor exactly matches the argument, in case-insensitive fashion.
Trait Implementations
sourceimpl Deref for TARGET_CONFIG
impl Deref for TARGET_CONFIG
type Target = TargetConfiguration
type Target = TargetConfiguration
The resulting type after dereferencing.
sourcefn deref(&self) -> &TargetConfiguration
fn deref(&self) -> &TargetConfiguration
Dereferences the value.
impl LazyStatic for TARGET_CONFIG
Auto Trait Implementations
impl RefUnwindSafe for TARGET_CONFIG
impl Send for TARGET_CONFIG
impl Sync for TARGET_CONFIG
impl Unpin for TARGET_CONFIG
impl UnwindSafe for TARGET_CONFIG
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more