Type Alias char_list::finite::NoTail

source ·
pub type NoTail = ();

Trait Implementations§

source§

impl CharListTail for NoTail

§

type Err = Infallible

source§

fn next_char_list(&self) -> Result<Option<&CharList<Self>>, Infallible>

Returns Ok(Some(..)) if there is a next CharList. If there’s no next CharList, returns Ok(None). If an answer can’t be given, returns Err(..).
source§

fn len(&self) -> Result<usize, Self::Err>

source§

fn is_empty(&self) -> Result<bool, Self::Err>