Struct linux_raw_sys::general::new_utsname
source · [−]#[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
sourceimpl Clone for new_utsname
impl Clone for new_utsname
sourcefn clone(&self) -> new_utsname
fn clone(&self) -> new_utsname
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for new_utsname
impl Debug for new_utsname
impl Copy for new_utsname
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more