pub struct GetLayersForNodeParams {
pub nodeId: 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.
Fields§
§nodeId: NodeIdTrait 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 Default for GetLayersForNodeParams
impl Default for GetLayersForNodeParams
Source§fn default() -> GetLayersForNodeParams
fn default() -> GetLayersForNodeParams
Returns the “default value” for a type. Read more
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
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