pub enum ProgramKind {
Script,
Module,
}Expand description
Which grammar production a Program is.
Variants§
Trait Implementations§
Source§impl Clone for ProgramKind
impl Clone for ProgramKind
impl Copy for ProgramKind
Source§impl Debug for ProgramKind
impl Debug for ProgramKind
impl Eq for ProgramKind
Source§impl PartialEq for ProgramKind
impl PartialEq for ProgramKind
impl StructuralPartialEq for ProgramKind
Auto Trait Implementations§
impl Forget for ProgramKind
impl Freeze for ProgramKind
impl Move for ProgramKind
impl RefUnwindSafe for ProgramKind
impl Send for ProgramKind
impl Sync for ProgramKind
impl Unpin for ProgramKind
impl UnsafeUnpin for ProgramKind
impl UnwindSafe for ProgramKind
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