Struct hanzi4096::字写 [] [src]

pub struct 字写 { /* fields omitted */ }
use std::io::Write;
use hanzi4096::ZiWrite;

let mut w = ZiWrite::new();
write!(w, "Hello 汉字!").unwrap();
assert_eq!(w.into_string(), "贰娃迤交杀萝尻淳");

Methods

impl 字写
[src]

Trait Implementations

impl Debug for 字写
[src]

Formats the value using the given formatter.

impl Clone for 字写
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for 字写
[src]

Returns the "default value" for a type. Read more

impl Write for 字写
[src]

Write a buffer into this object, returning how many bytes were written. Read more

Flush this output stream, ensuring that all intermediately buffered contents reach their destination. Read more

Attempts to write an entire buffer into this write. Read more

Writes a formatted string into this writer, returning any error encountered. Read more

Creates a "by reference" adaptor for this instance of Write. Read more