Struct dfhack_remote::Isoworldremote

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

RPC for the “isoworldremote” plugin.

Fields§

§channel: &'a mut TChannel

Reference to the client to exchange messages.

Implementations§

source§

impl<'a, TChannel> Isoworldremote<'a, TChannel>
where TChannel: Channel,

source

pub fn new(channel: &'a mut TChannel) -> Isoworldremote<'a, TChannel>

Initialize the plugin from a channel to DFHack.

source

pub fn get_embark_info( &mut self, request: MapRequest ) -> Result<MapReply, <TChannel as Channel>::TError>

Method GetEmbarkInfo from the plugin isoworldremote

source

pub fn get_embark_tile( &mut self, request: TileRequest ) -> Result<EmbarkTile, <TChannel as Channel>::TError>

Method GetEmbarkTile from the plugin isoworldremote

source

pub fn get_raw_names( &mut self, request: MapRequest ) -> Result<RawNames, <TChannel as Channel>::TError>

Method GetRawNames from the plugin isoworldremote

Auto Trait Implementations§

§

impl<'a, TChannel> Freeze for Isoworldremote<'a, TChannel>

§

impl<'a, TChannel> RefUnwindSafe for Isoworldremote<'a, TChannel>
where TChannel: RefUnwindSafe,

§

impl<'a, TChannel> Send for Isoworldremote<'a, TChannel>
where TChannel: Send,

§

impl<'a, TChannel> Sync for Isoworldremote<'a, TChannel>
where TChannel: Sync,

§

impl<'a, TChannel> Unpin for Isoworldremote<'a, TChannel>

§

impl<'a, TChannel> !UnwindSafe for Isoworldremote<'a, TChannel>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

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

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.