Searched refs:nfields (Results 1 – 2 of 2) sorted by relevance
83 let nfields = fields.named.len(); in to_val_struct() localVariable93 v.try_reserve(#nfields).map_err(|_e| CborError::AllocationFailed)?; in to_val_struct()137 let nfields = fields.named.len(); in from_val_struct() localVariable151 if a.len() != #nfields { in from_val_struct()154 concat!("arr len ", stringify!(#nfields)), in from_val_struct()
90 let nfields = fields.named.len(); in to_val_struct() localVariable100 v.try_reserve(#nfields).map_err(|_e| CborError::AllocationFailed)?; in to_val_struct()126 let nfields = fields.unnamed.len(); in to_val_struct() localVariable136 v.try_reserve(#nfields).map_err(|_e| CborError::AllocationFailed)?; in to_val_struct()179 let nfields = fields.named.len(); in from_val_struct() localVariable193 if a.len() != #nfields { in from_val_struct()196 concat!("arr len ", stringify!(#nfields)), in from_val_struct()230 let nfields = fields.unnamed.len(); in from_val_struct() localVariable249 if a.len() != #nfields { in from_val_struct()252 stringify!(#nfields)))); in from_val_struct()