pub struct PlatformContext {
pub os: Option<String>,
pub cpu: Option<String>,
pub libc: Option<String>,
}Fields§
§os: Option<String>§cpu: Option<String>§libc: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for PlatformContext
impl Clone for PlatformContext
Source§fn clone(&self) -> PlatformContext
fn clone(&self) -> PlatformContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PlatformContext
impl Debug for PlatformContext
Source§impl Display for PlatformContext
impl Display for PlatformContext
impl Eq for PlatformContext
Source§impl Hash for PlatformContext
impl Hash for PlatformContext
Source§impl Ord for PlatformContext
impl Ord for PlatformContext
Source§fn cmp(&self, other: &PlatformContext) -> Ordering
fn cmp(&self, other: &PlatformContext) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PlatformContext
impl PartialEq for PlatformContext
Source§impl PartialOrd for PlatformContext
impl PartialOrd for PlatformContext
impl StructuralPartialEq for PlatformContext
Auto Trait Implementations§
impl Freeze for PlatformContext
impl RefUnwindSafe for PlatformContext
impl Send for PlatformContext
impl Sync for PlatformContext
impl Unpin for PlatformContext
impl UnsafeUnpin for PlatformContext
impl UnwindSafe for PlatformContext
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