pub trait TokenExt:
Clone
+ Copy
+ PartialEq {
// Required method
fn matches_class(&self, other: &Self) -> bool;
}
Required Methods§
fn matches_class(&self, other: &Self) -> bool
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.