Skip to main content

c_codec_from

Function c_codec_from 

Source
pub fn c_codec_from(
    ast: &Ast,
    root: Id<TypeNode>,
    key: LayoutKey,
    options: CCodecOptions,
) -> Result<Vec<Decl>, EncodeError>
Expand description

The C encoder for the types one root reaches, and no others.

ยงErrors

As encode::codec_from.