Skip to main content

Crate sourceinput

Crate sourceinput 

Source

Structs§

Source
A segement of source stream that implement Input stream.

Traits§

AsBytes
Convert Input as &[u8]
AsStr
Convert Input as &str
BytesInputbytes
Facade trait for Bytes stream.
CharsInputchars
Facade trait for Chars stream.
Find
An extension trait that add find fn to Input
Input
A source code stream must implement this trait.
Item
Values yielded by the input stream.
StartWith
An extension trait that add start_with fn to Input

Type Aliases§

Bytesbytes
An Input stream wrapper for &[u8]
Charschars
An Input stream wrapper for &str
Span
Type alias for sourcespan::Span in this crate.