pub fn input_queue_characters(
        &self,
    ) -> impl Iterator<Item = char> + DoubleEndedIterator + ExactSizeIterator + Clone + '_ {
        self.input_queue_characters
            .as_slice()
            .iter()
            // TODO: are the values in the buffer guaranteed to be valid unicode
            // scalar values? if so we can just expose this as a `&[char]`...
            .map(|c| core::char::from_u32(*c).unwrap_or(core::char::REPLACEMENT_CHARACTER))
    }
/// Returns a view of the data in the input queue (without copying it).
///
/// The returned iterator is a simple mapping over a slice more or less what
/// you need for random access to the data (Rust has no
/// `RandomAccessIterator`, or we'd use that).
Returns a view of the data in the input queue (without copying it).
The returned iterator is a simple mapping over a slice more or less what
you need for random access to the data (Rust has no
`RandomAccessIterator`, or we'd use that).
Returns a view of the data in the input queue ( without copying it ) . The returned iterator is a simple mapping over a slice more or less what you need for random access to the data ( Rust has no ` RandomAccessIterator ` or we ' d use that ) .
pub fn input_queue_characters(
        &self,
    ) -> impl Iterator<Item = char> + DoubleEndedIterator + ExactSizeIterator + Clone + '_ {
        self.input_queue_characters
            .as_slice()
            .iter()
            // TODO: are the values in the buffer guaranteed to be valid unicode
            // scalar values? if so we can just expose this as a `&[char]`...
            .map(|c| core::char::from_u32(*c).unwrap_or(core::char::REPLACEMENT_CHARACTER))
    }
pub fn input_queue_characters ( & self , ) -> impl Iterator < Item = char > + DoubleEndedIterator + ExactSizeIterator + Clone + ' _ { self . input_queue_characters . as_slice ( ) . iter ( ) // TODO: are the values in the buffer guaranteed to be valid unicode // scalar values? if so we can just expose this as a `&[char]`... . map ( | c | core :: char :: from_u32 ( * c ) . unwrap_or ( core :: char :: REPLACEMENT_CHARACTER ) ) }
Returns a view of the data in the input queue (without copying it).
Returns a view of the data in the input queue ( without copying it ) .
&self
&self