pub struct CopyTo {
pub method: CopyToMethod,
pub params: CopyToParams,
}Expand description
Creates a deep copy of the specified node and places it into the target container before the given anchor. copyTo
Fields§
§method: CopyToMethod§params: CopyToParamsImplementations§
Source§impl CopyTo
impl CopyTo
pub const IDENTIFIER: &'static str = "DOM.copyTo"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for CopyTo
impl CommandResult for CopyTo
type Result = CopyToResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for CopyTo
impl<'de> Deserialize<'de> for CopyTo
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
Source§impl From<CopyTo> for BrowserProtocolCommands
impl From<CopyTo> for BrowserProtocolCommands
Source§impl From<CopyTo> for DomCommands
impl From<CopyTo> for DomCommands
Source§impl TryFrom<BrowserProtocolCommands> for CopyTo
impl TryFrom<BrowserProtocolCommands> for CopyTo
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <CopyTo as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <CopyTo as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<DomCommands> for CopyTo
impl TryFrom<DomCommands> for CopyTo
Source§type Error = DomCommands
type Error = DomCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: DomCommands,
) -> Result<Self, <CopyTo as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <CopyTo as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for CopyTo
Auto Trait Implementations§
impl Freeze for CopyTo
impl RefUnwindSafe for CopyTo
impl Send for CopyTo
impl Sync for CopyTo
impl Unpin for CopyTo
impl UnsafeUnpin for CopyTo
impl UnwindSafe for CopyTo
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