pub struct Stdout<'a> {
pub params: Option<&'a str>,
pub node: NodeBase<'a>,
}
Fields§
§params: Option<&'a str>
§node: NodeBase<'a>
Methods from Deref<Target = NodeBase<'a>>§
pub fn parent_name(&self) -> Option<&'a str>
pub fn parent(&self) -> Option<Node<'a>>
pub fn raw(&self) -> Raw<'a>
Sourcepub fn compatibles(
&self,
) -> Result<impl Iterator<Item = &'a str> + 'a, FdtError>
pub fn compatibles( &self, ) -> Result<impl Iterator<Item = &'a str> + 'a, FdtError>
Get compatible strings for this node (placeholder implementation)
pub fn compatibles_flatten( &self, ) -> Result<impl Iterator<Item = &'a str> + 'a, FdtError>
pub fn reg(&self) -> Result<RegIter<'a>, FdtError>
Sourcepub fn debug_info(&self) -> NodeDebugInfo<'a>
pub fn debug_info(&self) -> NodeDebugInfo<'a>
获取节点的完整路径信息(仅限调试用途)
pub fn properties( &self, ) -> impl Iterator<Item = Result<Property<'a>, FdtError>> + '_
pub fn find_property(&self, name: &str) -> Result<Property<'a>, FdtError>
pub fn phandle(&self) -> Result<Phandle, FdtError>
Sourcepub fn interrupt_parent(&self) -> Result<InterruptController<'a>, FdtError>
pub fn interrupt_parent(&self) -> Result<InterruptController<'a>, FdtError>
Find InterruptController from current node or its parent
Sourcepub fn get_interrupt_parent_phandle(&self) -> Option<Phandle>
pub fn get_interrupt_parent_phandle(&self) -> Option<Phandle>
Get the interrupt parent phandle for this node
pub fn interrupts( &self, ) -> Result<impl Iterator<Item = impl Iterator<Item = u32> + 'a> + 'a, FdtError>
pub fn clock_frequency(&self) -> Result<u32, FdtError>
pub fn children(&self) -> NodeChildIter<'a> ⓘ
pub fn status(&self) -> Result<Status, FdtError>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Stdout<'a>
impl<'a> RefUnwindSafe for Stdout<'a>
impl<'a> Send for Stdout<'a>
impl<'a> Sync for Stdout<'a>
impl<'a> Unpin for Stdout<'a>
impl<'a> UnwindSafe for Stdout<'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