<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>qnighy</author_name>
  <author_url>https://blog.hatena.ne.jp/qnighy/</author_url>
  <blog_title>簡潔なQ</blog_title>
  <blog_url>https://qnighy.hatenablog.com/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>概要: Typed Arenaはdropckの目的を説明するよい例になっている。 Typed ArenaとDrop 以前 Typed Arenaの紹介記事 を書いたが、このソースコードに以下のように Drop の実装を足してみる。 extern crate typed_arena; use std::cell::RefCell; use typed_arena::Arena; struct NodeData&lt;'a&gt; { references: RefCell&lt;Vec&lt;Node&lt;'a&gt;&gt;&gt; } type Node&lt;'a&gt; = &amp;'a NodeData&lt;'a&gt;; impl&lt;'a&gt; Drop&lt;'a&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fqnighy.hatenablog.com%2Fentry%2F2017%2F05%2F10%2F070000&quot; title=&quot;Typed Arenaとdropck - 簡潔なQ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-05-10 07:00:00</published>
  <title>Typed Arenaとdropck</title>
  <type>rich</type>
  <url>https://qnighy.hatenablog.com/entry/2017/05/10/070000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
