pub struct NodeBase<'a> {
pub address_cells: u8,
pub size_cells: u8,
pub context: NodeContext,
/* private fields */
}Expand description
基础节点结构
Fields§
§address_cells: u8当前节点的 #address-cells(用于子节点)
size_cells: u8当前节点的 #size-cells(用于子节点)
context: NodeContext继承的上下文(包含父节点的 cells 和累积的 ranges)
Implementations§
Source§impl<'a> NodeBase<'a>
impl<'a> NodeBase<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for NodeBase<'a>
impl<'a> RefUnwindSafe for NodeBase<'a>
impl<'a> Send for NodeBase<'a>
impl<'a> Sync for NodeBase<'a>
impl<'a> Unpin for NodeBase<'a>
impl<'a> UnwindSafe for NodeBase<'a>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)