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: boolmodule: &'a Moduleinfo: &'a dyn SourceFiletokens: &'a [TokenAndSpan]leading_comments: &'a SingleThreadedCommentsMapInnertrailing_comments: &'a SingleThreadedCommentsMapInnerTrait 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