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 gnu: 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 p1: Env
pub const p2: 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
impl 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