pub struct Chosen { /* private fields */ }
Implementations§
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 Chosen
impl RefUnwindSafe for Chosen
impl Send for Chosen
impl Sync for Chosen
impl Unpin for Chosen
impl UnwindSafe for Chosen
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