pub trait Visibility<A>: Equal<Self, Output = Self::Boolean> + ToBits<Boolean = Boolean<A>> + FromBits + ToFields + FromFieldswhere
    A: Aleo,{
    // Required method
    fn size_in_fields(&self) -> u16;
}

Required Methods§

source

fn size_in_fields(&self) -> u16

Returns the number of field elements to encode self.

Implementors§

source§

impl<A> Visibility<A> for Plaintext<A>where A: Aleo,

source§

impl<A> Visibility<A> for Ciphertext<A>where A: Aleo,