pub struct SelectionOutput {
pub selected_inputs: Vec<usize>,
pub waste: WasteMetric,
}
Expand description
The result of selection algorithm.
Fields§
§selected_inputs: Vec<usize>
The selected input indices, refers to the indices of the inputs Slice Reference.
waste: WasteMetric
The waste amount, for the above inputs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SelectionOutput
impl RefUnwindSafe for SelectionOutput
impl Send for SelectionOutput
impl Sync for SelectionOutput
impl Unpin for SelectionOutput
impl UnwindSafe for SelectionOutput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more