pub struct ScriptFile<'a> {
pub rel: &'a str,
pub file: String,
pub body: String,
}Expand description
One external script file an app’s markup names.
Fields§
§rel: &'a strThe path the <script src> wrote, which picks the language.
file: StringThe file as an error names it.
body: StringThe file’s text.
Trait Implementations§
Source§impl<'a> Clone for ScriptFile<'a>
impl<'a> Clone for ScriptFile<'a>
Source§fn clone(&self) -> ScriptFile<'a>
fn clone(&self) -> ScriptFile<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ScriptFile<'a>
impl<'a> RefUnwindSafe for ScriptFile<'a>
impl<'a> Send for ScriptFile<'a>
impl<'a> Sync for ScriptFile<'a>
impl<'a> Unpin for ScriptFile<'a>
impl<'a> UnsafeUnpin for ScriptFile<'a>
impl<'a> UnwindSafe for ScriptFile<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IntoResult<T> for T
impl<T> IntoResult<T> for T
§fn into_result(self) -> Result<T, RunSystemError>
fn into_result(self) -> Result<T, RunSystemError>
Converts this type into the system output type.