Struct slides::Registry

source ·
pub struct Registry {
    pub console: ConsoleService,
    pub timeout: TimeoutService,
    /* private fields */
}

Fields

console: ConsoleServicetimeout: TimeoutService

Trait Implementations

Control message type which update loop get.
Properties type of component implementation. It sould be serializable because it’s sent to dynamicaly created component (layed under VComp) and must be restored for a component with unknown type. Read more
Initialization routine which could use a context.
Called everytime when a messages of Msg type received. It also takes a reference to a context. Read more
This method called when properties changes, and once when component created.
Called for finalization on the final point of the component’s lifetime.
Called by rendering loop.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.