Trait UChar

Source
pub trait UChar:
    Debug
    + Sized
    + Copy
    + Ord
    + Eq {
    const NUL: Self;
}
Expand description

Marker trait for primitive types used to represent UTF character data. Should not be used directly.

Required Associated Constants§

Source

const NUL: Self

NUL character value

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 UChar for u16

Source§

const NUL: u16 = 0u16

Source§

impl UChar for u32

Source§

const NUL: u32 = 0u32

Implementors§