pub struct MoveTo {
pub method: MoveToMethod,
pub params: MoveToParams,
}Expand description
Moves node into the new container, places it before the given anchor. moveTo
Fields§
§method: MoveToMethod§params: MoveToParamsImplementations§
Source§impl MoveTo
impl MoveTo
pub const IDENTIFIER: &'static str = "DOM.moveTo"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for MoveTo
impl CommandResult for MoveTo
type Result = MoveToResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for MoveTo
impl<'de> Deserialize<'de> for MoveTo
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<MoveTo> for BrowserProtocolCommands
impl From<MoveTo> for BrowserProtocolCommands
Source§impl From<MoveTo> for DomCommands
impl From<MoveTo> for DomCommands
Source§impl TryFrom<BrowserProtocolCommands> for MoveTo
impl TryFrom<BrowserProtocolCommands> for MoveTo
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, <MoveTo as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <MoveTo as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<DomCommands> for MoveTo
impl TryFrom<DomCommands> for MoveTo
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, <MoveTo as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <MoveTo as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for MoveTo
Auto Trait Implementations§
impl Freeze for MoveTo
impl RefUnwindSafe for MoveTo
impl Send for MoveTo
impl Sync for MoveTo
impl Unpin for MoveTo
impl UnsafeUnpin for MoveTo
impl UnwindSafe for MoveTo
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