pub struct AstGrammar {
pub name: String,
pub type_: GrammarType,
}
Fields§
§name: String
§type_: GrammarType
Trait Implementations§
Source§impl Clone for AstGrammar
impl Clone for AstGrammar
Source§fn clone(&self) -> AstGrammar
fn clone(&self) -> AstGrammar
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AstGrammar
impl Debug for AstGrammar
Auto Trait Implementations§
impl Freeze for AstGrammar
impl RefUnwindSafe for AstGrammar
impl Send for AstGrammar
impl Sync for AstGrammar
impl Unpin for AstGrammar
impl UnwindSafe for AstGrammar
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