pub struct EszipV1 { /* private fields */ }
Implementations§
source§impl EszipV1
impl EszipV1
pub fn from_modules(modules: HashMap<Url, ModuleInfo>) -> Self
pub fn parse(data: &[u8]) -> Result<EszipV1, ParseError>
pub fn into_bytes(self) -> Vec<u8> ⓘ
pub fn get_module(&self, specifier: &str) -> Option<Module>
pub fn get_import_map(&self, _specifier: &str) -> Option<Module>
Trait Implementations§
source§impl<'de> Deserialize<'de> for EszipV1
impl<'de> Deserialize<'de> for EszipV1
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for EszipV1
impl Send for EszipV1
impl Sync for EszipV1
impl Unpin for EszipV1
impl UnwindSafe for EszipV1
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