Trait AbstractInputItem

Source
pub trait AbstractInputItem<I>:
    AsChar
    + PartialEq<I>
    + From<u8>
    + Clone {
    // Required methods
    fn is_alphabetic(c: I) -> bool;
    fn is_alphanumeric(c: I) -> bool;
    fn is_token(c: I) -> bool;
}

Required Methods§

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.

Implementations on Foreign Types§

Source§

impl AbstractInputItem<char> for char

Source§

impl AbstractInputItem<u8> for u8

Implementors§