Struct treebender::earley::Chart[][src]

pub struct Chart(_);


impl Chart[src]

pub fn new(length: usize) -> Self[src]

pub fn len(&self) -> usize[src]

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

pub fn len_at(&self, k: usize) -> usize[src]

pub fn has(&self, k: usize, state: &State) -> bool[src]

pub fn add(&mut self, k: usize, state: State)[src]

Trait Implementations

impl Debug for Chart[src]

impl Display for Chart[src]

impl From<Chart> for Forest[src]

impl IntoIterator for Chart[src]

type Item = (usize, Vec<State>)

The type of the elements being iterated over.

type IntoIter = Enumerate<IntoIter<Vec<State>>>

Which kind of iterator are we turning this into?

Auto Trait Implementations

impl !RefUnwindSafe for Chart

impl !Send for Chart

impl !Sync for Chart

impl Unpin for Chart

impl !UnwindSafe for Chart

Blanket Implementations

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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> ToString for T where
    T: Display + ?Sized

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.