Skip to main content

Read

Trait Read 

Source
pub trait Read<'a>: Seal {
    // Required methods
    fn daku(&mut self) -> Option<Daku<'a>>;
    fn portals(&mut self) -> Option<Vec<Portal>>;
    fn nucleide(&mut self) -> Option<Vec<Nucleide<'a>>>;
    fn file(&mut self) -> Option<File<'a>>;
    fn file_vector(&mut self) -> Option<Vec<File<'a>>>;
    fn file_map(&mut self) -> Option<BTreeMap<u32, File<'a>>>;
    fn category(&mut self) -> Option<Category>;
    fn category_vector(&mut self) -> Option<Vec<Category>>;
}
Expand description

Daku section reader.

Required Methods§

Source

fn daku(&mut self) -> Option<Daku<'a>>

Parse daku section.

Source

fn portals(&mut self) -> Option<Vec<Portal>>

Parse portals list from Daku section.

Source

fn nucleide(&mut self) -> Option<Vec<Nucleide<'a>>>

Parse nucleide extensions subsection.

Source

fn file(&mut self) -> Option<File<'a>>

Parse file (Nucleide extension).

Source

fn file_vector(&mut self) -> Option<Vec<File<'a>>>

Parse vector of files (Nucleide extension)

Source

fn file_map(&mut self) -> Option<BTreeMap<u32, File<'a>>>

Parse map of files (Nucleide extension)

Source

fn category(&mut self) -> Option<Category>

Parse category (Nucleide extension).

Source

fn category_vector(&mut self) -> Option<Vec<Category>>

Parse category vector (Nucleide extension).

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'a> Read<'a> for Reader<'a>