<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dk521123</author_name>
  <author_url>https://blog.hatena.ne.jp/dk521123/</author_url>
  <blog_title>プログラム の超個人的なメモ</blog_title>
  <blog_url>https://dk521123.hatenablog.com/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>◾️はじめに Rust の 本を見ていて、関数 / クロージャが乗っていて 特に、クロージャは、見慣れないので、まとめておいた方がいいと 思ったので、メモしておく 目次 【１】関数 １）構文 ２）サンプル ３）補足：Rustの「＆」 【２】クロージャ １）構文 ２）サンプル 【１】関数 https://doc.rust-jp.rs/rust-by-example-ja/fn.html １）構文 // fn: 関数ポインタ fn &lt;関数名&gt;(&lt;変数1&gt;: &lt;データ型1&gt;, ...) -&gt; &lt;戻り値のデータ型&gt; { ... } ２）サンプル fn main() { let value1 = is_…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdk521123.hatenablog.com%2Fentry%2F2025%2F12%2F09%2F094909&quot; title=&quot;【Rust】Rust ～ 関数 / クロージャ ～ - プログラム の超個人的なメモ&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://cdn.image.st-hatena.com/image/square/adad63b72f1d6545b2ba2538c3fc2923b2fd5989/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Fcircle%2Fofficial-circle-icon%2Fcomputers.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-12-09 09:49:09</published>
  <title>【Rust】Rust ～ 関数 / クロージャ ～</title>
  <type>rich</type>
  <url>https://dk521123.hatenablog.com/entry/2025/12/09/094909</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
