pub trait BalanceInterfacewhere
Self: Sized,{
type W: WitnessGenerator<Fp>;
type Bool: BoolInterface;
type Amount: AmountInterface;
type SignedAmount: SignedAmountInterface;
// Required method
fn add_signed_amount_flagged(
&self,
signed_amount: Self::SignedAmount,
w: &mut Self::W,
) -> (Self, Self::Bool);
}
Required Associated Types§
type W: WitnessGenerator<Fp>
type Bool: BoolInterface
type Amount: AmountInterface
type SignedAmount: SignedAmountInterface
Required Methods§
fn add_signed_amount_flagged( &self, signed_amount: Self::SignedAmount, w: &mut Self::W, ) -> (Self, Self::Bool)
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.