Struct snarkvm_console_types_string::Boolean 
source · [−]pub struct Boolean<E> where
    E: Environment, { /* private fields */ }Implementations
Trait Implementations
sourceimpl<E> BitAnd<&Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitAnd<&Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> BitAnd<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitAnd<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> BitAndAssign<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitAndAssign<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourcefn bitand_assign(&mut self, other: Boolean<E>)
 
fn bitand_assign(&mut self, other: Boolean<E>)
Sets self as the bitwise AND of self and other.
sourceimpl<E> BitOr<&Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitOr<&Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> BitOr<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitOr<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> BitOrAssign<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitOrAssign<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourcefn bitor_assign(&mut self, other: Boolean<E>)
 
fn bitor_assign(&mut self, other: Boolean<E>)
Sets self as the bitwise OR of self and other.
sourceimpl<E> BitXor<&Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitXor<&Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> BitXor<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitXor<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> BitXorAssign<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> BitXorAssign<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourcefn bitxor_assign(&mut self, other: Boolean<E>)
 
fn bitxor_assign(&mut self, other: Boolean<E>)
Sets self as the bitwise XOR of self and other.
sourceimpl<E> Clone for Boolean<E> where
    E: Clone + Environment, 
 
impl<E> Clone for Boolean<E> where
    E: Clone + Environment, 
sourceimpl<E> Debug for Boolean<E> where
    E: Environment, 
 
impl<E> Debug for Boolean<E> where
    E: Environment, 
sourceimpl<E> Deref for Boolean<E> where
    E: Environment, 
 
impl<E> Deref for Boolean<E> where
    E: Environment, 
sourceimpl<'de, E> Deserialize<'de> for Boolean<E> where
    E: Environment, 
 
impl<'de, E> Deserialize<'de> for Boolean<E> where
    E: Environment, 
sourcefn deserialize<D>(
    deserializer: D
) -> Result<Boolean<E>, <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
 
fn deserialize<D>(
    deserializer: D
) -> Result<Boolean<E>, <D as Deserializer<'de>>::Error> where
    D: Deserializer<'de>, 
Deserializes the boolean from a string or bytes.
sourceimpl<E> Display for Boolean<E> where
    E: Environment, 
 
impl<E> Display for Boolean<E> where
    E: Environment, 
sourceimpl<E> Distribution<Boolean<E>> for Standard where
    E: Environment, 
 
impl<E> Distribution<Boolean<E>> for Standard where
    E: Environment, 
sourcefn sample<R>(&self, rng: &mut R) -> Boolean<E> where
    R: Rng + ?Sized, 
 
fn sample<R>(&self, rng: &mut R) -> Boolean<E> where
    R: Rng + ?Sized, 
Generate a random value of T, using rng as the source of randomness.
sourcefn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
    R: Rng, 
 
fn sample_iter<R>(self, rng: R) -> DistIter<Self, R, T> where
    R: Rng, 
Create an iterator that generates random values of T, using rng as
the source of randomness. Read more
sourceimpl<E> Equal<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> Equal<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> FromBits for Boolean<E> where
    E: Environment, 
 
impl<E> FromBits for Boolean<E> where
    E: Environment, 
sourceimpl<E> FromBytes for Boolean<E> where
    E: Environment, 
 
impl<E> FromBytes for Boolean<E> where
    E: Environment, 
sourceimpl<E> FromStr for Boolean<E> where
    E: Environment, 
 
impl<E> FromStr for Boolean<E> where
    E: Environment, 
sourceimpl<E> Hash for Boolean<E> where
    E: Hash + Environment, 
 
impl<E> Hash for Boolean<E> where
    E: Hash + Environment, 
sourceimpl<E> Nand<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> Nand<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> Nor<Boolean<E>> for Boolean<E> where
    E: Environment, 
 
impl<E> Nor<Boolean<E>> for Boolean<E> where
    E: Environment, 
sourceimpl<E> Not for Boolean<E> where
    E: Environment, 
 
impl<E> Not for Boolean<E> where
    E: Environment, 
sourceimpl<E> Parser for Boolean<E> where
    E: Environment, 
 
impl<E> Parser for Boolean<E> where
    E: Environment, 
sourceimpl<E> PartialEq<Boolean<E>> for Boolean<E> where
    E: PartialEq<E> + Environment, 
 
impl<E> PartialEq<Boolean<E>> for Boolean<E> where
    E: PartialEq<E> + Environment, 
sourceimpl<E> Serialize for Boolean<E> where
    E: Environment, 
 
impl<E> Serialize for Boolean<E> where
    E: Environment, 
sourcefn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
    S: Serializer, 
 
fn serialize<S>(
    &self,
    serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
    S: Serializer, 
Serializes the boolean into a string or as bytes.
sourceimpl<E> SizeInBits for Boolean<E> where
    E: Environment, 
 
impl<E> SizeInBits for Boolean<E> where
    E: Environment, 
sourcefn size_in_bits() -> usize
 
fn size_in_bits() -> usize
Returns the field size in bits.
sourceimpl<E> SizeInBytes for Boolean<E> where
    E: Environment, 
 
impl<E> SizeInBytes for Boolean<E> where
    E: Environment, 
sourcefn size_in_bytes() -> usize
 
fn size_in_bytes() -> usize
Returns the boolean size in bytes.
sourceimpl<E> SizeInDataBits for Boolean<E> where
    E: Environment, 
 
impl<E> SizeInDataBits for Boolean<E> where
    E: Environment, 
sourcefn size_in_data_bits() -> usize
 
fn size_in_data_bits() -> usize
Returns the field capacity for data bits.
sourceimpl<E> Ternary for Boolean<E> where
    E: Environment, 
 
impl<E> Ternary for Boolean<E> where
    E: Environment, 
sourceimpl<E> ToBits for Boolean<E> where
    E: Environment, 
 
impl<E> ToBits for Boolean<E> where
    E: Environment, 
sourceimpl<E> ToBytes for Boolean<E> where
    E: Environment, 
 
impl<E> ToBytes for Boolean<E> where
    E: Environment, 
sourceimpl<E> TypeName for Boolean<E> where
    E: Environment, 
 
impl<E> TypeName for Boolean<E> where
    E: Environment, 
impl<E> BooleanTrait for Boolean<E> where
    E: Environment, 
impl<E> Copy for Boolean<E> where
    E: Copy + Environment, 
impl<E> Eq for Boolean<E> where
    E: Eq + Environment, 
impl<E> StructuralEq for Boolean<E> where
    E: Environment, 
impl<E> StructuralPartialEq for Boolean<E> where
    E: Environment, 
Auto Trait Implementations
impl<E> RefUnwindSafe for Boolean<E> where
    E: RefUnwindSafe, 
impl<E> Send for Boolean<E>
impl<E> Sync for Boolean<E>
impl<E> Unpin for Boolean<E> where
    E: Unpin, 
impl<E> UnwindSafe for Boolean<E> where
    E: UnwindSafe, 
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more