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. getLayersForNode
Fields§
§node_id: NodeIdImplementations§
Trait Implementations§
Source§impl Clone for GetLayersForNodeParams
impl Clone for GetLayersForNodeParams
Source§fn clone(&self) -> GetLayersForNodeParams
fn clone(&self) -> GetLayersForNodeParams
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 Debug for GetLayersForNodeParams
impl Debug 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 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