<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ema_hiro</author_name>
  <author_url>https://blog.hatena.ne.jp/ema_hiro/</author_url>
  <blog_title>emahiro/b.log</blog_title>
  <blog_url>https://ema-hiro.hatenablog.com/</blog_url>
  <categories>
    <anon>Rust</anon>
  </categories>
  <description>Overview 4連休なので Rust のお勉強をしてる記録です。いつまで続くかはわかりません。 ema-hiro.hatenablog.com Rust のハンズオンを開催してもらって以降、開発できる環境を整備したりしてましたので今回は改めて制御構文について単純な Fizzbuzz を実装した内容をまとめます。 Rust の制御構文 Rust の制御構文は式なので変数にアサインすることができます。しばらく制御構文が式と評価される言語を触っていなかったので割と新鮮でした。 制御構文が式なので以下のように書くことができます。 let fizzbuss = if num % 15 == 0 { …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2021%2F07%2F24%2F034743&quot; title=&quot;Rust で制御構文を書く - emahiro/b.log&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>2021-07-24 03:47:43</published>
  <title>Rust で制御構文を書く</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2021/07/24/034743</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
