Struct rusttype::Codepoint [] [src]

pub struct Codepoint(pub u32);
[]

Represents a Unicode code point.

Trait Implementations

impl From<char> for Codepoint

fn from(c: char) -> Codepoint

Derived Implementations

impl Ord for Codepoint

fn cmp(&self, __arg_0: &Codepoint) -> Ordering

impl PartialOrd for Codepoint

fn partial_cmp(&self, __arg_0: &Codepoint) -> Option<Ordering>

fn lt(&self, __arg_0: &Codepoint) -> bool

fn le(&self, __arg_0: &Codepoint) -> bool

fn gt(&self, __arg_0: &Codepoint) -> bool

fn ge(&self, __arg_0: &Codepoint) -> bool

impl Hash for Codepoint

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Eq for Codepoint

impl PartialEq for Codepoint

fn eq(&self, __arg_0: &Codepoint) -> bool

fn ne(&self, __arg_0: &Codepoint) -> bool

impl Debug for Codepoint

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Codepoint

fn clone(&self) -> Codepoint

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for Codepoint