Trait aoc::util::parse::ParseOps

source ·
pub trait ParseOps {
    // Required methods
    fn unsigned<T: Unsigned<T>>(&self) -> T;
    fn signed<T: Signed<T>>(&self) -> T;
    fn iter_unsigned<T: Unsigned<T>>(&self) -> ParseUnsigned<'_, T> ;
    fn iter_signed<T: Signed<T>>(&self) -> ParseSigned<'_, T> ;
}

Required Methods§

source

fn unsigned<T: Unsigned<T>>(&self) -> T

source

fn signed<T: Signed<T>>(&self) -> T

source

fn iter_unsigned<T: Unsigned<T>>(&self) -> ParseUnsigned<'_, T>

source

fn iter_signed<T: Signed<T>>(&self) -> ParseSigned<'_, T>

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl ParseOps for &str

source§

fn unsigned<T: Unsigned<T>>(&self) -> T

source§

fn signed<T: Signed<T>>(&self) -> T

source§

fn iter_unsigned<T: Unsigned<T>>(&self) -> ParseUnsigned<'_, T>

source§

fn iter_signed<T: Signed<T>>(&self) -> ParseSigned<'_, T>

Implementors§