pub struct NodeBase { /* private fields */ }Expand description
The fields every node has: its key, its links to its parent and
siblings (__key, __parent, __prev, __next) and its NodeState
(__state), which a clone shares until one of them writes it; and, used
by elements and decorators only, the slot fields JS’s ElementNode and
DecoratorNode add (__slotHost, __slots). A clone keeps them, as
their afterCloneFrom does for the same key; $copyNode drops them.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for NodeBase
impl !RefUnwindSafe for NodeBase
impl !Send for NodeBase
impl !Sync for NodeBase
impl !UnwindSafe for NodeBase
impl Forget for NodeBase
impl Move for NodeBase
impl Unpin for NodeBase
impl UnsafeUnpin for NodeBase
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