[][src]Struct v_common_v8::common::ScriptInfo

pub struct ScriptInfo<'a, T> {
    pub id: String,
    pub str_script: String,
    pub compiled_script: Option<Local<'a, Script>>,
    pub dependency: HashVec<String>,
    pub context: T,
}

Fields

id: Stringstr_script: Stringcompiled_script: Option<Local<'a, Script>>dependency: HashVec<String>context: T

Implementations

impl<'a, T: Default> ScriptInfo<'a, T>[src]

pub fn new_with_src(id: &str, src: &str) -> Self[src]

pub fn compile_script(
    &mut self,
    js_name: &str,
    parent_scope: &mut HandleScope<'a>
)
[src]

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for ScriptInfo<'a, T> where
    T: RefUnwindSafe
[src]

impl<'a, T> !Send for ScriptInfo<'a, T>[src]

impl<'a, T> !Sync for ScriptInfo<'a, T>[src]

impl<'a, T> Unpin for ScriptInfo<'a, T> where
    T: Unpin
[src]

impl<'a, T> UnwindSafe for ScriptInfo<'a, T> where
    T: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,