pub struct BrilligFunctionId(pub u32);Expand description
Id for the function being called. Indexes into the table of Brillig function’s specified in a program
Tuple Fields§
§0: u32Implementations§
Trait Implementations§
Source§impl Clone for BrilligFunctionId
impl Clone for BrilligFunctionId
Source§fn clone(&self) -> BrilligFunctionId
fn clone(&self) -> BrilligFunctionId
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 BrilligFunctionId
impl Debug for BrilligFunctionId
Source§impl Default for BrilligFunctionId
impl Default for BrilligFunctionId
Source§fn default() -> BrilligFunctionId
fn default() -> BrilligFunctionId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BrilligFunctionId
impl<'de> Deserialize<'de> for BrilligFunctionId
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 BrilligFunctionId
impl Display for BrilligFunctionId
Source§impl Hash for BrilligFunctionId
impl Hash for BrilligFunctionId
Source§impl Ord for BrilligFunctionId
impl Ord for BrilligFunctionId
Source§fn cmp(&self, other: &BrilligFunctionId) -> Ordering
fn cmp(&self, other: &BrilligFunctionId) -> 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 BrilligFunctionId
impl PartialEq for BrilligFunctionId
Source§impl PartialOrd for BrilligFunctionId
impl PartialOrd for BrilligFunctionId
Source§impl Serialize for BrilligFunctionId
impl Serialize for BrilligFunctionId
impl Copy for BrilligFunctionId
impl Eq for BrilligFunctionId
impl StructuralPartialEq for BrilligFunctionId
Auto Trait Implementations§
impl Freeze for BrilligFunctionId
impl RefUnwindSafe for BrilligFunctionId
impl Send for BrilligFunctionId
impl Sync for BrilligFunctionId
impl Unpin for BrilligFunctionId
impl UnwindSafe for BrilligFunctionId
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