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 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
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