pub struct Library<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Library<'a>
impl<'a> Library<'a>
pub fn new(package: PackageWrapper<'a>) -> Self
Trait Implementations
sourceimpl<'a> Library for Library<'a>
impl<'a> Library for Library<'a>
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>
sourceimpl<'a> LibraryBuilder<'a> for Library<'a>
impl<'a> LibraryBuilder<'a> for Library<'a>
type StringTable = StringTableCache<StringTableWrapper<'a>>
type TypeSpec = TypeSpecWrapper<'a>
fn set_string_table(&mut self, string_table: Self::StringTable, origin: Origin)
fn add_entries(&mut self, entries: Entries)
fn add_type_spec(&mut self, type_spec: Self::TypeSpec)
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Library<'a>
impl<'a> !Send for Library<'a>
impl<'a> !Sync for Library<'a>
impl<'a> Unpin for Library<'a>
impl<'a> UnwindSafe for Library<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more