Struct dfhack_remote::Rename

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

RPC for the “rename” plugin.

Fields§

§channel: &'a mut TChannel

Reference to the client to exchange messages.

Implementations§

Initialize the plugin from a channel to DFHack.

Method RenameBuilding from the plugin rename

Method RenameSquad from the plugin rename

Method RenameUnit from the plugin rename

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.