pub struct BootOptions {
pub write_boot_catalog: bool,
pub default: BootEntryOptions,
pub entries: Vec<(BootSectionOptions, BootEntryOptions)>,
}Available on crate features
sync and write only.Expand description
Represents BootOptions.
Fields§
§write_boot_catalog: boolThe write_boot_catalog field.
default: BootEntryOptionsThe default field.
entries: Vec<(BootSectionOptions, BootEntryOptions)>The entries field.
Implementations§
Source§impl BootOptions
impl BootOptions
Sourcepub fn sections(&self) -> Vec<(Option<BootSectionOptions>, BootEntryOptions)>
pub fn sections(&self) -> Vec<(Option<BootSectionOptions>, BootEntryOptions)>
Performs the sections operation.
Trait Implementations§
Source§impl Clone for BootOptions
impl Clone for BootOptions
Source§impl Debug for BootOptions
impl Debug for BootOptions
Auto Trait Implementations§
impl Freeze for BootOptions
impl RefUnwindSafe for BootOptions
impl Send for BootOptions
impl Sync for BootOptions
impl Unpin for BootOptions
impl UnsafeUnpin for BootOptions
impl UnwindSafe for BootOptions
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