anstyle_parse

Type Alias DefaultCharAccumulator

source
pub type DefaultCharAccumulator = Utf8Parser;
Expand description

Most flexible CharAccumulator for Parser based on active features

Aliased Type§

struct DefaultCharAccumulator { /* private fields */ }

Trait Implementations

source§

impl CharAccumulator for Utf8Parser

source§

fn add(&mut self, byte: u8) -> Option<char>

Build a char out of bytes Read more
source§

impl Clone for Utf8Parser

source§

fn clone(&self) -> Utf8Parser

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for Utf8Parser

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for Utf8Parser

source§

fn default() -> Utf8Parser

Returns the “default value” for a type. Read more
source§

impl PartialEq for Utf8Parser

source§

fn eq(&self, other: &Utf8Parser) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for Utf8Parser

source§

impl StructuralPartialEq for Utf8Parser