pub trait Visibility<A>:
Equal<Output = Self::Boolean>
+ ToBits<Boolean = Boolean<A>>
+ FromBits
+ ToFields
+ FromFieldswhere
A: Aleo,{
// Required method
fn size_in_fields(&self) -> u16;
}
Required Methods§
Sourcefn size_in_fields(&self) -> u16
fn size_in_fields(&self) -> u16
Returns the number of field elements to encode self
.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.