Struct svd_generator::tree::Tree
source · pub struct Tree { /* private fields */ }Expand description
Represents a DeviceTree loaded from an FDT description.
Implementations§
source§impl Tree
impl Tree
sourcepub const fn device_tree(&self) -> &DeviceTree
pub const fn device_tree(&self) -> &DeviceTree
Gets a reference to the inner DeviceTree.
sourcepub fn device_tree_mut(&mut self) -> &mut DeviceTree
pub fn device_tree_mut(&mut self) -> &mut DeviceTree
Gets a mutable reference to the inner DeviceTree.
Trait Implementations§
source§impl From<DeviceTree> for Tree
impl From<DeviceTree> for Tree
source§fn from(val: DeviceTree) -> Self
fn from(val: DeviceTree) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnwindSafe for Tree
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