Struct dprint_swc_ecma_ast_view::ScriptInfo [−][src]
pub struct ScriptInfo<'a> { pub script: &'a Script, pub source_file: Option<&'a dyn SourceFile>, pub tokens: Option<&'a [TokenAndSpan]>, pub comments: Option<Comments<'a>>, }
Fields
script: &'a Script
source_file: Option<&'a dyn SourceFile>
tokens: Option<&'a [TokenAndSpan]>
comments: Option<Comments<'a>>
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ScriptInfo<'a>
impl<'a> !Send for ScriptInfo<'a>
impl<'a> !Sync for ScriptInfo<'a>
impl<'a> Unpin for ScriptInfo<'a>
impl<'a> !UnwindSafe for ScriptInfo<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more