[][src]Trait abxml::model::Library

pub trait Library {
    fn get_name(&self) -> Option<String>;
fn format_reference(
        &self,
        id: u32,
        key: u32,
        namespace: Option<String>,
        prefix: &str
    ) -> Result<String, Error>;
fn get_entry(&self, id: u32) -> Result<&Entry, Error>;
fn get_entries_string(&self, str_id: u32) -> Result<Rc<String>, Error>;
fn get_spec_string(&self, str_id: u32) -> Result<Rc<String>, Error>; }

Required methods

fn get_name(&self) -> Option<String>

fn format_reference(
    &self,
    id: u32,
    key: u32,
    namespace: Option<String>,
    prefix: &str
) -> Result<String, Error>

fn get_entry(&self, id: u32) -> Result<&Entry, Error>

fn get_entries_string(&self, str_id: u32) -> Result<Rc<String>, Error>

fn get_spec_string(&self, str_id: u32) -> Result<Rc<String>, Error>

Loading content...

Implementors

impl<'a> Library for Library<'a>[src]

Loading content...