Enum codespan::ByteIndexError[][src]

pub enum ByteIndexError {
    OutOfBounds {
        given: ByteIndex,
        span: ByteSpan,
    },
    InvalidCharBoundary {
        given: ByteIndex,
    },
}

Variants

Fields of OutOfBounds

Fields of InvalidCharBoundary

Trait Implementations

impl Debug for ByteIndexError
[src]

Formats the value using the given formatter. Read more

impl PartialEq for ByteIndexError
[src]

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

This method tests for !=.

Auto Trait Implementations