Trait TokenExt

Source
pub trait TokenExt:
    Clone
    + Copy
    + PartialEq {
    // Required method
    fn matches_class(&self, other: &Self) -> bool;
}

Required Methods§

Source

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.

Implementors§