Struct livemod::LiveModHandle[][src]

pub struct LiveModHandle { /* fields omitted */ }
Expand description

A handle to an external livemod viewer.

This handle is used to create ModVars and track StaticModVars. It must be kept alive for the user interface to continue running.

Implementations

Initialise livemod with the external livemod-gui user interface

Initialise livemod with an external user interface, for which the specified command will be run.

Track an existing StaticModVar

Create a variable and send it to the external viewer to be tracked.

The variable will be removed from the external viewer when it is dropped.

Create a variable and send it to the external viewer to be tracked.

The variable will be removed from the external viewer when it is dropped.

Safety

You must ensure the returned variable is dropped before any of the variables it references.

Trait Implementations

Executes the destructor for this type. Read more

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

Performs the conversion.

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.