pub struct GetLayersForNodeReturns {
pub rootLayer: CSSLayerData,
}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§
§rootLayer: CSSLayerDataTrait Implementations§
Source§impl Clone for GetLayersForNodeReturns
impl Clone for GetLayersForNodeReturns
Source§fn clone(&self) -> GetLayersForNodeReturns
fn clone(&self) -> GetLayersForNodeReturns
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 GetLayersForNodeReturns
impl Debug for GetLayersForNodeReturns
Source§impl Default for GetLayersForNodeReturns
impl Default for GetLayersForNodeReturns
Source§fn default() -> GetLayersForNodeReturns
fn default() -> GetLayersForNodeReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetLayersForNodeReturns
impl<'de> Deserialize<'de> for GetLayersForNodeReturns
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 GetLayersForNodeReturns
impl RefUnwindSafe for GetLayersForNodeReturns
impl Send for GetLayersForNodeReturns
impl Sync for GetLayersForNodeReturns
impl Unpin for GetLayersForNodeReturns
impl UnsafeUnpin for GetLayersForNodeReturns
impl UnwindSafe for GetLayersForNodeReturns
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