pub struct BrilligOpcodeLocation(pub usize);Expand description
Index of Brillig opcode within a list of Brillig opcodes. To be used by callers for resolving debug information.
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for BrilligOpcodeLocation
impl Clone for BrilligOpcodeLocation
Source§fn clone(&self) -> BrilligOpcodeLocation
fn clone(&self) -> BrilligOpcodeLocation
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 BrilligOpcodeLocation
impl Debug for BrilligOpcodeLocation
Source§impl<'de> Deserialize<'de> for BrilligOpcodeLocation
impl<'de> Deserialize<'de> for BrilligOpcodeLocation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for BrilligOpcodeLocation
impl Display for BrilligOpcodeLocation
Source§impl Hash for BrilligOpcodeLocation
impl Hash for BrilligOpcodeLocation
Source§impl Ord for BrilligOpcodeLocation
impl Ord for BrilligOpcodeLocation
Source§fn cmp(&self, other: &BrilligOpcodeLocation) -> Ordering
fn cmp(&self, other: &BrilligOpcodeLocation) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BrilligOpcodeLocation
impl PartialEq for BrilligOpcodeLocation
Source§impl PartialOrd for BrilligOpcodeLocation
impl PartialOrd for BrilligOpcodeLocation
Source§impl Serialize for BrilligOpcodeLocation
impl Serialize for BrilligOpcodeLocation
impl Copy for BrilligOpcodeLocation
impl Eq for BrilligOpcodeLocation
impl StructuralPartialEq for BrilligOpcodeLocation
Auto Trait Implementations§
impl Freeze for BrilligOpcodeLocation
impl RefUnwindSafe for BrilligOpcodeLocation
impl Send for BrilligOpcodeLocation
impl Sync for BrilligOpcodeLocation
impl Unpin for BrilligOpcodeLocation
impl UnwindSafe for BrilligOpcodeLocation
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,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§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<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