Struct jsdoc::Input[][src]

pub struct Input<'i> { /* fields omitted */ }

Implementations

Trait Implementations

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

Formats the value using the given formatter. Read more

The resulting type after dereferencing.

Dereferences the value.

Performs the conversion.

Performs the conversion.

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

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.

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

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

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.