pub struct KeywordDefinition {
pub span: Span,
pub identifier: String,
pub historical: bool,
}Expand description
Paired with the keyword_type production in the Context Free Grammar.
Fields§
§span: Span§identifier: String§historical: boolTrait Implementations§
Source§impl Clone for KeywordDefinition
impl Clone for KeywordDefinition
Source§fn clone(&self) -> KeywordDefinition
fn clone(&self) -> KeywordDefinition
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for KeywordDefinition
impl RefUnwindSafe for KeywordDefinition
impl Send for KeywordDefinition
impl Sync for KeywordDefinition
impl Unpin for KeywordDefinition
impl UnwindSafe for KeywordDefinition
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