pub struct FdtNode<'fdt> { /* private fields */ }
Expand description
Node representation in an Fdt
.
Implementations§
Source§impl<'fdt> FdtNode<'fdt>
impl<'fdt> FdtNode<'fdt>
Sourcepub fn subnodes_iter(&self) -> Result<FdtNodeIter<'fdt>, Error>
pub fn subnodes_iter(&self) -> Result<FdtNodeIter<'fdt>, Error>
Get an iterator over the subnodes of the node.
Sourcepub fn properties_iter(&self) -> Result<FdtPropertyIter<'fdt>, Error>
pub fn properties_iter(&self) -> Result<FdtPropertyIter<'fdt>, Error>
Get an iterator over the properties of the node.
Sourcepub fn get_property(
&self,
property_name: &str,
) -> Result<FdtProperty<'fdt>, Error>
pub fn get_property( &self, property_name: &str, ) -> Result<FdtProperty<'fdt>, Error>
Get a property in the node given its name.
Trait Implementations§
impl<'fdt> Eq for FdtNode<'fdt>
Auto Trait Implementations§
impl<'fdt> Freeze for FdtNode<'fdt>
impl<'fdt> RefUnwindSafe for FdtNode<'fdt>
impl<'fdt> !Send for FdtNode<'fdt>
impl<'fdt> !Sync for FdtNode<'fdt>
impl<'fdt> Unpin for FdtNode<'fdt>
impl<'fdt> UnwindSafe for FdtNode<'fdt>
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