|
@@ -68,7 +68,7 @@ pub enum Mutation<'a> {
|
|
/// The ID of the element being mounted to
|
|
/// The ID of the element being mounted to
|
|
id: ElementId,
|
|
id: ElementId,
|
|
|
|
|
|
- /// The number of nodes on the stack
|
|
|
|
|
|
+ /// The number of nodes on the stack to append to the target element
|
|
m: usize,
|
|
m: usize,
|
|
},
|
|
},
|
|
|
|
|
|
@@ -155,7 +155,7 @@ pub enum Mutation<'a> {
|
|
/// The ID of the node we're going to replace with
|
|
/// The ID of the node we're going to replace with
|
|
id: ElementId,
|
|
id: ElementId,
|
|
|
|
|
|
- /// The number of nodes on the stack to use to replace
|
|
|
|
|
|
+ /// The number of nodes on the stack to replace the target element with
|
|
m: usize,
|
|
m: usize,
|
|
},
|
|
},
|
|
|
|
|
|
@@ -167,7 +167,7 @@ pub enum Mutation<'a> {
|
|
/// `[0,1,2]` represents 1st child's 2nd child's 3rd child.
|
|
/// `[0,1,2]` represents 1st child's 2nd child's 3rd child.
|
|
path: &'static [u8],
|
|
path: &'static [u8],
|
|
|
|
|
|
- /// The number of nodes on the stack to use to replace
|
|
|
|
|
|
+ /// The number of nodes on the stack to replace the target element with
|
|
m: usize,
|
|
m: usize,
|
|
},
|
|
},
|
|
|
|
|
|
@@ -176,7 +176,7 @@ pub enum Mutation<'a> {
|
|
/// The ID of the node to insert after.
|
|
/// The ID of the node to insert after.
|
|
id: ElementId,
|
|
id: ElementId,
|
|
|
|
|
|
- /// The ids of the nodes to insert after the target node.
|
|
|
|
|
|
+ /// The number of nodes on the stack to insert after the target node.
|
|
m: usize,
|
|
m: usize,
|
|
},
|
|
},
|
|
|
|
|
|
@@ -185,7 +185,7 @@ pub enum Mutation<'a> {
|
|
/// The ID of the node to insert before.
|
|
/// The ID of the node to insert before.
|
|
id: ElementId,
|
|
id: ElementId,
|
|
|
|
|
|
- /// The ids of the nodes to insert before the target node.
|
|
|
|
|
|
+ /// The number of nodes on the stack to insert before the target node.
|
|
m: usize,
|
|
m: usize,
|
|
},
|
|
},
|
|
|
|
|