pub fn exits(&self) -> StyledString {
        let exit_string = self
            .exits
            .iter()
            .map(|exit| format!("{}", exit))
            .collect::<Vec<String>>()
            .join(", ");

        let exits = format!("[Exits: {}]", exit_string);

        exits.foreground(GREEN)
    }
/// Returns all of the exits in the room as a styled string.
Returns all of the exits in the room as a styled string.
Returns all of the exits in the room as a styled string .
pub fn exits(&self) -> StyledString {
        let exit_string = self
            .exits
            .iter()
            .map(|exit| format!("{}", exit))
            .collect::<Vec<String>>()
            .join(", ");
        let exits = format!("[Exits: {}]", exit_string);
        exits.foreground(GREEN)
    }
pub fn exits ( & self ) -> StyledString { let exit_string = self . exits . iter ( ) . map ( | exit | format ! ( " " exit ) ) . collect :: < Vec < String > > ( ) . join ( " " ) ; let exits = format ! ( " " exit_string ) ; exits . foreground ( GREEN ) }
Returns all of the exits in the room as a styled string.
Returns all of the exits in the room as a styled string .
&self
&self