Struct dprint_plugin_typescript::SourceFileInfo [−][src]
pub struct SourceFileInfo<'a> {
pub is_jsx: bool,
pub module: &'a Module,
pub info: &'a dyn SourceFile,
pub tokens: &'a [TokenAndSpan],
pub leading_comments: &'a SingleThreadedCommentsMapInner,
pub trailing_comments: &'a SingleThreadedCommentsMapInner,
}
Fields
is_jsx: bool
module: &'a Module
info: &'a dyn SourceFile
tokens: &'a [TokenAndSpan]
leading_comments: &'a SingleThreadedCommentsMapInner
trailing_comments: &'a SingleThreadedCommentsMapInner
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SourceFileInfo<'a>
impl<'a> !Send for SourceFileInfo<'a>
impl<'a> !Sync for SourceFileInfo<'a>
impl<'a> Unpin for SourceFileInfo<'a>
impl<'a> !UnwindSafe for SourceFileInfo<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more