Trait snarkvm_wasm::Xor [−][src]
pub trait Xor<F, Rhs = Self> where
F: Field, { fn xor<CS>(&self, cs: CS, rhs: &Self) -> Result<Self, SynthesisError>
where
CS: ConstraintSystem<F>; }
Expand description
Performs a bitwise XOR operation between self
and other
in the constraint system.
Required methods
fn xor<CS>(&self, cs: CS, rhs: &Self) -> Result<Self, SynthesisError> where
CS: ConstraintSystem<F>,
[src]Implementors
pub fn xor<CS>(
&self,
cs: CS,
other: &Boolean
) -> Result<Boolean, SynthesisError> where
CS: ConstraintSystem<F>,
[src]pub fn xor<CS>(&self, cs: CS, other: &UInt8) -> Result<UInt8, SynthesisError> where
CS: ConstraintSystem<F>,
[src]pub fn xor<CS>(&self, cs: CS, other: &UInt16) -> Result<UInt16, SynthesisError> where
CS: ConstraintSystem<F>,
[src]pub fn xor<CS>(&self, cs: CS, other: &UInt32) -> Result<UInt32, SynthesisError> where
CS: ConstraintSystem<F>,
[src]pub fn xor<CS>(&self, cs: CS, other: &UInt64) -> Result<UInt64, SynthesisError> where
CS: ConstraintSystem<F>,
[src]pub fn xor<CS>(
&self,
cs: CS,
other: &UInt128
) -> Result<UInt128, SynthesisError> where
CS: ConstraintSystem<F>,
[src]pub fn xor<CS>(
&self,
cs: CS,
other: &AllocatedBit
) -> Result<AllocatedBit, SynthesisError> where
CS: ConstraintSystem<F>,
[src]