pub trait CSName<C: Character>:
Clone
+ Eq
+ 'static
+ Hash
+ Debug {
type Handler: CSHandler<C, Self>;
type Map<A>: CSNameMap<C, Self, A>
where A: Clone;
// Required method
fn id(&self) -> usize;
// Provided method
fn display_fmt<W: Write>(
&self,
int: &Self::Handler,
cc: &CategoryCodeScheme<C>,
escapechar: Option<C>,
f: &mut W,
) -> Result { ... }
}Expand description
The name of a control sequence.
Required Associated Types§
Required Methods§
Provided Methods§
fn display_fmt<W: Write>( &self, int: &Self::Handler, cc: &CategoryCodeScheme<C>, escapechar: Option<C>, f: &mut W, ) -> Result
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.