pub struct Script<'s>(/* private fields */);Expand description
statement* expression? EOF
A script is a source file that contains a sequence of statements and an optional expression.
Trait Implementations§
impl<'s> StructuralPartialEq for Script<'s>
Auto Trait Implementations§
impl<'s> !Send for Script<'s>
impl<'s> !Sync for Script<'s>
impl<'s> Freeze for Script<'s>
impl<'s> RefUnwindSafe for Script<'s>
impl<'s> Unpin for Script<'s>
impl<'s> UnsafeUnpin for Script<'s>
impl<'s> UnwindSafe for Script<'s>
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