1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! Text-formatting APIs for complete [`Class`](crate::Class) models.
//!
//! A [`Formatter`] may stream to any [`std::fmt::Write`] destination. Its provided
//! [`Formatter::format`] method collects that output into a [`String`].
use fmt;
use crate::;
pub use FerroFormatter;
/// Renders a complete class model into text.
///
/// Implement this trait when a consumer needs a presentation other than the compact
/// reverse-engineering output produced by [`FerroFormatter`]. Implementations receive only a
/// complete [`Class`]; partial disassemblies must be handled by the caller.