pub struct GetContainerForNodeParams {
pub node_id: NodeId,
pub container_name: Option<String>,
pub physical_axes: Option<PhysicalAxes>,
pub logical_axes: Option<LogicalAxes>,
pub queries_scroll_state: Option<bool>,
}Expand description
Returns the query container of the given node based on container query conditions: containerName, physical and logical axes, and whether it queries scroll-state. If no axes are provided and queriesScrollState is false, the style container is returned, which is the direct parent or the closest element with a matching container-name. getContainerForNode
Fields§
§node_id: NodeId§container_name: Option<String>§physical_axes: Option<PhysicalAxes>§logical_axes: Option<LogicalAxes>§queries_scroll_state: Option<bool>Implementations§
Source§impl GetContainerForNodeParams
impl GetContainerForNodeParams
pub const IDENTIFIER: &'static str = "DOM.getContainerForNode"
Trait Implementations§
Source§impl Clone for GetContainerForNodeParams
impl Clone for GetContainerForNodeParams
Source§fn clone(&self) -> GetContainerForNodeParams
fn clone(&self) -> GetContainerForNodeParams
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 Command for GetContainerForNodeParams
impl Command for GetContainerForNodeParams
Source§impl Debug for GetContainerForNodeParams
impl Debug for GetContainerForNodeParams
Source§impl<'de> Deserialize<'de> for GetContainerForNodeParams
impl<'de> Deserialize<'de> for GetContainerForNodeParams
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 Method for GetContainerForNodeParams
impl Method for GetContainerForNodeParams
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeimpl StructuralPartialEq for GetContainerForNodeParams
Auto Trait Implementations§
impl Freeze for GetContainerForNodeParams
impl RefUnwindSafe for GetContainerForNodeParams
impl Send for GetContainerForNodeParams
impl Sync for GetContainerForNodeParams
impl Unpin for GetContainerForNodeParams
impl UnwindSafe for GetContainerForNodeParams
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