pub struct GetContainerForNodeParams<'a> { /* private fields */ }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 or anchored elements. 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.
Implementations§
Source§impl<'a> GetContainerForNodeParams<'a>
impl<'a> GetContainerForNodeParams<'a>
pub fn builder(nodeId: NodeId) -> GetContainerForNodeParamsBuilder<'a>
pub fn nodeId(&self) -> &NodeId
pub fn containerName(&self) -> Option<&str>
pub fn physicalAxes(&self) -> Option<&PhysicalAxes>
pub fn logicalAxes(&self) -> Option<&LogicalAxes>
pub fn queriesScrollState(&self) -> Option<bool>
pub fn queriesAnchored(&self) -> Option<bool>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for GetContainerForNodeParams<'a>
impl<'a> CdpCommand<'a> for GetContainerForNodeParams<'a>
Source§impl<'a> Clone for GetContainerForNodeParams<'a>
impl<'a> Clone for GetContainerForNodeParams<'a>
Source§fn clone(&self) -> GetContainerForNodeParams<'a>
fn clone(&self) -> GetContainerForNodeParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetContainerForNodeParams<'a>
impl<'a> Debug for GetContainerForNodeParams<'a>
Source§impl<'a> Default for GetContainerForNodeParams<'a>
impl<'a> Default for GetContainerForNodeParams<'a>
Source§fn default() -> GetContainerForNodeParams<'a>
fn default() -> GetContainerForNodeParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetContainerForNodeParams<'a>
impl<'de, 'a> Deserialize<'de> for GetContainerForNodeParams<'a>
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<'a> Freeze for GetContainerForNodeParams<'a>
impl<'a> RefUnwindSafe for GetContainerForNodeParams<'a>
impl<'a> Send for GetContainerForNodeParams<'a>
impl<'a> Sync for GetContainerForNodeParams<'a>
impl<'a> Unpin for GetContainerForNodeParams<'a>
impl<'a> UnsafeUnpin for GetContainerForNodeParams<'a>
impl<'a> UnwindSafe for GetContainerForNodeParams<'a>
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