pub enum Node {
General(NodeBase),
Chosen(Chosen),
Memory(Memory),
InterruptController(InterruptController),
Pci(Pci),
}
Variants§
Methods from Deref<Target = NodeBase>§
pub fn level(&self) -> usize
pub fn name(&self) -> &str
pub fn full_path(&self) -> &str
pub fn parent(&self) -> Option<Node>
pub fn properties<'a>(&'a self) -> Vec<Property<'a>>
pub fn find_property<'a>( &'a self, name: impl AsRef<str>, ) -> Option<Property<'a>>
Sourcepub fn compatibles(&self) -> Vec<String>
pub fn compatibles(&self) -> Vec<String>
Get compatible strings for this node (placeholder implementation)
pub fn address_cells(&self) -> u8
pub fn ranges(&self) -> Option<FdtRangeSilce<'_>>
pub fn interrupt_parent_phandle(&self) -> Option<Phandle>
pub fn interrupt_parent(&self) -> Option<InterruptController>
pub fn interrupts(&self) -> Result<Vec<Vec<u32>>, FdtError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Node
impl RefUnwindSafe for Node
impl Send for Node
impl Sync for Node
impl Unpin for Node
impl UnwindSafe for Node
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