pub struct PlatformKernelConfig {
pub data: Arc<Vec<u8>>,
pub format: KernelFormat,
pub initrd: Option<Arc<Vec<u8>>>,
pub cmdline: String,
}
Fields§
§data: Arc<Vec<u8>>
§format: KernelFormat
§initrd: Option<Arc<Vec<u8>>>
§cmdline: String
Trait Implementations§
Source§impl Clone for PlatformKernelConfig
impl Clone for PlatformKernelConfig
Source§fn clone(&self) -> PlatformKernelConfig
fn clone(&self) -> PlatformKernelConfig
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 moreAuto Trait Implementations§
impl Freeze for PlatformKernelConfig
impl RefUnwindSafe for PlatformKernelConfig
impl Send for PlatformKernelConfig
impl Sync for PlatformKernelConfig
impl Unpin for PlatformKernelConfig
impl UnwindSafe for PlatformKernelConfig
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