pub struct Node<'a> {
pub level: usize,
pub name: &'a str,
/* private fields */
}
Fields§
§level: usize
§name: &'a str
Implementations§
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 = Result<&'a str, FdtError<'a>>> + '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§
Source§impl FDTExtend for Node<'_>
impl FDTExtend for Node<'_>
fn interrupt_list(&self) -> Vec<Vec<usize>>
fn probe_config(&self) -> ProbeConfig
fn find_clock(&self) -> Vec<u64>
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> Background for T
impl<T> Background for T
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