pub struct GetLayersForNodeParams {
pub node_id: NodeId,
}Expand description
Returns all layers parsed by the rendering engine for the tree scope of a node. Given a DOM element identified by nodeId, getLayersForNode returns the root layer for the nearest ancestor document or shadow root. The layer root contains the full layer tree for the tree scope and their ordering.
Experimental: may change without notice.
Parameters of CSS.getLayersForNode.
Fields§
§node_id: NodeIdTrait Implementations§
Source§impl Clone for GetLayersForNodeParams
impl Clone for GetLayersForNodeParams
Source§impl Command for GetLayersForNodeParams
impl Command for GetLayersForNodeParams
Source§impl Debug for GetLayersForNodeParams
impl Debug for GetLayersForNodeParams
Source§impl Default for GetLayersForNodeParams
impl Default for GetLayersForNodeParams
Source§impl<'de> Deserialize<'de> for GetLayersForNodeParams
impl<'de> Deserialize<'de> for GetLayersForNodeParams
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 PartialEq for GetLayersForNodeParams
impl PartialEq for GetLayersForNodeParams
Source§impl Serialize for GetLayersForNodeParams
impl Serialize for GetLayersForNodeParams
impl StructuralPartialEq for GetLayersForNodeParams
Auto Trait Implementations§
impl Forget for GetLayersForNodeParams
impl Freeze for GetLayersForNodeParams
impl RefUnwindSafe for GetLayersForNodeParams
impl Send for GetLayersForNodeParams
impl Sync for GetLayersForNodeParams
impl Unpin for GetLayersForNodeParams
impl UnsafeUnpin for GetLayersForNodeParams
impl UnwindSafe for GetLayersForNodeParams
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