<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohhoy</author_name>
  <author_url>https://blog.hatena.ne.jp/yohhoy/</author_url>
  <blog_title>yohhoyの日記</blog_title>
  <blog_url>https://yohhoy.hatenadiary.jp/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>プログラミング言語Rustにおける、オブジェクトデストラクト(Drop)順序についてメモ。［本記事はRust 1.32/Stable準拠］ 変数は、その変数宣言順序の逆順。 ただし同一パターン内の変数同士では、順序未規定(unspecifined)。 構造体(struct)、タプル、列挙型(enum)のフィールドは、そのフィールド宣言順序の通り。 配列[T; n]、Box&lt;[T]&gt;の要素では、インデクス昇順。 可変長配列Vecの要素では、順序未規定(unspecifined)。 クロージャにキャプチャされた値は、順序未規定(unspecifined)。 これらのDrop順序を明示的に変更したい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohhoy.hatenadiary.jp%2Fentry%2F20190211%2Fp1&quot; title=&quot;オブジェクトのDrop順序 - yohhoyの日記&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>2019-02-11 00:00:00</published>
  <title>オブジェクトのDrop順序</title>
  <type>rich</type>
  <url>https://yohhoy.hatenadiary.jp/entry/20190211/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
