pub struct BootInfoExtra<'a> {
pub id: BootInfoExtraId,
pub content_with_header: &'a [u8],
}
Expand description
An extra bootinfo chunk along with its ID.
Fields§
§id: BootInfoExtraId
§content_with_header: &'a [u8]
Implementations§
Source§impl BootInfoExtra<'_>
impl BootInfoExtra<'_>
pub fn content_with_header(&self) -> &[u8]
pub fn content(&self) -> &[u8]
Trait Implementations§
Source§impl<'a> Clone for BootInfoExtra<'a>
impl<'a> Clone for BootInfoExtra<'a>
Source§fn clone(&self) -> BootInfoExtra<'a>
fn clone(&self) -> BootInfoExtra<'a>
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for BootInfoExtra<'a>
impl<'a> Debug for BootInfoExtra<'a>
Source§impl<'a> PartialEq for BootInfoExtra<'a>
impl<'a> PartialEq for BootInfoExtra<'a>
impl<'a> Eq for BootInfoExtra<'a>
impl<'a> StructuralPartialEq for BootInfoExtra<'a>
Auto Trait Implementations§
impl<'a> Freeze for BootInfoExtra<'a>
impl<'a> RefUnwindSafe for BootInfoExtra<'a>
impl<'a> Send for BootInfoExtra<'a>
impl<'a> Sync for BootInfoExtra<'a>
impl<'a> Unpin for BootInfoExtra<'a>
impl<'a> UnwindSafe for BootInfoExtra<'a>
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)