<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>uc_ebuc</author_name>
  <author_url>https://blog.hatena.ne.jp/uc_ebuc/</author_url>
  <blog_title>雑多なブログ</blog_title>
  <blog_url>https://cufl.hateblo.jp/</blog_url>
  <categories>
    <anon>rust</anon>
  </categories>
  <description>rust には次の3種類のループが使用できる。 loop while for loop loop は同じコードを停止するまで実行する。 loop { println!(&quot;Helloooooooooo&quot;); } while 条件が真の間実行され続ける。 なお、whileの場合も条件式をまる括弧で囲まずに記述する。 let mut n = 0; while n &lt;= 10 { println!(&quot;n={}&quot;, n); n = n + 1; } for range 1〜10の数字を出力。 for n in 1..10 { println!(&quot;{}&quot;, n); } 逆順に数字を出力。 for n in…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcufl.hateblo.jp%2Fentry%2F2021%2F12%2F31%2F164934&quot; title=&quot;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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-31 16:49:34</published>
  <title>rust: ループ</title>
  <type>rich</type>
  <url>https://cufl.hateblo.jp/entry/2021/12/31/164934</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
