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§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