pub(crate) trait AlignedItem {
// Required methods
fn skip(&self) -> bool;
fn get_span(&self) -> Span;
fn rewrite_prefix(
&self,
context: &RewriteContext<'_>,
shape: Shape,
) -> Result<String, RewriteError>;
fn rewrite_aligned_item(
&self,
context: &RewriteContext<'_>,
shape: Shape,
prefix_max_width: usize,
) -> Result<String, RewriteError>;
}