pub struct Env(pub Cow<'static, str>);
Expand description
The “environment” field, which specifies an ABI environment on top of the operating system. In many configurations, this field is omitted, and the environment is implied by the operating system.
Tuple Fields§
§0: Cow<'static, str>
Implementations§
source§impl Env
impl Env
pub const eabihf: Env = _
pub const gnu: Env = _
pub const gnueabihf: Env = _
pub const msvc: Env = _
pub const musl: Env = _
pub const newlib: Env = _
pub const nto70: Env = _
pub const nto71: Env = _
pub const ohos: Env = _
pub const psx: Env = _
pub const relibc: Env = _
pub const sgx: Env = _
pub const uclibc: Env = _
Trait Implementations§
source§impl Ord for Env
impl Ord for Env
source§impl PartialOrd for Env
impl PartialOrd for Env
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Env
impl StructuralPartialEq for Env
Auto Trait Implementations§
impl Freeze for Env
impl RefUnwindSafe for Env
impl Send for Env
impl Sync for Env
impl Unpin for Env
impl UnwindSafe for Env
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)