Struct donet_core::parser::ast::KeywordDefinition
source · 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: bool
Trait Implementations§
source§impl Clone for KeywordDefinition
impl Clone for KeywordDefinition
source§fn clone(&self) -> KeywordDefinition
fn clone(&self) -> KeywordDefinition
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 KeywordDefinition
impl Debug for KeywordDefinition
source§impl From<KeywordDefinition> for DCKeyword
impl From<KeywordDefinition> for DCKeyword
source§fn from(value: KeywordDefinition) -> Self
fn from(value: KeywordDefinition) -> Self
Converts to this type from the input type.
Auto 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)