Enum ldscript_parser::BinaryOperator
source · pub enum BinaryOperator {
Show 17 variants
LogicOr,
LogicAnd,
BitwiseOr,
BitwiseAnd,
Equals,
NotEquals,
Lesser,
Greater,
LesserOrEquals,
GreaterOrEquals,
ShiftRight,
ShiftLeft,
Plus,
Minus,
Multiply,
Divide,
Remainder,
}
Variants§
LogicOr
LogicAnd
BitwiseOr
BitwiseAnd
Equals
NotEquals
Lesser
Greater
LesserOrEquals
GreaterOrEquals
ShiftRight
ShiftLeft
Plus
Minus
Multiply
Divide
Remainder
Trait Implementations§
source§impl Clone for BinaryOperator
impl Clone for BinaryOperator
source§fn clone(&self) -> BinaryOperator
fn clone(&self) -> BinaryOperator
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BinaryOperator
impl Debug for BinaryOperator
source§impl PartialEq for BinaryOperator
impl PartialEq for BinaryOperator
source§fn eq(&self, other: &BinaryOperator) -> bool
fn eq(&self, other: &BinaryOperator) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BinaryOperator
Auto Trait Implementations§
impl RefUnwindSafe for BinaryOperator
impl Send for BinaryOperator
impl Sync for BinaryOperator
impl Unpin for BinaryOperator
impl UnwindSafe for BinaryOperator
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more