Struct nom::types::CompleteByteSlice [] [src]

pub struct CompleteByteSlice<'a>(pub &'a [u8]);

Holds a complete String, for which the at_eof method always returns true

This means that this input type will completely avoid nom's streaming features and Incomplete results.

Trait Implementations

impl<'a> InputTakeAtPosition for CompleteByteSlice<'a>
[src]

[src]

[src]

impl<'a> Clone for CompleteByteSlice<'a>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> Copy for CompleteByteSlice<'a>
[src]

impl<'a> Debug for CompleteByteSlice<'a>
[src]

[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for CompleteByteSlice<'a>
[src]

[src]

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

[src]

This method tests for !=.

impl<'a> Hash for CompleteByteSlice<'a>
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl<'a> AtEof for CompleteByteSlice<'a>
[src]

[src]

impl<'a> Slice<Range<usize>> for CompleteByteSlice<'a>
[src]

[src]

impl<'a> Slice<RangeTo<usize>> for CompleteByteSlice<'a>
[src]

[src]

impl<'a> Slice<RangeFrom<usize>> for CompleteByteSlice<'a>
[src]

[src]

impl<'a> Slice<RangeFull> for CompleteByteSlice<'a>
[src]

[src]

impl<'a> InputIter for CompleteByteSlice<'a>
[src]

[src]

returns an iterator over the elements and their byte offsets

[src]

returns an iterator over the elements

[src]

finds the byte position of the element

[src]

get the byte offset from the element's position in the stream

impl<'a> InputTake for CompleteByteSlice<'a>
[src]

[src]

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

[src]

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

impl<'a> InputLength for CompleteByteSlice<'a>
[src]

[src]

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

impl<'a, 'b> Compare<&'b [u8]> for CompleteByteSlice<'a>
[src]

[src]

compares self to another value for equality

[src]

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

impl<'a, 'b> Compare<&'b str> for CompleteByteSlice<'a>
[src]

[src]

compares self to another value for equality

[src]

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

impl<'a, 'b> FindSubstring<&'b [u8]> for CompleteByteSlice<'a>
[src]

[src]

impl<'a, 'b> FindSubstring<&'b str> for CompleteByteSlice<'a>
[src]

[src]

impl<'a> FindToken<char> for CompleteByteSlice<'a>
[src]

[src]

impl<'a> FindToken<u8> for CompleteByteSlice<'a>
[src]

[src]

impl<'a, 'b> FindToken<&'a u8> for CompleteByteSlice<'b>
[src]

[src]

impl<'a, R: FromStr> ParseTo<R> for CompleteByteSlice<'a>
[src]

[src]

impl<'a> Offset for CompleteByteSlice<'a>
[src]

[src]

offset between the first byte of self and the first byte of the argument

impl<'a> AsBytes for CompleteByteSlice<'a>
[src]

[src]

impl<'a> HexDisplay for CompleteByteSlice<'a>
[src]

[src]

Converts the value of self to a hex dump, returning the owned string. Read more

[src]

Converts the value of self to a hex dump beginning at from address, returning the owned string. Read more

Auto Trait Implementations

impl<'a> Send for CompleteByteSlice<'a>

impl<'a> Sync for CompleteByteSlice<'a>