Struct syntect::parsing::SyntaxReference [−][src]
pub struct SyntaxReference {
pub name: String,
pub file_extensions: Vec<String>,
pub scope: Scope,
pub first_line_match: Option<String>,
pub hidden: bool,
pub variables: HashMap<String, String>,
// some fields omitted
}Fields
name: String
file_extensions: Vec<String>
scope: Scope
first_line_match: Option<String>
variables: HashMap<String, String>
Trait Implementations
impl Clone for SyntaxReference[src]
impl Clone for SyntaxReferencefn clone(&self) -> SyntaxReference[src]
fn clone(&self) -> SyntaxReferenceReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for SyntaxReference[src]
impl Debug for SyntaxReferenceAuto Trait Implementations
impl Send for SyntaxReference
impl Send for SyntaxReferenceimpl Sync for SyntaxReference
impl Sync for SyntaxReference