#[repr(C)]pub struct new_utsname {
pub sysname: [c_char; 65],
pub nodename: [c_char; 65],
pub release: [c_char; 65],
pub version: [c_char; 65],
pub machine: [c_char; 65],
pub domainname: [c_char; 65],
}
Fields§
§sysname: [c_char; 65]
§nodename: [c_char; 65]
§release: [c_char; 65]
§version: [c_char; 65]
§machine: [c_char; 65]
§domainname: [c_char; 65]
Trait Implementations§
Source§impl Clone for new_utsname
impl Clone for new_utsname
Source§fn clone(&self) -> new_utsname
fn clone(&self) -> new_utsname
Returns a copy of the value. Read more
1.0.0 · 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 new_utsname
impl Debug for new_utsname
impl Copy for new_utsname
Auto Trait Implementations§
impl Freeze for new_utsname
impl RefUnwindSafe for new_utsname
impl Send for new_utsname
impl Sync for new_utsname
impl Unpin for new_utsname
impl UnwindSafe for new_utsname
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