[−][src]Trait irc_proto::mode::ModeType
A marker trait for different kinds of Modes.
Required methods
pub fn mode(target: &str, modes: &[Mode<Self>]) -> Command
[src]
Creates a command of this kind.
pub fn takes_arg(&self) -> bool
[src]
Returns true if this mode takes an argument, and false otherwise.
pub fn from_char(c: char) -> Self
[src]
Creates a Mode from a given char.