[][src]Struct makepad_hub::HubUI

pub struct HubUI {
    pub hub_log: HubLog,
    pub thread: Option<JoinHandle<()>>,
    pub route_send: HubRouteSend,
    pub htc_msgs_arc: Arc<Mutex<Vec<FromHubMsg>>>,
}

Fields

hub_log: HubLogthread: Option<JoinHandle<()>>route_send: HubRouteSendhtc_msgs_arc: Arc<Mutex<Vec<FromHubMsg>>>

Methods

impl HubUI[src]

pub fn start_hub_ui_direct<F>(
    hub_router: &mut HubRouter,
    event_handler: F
) -> HubUI where
    F: Fn() + Clone + Send + 'static, 
[src]

pub fn start_hub_ui_networked<F>(
    digest: Digest,
    hub_log: HubLog,
    event_handler: &'static F
) -> HubUI where
    F: Fn() + Clone + Send
[src]

pub fn get_messages(&mut self) -> Option<Vec<FromHubMsg>>[src]

Auto Trait Implementations

impl Send for HubUI

impl !Sync for HubUI

impl Unpin for HubUI

impl !UnwindSafe for HubUI

impl !RefUnwindSafe for HubUI

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]