[][src]Struct bmx::forest::Forest

pub struct Forest { /* fields omitted */ }

Implementations

impl Forest[src]

pub fn new() -> Self[src]

pub fn root_names(&self) -> Iter<Ident>[src]

pub fn add_root(&mut self, root: Root) -> Result<(), Error>[src]

pub fn add_branch(&mut self, branch: Branch) -> Result<(), Error>[src]

pub fn add_enum(&mut self, en: Enum) -> Result<(), Error>[src]

pub fn nodes(&self) -> Iter<Node>[src]

pub fn resolve<'a>(
    &'a self,
    prepared: &'a PreparedRoot,
    shaped: &'a Shaped
) -> Record<'a>
[src]

pub fn prepare(&self, root: &Ident) -> Result<PreparedRoot, PrepareError>[src]

Trait Implementations

impl Debug for Forest[src]

impl Default for Forest[src]

impl Index<NodeId> for Forest[src]

type Output = Node

The returned type after indexing.

Auto Trait Implementations

impl RefUnwindSafe for Forest

impl Send for Forest

impl Sync for Forest

impl Unpin for Forest

impl UnwindSafe for Forest

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 = 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.