Trait AbstractInput

Source
pub trait AbstractInput<'a, I>:
    InputTakeAtPosition<Item = I>
    + InputTake
    + Clone
    + Copy
    + FindSubstring<&'a str>
    + Slice<RangeFrom<usize>>
    + InputLength
    + InputIter
    + Compare<&'a str>
    + Debug
    + Into<&'a BStr>
    + Default {
    // Required method
    fn is_empty(&self) -> bool;
}

Required Methods§

Source

fn is_empty(&self) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a> AbstractInput<'a, char> for &'a str

Source§

fn is_empty(&self) -> bool

Source§

impl<'a> AbstractInput<'a, u8> for &'a [u8]

Source§

fn is_empty(&self) -> bool

Implementors§