pub struct CompactDom {
pub arena: Arena<NodeData>,
pub root: NodeId,
}
Expand description
Same as Dom
, but arena-based for more efficient memory layout
Fields§
§arena: Arena<NodeData>
§root: NodeId
Implementations§
Trait Implementations§
Source§impl Clone for CompactDom
impl Clone for CompactDom
Source§impl Debug for CompactDom
impl Debug for CompactDom
Source§impl From<Dom> for CompactDom
impl From<Dom> for CompactDom
Source§impl PartialEq for CompactDom
impl PartialEq for CompactDom
impl Eq for CompactDom
Auto Trait Implementations§
impl Freeze for CompactDom
impl !RefUnwindSafe for CompactDom
impl !Send for CompactDom
impl !Sync for CompactDom
impl Unpin for CompactDom
impl !UnwindSafe for CompactDom
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)