MCPcopy Create free account
hub / github.com/RustCrypto/SSH / derive_for_fields

Function derive_for_fields

ssh-derive/src/encode.rs:81–99  ·  view source on GitHub ↗

Generate encoding code for the given fields, bound to the given names. This will also handle length-prefixing the container if it is marked as such.

(
    fields: &syn::Fields,
    names: Vec<TokenStream>,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

derive_for_variantsFunction · 0.70
test_derive_for_fieldsFunction · 0.70

Calls 1

iterMethod · 0.80

Tested by 2

test_derive_for_fieldsFunction · 0.56