pub struct Os(pub Cow<'static, str>);
Expand description
The “operating system” field, which sometimes implies an environment, and sometimes isn’t an actual operating system.
Tuple Fields§
§0: Cow<'static, str>
Implementations§
Source§impl Os
impl Os
pub const aix: Os = _
pub const android: Os = _
pub const cuda: Os = _
pub const dragonfly: Os = _
pub const emscripten: Os = _
pub const espidf: Os = _
pub const freebsd: Os = _
pub const fuchsia: Os = _
pub const haiku: Os = _
pub const hermit: Os = _
pub const horizon: Os = _
pub const hurd: Os = _
pub const illumos: Os = _
pub const ios: Os = _
pub const l4re: Os = _
pub const linux: Os = _
pub const macos: Os = _
pub const netbsd: Os = _
pub const nto: Os = _
pub const nuttx: Os = _
pub const openbsd: Os = _
pub const psp: Os = _
pub const redox: Os = _
pub const solaris: Os = _
pub const solid_asp3: Os = _
pub const teeos: Os = _
pub const trusty: Os = _
pub const tvos: Os = _
pub const uefi: Os = _
pub const unknown: Os = _
pub const visionos: Os = _
pub const vita: Os = _
pub const vxworks: Os = _
pub const wasi: Os = _
pub const watchos: Os = _
pub const windows: Os = _
pub const xous: Os = _
pub const zkvm: Os = _
Trait Implementations§
Source§impl Ord for Os
impl Ord for Os
Source§impl PartialOrd for Os
impl PartialOrd for Os
impl Eq for Os
impl StructuralPartialEq for Os
Auto Trait Implementations§
impl Freeze for Os
impl RefUnwindSafe for Os
impl Send for Os
impl Sync for Os
impl Unpin for Os
impl UnwindSafe for Os
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