pub enum LayerTreeEvents {
LayerPainted(LayerPainted),
LayerTreeDidChange(LayerTreeDidChange),
}Variants§
LayerPainted(LayerPainted)
LayerTreeDidChange(LayerTreeDidChange)
Implementations§
Source§impl LayerTreeEvents
impl LayerTreeEvents
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for LayerTreeEvents
impl Clone for LayerTreeEvents
Source§fn clone(&self) -> LayerTreeEvents
fn clone(&self) -> LayerTreeEvents
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 LayerTreeEvents
impl Debug for LayerTreeEvents
Source§impl<'de> Deserialize<'de> for LayerTreeEvents
impl<'de> Deserialize<'de> for LayerTreeEvents
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
Source§impl From<LayerPainted> for LayerTreeEvents
impl From<LayerPainted> for LayerTreeEvents
Source§fn from(v: LayerPainted) -> Self
fn from(v: LayerPainted) -> Self
Converts to this type from the input type.
Source§impl From<LayerTreeDidChange> for LayerTreeEvents
impl From<LayerTreeDidChange> for LayerTreeEvents
Source§fn from(v: LayerTreeDidChange) -> Self
fn from(v: LayerTreeDidChange) -> Self
Converts to this type from the input type.
Source§impl From<LayerTreeEvents> for BrowserProtocolEvents
impl From<LayerTreeEvents> for BrowserProtocolEvents
Source§fn from(v: LayerTreeEvents) -> Self
fn from(v: LayerTreeEvents) -> Self
Converts to this type from the input type.
Source§impl From<LayerTreeEvents> for Event
impl From<LayerTreeEvents> for Event
Source§fn from(v: LayerTreeEvents) -> Self
fn from(v: LayerTreeEvents) -> Self
Converts to this type from the input type.
Source§impl PartialEq for LayerTreeEvents
impl PartialEq for LayerTreeEvents
Source§impl Serialize for LayerTreeEvents
impl Serialize for LayerTreeEvents
Source§impl TryFrom<BrowserProtocolEvents> for LayerTreeEvents
impl TryFrom<BrowserProtocolEvents> for LayerTreeEvents
Source§type Error = BrowserProtocolEvents
type Error = BrowserProtocolEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolEvents,
) -> Result<Self, <LayerTreeEvents as TryFrom<BrowserProtocolEvents>>::Error>
fn try_from( e: BrowserProtocolEvents, ) -> Result<Self, <LayerTreeEvents as TryFrom<BrowserProtocolEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<Event> for LayerTreeEvents
impl TryFrom<Event> for LayerTreeEvents
Source§impl TryFrom<LayerTreeEvents> for LayerPainted
impl TryFrom<LayerTreeEvents> for LayerPainted
Source§type Error = LayerTreeEvents
type Error = LayerTreeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeEvents,
) -> Result<Self, <LayerPainted as TryFrom<LayerTreeEvents>>::Error>
fn try_from( e: LayerTreeEvents, ) -> Result<Self, <LayerPainted as TryFrom<LayerTreeEvents>>::Error>
Performs the conversion.
Source§impl TryFrom<LayerTreeEvents> for LayerTreeDidChange
impl TryFrom<LayerTreeEvents> for LayerTreeDidChange
Source§type Error = LayerTreeEvents
type Error = LayerTreeEvents
The type returned in the event of a conversion error.
Source§fn try_from(
e: LayerTreeEvents,
) -> Result<Self, <LayerTreeDidChange as TryFrom<LayerTreeEvents>>::Error>
fn try_from( e: LayerTreeEvents, ) -> Result<Self, <LayerTreeDidChange as TryFrom<LayerTreeEvents>>::Error>
Performs the conversion.
impl StructuralPartialEq for LayerTreeEvents
Auto Trait Implementations§
impl Freeze for LayerTreeEvents
impl RefUnwindSafe for LayerTreeEvents
impl Send for LayerTreeEvents
impl Sync for LayerTreeEvents
impl Unpin for LayerTreeEvents
impl UnsafeUnpin for LayerTreeEvents
impl UnwindSafe for LayerTreeEvents
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