Struct nc::types::kexec_segment_t
source · #[repr(C)]pub struct kexec_segment_t {
pub buf: usize,
pub bufsz: size_t,
pub mem: usize,
pub memsz: size_t,
}
Expand description
This structure is used to hold the arguments that are used when loading kernel binaries.
Fields§
§buf: usize
§bufsz: size_t
§mem: usize
§memsz: size_t
Trait Implementations§
source§impl Clone for kexec_segment_t
impl Clone for kexec_segment_t
source§fn clone(&self) -> kexec_segment_t
fn clone(&self) -> kexec_segment_t
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 kexec_segment_t
impl Debug for kexec_segment_t
source§impl Default for kexec_segment_t
impl Default for kexec_segment_t
source§fn default() -> kexec_segment_t
fn default() -> kexec_segment_t
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for kexec_segment_t
impl RefUnwindSafe for kexec_segment_t
impl Send for kexec_segment_t
impl Sync for kexec_segment_t
impl Unpin for kexec_segment_t
impl UnwindSafe for kexec_segment_t
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