pub trait TextValue: Text {
// Required method
fn as_bytes(&self) -> &[u8] ⓘ;
}Expand description
String inputs whose UTF-8 proof survives until the complete write.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".