Struct debris_llir::llir_nodes::BinaryOperation
source · pub struct BinaryOperation {
pub id: ItemId,
pub lhs: ScoreboardValue,
pub rhs: ScoreboardValue,
pub operation: ScoreboardOperation,
}
Expand description
Operates on two scoreboard values and stores the result into the target var
Fields§
§id: ItemId
The id of the resulting value
lhs: ScoreboardValue
The left value
rhs: ScoreboardValue
The right value
operation: ScoreboardOperation
The kind of operation
Trait Implementations§
source§impl Clone for BinaryOperation
impl Clone for BinaryOperation
source§fn clone(&self) -> BinaryOperation
fn clone(&self) -> BinaryOperation
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 BinaryOperation
impl Debug for BinaryOperation
source§impl PartialEq for BinaryOperation
impl PartialEq for BinaryOperation
source§fn eq(&self, other: &BinaryOperation) -> bool
fn eq(&self, other: &BinaryOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BinaryOperation
impl StructuralEq for BinaryOperation
impl StructuralPartialEq for BinaryOperation
Auto Trait Implementations§
impl RefUnwindSafe for BinaryOperation
impl Send for BinaryOperation
impl Sync for BinaryOperation
impl Unpin for BinaryOperation
impl UnwindSafe for BinaryOperation
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.