#[repr(C)]pub struct KernelInitInfo { /* private fields */ }
Expand description
Kernel init info, including initrd names.
Implementations§
source§impl KernelInitInfo
impl KernelInitInfo
sourcepub fn add_name(&mut self, name: KernelInitName)
pub fn add_name(&mut self, name: KernelInitName)
Add a name to the name list.
sourcepub fn names(&self) -> &[KernelInitName]
pub fn names(&self) -> &[KernelInitName]
Get the name list.
Auto Trait Implementations§
impl Freeze for KernelInitInfo
impl ObjSafe for KernelInitInfo
impl RefUnwindSafe for KernelInitInfo
impl Send for KernelInitInfo
impl Sync for KernelInitInfo
impl Unpin for KernelInitInfo
impl UnwindSafe for KernelInitInfo
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