Enum syntax::parse::token::BinOpToken [−][src]
pub enum BinOpToken {
Plus,
Minus,
Star,
Slash,
Percent,
Caret,
And,
Or,
Shl,
Shr,
}Variants
PlusMinusStarSlashPercentCaretAndOrShlShr
Trait Implementations
impl Clone for BinOpToken[src]
impl Clone for BinOpTokenfn clone(&self) -> BinOpToken[src]
fn clone(&self) -> BinOpTokenReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Encodable for BinOpToken[src]
impl Encodable for BinOpTokenimpl Decodable for BinOpToken[src]
impl Decodable for BinOpTokenimpl PartialEq for BinOpToken[src]
impl PartialEq for BinOpTokenfn eq(&self, other: &BinOpToken) -> bool[src]
fn eq(&self, other: &BinOpToken) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for BinOpToken[src]
impl Eq for BinOpTokenimpl Hash for BinOpToken[src]
impl Hash for BinOpTokenfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for BinOpToken[src]
impl Debug for BinOpTokenfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Copy for BinOpToken[src]
impl Copy for BinOpTokenAuto Trait Implementations
impl Send for BinOpToken
impl Send for BinOpTokenimpl Sync for BinOpToken
impl Sync for BinOpToken