pub trait WriterLike {
// Required method
fn write(&self, writer: &mut Writer);
// Provided methods
fn to_stringized(&self) -> String { ... }
fn to_sanitized(&self) -> String { ... }
fn to_expressionized(&self) -> String { ... }
}Required Methods§
Provided Methods§
Sourcefn to_stringized(&self) -> String
fn to_stringized(&self) -> String
Return a string representation (raw unsafe output).
Sourcefn to_sanitized(&self) -> String
fn to_sanitized(&self) -> String
Return a sanitized string representation (escaped for safe output).
Sourcefn to_expressionized(&self) -> String
fn to_expressionized(&self) -> String
Return a sanitized string representation (escaped for safe output).