Skip to main content

RustLanguage

Type Alias RustLanguage 

Source
pub type RustLanguage = TSLanguage<RustProvider>;

Aliased Type§

pub struct RustLanguage { /* private fields */ }

Trait Implementations§

Source§

impl Comments for RustLanguage

Source§

const HEADER: Option<&'static str>

Rust is the one language whose header is not its plain line comment. //! is an inner doc comment, so the DO NOT EDIT banner documents the generated module rather than whatever item happens to follow it.

Source§

const LINE: Option<&'static str>

The line-comment introducer, e.g. //. Read more