Trait Iden
pub trait Iden: Send + Sync {
// Required method
fn unquoted(&self, s: &mut dyn Write);
// Provided methods
fn prepare(&self, s: &mut dyn Write, q: Quote) { ... }
fn quoted(&self, q: Quote) -> String { ... }
fn to_string(&self) -> String { ... }
}Expand description
Identifier
Required Methods§
Provided Methods§
fn prepare(&self, s: &mut dyn Write, q: Quote)
fn quoted(&self, q: Quote) -> String
fn to_string(&self) -> String
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".