pub struct SourceMap {
pub version: i32,
pub file: Option<String>,
pub sources: Vec<String>,
pub sources_content: Option<Vec<Option<String>>>,
pub names: Vec<String>,
pub mappings: String,
pub source_root: Option<String>,
}Expand description
Parsed source map information
Fields§
§version: i32§file: Option<String>§sources: Vec<String>§sources_content: Option<Vec<Option<String>>>§names: Vec<String>§mappings: String§source_root: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SourceMap
impl<'de> Deserialize<'de> for SourceMap
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 Freeze for SourceMap
impl RefUnwindSafe for SourceMap
impl Send for SourceMap
impl Sync for SourceMap
impl Unpin for SourceMap
impl UnsafeUnpin for SourceMap
impl UnwindSafe for SourceMap
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