Struct snarkvm_synthesizer_program::logic::command::Position
source · pub struct Position<N: Network> { /* private fields */ }
Expand description
A position command, e.g. position exit
.
Indicates a position to which the program can branch to.
Implementations§
Trait Implementations§
source§impl<N: PartialEq + Network> PartialEq for Position<N>
impl<N: PartialEq + Network> PartialEq for Position<N>
impl<N: Eq + Network> Eq for Position<N>
impl<N: Network> StructuralEq for Position<N>
impl<N: Network> StructuralPartialEq for Position<N>
Auto Trait Implementations§
impl<N> RefUnwindSafe for Position<N>where <N as Environment>::Field: RefUnwindSafe,
impl<N> Send for Position<N>
impl<N> Sync for Position<N>
impl<N> Unpin for Position<N>where <N as Environment>::Field: Unpin,
impl<N> UnwindSafe for Position<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.