pub trait FancyOutput: Fancy {
// Required method
fn output(
&mut self,
x: &Self::Item,
channel: &mut Channel<'_>,
) -> Result<Option<u16>>;
// Provided method
fn outputs(
&mut self,
xs: &[Self::Item],
channel: &mut Channel<'_>,
) -> Result<Option<Vec<u16>>> { ... }
}Expand description
Extension trait for Fancy that provides output operations.