pub enum Notification {
Generation {
generation: Generation,
frame: FrameCount,
},
Hovered {
path: String,
tree: RawTree,
picked: bool,
},
Observed {
generation: Generation,
window: WindowOrdinal,
event: WireEvent,
status: WireStatus,
},
Task {
name: String,
task: WireTaskId,
change: TaskChange,
},
WindowOpened(RawWindowInfo),
WindowClosed {
window: WindowOrdinal,
},
}Expand description
What the probe pushes unasked. Notifications carry event and no id.
Variants§
Generation
The generation or frame count rose.
Hovered
The node under the real pointer in pick mode.
Fields
Observed
A real event, while recording.
Fields
§
generation: GenerationThe generation it arrived at.
§
window: WindowOrdinalThe window.
§
status: WireStatusWhat the widgets did with it.
Task
A named task changed.
WindowOpened(RawWindowInfo)
A window opened.
WindowClosed
A window closed.
Fields
§
window: WindowOrdinalThe window.
Trait Implementations§
Source§impl Clone for Notification
impl Clone for Notification
Source§impl Debug for Notification
impl Debug for Notification
Source§impl<'de> Deserialize<'de> for Notification
impl<'de> Deserialize<'de> for Notification
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 PartialEq for Notification
impl PartialEq for Notification
Source§impl Serialize for Notification
impl Serialize for Notification
impl StructuralPartialEq for Notification
Auto Trait Implementations§
impl Forget for Notification
impl Freeze for Notification
impl Move for Notification
impl RefUnwindSafe for Notificationwhere
String: RefUnwindSafe,
impl Send for Notification
impl Sync for Notification
impl Unpin for Notification
impl UnsafeUnpin for Notificationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<RawWindow>: UnsafeUnpin,
impl UnwindSafe for Notification
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