pub struct BinaryLoader { /* private fields */ }
Implementations§
Source§impl BinaryLoader
impl BinaryLoader
pub fn new() -> Self
pub fn with_mmap(self, enable: bool) -> Self
pub fn with_lazy(self, enable: bool) -> Self
pub fn load_file<P: AsRef<Path>>( &self, path: P, ) -> Result<HelixBinary, LoadError>
pub fn load_to_config<P: AsRef<Path>>( &self, path: P, ) -> Result<HelixConfig, LoadError>
pub fn binary_to_config( &self, binary: HelixBinary, ) -> Result<HelixConfig, LoadError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BinaryLoader
impl RefUnwindSafe for BinaryLoader
impl Send for BinaryLoader
impl Sync for BinaryLoader
impl Unpin for BinaryLoader
impl UnwindSafe for BinaryLoader
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