Enum moore_svlog_syntax::token::Op
[−]
[src]
pub enum Op {
Assign,
AssignAdd,
AssignSub,
AssignMul,
AssignDiv,
AssignMod,
AssignBitAnd,
AssignBitOr,
AssignBitXor,
AssignLogicShL,
AssignLogicShR,
AssignArithShL,
AssignArithShR,
Add,
Sub,
Mul,
Div,
Mod,
Pow,
Inc,
Dec,
LogicEq,
LogicNeq,
CaseEq,
CaseNeq,
WildcardEq,
WildcardNeq,
Lt,
Leq,
Gt,
Geq,
LogicNot,
LogicAnd,
LogicOr,
LogicImpl,
LogicEquiv,
BitNot,
BitAnd,
BitNand,
BitOr,
BitNor,
BitXor,
BitXnor,
BitNxor,
LogicShL,
LogicShR,
ArithShL,
ArithShR,
SeqImplOl,
SeqImplNol,
SeqFollowOl,
SeqFollowNol,
}Operator symbols.
Variants
AssignAssignAddAssignSubAssignMulAssignDivAssignModAssignBitAndAssignBitOrAssignBitXorAssignLogicShLAssignLogicShRAssignArithShLAssignArithShRAddSubMulDivModPowIncDecLogicEqLogicNeqCaseEqCaseNeqWildcardEqWildcardNeqLtLeqGtGeqLogicNotLogicAndLogicOrLogicImplLogicEquivBitNotBitAndBitNandBitOrBitNorBitXorBitXnorBitNxorLogicShLLogicShRArithShLArithShRSeqImplOlSeqImplNolSeqFollowOlSeqFollowNol
Methods
impl Op[src]
fn as_str(self) -> &'static str[src]
fn get_precedence(self) -> Precedence[src]
Trait Implementations
impl Clone for Op[src]
fn clone(&self) -> Op[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Op[src]
impl PartialEq for Op[src]
fn eq(&self, __arg_0: &Op) -> bool[src]
This 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]
This method tests for !=.
impl Eq for Op[src]
impl Hash for Op[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)[src]
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]
H: Hasher,
Feeds a slice of this type into the given [Hasher]. Read more
impl Debug for Op[src]
impl Encodable for Op[src]
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>[src]
Serialize a value using an Encoder.
impl Decodable for Op[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Op, __D::Error>[src]
Deserialize a value using a Decoder.