pub struct KernelArgs {Show 16 fields
pub root: Option<PathBuf>,
pub loglevel: Option<u32>,
pub init: Option<PathBuf>,
pub mem: Option<usize>,
pub vga: Option<u32>,
pub single: bool,
pub nomodeset: bool,
pub debug: bool,
pub noapic: bool,
pub irqpool: bool,
pub nolapic: bool,
pub ipv6_disable: bool,
pub ro: bool,
pub quiet: bool,
pub silent: bool,
pub splash: bool,
}
Fields§
§root: Option<PathBuf>
§loglevel: Option<u32>
§init: Option<PathBuf>
§mem: Option<usize>
§vga: Option<u32>
§single: bool
§nomodeset: bool
§debug: bool
§noapic: bool
§irqpool: bool
§nolapic: bool
§ipv6_disable: bool
§ro: bool
§quiet: bool
§silent: bool
§splash: bool
Implementations§
Trait Implementations§
Source§impl Debug for KernelArgs
impl Debug for KernelArgs
Source§impl Default for KernelArgs
impl Default for KernelArgs
Source§fn default() -> KernelArgs
fn default() -> KernelArgs
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for KernelArgs
impl RefUnwindSafe for KernelArgs
impl Send for KernelArgs
impl Sync for KernelArgs
impl Unpin for KernelArgs
impl UnwindSafe for KernelArgs
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