pub trait AmountInterfacewhere
Self: Sized,{
type W: WitnessGenerator<Fp>;
type Bool: BoolInterface;
// Required methods
fn zero() -> Self;
fn of_constant_fee(fee: Fee) -> Self;
}
Required Associated Types§
type W: WitnessGenerator<Fp>
type Bool: BoolInterface
Required Methods§
fn zero() -> Self
fn of_constant_fee(fee: Fee) -> 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.