#[repr(C, packed(1))]pub struct CmdsizeParams {
pub argc: i32,
pub argsz: [i32; 128],
pub envc: i32,
pub envsz: [i32; 128],
}
Expand description
Parameters for a Cmdsize
hypercall which provides the lengths of the items in the argument end environment vector.
Fields§
§argc: i32
Nr of items in the kernel command line.
argsz: [i32; 128]
Lengths of the items in the kernel command line.
envc: i32
Nr of items in the environment.
envsz: [i32; 128]
Length of the items in the environment.
Trait Implementations§
Source§impl Clone for CmdsizeParams
impl Clone for CmdsizeParams
Source§fn clone(&self) -> CmdsizeParams
fn clone(&self) -> CmdsizeParams
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 CmdsizeParams
impl Debug for CmdsizeParams
impl Copy for CmdsizeParams
Auto Trait Implementations§
impl Freeze for CmdsizeParams
impl RefUnwindSafe for CmdsizeParams
impl Send for CmdsizeParams
impl Sync for CmdsizeParams
impl Unpin for CmdsizeParams
impl UnwindSafe for CmdsizeParams
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