Trait idna::punycode::PunycodeCodeUnit

source ·
pub(crate) trait PunycodeCodeUnit {
    // Required methods
    fn is_delimiter(&self) -> bool;
    fn is_ascii(&self) -> bool;
    fn digit(&self) -> Option<u32>;
    fn char(&self) -> char;
    fn char_ascii_lower_case(&self) -> char;
}

Required Methods§

source

fn is_delimiter(&self) -> bool

source

fn is_ascii(&self) -> bool

source

fn digit(&self) -> Option<u32>

source

fn char(&self) -> char

source

fn char_ascii_lower_case(&self) -> char

Implementations on Foreign Types§

source§

impl PunycodeCodeUnit for char

source§

impl PunycodeCodeUnit for u8

Implementors§