pub struct CodeDB { /* private fields */ }Implementations§
Source§impl CodeDB
impl CodeDB
pub fn new() -> Self
pub fn load<P>(&mut self, path: P) -> Result<(), Box<dyn Error>>
pub fn parse_file_c00<P>(path: P) -> Result<CodeTable, Box<dyn Error>>
pub fn parse_file_c11<P>(path: P) -> Result<CodeTable, Box<dyn Error>>
pub fn export(&self, id: u8) -> String
pub fn get(&self, id: u8) -> Option<&CodeTable>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CodeDB
impl RefUnwindSafe for CodeDB
impl Send for CodeDB
impl Sync for CodeDB
impl Unpin for CodeDB
impl UnwindSafe for CodeDB
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more