Struct lunarity_ast::PragmaDirective
source · pub struct PragmaDirective<'ast> {
pub version: &'ast str,
}
Fields§
§version: &'ast str
Trait Implementations§
source§impl<'ast> Clone for PragmaDirective<'ast>
impl<'ast> Clone for PragmaDirective<'ast>
source§fn clone(&self) -> PragmaDirective<'ast>
fn clone(&self) -> PragmaDirective<'ast>
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<'ast> Debug for PragmaDirective<'ast>
impl<'ast> Debug for PragmaDirective<'ast>
source§impl<'ast> From<PragmaDirective<'ast>> for SourceUnit<'ast>
impl<'ast> From<PragmaDirective<'ast>> for SourceUnit<'ast>
source§fn from(val: PragmaDirective<'ast>) -> Self
fn from(val: PragmaDirective<'ast>) -> Self
Converts to this type from the input type.