Skip to main content

SubPartSink

Trait SubPartSink 

Source
pub trait SubPartSink {
    // Required method
    fn sub_part(&mut self, kind: &str, text: &str);
}
Expand description

Receives the sub-parts of a formatted expression (a number’s minusSign, integer, decimal, fraction, …).

Required Methods§

Source

fn sub_part(&mut self, kind: &str, text: &str)

One sub-part: its kind and its text.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§