Enum snarkvm_wasm::Index [−][src]
Expand description
Represents the index of either a public variable (input) or a private variable (auxiliary).
Variants
Public(usize)Index of an public variable.
Private(usize)Index of an private variable.
Trait Implementations
impl CanonicalDeserialize for Index[src]
impl CanonicalDeserialize for Index[src]pub fn deserialize<R>(reader: &mut R) -> Result<Index, SerializationError> where
R: Read, [src]
pub fn deserialize<R>(reader: &mut R) -> Result<Index, SerializationError> where
R: Read, [src]Reads Self from reader.
fn deserialize_uncompressed<R>(
reader: &mut R
) -> Result<Self, SerializationError> where
R: Read, [src]
fn deserialize_uncompressed<R>(
reader: &mut R
) -> Result<Self, SerializationError> where
R: Read, [src]Reads Self from reader without compression.
impl CanonicalSerialize for Index[src]
impl CanonicalSerialize for Index[src]pub fn serialize<W>(&self, writer: &mut W) -> Result<(), SerializationError> where
W: Write, [src]
pub fn serialize<W>(&self, writer: &mut W) -> Result<(), SerializationError> where
W: Write, [src]Serializes self into writer.
pub fn serialized_size(&self) -> usize[src]
fn serialize_uncompressed<W>(
&self,
writer: &mut W
) -> Result<(), SerializationError> where
W: Write, [src]
fn serialize_uncompressed<W>(
&self,
writer: &mut W
) -> Result<(), SerializationError> where
W: Write, [src]Serializes self into writer without compression.
fn uncompressed_size(&self) -> usize[src]
impl ConstantSerializedSize for Index[src]
impl ConstantSerializedSize for Index[src]impl Ord for Index[src]
impl Ord for Index[src]impl PartialOrd<Index> for Index[src]
impl PartialOrd<Index> for Index[src]pub fn partial_cmp(&self, other: &Index) -> Option<Ordering>[src]
pub fn partial_cmp(&self, other: &Index) -> Option<Ordering>[src]This method returns an ordering between self and other values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than (for self and other) and is used by the < operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool1.0.0[src]This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for Index[src]
impl Eq for Index[src]
impl StructuralEq for Index[src]
impl StructuralPartialEq for Index[src]
Auto Trait Implementations
impl RefUnwindSafe for Index
impl Send for Index
impl Sync for Index
impl Unpin for Index
impl UnwindSafe for Index
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized, [src]pub fn equivalent(&self, key: &K) -> bool[src]
pub fn equivalent(&self, key: &K) -> bool[src]Compare self to key and return true if they are equal.
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,