Struct dfhack_proto::stubs::Isoworldremote
source · pub struct Isoworldremote<'a, TChannel: Channel> {
pub channel: &'a mut TChannel,
}Expand description
RPC for the “isoworldremote” plugin.
Fields§
§channel: &'a mut TChannelReference to the client to exchange messages.
Implementations§
source§impl<'a, TChannel: Channel> Isoworldremote<'a, TChannel>
impl<'a, TChannel: Channel> Isoworldremote<'a, TChannel>
sourcepub fn new(channel: &'a mut TChannel) -> Self
pub fn new(channel: &'a mut TChannel) -> Self
Initialize the plugin from a channel to DFHack.
sourcepub fn get_embark_info(
&mut self,
request: MapRequest
) -> Result<MapReply, TChannel::TError>
pub fn get_embark_info( &mut self, request: MapRequest ) -> Result<MapReply, TChannel::TError>
Method GetEmbarkInfo from the plugin isoworldremote
sourcepub fn get_embark_tile(
&mut self,
request: TileRequest
) -> Result<EmbarkTile, TChannel::TError>
pub fn get_embark_tile( &mut self, request: TileRequest ) -> Result<EmbarkTile, TChannel::TError>
Method GetEmbarkTile from the plugin isoworldremote
sourcepub fn get_raw_names(
&mut self,
request: MapRequest
) -> Result<RawNames, TChannel::TError>
pub fn get_raw_names( &mut self, request: MapRequest ) -> Result<RawNames, TChannel::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§
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