Struct utf8_ranges::Utf8Range [] [src]

pub struct Utf8Range {
    pub start: u8,
    pub end: u8,
}

A single inclusive range of UTF-8 bytes.

Fields

Start of byte range (inclusive).

End of byte range (inclusive).

Methods

impl Utf8Range
[src]

Returns true if and only if the given byte is in this range.

Trait Implementations

impl Clone for Utf8Range
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Utf8Range
[src]

impl PartialEq for Utf8Range
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Utf8Range
[src]

impl Debug for Utf8Range
[src]

Formats the value using the given formatter.