pub struct TrackComputedStyleUpdatesForNodeReturns {}Expand description
Starts tracking the given node for the computed style updates
and whenever the computed style is updated for node, it queues
a computedStyleUpdated event with throttling.
There can only be 1 node tracked for computed style updates
so passing a new node id removes tracking from the previous node.
Pass undefined to disable tracking.
trackComputedStyleUpdatesForNode
Trait Implementations§
Source§impl Clone for TrackComputedStyleUpdatesForNodeReturns
impl Clone for TrackComputedStyleUpdatesForNodeReturns
Source§fn clone(&self) -> TrackComputedStyleUpdatesForNodeReturns
fn clone(&self) -> TrackComputedStyleUpdatesForNodeReturns
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 Default for TrackComputedStyleUpdatesForNodeReturns
impl Default for TrackComputedStyleUpdatesForNodeReturns
Source§fn default() -> TrackComputedStyleUpdatesForNodeReturns
fn default() -> TrackComputedStyleUpdatesForNodeReturns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TrackComputedStyleUpdatesForNodeReturns
impl<'de> Deserialize<'de> for TrackComputedStyleUpdatesForNodeReturns
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrackComputedStyleUpdatesForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TrackComputedStyleUpdatesForNodeReturns, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TrackComputedStyleUpdatesForNodeReturns
impl PartialEq for TrackComputedStyleUpdatesForNodeReturns
Source§fn eq(&self, other: &TrackComputedStyleUpdatesForNodeReturns) -> bool
fn eq(&self, other: &TrackComputedStyleUpdatesForNodeReturns) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TrackComputedStyleUpdatesForNodeReturns
impl Serialize for TrackComputedStyleUpdatesForNodeReturns
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 TrackComputedStyleUpdatesForNodeReturns
Auto Trait Implementations§
impl Freeze for TrackComputedStyleUpdatesForNodeReturns
impl RefUnwindSafe for TrackComputedStyleUpdatesForNodeReturns
impl Send for TrackComputedStyleUpdatesForNodeReturns
impl Sync for TrackComputedStyleUpdatesForNodeReturns
impl Unpin for TrackComputedStyleUpdatesForNodeReturns
impl UnwindSafe for TrackComputedStyleUpdatesForNodeReturns
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