pub struct DocMessage {
pub id: String,
pub text: String,
pub place: DocPlace,
}Expand description
A message a game can give text of its own for: the id of a
msgText() or a showMsg(), and its text.
Fields§
§id: StringIts id: cannot take.
text: StringIts text, as the source has it, without its quotes.
place: DocPlaceWhere it is.
Trait Implementations§
Source§impl Clone for DocMessage
impl Clone for DocMessage
Auto Trait Implementations§
impl Forget for DocMessage
impl Freeze for DocMessage
impl Move for DocMessage
impl RefUnwindSafe for DocMessage
impl Send for DocMessagewhere
RawVecInner: Send,
impl Sync for DocMessagewhere
RawVecInner: Sync,
impl Unpin for DocMessage
impl UnsafeUnpin for DocMessage
impl UnwindSafe for DocMessagewhere
RawVecInner: UnwindSafe,
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