pub fn from_v8<'de, 'a, 'b, 's, T>(
  scope: &'b mut v8::HandleScope<'s>,
  input: v8::Local<'a, v8::Value>,
) -> Result<T>
where
  T: Deserialize<'de>,
{
  let mut deserializer = Deserializer::new(scope, input, None);
  let t = T::deserialize(&mut deserializer)?;
  Ok(t)
}
// from_v8 deserializes a v8::Value into a Deserializable / rust struct
from_v8 deserializes a v8::Value into a Deserializable / rust struct
from_v8 deserializes a v8 :: Value into a Deserializable / rust struct
pub fn from_v8<'de, 'a, 'b, 's, T>(
  scope: &'b mut v8::HandleScope<'s>,
  input: v8::Local<'a, v8::Value>,
) -> Result<T>
where
  T: Deserialize<'de>,
{
  let mut deserializer = Deserializer::new(scope, input, None);
  let t = T::deserialize(&mut deserializer)?;
  Ok(t)
}
pub fn from_v8 < ' de , ' a , ' b , ' s , T > ( scope : & ' b mut v8 :: HandleScope < ' s > , input : v8 :: Local < ' a , v8 :: Value > , ) -> Result < T > where T : Deserialize < ' de > , { let mut deserializer = Deserializer :: new ( scope , input , None ) ; let t = T :: deserialize ( & mut deserializer ) ? ; Ok ( t ) }
from_v8 deserializes a v8::Value into a Deserializable / rust struct
from_v8 deserializes a v8 :: Value into a Deserializable / rust struct
scope
&'b mut v8::HandleScope<'s>
input
v8::Local<'a, v8::Value>
scope
&'b mut v8::HandleScope<'s>
input
v8::Local<'a, v8::Value>