pub struct IntcNodeView<'a> { /* private fields */ }Expand description
Specialized view for interrupt controller nodes.
Implementations§
Source§impl<'a> IntcNodeView<'a>
impl<'a> IntcNodeView<'a>
Sourcepub fn interrupt_cells(&self) -> Option<u32>
pub fn interrupt_cells(&self) -> Option<u32>
Returns the #interrupt-cells property value.
Sourcepub fn interrupt_address_cells(&self) -> Option<u32>
pub fn interrupt_address_cells(&self) -> Option<u32>
Returns the #address-cells property value used by interrupt-map.
Sourcepub fn is_interrupt_controller(&self) -> bool
pub fn is_interrupt_controller(&self) -> bool
This is always true for IntcNodeView (type-level guarantee).
Sourcepub fn compatibles(&self) -> Vec<String>
pub fn compatibles(&self) -> Vec<String>
Returns all compatible strings as owned values.
Methods from Deref<Target = NodeGeneric<'a>>§
pub fn id(&self) -> NodeId
pub fn path(&self) -> String
pub fn regs(&self) -> Vec<RegFixed>
Sourcepub fn interrupt_parent(&self) -> Option<Phandle>
pub fn interrupt_parent(&self) -> Option<Phandle>
Returns the effective interrupt-parent, inheriting from ancestors.
Sourcepub fn interrupts(&self) -> Vec<InterruptRef>
pub fn interrupts(&self) -> Vec<InterruptRef>
Parses the interrupts property into interrupt references.
Trait Implementations§
Source§impl<'a> Clone for IntcNodeView<'a>
impl<'a> Clone for IntcNodeView<'a>
Source§fn clone(&self) -> IntcNodeView<'a>
fn clone(&self) -> IntcNodeView<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Deref for IntcNodeView<'a>
impl<'a> Deref for IntcNodeView<'a>
Source§impl<'a> From<IntcNodeView<'a>> for NodeType<'a>
impl<'a> From<IntcNodeView<'a>> for NodeType<'a>
Source§fn from(v: IntcNodeView<'a>) -> NodeType<'a>
fn from(v: IntcNodeView<'a>) -> NodeType<'a>
Converts to this type from the input type.
Source§impl<'a> TryInto<IntcNodeView<'a>> for NodeType<'a>
impl<'a> TryInto<IntcNodeView<'a>> for NodeType<'a>
impl<'a> Copy for IntcNodeView<'a>
Auto Trait Implementations§
impl<'a> Freeze for IntcNodeView<'a>
impl<'a> RefUnwindSafe for IntcNodeView<'a>
impl<'a> Send for IntcNodeView<'a>
impl<'a> !Sync for IntcNodeView<'a>
impl<'a> Unpin for IntcNodeView<'a>
impl<'a> UnsafeUnpin for IntcNodeView<'a>
impl<'a> UnwindSafe for IntcNodeView<'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