Struct target_spec::custom_platforms::Os [−][src]
The "operating system" field, which sometimes implies an environment, and sometimes isn't an actual operating system.
Implementations
impl<'a> Os<'a>
[src]
pub const android: Os<'static>
[src]
pub const cuda: Os<'static>
[src]
pub const dragonfly: Os<'static>
[src]
pub const emscripten: Os<'static>
[src]
pub const freebsd: Os<'static>
[src]
pub const fuchsia: Os<'static>
[src]
pub const haiku: Os<'static>
[src]
pub const hermit: Os<'static>
[src]
pub const illumos: Os<'static>
[src]
pub const ios: Os<'static>
[src]
pub const l4re: Os<'static>
[src]
pub const linux: Os<'static>
[src]
pub const macos: Os<'static>
[src]
pub const netbsd: Os<'static>
[src]
pub const openbsd: Os<'static>
[src]
pub const psp: Os<'static>
[src]
pub const redox: Os<'static>
[src]
pub const solaris: Os<'static>
[src]
pub const tvos: Os<'static>
[src]
pub const uefi: Os<'static>
[src]
pub const unknown: Os<'static>
[src]
pub const vxworks: Os<'static>
[src]
pub const wasi: Os<'static>
[src]
pub const windows: Os<'static>
[src]
Trait Implementations
impl<'a> Clone for Os<'a>
[src]
impl<'a> Copy for Os<'a>
[src]
impl<'a> Debug for Os<'a>
[src]
impl<'a> Eq for Os<'a>
[src]
impl<'a> Hash for Os<'a>
[src]
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
[src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<'a> Ord for Os<'a>
[src]
pub fn cmp(&self, other: &Os<'a>) -> Ordering
[src]
#[must_use]pub fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self
1.50.0[src]
impl<'a> PartialEq<Os<'a>> for Os<'a>
[src]
impl<'a> PartialOrd<Os<'a>> for Os<'a>
[src]
pub fn partial_cmp(&self, other: &Os<'a>) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl<'a> StructuralEq for Os<'a>
[src]
impl<'a> StructuralPartialEq for Os<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Os<'a>
[src]
impl<'a> Send for Os<'a>
[src]
impl<'a> Sync for Os<'a>
[src]
impl<'a> Unpin for Os<'a>
[src]
impl<'a> UnwindSafe for Os<'a>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,