pub struct MoveToBuilder { /* private fields */ }Expand description
Builder for MoveTo.
Implementations§
Source§impl MoveToBuilder
impl MoveToBuilder
Sourcepub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Id of the node to move.
Sourcepub fn target_node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
pub fn target_node_id<VALUE: Into<NodeId>>(&mut self, value: VALUE) -> &mut Self
Id of the element to drop the moved node into.
Sourcepub fn insert_before_node_id<VALUE: Into<NodeId>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn insert_before_node_id<VALUE: Into<NodeId>>( &mut self, value: VALUE, ) -> &mut Self
Drop node before this one (if absent, the moved node becomes the last child of
targetNodeId).
Trait Implementations§
Source§impl Clone for MoveToBuilder
impl Clone for MoveToBuilder
Source§fn clone(&self) -> MoveToBuilder
fn clone(&self) -> MoveToBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MoveToBuilder
impl RefUnwindSafe for MoveToBuilder
impl Send for MoveToBuilder
impl Sync for MoveToBuilder
impl Unpin for MoveToBuilder
impl UnsafeUnpin for MoveToBuilder
impl UnwindSafe for MoveToBuilder
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