pub struct CopyToBuilder { /* private fields */ }Expand description
Builder for CopyTo.
Implementations§
Source§impl CopyToBuilder
impl CopyToBuilder
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 copy.
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 copy 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 the copy before this node (if absent, the copy becomes the last child of
targetNodeId).
Trait Implementations§
Source§impl Clone for CopyToBuilder
impl Clone for CopyToBuilder
Source§fn clone(&self) -> CopyToBuilder
fn clone(&self) -> CopyToBuilder
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 CopyToBuilder
impl RefUnwindSafe for CopyToBuilder
impl Send for CopyToBuilder
impl Sync for CopyToBuilder
impl Unpin for CopyToBuilder
impl UnsafeUnpin for CopyToBuilder
impl UnwindSafe for CopyToBuilder
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