pub struct GetTopLayerElements {
pub method: GetTopLayerElementsMethod,
pub params: GetTopLayerElementsParams,
}Expand description
Returns NodeIds of current top layer elements. Top layer is rendered closest to the user within a viewport, therefore its elements always appear on top of all other content. getTopLayerElements
Fields§
§method: GetTopLayerElementsMethod§params: GetTopLayerElementsParamsImplementations§
Source§impl GetTopLayerElements
impl GetTopLayerElements
pub fn builder() -> GetTopLayerElementsBuilder
Source§impl GetTopLayerElements
impl GetTopLayerElements
pub const IDENTIFIER: &'static str = "DOM.getTopLayerElements"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetTopLayerElements
impl Clone for GetTopLayerElements
Source§fn clone(&self) -> GetTopLayerElements
fn clone(&self) -> GetTopLayerElements
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 CommandResult for GetTopLayerElements
impl CommandResult for GetTopLayerElements
type Result = GetTopLayerElementsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetTopLayerElements
impl Debug for GetTopLayerElements
Source§impl<'de> Deserialize<'de> for GetTopLayerElements
impl<'de> Deserialize<'de> for GetTopLayerElements
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<GetTopLayerElements> for BrowserProtocolCommands
impl From<GetTopLayerElements> for BrowserProtocolCommands
Source§fn from(v: GetTopLayerElements) -> Self
fn from(v: GetTopLayerElements) -> Self
Converts to this type from the input type.
Source§impl From<GetTopLayerElements> for Command
impl From<GetTopLayerElements> for Command
Source§fn from(v: GetTopLayerElements) -> Self
fn from(v: GetTopLayerElements) -> Self
Converts to this type from the input type.
Source§impl From<GetTopLayerElements> for DomCommands
impl From<GetTopLayerElements> for DomCommands
Source§fn from(v: GetTopLayerElements) -> Self
fn from(v: GetTopLayerElements) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetTopLayerElements
impl PartialEq for GetTopLayerElements
Source§impl Serialize for GetTopLayerElements
impl Serialize for GetTopLayerElements
Source§impl TryFrom<BrowserProtocolCommands> for GetTopLayerElements
impl TryFrom<BrowserProtocolCommands> for GetTopLayerElements
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, <GetTopLayerElements as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetTopLayerElements as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetTopLayerElements
impl TryFrom<Command> for GetTopLayerElements
Source§impl TryFrom<DomCommands> for GetTopLayerElements
impl TryFrom<DomCommands> for GetTopLayerElements
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, <GetTopLayerElements as TryFrom<DomCommands>>::Error>
fn try_from( e: DomCommands, ) -> Result<Self, <GetTopLayerElements as TryFrom<DomCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetTopLayerElements
Auto Trait Implementations§
impl Freeze for GetTopLayerElements
impl RefUnwindSafe for GetTopLayerElements
impl Send for GetTopLayerElements
impl Sync for GetTopLayerElements
impl Unpin for GetTopLayerElements
impl UnsafeUnpin for GetTopLayerElements
impl UnwindSafe for GetTopLayerElements
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