Struct ggp_rs::Role
[−]
[src]
pub struct Role { // some fields omitted }
A role in a game
Methods
impl Role
fn new<T: Into<String>>(name: T) -> Role
Constructs a new Role
with the name name
fn name(&self) -> &str
Returns the name of the role