Struct linux_raw_sys::system::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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)