Struct dfhack_remote::Core

source ·
pub struct Core<'a, TChannel>where
    TChannel: Channel,
{ pub channel: &'a mut TChannel, }
Expand description

RPC for the “” plugin.

Fields§

§channel: &'a mut TChannel

Reference to the client to exchange messages.

Implementations§

Initialize the plugin from a channel to DFHack.

Method BindMethod from the plugin ``

Method CoreResume from the plugin ``

Method CoreSuspend from the plugin ``

Method GetDFVersion from the plugin ``

Method GetVersion from the plugin ``

Method GetWorldInfo from the plugin ``

Method ListEnums from the plugin ``

Method ListJobSkills from the plugin ``

Method ListMaterials from the plugin ``

Method ListSquads from the plugin ``

Method ListUnits from the plugin ``

Method RunCommand from the plugin ``

Method RunLua from the plugin ``

Method SetUnitLabors from the plugin ``

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.