Enum gameshell::PartialParseOp
source · pub enum PartialParseOp {
Ready,
Unready,
Discard,
}
Expand description
Description of the parsing state
Variants§
Ready
A command is completed, use the previous characters and feed it to the command parser
Unready
Not yet a finished command, continue feeding characters
Discard
Discard all previous characters
Trait Implementations§
source§impl Debug for PartialParseOp
impl Debug for PartialParseOp
source§impl PartialEq<PartialParseOp> for PartialParseOp
impl PartialEq<PartialParseOp> for PartialParseOp
source§fn eq(&self, other: &PartialParseOp) -> bool
fn eq(&self, other: &PartialParseOp) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.