[][src]Struct console_tester::term::TermStrings

pub struct TermStrings { /* fields omitted */ }

Implementations

impl TermStrings[src]

TermStrings struct Instantiable, in order to reduce performance overhead by caching the list of strings instead of generating a new list for every check. Populates TermStrings.string_list on instantiation

pub fn new_from_env() -> TermStrings[src]

pub fn new_from_path(path: &Path) -> TermStrings[src]

pub fn check_valid_symbol(&self, to_compare: Vec<u8>) -> bool[src]

Check a terminal symbol (in Vec form) against the list of valid terminal symbols

pub fn get_term_list(self) -> Vec<Vec<u8>>[src]

Get the stored terminal symbol list

Trait Implementations

impl Clone for TermStrings[src]

impl Debug for TermStrings[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.