pub struct BootloaderConfig {
pub kind: BootloaderKind,
pub config_file: Option<PathBuf>,
pub limine: LimineConfig,
pub grub: GrubConfig,
}Expand description
Bootloader configuration.
Fields§
§kind: BootloaderKindBootloader type.
config_file: Option<PathBuf>Path to bootloader configuration file.
limine: LimineConfigLimine-specific configuration.
grub: GrubConfigGRUB-specific configuration.
Trait Implementations§
Source§impl Clone for BootloaderConfig
impl Clone for BootloaderConfig
Source§fn clone(&self) -> BootloaderConfig
fn clone(&self) -> BootloaderConfig
Returns a duplicate 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 BootloaderConfig
impl Debug for BootloaderConfig
Source§impl Default for BootloaderConfig
impl Default for BootloaderConfig
Source§fn default() -> BootloaderConfig
fn default() -> BootloaderConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BootloaderConfig
impl<'de> Deserialize<'de> for BootloaderConfig
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 Freeze for BootloaderConfig
impl RefUnwindSafe for BootloaderConfig
impl Send for BootloaderConfig
impl Sync for BootloaderConfig
impl Unpin for BootloaderConfig
impl UnsafeUnpin for BootloaderConfig
impl UnwindSafe for BootloaderConfig
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