[−][src]Struct dtb::Reader
DTB blob reader.
Methods
impl<'a> Reader<'a>
[src]
pub fn read(blob: &'a [u8]) -> Result<Self>
[src]
Reads a given DTB blob and returns a corresponding reader.
pub unsafe fn read_from_address(addr: usize) -> Result<Self>
[src]
Reads DTB from a given address and returns a corresponding reader.
ⓘImportant traits for ReservedMemEntries<'a>pub fn reserved_mem_entries(&self) -> ReservedMemEntries<'a>
[src]
ⓘImportant traits for ReservedMemEntries<'a>
Returns a reserved memory entry iterator.
ⓘImportant traits for StructItems<'a>pub fn struct_items(&self) -> StructItems<'a>
[src]
ⓘImportant traits for StructItems<'a>
Returns a structure item iterator.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,