Struct kernel_builder::KBConfig
source · pub struct KBConfig {
pub kernel_file_path: PathBuf,
pub initramfs_file_path: Option<PathBuf>,
pub kernel_config_file_path: PathBuf,
pub kernel_src: PathBuf,
}
Fields§
§kernel_file_path: PathBuf
Path to the kernel bz image on the boot partition
initramfs_file_path: Option<PathBuf>
Path to the initramfs on the boot partition
kernel_config_file_path: PathBuf
path to the .config
file that will be symlinked
kernel_src: PathBuf
path to the kernel sources
Trait Implementations§
source§impl<'de> Deserialize<'de> for KBConfig
impl<'de> Deserialize<'de> for KBConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for KBConfig
impl Send for KBConfig
impl Sync for KBConfig
impl Unpin for KBConfig
impl UnwindSafe for KBConfig
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