Struct dfhack_remote::Isoworldremote
source · [−]Expand description
RPC for the “isoworldremote” plugin.
Fields
channel: &'a mut TChannelReference to the client to exchange messages.
Implementations
sourceimpl<'a, TChannel> Isoworldremote<'a, TChannel> where
TChannel: Channel,
impl<'a, TChannel> Isoworldremote<'a, TChannel> where
TChannel: Channel,
sourcepub fn new(channel: &'a mut TChannel) -> Isoworldremote<'a, TChannel>
pub fn new(channel: &'a mut TChannel) -> Isoworldremote<'a, TChannel>
Initialize the plugin from a channel to DFHack.
sourcepub fn get_embark_info(
&mut self,
request: MapRequest
) -> Result<MapReply, <TChannel as Channel>::TError>
pub fn get_embark_info(
&mut self,
request: MapRequest
) -> Result<MapReply, <TChannel as Channel>::TError>
Method GetEmbarkInfo from the plugin isoworldremote
sourcepub fn get_embark_tile(
&mut self,
request: TileRequest
) -> Result<EmbarkTile, <TChannel as Channel>::TError>
pub fn get_embark_tile(
&mut self,
request: TileRequest
) -> Result<EmbarkTile, <TChannel as Channel>::TError>
Method GetEmbarkTile from the plugin isoworldremote
sourcepub fn get_raw_names(
&mut self,
request: MapRequest
) -> Result<RawNames, <TChannel as Channel>::TError>
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> 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more