pub struct LayerPaintedEvent {
pub layer_id: LayerId,
pub clip: Rect,
}Expand description
Payload of the LayerTree.layerPainted event.
Fields§
§layer_id: LayerIdThe id of the painted layer.
clip: RectClip rectangle.
Trait Implementations§
Source§impl Clone for LayerPaintedEvent
impl Clone for LayerPaintedEvent
Source§impl Debug for LayerPaintedEvent
impl Debug for LayerPaintedEvent
Source§impl Default for LayerPaintedEvent
impl Default for LayerPaintedEvent
Source§impl<'de> Deserialize<'de> for LayerPaintedEvent
impl<'de> Deserialize<'de> for LayerPaintedEvent
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 Event for LayerPaintedEvent
impl Event for LayerPaintedEvent
Source§impl PartialEq for LayerPaintedEvent
impl PartialEq for LayerPaintedEvent
Source§impl Serialize for LayerPaintedEvent
impl Serialize for LayerPaintedEvent
impl StructuralPartialEq for LayerPaintedEvent
Auto Trait Implementations§
impl Forget for LayerPaintedEvent
impl Freeze for LayerPaintedEvent
impl RefUnwindSafe for LayerPaintedEvent
impl Send for LayerPaintedEvent
impl Sync for LayerPaintedEvent
impl Unpin for LayerPaintedEvent
impl UnsafeUnpin for LayerPaintedEvent
impl UnwindSafe for LayerPaintedEvent
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