pub trait BundleView<NoteRef> {
type In: InputView<NoteRef>;
type Out: OutputView;
// Required methods
fn bundle_type(&self) -> BundleType;
fn inputs(&self) -> &[Self::In];
fn outputs(&self) -> &[Self::Out];
}
Expand description
A trait that provides a minimized view of Sapling bundle configuration suitable for use in fee and change calculation.
Required Associated Types§
Sourcetype Out: OutputView
type Out: OutputView
The type of inputs of the bundle.
Required Methods§
Sourcefn bundle_type(&self) -> BundleType
fn bundle_type(&self) -> BundleType
Returns the type of the bundle