Trait snarkvm_circuit::ToBits
source · pub trait ToBits {
type Boolean: BooleanTrait;
fn to_bits_le(&self) -> Vec<Self::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
;
fn to_bits_be(&self) -> Vec<Self::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
;
}
Expand description
Unary operator for converting to bits.
Required Associated Types
type Boolean: BooleanTrait
Required Methods
Trait Implementations
impl<E> Metrics<dyn ToBits<Boolean = Boolean<E>> + 'static> for Field<E>where
E: Environment,
impl<E> Metrics<dyn ToBits<Boolean = Boolean<E>> + 'static> for Field<E>where
E: Environment,
impl<E> OutputMode<dyn ToBits<Boolean = Boolean<E>> + 'static> for Field<E>where
E: Environment,
impl<E> OutputMode<dyn ToBits<Boolean = Boolean<E>> + 'static> for Field<E>where
E: Environment,
type Case = Mode
fn output_mode(
case: &<Field<E> as OutputMode<dyn ToBits<Boolean = Boolean<E>> + 'static>>::Case
) -> Mode
fn output_mode(
case: &<Field<E> as OutputMode<dyn ToBits<Boolean = Boolean<E>> + 'static>>::Case
) -> Mode
Implementations on Foreign Types
sourceimpl<'a, B, C0, C1, C2, C3> ToBits for &'a (C0, C1, C2, C3)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2, C3> ToBits for &'a (C0, C1, C2, C3)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
sourcefn to_bits_le(&self) -> Vec<<&'a (C0, C1, C2, C3) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<&'a (C0, C1, C2, C3) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<&'a (C0, C1, C2, C3) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<&'a (C0, C1, C2, C3) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2, C3, C4, C5, C6> ToBits for (C0, C1, C2, C3, C4, C5, C6)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
impl<B, C0, C1, C2, C3, C4, C5, C6> ToBits for (C0, C1, C2, C3, C4, C5, C6)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2, C3, C4, C5, C6, C7, C8> ToBits for (C0, C1, C2, C3, C4, C5, C6, C7, C8)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
impl<B, C0, C1, C2, C3, C4, C5, C6, C7, C8> ToBits for (C0, C1, C2, C3, C4, C5, C6, C7, C8)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<C, B> ToBits for &[C]where
C: ToBits<Boolean = B>,
B: BooleanTrait,
impl<C, B> ToBits for &[C]where
C: ToBits<Boolean = B>,
B: BooleanTrait,
sourcefn to_bits_le(&self) -> Vec<<&[C] as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<&[C] as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<&[C] as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<&[C] as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1, C2, C3, C4> ToBits for &'a (C0, C1, C2, C3, C4)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2, C3, C4> ToBits for &'a (C0, C1, C2, C3, C4)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9> ToBits for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
C9: ToBits<Boolean = B>,
impl<B, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9> ToBits for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
C9: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<C, B, const N: usize> ToBits for [C; N]where
C: ToBits<Boolean = B>,
B: BooleanTrait,
impl<C, B, const N: usize> ToBits for [C; N]where
C: ToBits<Boolean = B>,
B: BooleanTrait,
sourcefn to_bits_le(&self) -> Vec<<[C; N] as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<[C; N] as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<[C; N] as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<[C; N] as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2, C3, C4, C5> ToBits for (C0, C1, C2, C3, C4, C5)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
impl<B, C0, C1, C2, C3, C4, C5> ToBits for (C0, C1, C2, C3, C4, C5)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1, C2> ToBits for &'a (C0, C1, C2)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2> ToBits for &'a (C0, C1, C2)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
sourcefn to_bits_le(&self) -> Vec<<&'a (C0, C1, C2) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<&'a (C0, C1, C2) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<&'a (C0, C1, C2) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<&'a (C0, C1, C2) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2, C3> ToBits for (C0, C1, C2, C3)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
impl<B, C0, C1, C2, C3> ToBits for (C0, C1, C2, C3)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
sourcefn to_bits_le(&self) -> Vec<<(C0, C1, C2, C3) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<(C0, C1, C2, C3) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<(C0, C1, C2, C3) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<(C0, C1, C2, C3) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
C9: ToBits<Boolean = B>,
C10: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
C9: ToBits<Boolean = B>,
C10: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1, C2, C3, C4, C5, C6, C7> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6, C7)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2, C3, C4, C5, C6, C7> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6, C7)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2, C3, C4, C5, C6, C7> ToBits for (C0, C1, C2, C3, C4, C5, C6, C7)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
impl<B, C0, C1, C2, C3, C4, C5, C6, C7> ToBits for (C0, C1, C2, C3, C4, C5, C6, C7)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
C9: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
C9: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1> ToBits for (C0, C1)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
impl<B, C0, C1> ToBits for (C0, C1)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
sourcefn to_bits_le(&self) -> Vec<<(C0, C1) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<(C0, C1) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<(C0, C1) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<(C0, C1) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1> ToBits for &'a (C0, C1)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
impl<'a, B, C0, C1> ToBits for &'a (C0, C1)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
sourcefn to_bits_le(&self) -> Vec<<&'a (C0, C1) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<&'a (C0, C1) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<&'a (C0, C1) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<&'a (C0, C1) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1, C2, C3, C4, C5, C6, C7, C8> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6, C7, C8)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2, C3, C4, C5, C6, C7, C8> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6, C7, C8)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6, C7, C8) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2, C3, C4> ToBits for (C0, C1, C2, C3, C4)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
impl<B, C0, C1, C2, C3, C4> ToBits for (C0, C1, C2, C3, C4)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
sourcefn to_bits_le(&self) -> Vec<<(C0, C1, C2, C3, C4) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<(C0, C1, C2, C3, C4) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<(C0, C1, C2, C3, C4) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<(C0, C1, C2, C3, C4) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2> ToBits for (C0, C1, C2)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
impl<B, C0, C1, C2> ToBits for (C0, C1, C2)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
sourcefn to_bits_le(&self) -> Vec<<(C0, C1, C2) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<(C0, C1, C2) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<(C0, C1, C2) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<(C0, C1, C2) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1, C2, C3, C4, C5> ToBits for &'a (C0, C1, C2, C3, C4, C5)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2, C3, C4, C5> ToBits for &'a (C0, C1, C2, C3, C4, C5)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<B, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> ToBits for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
C9: ToBits<Boolean = B>,
C10: ToBits<Boolean = B>,
impl<B, C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10> ToBits for (C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
C7: ToBits<Boolean = B>,
C8: ToBits<Boolean = B>,
C9: ToBits<Boolean = B>,
C10: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<(C0, C1, C2, C3, C4, C5, C6, C7, C8, C9, C10) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<'a, B, C0, C1, C2, C3, C4, C5, C6> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
impl<'a, B, C0, C1, C2, C3, C4, C5, C6> ToBits for &'a (C0, C1, C2, C3, C4, C5, C6)where
B: BooleanTrait,
C0: ToBits<Boolean = B>,
C1: ToBits<Boolean = B>,
C2: ToBits<Boolean = B>,
C3: ToBits<Boolean = B>,
C4: ToBits<Boolean = B>,
C5: ToBits<Boolean = B>,
C6: ToBits<Boolean = B>,
sourcefn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(
&self
) -> Vec<<&'a (C0, C1, C2, C3, C4, C5, C6) as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.
type Boolean = B
sourceimpl<C, B> ToBits for Vec<C, Global>where
C: ToBits<Boolean = B>,
B: BooleanTrait,
impl<C, B> ToBits for Vec<C, Global>where
C: ToBits<Boolean = B>,
B: BooleanTrait,
sourcefn to_bits_le(&self) -> Vec<<Vec<C, Global> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_le(&self) -> Vec<<Vec<C, Global> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of little-endian bits from the circuits.
sourcefn to_bits_be(&self) -> Vec<<Vec<C, Global> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
fn to_bits_be(&self) -> Vec<<Vec<C, Global> as ToBits>::Boolean, Global>ⓘNotable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
A: Allocator,
A: Allocator,
A helper method to return a concatenated list of big-endian bits from the circuits.