Struct oxc_sourcemap::JSONSourceMap
source · pub struct JSONSourceMap {
pub file: Option<String>,
pub mappings: Option<String>,
pub source_root: Option<String>,
pub sources: Option<Vec<Option<String>>>,
pub sources_content: Option<Vec<Option<String>>>,
pub names: Option<Vec<String>>,
}
Fields§
§file: Option<String>
§mappings: Option<String>
§source_root: Option<String>
§sources: Option<Vec<Option<String>>>
§sources_content: Option<Vec<Option<String>>>
§names: Option<Vec<String>>
Trait Implementations§
source§impl Default for JSONSourceMap
impl Default for JSONSourceMap
source§fn default() -> JSONSourceMap
fn default() -> JSONSourceMap
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for JSONSourceMap
impl<'de> Deserialize<'de> for JSONSourceMap
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 JSONSourceMap
impl RefUnwindSafe for JSONSourceMap
impl Send for JSONSourceMap
impl Sync for JSONSourceMap
impl Unpin for JSONSourceMap
impl UnwindSafe for JSONSourceMap
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