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,
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> 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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more