Struct uri_rs::parser::parsers::Elms[][src]

pub struct Elms<'a> { /* fields omitted */ }
Expand description

Custom Input Type

Implementations

Trait Implementations

Casts the input type to a byte slice

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Compares self to another value for equality

Compares self to another value for equality independently of the case. Read more

Compares self to another value for equality

Compares self to another value for equality independently of the case. Read more

Creates a new error from an input position, a static string and an existing error. This is used mainly in the context combinator, to add user friendly information to errors when backtracking through a parse tree Read more

Formats the value using the given formatter. Read more

Performs the conversion.

InputIter for Elms

This type provides essentially the same implementation as &’a u8.

The current input type is a sequence of that Item type. Read more

An iterator over the input type, producing the item and its position for use with Slice. If we’re iterating over &str, the position corresponds to the byte index of the character Read more

An iterator over the input type, producing the item

Returns an iterator over the elements and their byte offsets

Returns an iterator over the elements

Finds the byte position of the element

Get the byte offset from the element’s position in the stream

Calculates the input length, as indicated by its name, and the name of the trait itself Read more

Returns a slice of count bytes. panics if count > length

Split the stream at the count byte offset. panics if count > length

The current input type is a sequence of that Item type. Read more

Looks for the first element of the input type for which the condition returns true, and returns the input up to this position. Read more

Looks for the first element of the input type for which the condition returns true and returns the input up to this position. Read more

Looks for the first element of the input type for which the condition returns true, and returns the input up to this position. Read more

Looks for the first element of the input type for which the condition returns true and returns the input up to this position. Read more

Creates an error from the input position and an ErrorKind

Combines an existing error with a new one created from the input position and an ErrorKind. This is useful when backtracking through a parse tree, accumulating error context on the way Read more

Creates an error from an input position and an expected character

Combines two existing errors. This function is used to compare errors generated in various branches of alt. Read more

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

This method tests for !=.

Slices self according to the range argument

Slices self according to the range argument

Slices self according to the range argument

Slices self according to the range argument

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.