acrostic

Types

pub type Flags {
  Flags(enum_to_int: Bool, int_to_enum: Bool)
}

Constructors

  • Flags(enum_to_int: Bool, int_to_enum: Bool)
pub type Message {
  Message(
    id: Int,
    name: String,
    fields: List(parser.PbMessageField),
  )
}

Constructors

  • Message(
      id: Int,
      name: String,
      fields: List(parser.PbMessageField),
    )

Functions

pub fn gen(
  protos: List(String),
  to out_path: String,
  flags flags: Flags,
) -> Nil
Search Document