fn deserialize_tuple<V>(self, len: usize, visitor: V) -> Result<V::Value>
  where
    V: Visitor<'de>,
  {
    // TODO: error on length mismatch
    let obj = v8::Local::<v8::Object>::try_from(self.input).unwrap();
    let seq = SeqAccess {
      pos: 0,
      len: len as u32,
      obj,
      scope: self.scope,
    };
    visitor.visit_seq(seq)
  }
// Like deserialize_seq except it prefers tuple's length over input array's length
Like deserialize_seq except it prefers tuple's length over input array's length
Like deserialize_seq except it prefers tuple ' s length over input array ' s length
fn deserialize_tuple<V>(self, len: usize, visitor: V) -> Result<V::Value>
  where
    V: Visitor<'de>,
  {
    // TODO: error on length mismatch
    let obj = v8::Local::<v8::Object>::try_from(self.input).unwrap();
    let seq = SeqAccess {
      pos: 0,
      len: len as u32,
      obj,
      scope: self.scope,
    };
    visitor.visit_seq(seq)
  }
fn deserialize_tuple < V > ( self , len : usize , visitor : V ) -> Result < V :: Value > where V : Visitor < ' de > , { // TODO: error on length mismatch let obj = v8 :: Local :: < v8 :: Object > :: try_from ( self . input ) . unwrap ( ) ; let seq = SeqAccess { pos : 0 , len : len as u32 , obj , scope : self . scope , } ; visitor . visit_seq ( seq ) }
Like deserialize_seq except it prefers tuple's length over input array's length
Like deserialize_seq except it prefers tuple ' s length over input array ' s length
self
len
usize
visitor
V
self
len
usize
visitor
V