[][src]Struct libcurt::YogurtYaml

pub struct YogurtYaml<'a> { /* fields omitted */ }

Contains identifier checks and results from usage

Methods

impl<'a> YogurtYaml<'a>[src]

Implements YogurtYaml functions

pub fn new(indicator_lists: &'a [Indicators]) -> YogurtYaml<'a>[src]

Create a new curt instance

pub fn new_from_str(indicators: &'a [&'a str]) -> YogurtYaml<'a>[src]

Create a new curt instance

pub fn curt(&mut self, s: &str)[src]

Extract yaml from string

pub fn curt_clear(&mut self, s: &mut String)[src]

Extracts yaml and clears string if not open

pub fn get_results(&self) -> &Vec<Result>[src]

Return results

pub fn clear_results(&mut self)[src]

Clear the list of results

pub fn is_open(&self) -> bool[src]

Checks whether there is any not SemanticPosition::Out containing ident_check in the list of ident_checks

pub fn reset(&mut self)[src]

Clears results and resets all ident_checks

pub fn reset_open(&mut self) -> bool[src]

Resets all ident_checks' and returns according to self.is_open()`

Auto Trait Implementations

impl<'a> RefUnwindSafe for YogurtYaml<'a>

impl<'a> Send for YogurtYaml<'a>

impl<'a> Sync for YogurtYaml<'a>

impl<'a> Unpin for YogurtYaml<'a>

impl<'a> UnwindSafe for YogurtYaml<'a>

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, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

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.