pub struct ScriptEntry {
pub seq: u64,
pub source: String,
pub size: u64,
pub state: ScriptState,
}Expand description
One loaded script in Engine::scripts.
Fields§
§seq: u64Per-page sequential id, formatted on the wire as s_<seq>.
source: StringSource URL, or inline:doc[<index>] for inline scripts.
size: u64Approximate source size in bytes.
state: ScriptStateTrait Implementations§
Source§impl Clone for ScriptEntry
impl Clone for ScriptEntry
Source§fn clone(&self) -> ScriptEntry
fn clone(&self) -> ScriptEntry
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 Freeze for ScriptEntry
impl RefUnwindSafe for ScriptEntry
impl Send for ScriptEntry
impl Sync for ScriptEntry
impl Unpin for ScriptEntry
impl UnsafeUnpin for ScriptEntry
impl UnwindSafe for ScriptEntry
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