<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>Elixir</anon>
    <anon>Rust</anon>
  </categories>
  <description>結論: Vec&lt;Term&lt;'a&gt;&gt; 型にデコードするとよい 実例 Rustler を導入する NIF の雛形を生成する Rust のコードを編集する NIF をマウントする Elixir のモジュールを作成する コンパイラとパッケージを指定する 実行 いつか読むはずっと読まない：ラスト・モンスターに泣かされるレベル1パーティー 結論: Vec&lt;Term&lt;'a&gt;&gt; 型にデコードするとよい リスト全体は Vec&lt;T&gt; 型で受けるとして、T になにを書けばよいのかしばし悩んだのですが、Erlant Term のままあつかうのでよければ Term&lt;'a&gt; 型で受ければよいということに気がつきました。 …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F2021%2F01%2F23%2F170127&quot; title=&quot;Rustlerを使ってElixirのNIFを書たときに異なる型の要素を含むリストをあつかいたいばあいの覚書 - エンジニアのソフトウェア的愛情&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://m.media-amazon.com/images/I/510Geqcq16L.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-23 17:01:27</published>
  <title>Rustlerを使ってElixirのNIFを書たときに異なる型の要素を含むリストをあつかいたいばあいの覚書</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/2021/01/23/170127</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
