pub enum ParseAs {
RoomName,
RoomDesc,
RoomExit,
RoomNum,
Prompt,
}Expand description
The MUD server can tag a line to be parsed in a specific way by the client.
Variants§
RoomName
The text for the element is parsed by the automapper as the name of a room.
RoomDesc
The text for the element is parsed by the automapper as the description of a room.
RoomExit
The text for the element is parsed by the automapper as exits for the room.
RoomNum
The text for the element is parsed by the automapper as a room number.
Prompt
The text for the element is parsed by as a MUD Prompt.
Trait Implementations§
impl Copy for ParseAs
impl Eq for ParseAs
impl StructuralPartialEq for ParseAs
Auto Trait Implementations§
impl Freeze for ParseAs
impl RefUnwindSafe for ParseAs
impl Send for ParseAs
impl Sync for ParseAs
impl Unpin for ParseAs
impl UnsafeUnpin for ParseAs
impl UnwindSafe for ParseAs
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