combine::parser::combinator

Trait StrLike

Source
pub trait StrLike: Sealed {
    // Required method
    fn from_utf8(&self) -> Option<&str>;
}

Required Methods§

Source

fn from_utf8(&self) -> Option<&str>

Implementations on Foreign Types§

Source§

impl StrLike for str

Source§

impl StrLike for String

Source§

impl StrLike for Vec<u8>

Source§

impl StrLike for [u8]

Source§

impl<'a> StrLike for &'a str

Source§

impl<'a> StrLike for &'a [u8]

Implementors§