Struct sel4::BootInfoExtra
source · 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<'a> BootInfoExtra<'a>
impl<'a> BootInfoExtra<'a>
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>
source§fn eq(&self, other: &BootInfoExtra<'a>) -> bool
fn eq(&self, other: &BootInfoExtra<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.