Struct sbnf::sublime_syntax::Syntax
source · pub struct Syntax {
pub name: String,
pub file_extensions: Vec<String>,
pub first_line_match: Option<Pattern>,
pub scope: Scope,
pub hidden: bool,
pub variables: HashMap<String, Pattern>,
pub contexts: HashMap<String, Context>,
}
Fields§
§name: String
§file_extensions: Vec<String>
§first_line_match: Option<Pattern>
§scope: Scope
§variables: HashMap<String, Pattern>
§contexts: HashMap<String, Context>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Syntax
impl Send for Syntax
impl Sync for Syntax
impl Unpin for Syntax
impl UnwindSafe for Syntax
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more