Enum darklua_core::nodes::BinaryOperator [−][src]
pub enum BinaryOperator {
Show variants
And,
Or,
Equal,
NotEqual,
LowerThan,
LowerOrEqualThan,
GreaterThan,
GreaterOrEqualThan,
Plus,
Minus,
Asterisk,
Slash,
Percent,
Caret,
Concat,
}Variants
Implementations
impl BinaryOperator[src]
impl BinaryOperator[src]pub fn precedes(&self, other: Self) -> bool[src]
pub fn precedes_unary_expression(&self) -> bool[src]
pub fn is_left_associative(&self) -> bool[src]
pub fn is_right_associative(&self) -> bool[src]
pub fn left_needs_parentheses(&self, left: &Expression) -> bool[src]
pub fn right_needs_parentheses(&self, right: &Expression) -> bool[src]
pub fn to_str(&self) -> &str[src]
Trait Implementations
impl BinaryOperator for BinaryOperator[src]
impl BinaryOperator for BinaryOperator[src]fn and() -> Self[src]
fn or() -> Self[src]
fn equal() -> Self[src]
fn not_equal() -> Self[src]
fn lower_than() -> Self[src]
fn lower_or_equal_than() -> Self[src]
fn greather_than() -> Self[src]
fn greather_or_equal_than() -> Self[src]
fn plus() -> Self[src]
fn minus() -> Self[src]
fn asterisk() -> Self[src]
fn slash() -> Self[src]
fn percent() -> Self[src]
fn caret() -> Self[src]
fn concat() -> Self[src]
impl Clone for BinaryOperator[src]
impl Clone for BinaryOperator[src]fn clone(&self) -> BinaryOperator[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for BinaryOperator[src]
impl Copy for BinaryOperator[src]impl Eq for BinaryOperator[src]
impl Eq for BinaryOperator[src]impl PartialEq<BinaryOperator> for BinaryOperator[src]
impl PartialEq<BinaryOperator> for BinaryOperator[src]impl StructuralEq for BinaryOperator[src]
impl StructuralEq for BinaryOperator[src]impl StructuralPartialEq for BinaryOperator[src]
impl StructuralPartialEq for BinaryOperator[src]Auto Trait Implementations
impl RefUnwindSafe for BinaryOperator
impl RefUnwindSafe for BinaryOperatorimpl Send for BinaryOperator
impl Send for BinaryOperatorimpl Sync for BinaryOperator
impl Sync for BinaryOperatorimpl Unpin for BinaryOperator
impl Unpin for BinaryOperatorimpl UnwindSafe for BinaryOperator
impl UnwindSafe for BinaryOperator