pub struct CopyToParams {
pub nodeId: NodeId,
pub targetNodeId: NodeId,
pub insertBeforeNodeId: Option<NodeId>,
}Expand description
Creates a deep copy of the specified node and places it into the target container before the given anchor.
Fields§
§nodeId: NodeIdId of the node to copy.
targetNodeId: NodeIdId of the element to drop the copy into.
insertBeforeNodeId: Option<NodeId>Drop the copy before this node (if absent, the copy becomes the last child of ‘targetNodeId’).
Trait Implementations§
Source§impl Clone for CopyToParams
impl Clone for CopyToParams
Source§fn clone(&self) -> CopyToParams
fn clone(&self) -> CopyToParams
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 moreSource§impl Debug for CopyToParams
impl Debug for CopyToParams
Source§impl Default for CopyToParams
impl Default for CopyToParams
Source§fn default() -> CopyToParams
fn default() -> CopyToParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CopyToParams
impl<'de> Deserialize<'de> for CopyToParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CopyToParams
impl RefUnwindSafe for CopyToParams
impl Send for CopyToParams
impl Sync for CopyToParams
impl Unpin for CopyToParams
impl UnsafeUnpin for CopyToParams
impl UnwindSafe for CopyToParams
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