pub enum DirectiveAst {
Version {
major: u64,
minor: u64,
range: TextRange,
},
Shell {
shell: ShellKind,
range: TextRange,
},
Variable {
name: SmolStr,
value: SmolStr,
name_range: TextRange,
range: TextRange,
},
}Variants§
Trait Implementations§
Source§impl Clone for DirectiveAst
impl Clone for DirectiveAst
Source§fn clone(&self) -> DirectiveAst
fn clone(&self) -> DirectiveAst
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DirectiveAst
impl Debug for DirectiveAst
impl Eq for DirectiveAst
Source§impl PartialEq for DirectiveAst
impl PartialEq for DirectiveAst
impl StructuralPartialEq for DirectiveAst
Auto Trait Implementations§
impl Freeze for DirectiveAst
impl RefUnwindSafe for DirectiveAst
impl Send for DirectiveAst
impl Sync for DirectiveAst
impl Unpin for DirectiveAst
impl UnsafeUnpin for DirectiveAst
impl UnwindSafe for DirectiveAst
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