pub trait Visibility: Equal<Self, Output = Self::Boolean> + ToBytes + FromBytes + ToBits + FromBits + ToFields + FromFields {
    type Boolean: BooleanTrait;

    fn size_in_fields(&self) -> Result<u16, Error>;
}

Required Associated Types§

Required Methods§

Returns the number of field elements to encode self.

Implementations on Foreign Types§

Returns the number of field elements to encode self.

Implementors§