pub enum ClockType {
Fixed(FixedClock),
Provider(Clock),
}
Variants§
Fixed(FixedClock)
Provider(Clock)
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 ClockType
impl RefUnwindSafe for ClockType
impl Send for ClockType
impl Sync for ClockType
impl Unpin for ClockType
impl UnwindSafe for ClockType
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