pub struct GetLayersForNodeReturns<'a> { /* private fields */ }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.
Implementations§
Source§impl<'a> GetLayersForNodeReturns<'a>
impl<'a> GetLayersForNodeReturns<'a>
Sourcepub fn builder(
root_layer: CSSLayerData<'a>,
) -> GetLayersForNodeReturnsBuilder<'a>
pub fn builder( root_layer: CSSLayerData<'a>, ) -> GetLayersForNodeReturnsBuilder<'a>
Creates a builder for this type with the required parameters:
root_layer:
pub fn root_layer(&self) -> &CSSLayerData<'a>
Trait Implementations§
Source§impl<'a> Clone for GetLayersForNodeReturns<'a>
impl<'a> Clone for GetLayersForNodeReturns<'a>
Source§fn clone(&self) -> GetLayersForNodeReturns<'a>
fn clone(&self) -> GetLayersForNodeReturns<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetLayersForNodeReturns<'a>
impl<'a> Debug for GetLayersForNodeReturns<'a>
Source§impl<'a> Default for GetLayersForNodeReturns<'a>
impl<'a> Default for GetLayersForNodeReturns<'a>
Source§fn default() -> GetLayersForNodeReturns<'a>
fn default() -> GetLayersForNodeReturns<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetLayersForNodeReturns<'a>
impl<'de, 'a> Deserialize<'de> for GetLayersForNodeReturns<'a>
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<'a> Freeze for GetLayersForNodeReturns<'a>
impl<'a> RefUnwindSafe for GetLayersForNodeReturns<'a>
impl<'a> Send for GetLayersForNodeReturns<'a>
impl<'a> Sync for GetLayersForNodeReturns<'a>
impl<'a> Unpin for GetLayersForNodeReturns<'a>
impl<'a> UnsafeUnpin for GetLayersForNodeReturns<'a>
impl<'a> UnwindSafe for GetLayersForNodeReturns<'a>
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