pub enum CallOperator<N: Network> {
Locator(Locator<N>),
Resource(Identifier<N>),
}
Expand description
The operator references a function name or closure name.
Variants§
Locator(Locator<N>)
The reference to a non-local function or closure.
Resource(Identifier<N>)
The reference to a local function or closure.
Trait Implementations§
source§impl<N: Clone + Network> Clone for CallOperator<N>
impl<N: Clone + Network> Clone for CallOperator<N>
source§fn clone(&self) -> CallOperator<N>
fn clone(&self) -> CallOperator<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> Debug for CallOperator<N>
impl<N: Network> Debug for CallOperator<N>
source§impl<N: Network> Display for CallOperator<N>
impl<N: Network> Display for CallOperator<N>
source§impl<N: Network> FromBytes for CallOperator<N>
impl<N: Network> FromBytes for CallOperator<N>
source§impl<N: Network> FromStr for CallOperator<N>
impl<N: Network> FromStr for CallOperator<N>
source§impl<N: Hash + Network> Hash for CallOperator<N>
impl<N: Hash + Network> Hash for CallOperator<N>
source§impl<N: Network> Parser for CallOperator<N>
impl<N: Network> Parser for CallOperator<N>
source§impl<N: PartialEq + Network> PartialEq for CallOperator<N>
impl<N: PartialEq + Network> PartialEq for CallOperator<N>
source§fn eq(&self, other: &CallOperator<N>) -> bool
fn eq(&self, other: &CallOperator<N>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<N: Network> ToBytes for CallOperator<N>
impl<N: Network> ToBytes for CallOperator<N>
impl<N: Eq + Network> Eq for CallOperator<N>
impl<N: Network> StructuralEq for CallOperator<N>
impl<N: Network> StructuralPartialEq for CallOperator<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for CallOperator<N>where <N as Environment>::Field: RefUnwindSafe,
impl<N> Send for CallOperator<N>
impl<N> Sync for CallOperator<N>
impl<N> Unpin for CallOperator<N>where <N as Environment>::Field: Unpin,
impl<N> UnwindSafe for CallOperator<N>where <N as Environment>::Field: 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
§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.