pub struct DevTreeIndex<'i, 'dt: 'i> { /* private fields */ }
Implementations§
Source§impl<'i, 'dt: 'i> DevTreeIndex<'i, 'dt>
impl<'i, 'dt: 'i> DevTreeIndex<'i, 'dt>
pub fn get_layout(fdt: &'i DevTree<'dt>) -> Result<Layout, DevTreeError>
pub fn new(fdt: DevTree<'dt>, buf: &'i mut [u8]) -> Result<Self, DevTreeError>
pub fn root(&self) -> DevTreeIndexNode<'_, 'i, 'dt>
pub fn fdt(&self) -> &DevTree<'dt>
pub fn nodes(&self) -> DevTreeIndexNodeIter<'_, 'i, 'dt> ⓘ
pub fn props(&self) -> DevTreeIndexPropIter<'_, 'i, 'dt> ⓘ
pub fn items(&self) -> DevTreeIndexIter<'_, 'i, 'dt> ⓘ
pub fn compatible_nodes<'a, 's>( &'a self, string: &'s str, ) -> DevTreeIndexCompatibleNodeIter<'s, 'a, 'i, 'dt> ⓘ
pub fn buf(&self) -> &'dt [u8] ⓘ
Trait Implementations§
Source§impl<'i, 'dt: 'i> Debug for DevTreeIndex<'i, 'dt>
impl<'i, 'dt: 'i> Debug for DevTreeIndex<'i, 'dt>
Source§impl<'i, 'dt: 'i> PartialEq for DevTreeIndex<'i, 'dt>
impl<'i, 'dt: 'i> PartialEq for DevTreeIndex<'i, 'dt>
impl<'i, 'dt: 'i> StructuralPartialEq for DevTreeIndex<'i, 'dt>
Auto Trait Implementations§
impl<'i, 'dt> Freeze for DevTreeIndex<'i, 'dt>
impl<'i, 'dt> RefUnwindSafe for DevTreeIndex<'i, 'dt>
impl<'i, 'dt> !Send for DevTreeIndex<'i, 'dt>
impl<'i, 'dt> !Sync for DevTreeIndex<'i, 'dt>
impl<'i, 'dt> Unpin for DevTreeIndex<'i, 'dt>
impl<'i, 'dt> UnwindSafe for DevTreeIndex<'i, 'dt>
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