Struct wombo::Hooks [] [src]

pub struct Hooks<T: Send + 'static> { /* fields omitted */ }

A struct for receiving notifications when the event loop is canceled.

Methods

impl<T: Send + 'static> Hooks<T>
[src]

[src]

[src]

The thread ID of the event loop thread.

[src]

Register a function to be called on the event loop when cancel is called.

Trait Implementations

impl<T: Send + 'static> Clone for Hooks<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more