pub trait RoomParam: Send + 'static {
type IntoIter: Iterator<Item = Room>;
// Required method
fn into_room_iter(self) -> Self::IntoIter;
}Expand description
A trait for types that can be used as a room parameter.
String, Vec<String>, Vec<&str>, &'static str and const arrays are implemented by default.
Required Associated Types§
Required Methods§
Sourcefn into_room_iter(self) -> Self::IntoIter
fn into_room_iter(self) -> Self::IntoIter
Convert self into an iterator of rooms.