[][src]Trait screeps_api::IntoRoomName

pub trait IntoRoomName {
    fn into_room_name(&self) -> Result<RoomName, RoomNameParseError>;
}

Something that can be turned into a room name.

Required methods

fn into_room_name(&self) -> Result<RoomName, RoomNameParseError>

Turns this data into a room name, erroring if the format is not as expected.

Loading content...

Implementors

impl IntoRoomName for RoomName[src]

impl<T: ?Sized> IntoRoomName for T where
    T: AsRef<str>, 
[src]

Loading content...