//! A schema's value out: to the binary form, to text.
usecrate::binary::Writer;usecrate::schema::Schema;usecrate::text;/// `v` in the binary form, written straight ([`Schema::encode`]).
pubfnto_bytes<T: Schema>(v:&T)->Vec<u8>{letmut w =Writer::new();
v.encode(&mut w);
w.finish()}/// `value` as text, indented.
pubfnto_text<T: Schema>(value:&T)-> String{text::to_string_pretty(&value.write())}