pub struct AddWrappedOperation<N: Network>(/* private fields */);
Expand description
The implementation of the binary operation.
Trait Implementations§
Source§impl<N: Clone + Network> Clone for AddWrappedOperation<N>
impl<N: Clone + Network> Clone for AddWrappedOperation<N>
Source§fn clone(&self) -> AddWrappedOperation<N>
fn clone(&self) -> AddWrappedOperation<N>
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<N: Network> Operation<N, Literal<N>, LiteralType, 2> for AddWrappedOperation<N>
impl<N: Network> Operation<N, Literal<N>, LiteralType, 2> for AddWrappedOperation<N>
Source§fn evaluate(inputs: &[Literal<N>; 2]) -> Result<Literal<N>>
fn evaluate(inputs: &[Literal<N>; 2]) -> Result<Literal<N>>
Returns the result of evaluating the operation on the given inputs.
Source§fn execute<A: Aleo<Network = N>>(inputs: &[Literal<A>; 2]) -> Result<Literal<A>>
fn execute<A: Aleo<Network = N>>(inputs: &[Literal<A>; 2]) -> Result<Literal<A>>
Returns the result of executing the operation on the given circuit inputs.
Source§fn output_type(inputs: &[LiteralType; 2]) -> Result<LiteralType>
fn output_type(inputs: &[LiteralType; 2]) -> Result<LiteralType>
Returns the output type from the given input types.
impl<N: Eq + Network> Eq for AddWrappedOperation<N>
impl<N: Network> StructuralPartialEq for AddWrappedOperation<N>
Auto Trait Implementations§
impl<N> Freeze for AddWrappedOperation<N>
impl<N> RefUnwindSafe for AddWrappedOperation<N>where
N: RefUnwindSafe,
impl<N> Send for AddWrappedOperation<N>
impl<N> Sync for AddWrappedOperation<N>
impl<N> Unpin for AddWrappedOperation<N>where
N: Unpin,
impl<N> UnwindSafe for AddWrappedOperation<N>where
N: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more