pub struct Script {
pub src: Option<String>,
pub body: Option<String>,
pub span: Span,
}Expand description
<script>.
Fields§
§src: Option<String>src, resolved by the reader’s resolver into body when possible.
body: Option<String>Inline script text.
span: SpanSource location.
Trait Implementations§
impl Eq for Script
impl StructuralPartialEq for Script
Auto Trait Implementations§
impl Forget for Script
impl Freeze for Script
impl Move for Script
impl RefUnwindSafe for Script
impl Send for Script
impl Sync for Script
impl Unpin for Script
impl UnsafeUnpin for Script
impl UnwindSafe for Script
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