pub struct OsInfo { /* private fields */ }Expand description
Info about MacOS/software.
Implementations§
Source§impl OsInfo
impl OsInfo
Sourcepub fn kern_version(&self) -> &str
pub fn kern_version(&self) -> &str
Getter for the field kern_version.
Sourcepub fn os_version(&self) -> &str
pub fn os_version(&self) -> &str
Getter for the field os_version.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OsInfo
impl RefUnwindSafe for OsInfo
impl Send for OsInfo
impl Sync for OsInfo
impl Unpin for OsInfo
impl UnwindSafe for OsInfo
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