Current section

Files

Jump to
rustq lib rustq template.ex
Raw

lib/rustq/template.ex

defmodule RustQ.Template do
@moduledoc """
Parsed Rust template plus pending substitutions.
"""
defstruct [:source, :filename, bindings: [], splices: []]
@type t :: %__MODULE__{
source: String.t(),
filename: String.t(),
bindings: keyword(),
splices: [{atom(), term()}]
}
end