[][src]Trait ot::binary_tree::HasChildren

pub trait HasChildren {
    type Output;
    type Child;
    fn parse<T: MemRead>(
        data: &mut T,
        children: Vec<Self::Child>
    ) -> Result<Self::Output, Error>;
fn parse_child<T: MemRead>(data: &mut T) -> Result<Self::Child, Error>; }

Associated Types

type Output

type Child

Loading content...

Required methods

fn parse<T: MemRead>(
    data: &mut T,
    children: Vec<Self::Child>
) -> Result<Self::Output, Error>

fn parse_child<T: MemRead>(data: &mut T) -> Result<Self::Child, Error>

Loading content...

Implementors

impl HasChildren for Main[src]

type Output = Main

type Child = MainChild

impl HasChildren for Root[src]

type Output = Root

type Child = ItemCategory

Loading content...