Struct chromiumoxide::cdp::browser_protocol::css::GetLayersForNodeReturns
source · pub struct GetLayersForNodeReturns {
pub root_layer: 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. getLayersForNode
Fields§
§root_layer: CssLayerData
Implementations§
source§impl GetLayersForNodeReturns
impl GetLayersForNodeReturns
pub fn new(root_layer: impl Into<CssLayerData>) -> GetLayersForNodeReturns
Trait Implementations§
source§impl Clone for GetLayersForNodeReturns
impl Clone for GetLayersForNodeReturns
source§fn clone(&self) -> GetLayersForNodeReturns
fn clone(&self) -> GetLayersForNodeReturns
Returns a copy 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<'de> Deserialize<'de> for GetLayersForNodeReturns
impl<'de> Deserialize<'de> for GetLayersForNodeReturns
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<GetLayersForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<GetLayersForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for GetLayersForNodeReturns
impl PartialEq for GetLayersForNodeReturns
source§fn eq(&self, other: &GetLayersForNodeReturns) -> bool
fn eq(&self, other: &GetLayersForNodeReturns) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for GetLayersForNodeReturns
impl Serialize for GetLayersForNodeReturns
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for GetLayersForNodeReturns
Auto Trait Implementations§
impl Freeze for GetLayersForNodeReturns
impl RefUnwindSafe for GetLayersForNodeReturns
impl Send for GetLayersForNodeReturns
impl Sync for GetLayersForNodeReturns
impl Unpin 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