pub struct Node<'a> {
    pub level: usize,
    pub name: &'a str,
    /* private fields */
}Fields§
§level: usize§name: &'a strImplementations§
Source§impl<'a> Node<'a>
 
impl<'a> Node<'a>
pub fn name(&self) -> &'a str
pub fn propertys(&self) -> impl Iterator<Item = Property<'a>> + '_
pub fn find_property(&self, name: &str) -> Option<Property<'a>>
pub fn reg(&self) -> Option<impl Iterator<Item = FdtReg> + 'a>
Sourcepub fn interrupt_parent(&self) -> Option<InterruptController<'a>>
 
pub fn interrupt_parent(&self) -> Option<InterruptController<'a>>
Find InterruptController from current node or its parent
pub fn compatible( &self, ) -> Option<impl Iterator<Item = FdtResult<'a, &'a str>> + 'a>
Sourcepub fn compatibles(&self) -> impl Iterator<Item = &'a str> + 'a
 
pub fn compatibles(&self) -> impl Iterator<Item = &'a str> + 'a
Get all compatible ignoring errors
pub fn phandle(&self) -> Option<Phandle>
pub fn interrupts( &self, ) -> Option<impl Iterator<Item = impl Iterator<Item = u32> + 'a> + 'a>
pub fn clocks(&'a self) -> impl Iterator<Item = ClockRef<'a>> + 'a
pub fn clock_frequency(&self) -> Option<u32>
pub fn into_pci(self) -> Option<Pci<'a>>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Node<'a>
impl<'a> RefUnwindSafe for Node<'a>
impl<'a> Send for Node<'a>
impl<'a> Sync for Node<'a>
impl<'a> Unpin for Node<'a>
impl<'a> UnwindSafe for Node<'a>
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