[][src]Enum ucd_parse::Codepoints

pub enum Codepoints {
    Single(Codepoint),
    Range(CodepointRange),
}

A representation of either a single codepoint or a range of codepoints.

Variants

Single(Codepoint)

A single codepoint.

A range of codepoints.

Trait Implementations

impl Clone for Codepoints[src]

impl Copy for Codepoints[src]

impl Debug for Codepoints[src]

impl Default for Codepoints[src]

impl Display for Codepoints[src]

impl Eq for Codepoints[src]

impl FromStr for Codepoints[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for Codepoints[src]

impl IntoIterator for Codepoints[src]

type IntoIter = CodepointIter

Which kind of iterator are we turning this into?

type Item = Codepoint

The type of the elements being iterated over.

impl Ord for Codepoints[src]

impl PartialEq<(Codepoint, Codepoint)> for Codepoints[src]

impl PartialEq<(u32, u32)> for Codepoints[src]

impl PartialEq<Codepoint> for Codepoints[src]

impl PartialEq<Codepoints> for Codepoints[src]

impl PartialEq<u32> for Codepoints[src]

impl PartialOrd<Codepoints> for Codepoints[src]

impl StructuralEq for Codepoints[src]

impl StructuralPartialEq for Codepoints[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.