Struct libc_interface::utsname [−][src]
#[repr(C)]pub struct 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
impl Copy for utsname
[src]
impl Copy for utsname
impl Clone for utsname
[src]
impl Clone for utsname
fn clone(&self) -> utsname
[src]
fn clone(&self) -> utsname
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for utsname
[src]
impl PartialEq for utsname
fn eq(&self, other: &Self) -> bool
[src]
fn eq(&self, other: &Self) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for utsname
[src]
impl Eq for utsname