sigil-wallet · display
Source declarations, signatures and documentation for display.
Source: sigil/node/sigil-wallet/src/display.rs. SHA-256: d3e9f459017e1fe97c4ae124ed8a3aaec4e6a8d8afe808d43d79a1ec4b4c2602.
This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.
display::print_header
Print a boxed header line.
pub fn print_header(title: &str);Source line: 38.
display::print_banner
Print the SIGIL emblem banner with wallet subtitle.
Silently skipped when stdout is not a terminal (e.g. piped to a file).
pub fn print_banner();Source line: 63.
display::format_sigil
Format a micro-MINT amount for display.
Converts micro-MINT (u64) to a human-readable string with the MINT unit. Examples:
- 1_000_000 -> "1.000000 MINT"
- 500_000 -> "0.500000 MINT"
- 10_000_000_000 -> "10,000.000000 MINT"
pub fn format_sigil(micro: u64) -> String;Source line: 85.
display::format_micro_sigil
Format a micro-MINT amount as just the micro value with unit label.
pub fn format_micro_sigil(micro: u64) -> String;Source line: 99.
display::print_kv
Print a key-value line with consistent formatting.
pub fn print_kv(key: &str, value: &str);Source line: 117.
display::print_info
Print an informational message.
pub fn print_info(msg: &str);Source line: 126.
display::print_success
Print a success message.
pub fn print_success(msg: &str);Source line: 131.
display::print_error
Print an error message to stderr.
pub fn print_error(msg: &str);Source line: 136.