pub enum InitrdAddressType {
AfterKernel,
Address(u64),
}
Variants§
AfterKernel
Load the initrd after the kernel at the next 2MB aligned address.
Address(u64)
Load the initrd at the specified address.
Trait Implementations§
Source§impl Clone for InitrdAddressType
impl Clone for InitrdAddressType
Source§fn clone(&self) -> InitrdAddressType
fn clone(&self) -> InitrdAddressType
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 InitrdAddressType
impl Debug for InitrdAddressType
Source§impl PartialEq for InitrdAddressType
impl PartialEq for InitrdAddressType
impl Copy for InitrdAddressType
impl Eq for InitrdAddressType
impl StructuralPartialEq for InitrdAddressType
Auto Trait Implementations§
impl Freeze for InitrdAddressType
impl RefUnwindSafe for InitrdAddressType
impl Send for InitrdAddressType
impl Sync for InitrdAddressType
impl Unpin for InitrdAddressType
impl UnwindSafe for InitrdAddressType
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