pub struct RawGrammar {
pub scope_name: String,
pub name: Option<String>,
pub file_types: Vec<String>,
pub first_line_match: Option<String>,
pub patterns: Vec<RawRule>,
pub repository: HashMap<String, RawRule>,
}Fields§
§scope_name: String§name: Option<String>§file_types: Vec<String>§first_line_match: Option<String>§patterns: Vec<RawRule>§repository: HashMap<String, RawRule>Implementations§
Trait Implementations§
Source§impl Clone for RawGrammar
impl Clone for RawGrammar
Source§impl Debug for RawGrammar
impl Debug for RawGrammar
Source§impl<'de> Deserialize<'de> for RawGrammar
impl<'de> Deserialize<'de> for RawGrammar
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RawGrammar
impl RefUnwindSafe for RawGrammar
impl Send for RawGrammar
impl Sync for RawGrammar
impl Unpin for RawGrammar
impl UnsafeUnpin for RawGrammar
impl UnwindSafe for RawGrammar
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