From dccf728df62f13224abd0f45c291bfc9336f7032 Mon Sep 17 00:00:00 2001 From: Richard Anaya Date: Sat, 28 Sep 2024 09:31:55 -0700 Subject: [PATCH] generating new html --- 00_al.html | 75 ++++++++ 00_ar.html | 75 ++++++++ 00_de.html | 77 +++++++++ 00_es.html | 77 +++++++++ 00_fa.html | 71 ++++++++ 00_fi.html | 82 +++++++++ 00_fr.html | 77 +++++++++ 00_gr.html | 70 ++++++++ 00_hu.html | 76 ++++++++ 00_id.html | 71 ++++++++ 00_ie.html | 47 +++++ 00_it.html | 74 ++++++++ 00_ja.html | 75 ++++++++ 00_ko.html | 71 ++++++++ 00_ne.html | 80 +++++++++ 00_pl.html | 69 ++++++++ 00_pt-br.html | 71 ++++++++ 00_ro.html | 80 +++++++++ 00_ru.html | 74 ++++++++ 00_th.html | 70 ++++++++ 00_tr.html | 69 ++++++++ 00_ua.html | 70 ++++++++ 00_vi.html | 74 ++++++++ 00_zh-cn.html | 71 ++++++++ 00_zh-tw.html | 71 ++++++++ 02_al.html | 49 ++++++ 02_ar.html | 48 ++++++ 02_de.html | 49 ++++++ 02_en.html | 48 ++++++ 02_es.html | 48 ++++++ 02_fa.html | 48 ++++++ 02_fi.html | 48 ++++++ 02_fr.html | 48 ++++++ 02_gr.html | 48 ++++++ 02_hu.html | 50 ++++++ 02_id.html | 48 ++++++ 02_ie.html | 47 +++++ 02_it.html | 48 ++++++ 02_ja.html | 48 ++++++ 02_ko.html | 48 ++++++ 02_ne.html | 48 ++++++ 02_pl.html | 48 ++++++ 02_pt-br.html | 48 ++++++ 02_ro.html | 48 ++++++ 02_ru.html | 48 ++++++ 02_th.html | 48 ++++++ 02_tr.html | 48 ++++++ 02_ua.html | 48 ++++++ 02_vi.html | 48 ++++++ 02_zh-cn.html | 48 ++++++ 02_zh-tw.html | 48 ++++++ 03_al.html | 55 ++++++ 03_ar.html | 51 ++++++ 03_de.html | 47 +++++ 03_en.html | 52 ++++++ 03_es.html | 52 ++++++ 03_fa.html | 52 ++++++ 03_fi.html | 50 ++++++ 03_fr.html | 53 ++++++ 03_gr.html | 50 ++++++ 03_hu.html | 52 ++++++ 03_id.html | 50 ++++++ 03_ie.html | 47 +++++ 03_it.html | 52 ++++++ 03_ja.html | 51 ++++++ 03_ko.html | 52 ++++++ 03_ne.html | 50 ++++++ 03_pl.html | 51 ++++++ 03_pt-br.html | 51 ++++++ 03_ro.html | 52 ++++++ 03_ru.html | 50 ++++++ 03_th.html | 50 ++++++ 03_tr.html | 50 ++++++ 03_ua.html | 50 ++++++ 03_vi.html | 50 ++++++ 03_zh-cn.html | 50 ++++++ 03_zh-tw.html | 50 ++++++ 04_al.html | 56 ++++++ 04_ar.html | 53 ++++++ 04_de.html | 56 ++++++ 04_en.html | 54 ++++++ 04_es.html | 54 ++++++ 04_fa.html | 54 ++++++ 04_fi.html | 53 ++++++ 04_fr.html | 54 ++++++ 04_gr.html | 53 ++++++ 04_hu.html | 56 ++++++ 04_id.html | 53 ++++++ 04_ie.html | 47 +++++ 04_it.html | 54 ++++++ 04_ja.html | 53 ++++++ 04_ko.html | 53 ++++++ 04_ne.html | 53 ++++++ 04_pl.html | 53 ++++++ 04_pt-br.html | 53 ++++++ 04_ro.html | 54 ++++++ 04_ru.html | 53 ++++++ 04_th.html | 53 ++++++ 04_tr.html | 53 ++++++ 04_ua.html | 53 ++++++ 04_vi.html | 53 ++++++ 04_zh-cn.html | 53 ++++++ 04_zh-tw.html | 53 ++++++ 05_al.html | 68 ++++++++ 05_ar.html | 64 +++++++ 05_de.html | 65 +++++++ 05_en.html | 64 +++++++ 05_es.html | 60 +++++++ 05_fa.html | 63 +++++++ 05_fi.html | 61 +++++++ 05_fr.html | 65 +++++++ 05_gr.html | 60 +++++++ 05_hu.html | 72 ++++++++ 05_id.html | 63 +++++++ 05_ie.html | 47 +++++ 05_it.html | 62 +++++++ 05_ja.html | 61 +++++++ 05_ko.html | 62 +++++++ 05_ne.html | 63 +++++++ 05_pl.html | 60 +++++++ 05_pt-br.html | 60 +++++++ 05_ro.html | 64 +++++++ 05_ru.html | 60 +++++++ 05_th.html | 61 +++++++ 05_tr.html | 60 +++++++ 05_ua.html | 60 +++++++ 05_vi.html | 62 +++++++ 05_zh-cn.html | 61 +++++++ 05_zh-tw.html | 62 +++++++ 06_al.html | 51 ++++++ 06_ar.html | 48 ++++++ 06_de.html | 50 ++++++ 06_en.html | 50 ++++++ 06_es.html | 48 ++++++ 06_fa.html | 50 ++++++ 06_fi.html | 48 ++++++ 06_fr.html | 49 ++++++ 06_gr.html | 48 ++++++ 06_hu.html | 49 ++++++ 06_id.html | 50 ++++++ 06_ie.html | 47 +++++ 06_it.html | 49 ++++++ 06_ja.html | 48 ++++++ 06_ko.html | 48 ++++++ 06_ne.html | 51 ++++++ 06_pl.html | 48 ++++++ 06_pt-br.html | 48 ++++++ 06_ro.html | 50 ++++++ 06_ru.html | 48 ++++++ 06_th.html | 48 ++++++ 06_tr.html | 48 ++++++ 06_ua.html | 48 ++++++ 06_vi.html | 48 ++++++ 06_zh-cn.html | 48 ++++++ 06_zh-tw.html | 48 ++++++ 07_al.html | 53 ++++++ 07_ar.html | 49 ++++++ 07_de.html | 51 ++++++ 07_en.html | 52 ++++++ 07_es.html | 49 ++++++ 07_fa.html | 52 ++++++ 07_fi.html | 49 ++++++ 07_fr.html | 52 ++++++ 07_gr.html | 49 ++++++ 07_hu.html | 51 ++++++ 07_id.html | 54 ++++++ 07_ie.html | 47 +++++ 07_it.html | 50 ++++++ 07_ja.html | 50 ++++++ 07_ko.html | 50 ++++++ 07_ne.html | 52 ++++++ 07_pl.html | 49 ++++++ 07_pt-br.html | 49 ++++++ 07_ro.html | 51 ++++++ 07_ru.html | 49 ++++++ 07_th.html | 49 ++++++ 07_tr.html | 48 ++++++ 07_ua.html | 49 ++++++ 07_vi.html | 49 ++++++ 07_zh-cn.html | 49 ++++++ 07_zh-tw.html | 50 ++++++ 08_al.html | 54 ++++++ 08_ar.html | 50 ++++++ 08_de.html | 49 ++++++ 08_en.html | 50 ++++++ 08_es.html | 49 ++++++ 08_fa.html | 49 ++++++ 08_fi.html | 50 ++++++ 08_fr.html | 52 ++++++ 08_gr.html | 49 ++++++ 08_hu.html | 52 ++++++ 08_id.html | 49 ++++++ 08_ie.html | 50 ++++++ 08_it.html | 50 ++++++ 08_ja.html | 49 ++++++ 08_ko.html | 49 ++++++ 08_ne.html | 50 ++++++ 08_pl.html | 49 ++++++ 08_pt-br.html | 49 ++++++ 08_ro.html | 50 ++++++ 08_ru.html | 49 ++++++ 08_th.html | 49 ++++++ 08_tr.html | 49 ++++++ 08_ua.html | 49 ++++++ 08_vi.html | 50 ++++++ 08_zh-cn.html | 49 ++++++ 08_zh-tw.html | 49 ++++++ 09_al.html | 54 ++++++ 09_ar.html | 51 ++++++ 09_de.html | 50 ++++++ 09_en.html | 51 ++++++ 09_es.html | 49 ++++++ 09_fa.html | 50 ++++++ 09_fi.html | 51 ++++++ 09_fr.html | 50 ++++++ 09_gr.html | 49 ++++++ 09_hu.html | 49 ++++++ 09_id.html | 49 ++++++ 09_ie.html | 47 +++++ 09_it.html | 51 ++++++ 09_ja.html | 49 ++++++ 09_ko.html | 49 ++++++ 09_ne.html | 51 ++++++ 09_pl.html | 49 ++++++ 09_pt-br.html | 49 ++++++ 09_ro.html | 51 ++++++ 09_ru.html | 50 ++++++ 09_th.html | 50 ++++++ 09_tr.html | 49 ++++++ 09_ua.html | 49 ++++++ 09_vi.html | 51 ++++++ 09_zh-cn.html | 49 ++++++ 09_zh-tw.html | 49 ++++++ 100_al.html | 50 ++++++ 100_ar.html | 48 ++++++ 100_de.html | 50 ++++++ 100_en.html | 50 ++++++ 100_es.html | 48 ++++++ 100_fa.html | 50 ++++++ 100_fi.html | 50 ++++++ 100_fr.html | 51 ++++++ 100_gr.html | 50 ++++++ 100_hu.html | 50 ++++++ 100_id.html | 50 ++++++ 100_ie.html | 49 ++++++ 100_it.html | 50 ++++++ 100_ja.html | 50 ++++++ 100_ko.html | 49 ++++++ 100_ne.html | 50 ++++++ 100_pl.html | 50 ++++++ 100_pt-br.html | 48 ++++++ 100_ro.html | 50 ++++++ 100_ru.html | 48 ++++++ 100_th.html | 48 ++++++ 100_tr.html | 48 ++++++ 100_ua.html | 50 ++++++ 100_vi.html | 48 ++++++ 100_zh-cn.html | 48 ++++++ 100_zh-tw.html | 50 ++++++ 101_al.html | 52 ++++++ 101_ar.html | 49 ++++++ 101_de.html | 52 ++++++ 101_en.html | 52 ++++++ 101_es.html | 49 ++++++ 101_fa.html | 52 ++++++ 101_fi.html | 52 ++++++ 101_fr.html | 53 ++++++ 101_gr.html | 52 ++++++ 101_hu.html | 53 ++++++ 101_id.html | 52 ++++++ 101_ie.html | 52 ++++++ 101_it.html | 52 ++++++ 101_ja.html | 52 ++++++ 101_ko.html | 51 ++++++ 101_ne.html | 52 ++++++ 101_pl.html | 52 ++++++ 101_pt-br.html | 49 ++++++ 101_ro.html | 51 ++++++ 101_ru.html | 49 ++++++ 101_th.html | 50 ++++++ 101_tr.html | 49 ++++++ 101_ua.html | 52 ++++++ 101_vi.html | 49 ++++++ 101_zh-cn.html | 49 ++++++ 101_zh-tw.html | 52 ++++++ 102_al.html | 54 ++++++ 102_ar.html | 49 ++++++ 102_de.html | 54 ++++++ 102_en.html | 54 ++++++ 102_es.html | 49 ++++++ 102_fa.html | 54 ++++++ 102_fi.html | 54 ++++++ 102_fr.html | 59 +++++++ 102_gr.html | 54 ++++++ 102_hu.html | 57 ++++++ 102_id.html | 54 ++++++ 102_ie.html | 53 ++++++ 102_it.html | 54 ++++++ 102_ja.html | 54 ++++++ 102_ko.html | 54 ++++++ 102_ne.html | 54 ++++++ 102_pl.html | 54 ++++++ 102_pt-br.html | 49 ++++++ 102_ro.html | 53 ++++++ 102_ru.html | 50 ++++++ 102_th.html | 50 ++++++ 102_tr.html | 49 ++++++ 102_ua.html | 54 ++++++ 102_vi.html | 50 ++++++ 102_zh-cn.html | 49 ++++++ 102_zh-tw.html | 54 ++++++ 103_al.html | 56 ++++++ 103_ar.html | 54 ++++++ 103_de.html | 56 ++++++ 103_en.html | 56 ++++++ 103_es.html | 54 ++++++ 103_fa.html | 56 ++++++ 103_fi.html | 56 ++++++ 103_fr.html | 68 ++++++++ 103_gr.html | 56 ++++++ 103_hu.html | 66 +++++++ 103_id.html | 56 ++++++ 103_ie.html | 56 ++++++ 103_it.html | 56 ++++++ 103_ja.html | 56 ++++++ 103_ko.html | 54 ++++++ 103_ne.html | 56 ++++++ 103_pl.html | 56 ++++++ 103_pt-br.html | 54 ++++++ 103_ro.html | 56 ++++++ 103_ru.html | 56 ++++++ 103_th.html | 54 ++++++ 103_tr.html | 54 ++++++ 103_ua.html | 54 ++++++ 103_vi.html | 54 ++++++ 103_zh-cn.html | 55 ++++++ 103_zh-tw.html | 56 ++++++ 104_al.html | 49 ++++++ 104_ar.html | 46 +++++ 104_de.html | 49 ++++++ 104_en.html | 49 ++++++ 104_es.html | 45 +++++ 104_fa.html | 49 ++++++ 104_fi.html | 49 ++++++ 104_fr.html | 49 ++++++ 104_gr.html | 49 ++++++ 104_hu.html | 49 ++++++ 104_id.html | 49 ++++++ 104_ie.html | 48 ++++++ 104_it.html | 49 ++++++ 104_ja.html | 49 ++++++ 104_ko.html | 48 ++++++ 104_ne.html | 49 ++++++ 104_pl.html | 49 ++++++ 104_pt-br.html | 45 +++++ 104_ro.html | 49 ++++++ 104_ru.html | 47 +++++ 104_th.html | 46 +++++ 104_tr.html | 46 +++++ 104_ua.html | 46 +++++ 104_vi.html | 45 +++++ 104_zh-cn.html | 45 +++++ 104_zh-tw.html | 49 ++++++ 106_al.html | 49 ++++++ 106_ar.html | 49 ++++++ 106_de.html | 48 ++++++ 106_en.html | 49 ++++++ 106_es.html | 49 ++++++ 106_fa.html | 49 ++++++ 106_fi.html | 49 ++++++ 106_fr.html | 50 ++++++ 106_gr.html | 49 ++++++ 106_hu.html | 51 ++++++ 106_id.html | 49 ++++++ 106_ie.html | 48 ++++++ 106_it.html | 49 ++++++ 106_ja.html | 49 ++++++ 106_ko.html | 49 ++++++ 106_ne.html | 49 ++++++ 106_pl.html | 49 ++++++ 106_pt-br.html | 49 ++++++ 106_ro.html | 49 ++++++ 106_ru.html | 50 ++++++ 106_th.html | 49 ++++++ 106_tr.html | 50 ++++++ 106_ua.html | 49 ++++++ 106_vi.html | 49 ++++++ 106_zh-cn.html | 49 ++++++ 106_zh-tw.html | 49 ++++++ 107_al.html | 45 +++++ 107_ar.html | 45 +++++ 107_de.html | 45 +++++ 107_en.html | 45 +++++ 107_es.html | 45 +++++ 107_fa.html | 45 +++++ 107_fi.html | 45 +++++ 107_fr.html | 45 +++++ 107_gr.html | 45 +++++ 107_hu.html | 45 +++++ 107_id.html | 45 +++++ 107_ie.html | 45 +++++ 107_it.html | 45 +++++ 107_ja.html | 45 +++++ 107_ko.html | 45 +++++ 107_ne.html | 45 +++++ 107_pl.html | 45 +++++ 107_pt-br.html | 45 +++++ 107_ro.html | 45 +++++ 107_ru.html | 45 +++++ 107_th.html | 45 +++++ 107_tr.html | 45 +++++ 107_ua.html | 45 +++++ 107_vi.html | 45 +++++ 107_zh-cn.html | 45 +++++ 107_zh-tw.html | 45 +++++ 108_al.html | 45 +++++ 108_ar.html | 45 +++++ 108_de.html | 45 +++++ 108_en.html | 45 +++++ 108_es.html | 45 +++++ 108_fa.html | 45 +++++ 108_fi.html | 45 +++++ 108_fr.html | 45 +++++ 108_gr.html | 45 +++++ 108_hu.html | 45 +++++ 108_id.html | 45 +++++ 108_ie.html | 45 +++++ 108_it.html | 45 +++++ 108_ja.html | 45 +++++ 108_ko.html | 45 +++++ 108_ne.html | 45 +++++ 108_pl.html | 45 +++++ 108_pt-br.html | 45 +++++ 108_ro.html | 45 +++++ 108_ru.html | 45 +++++ 108_th.html | 45 +++++ 108_tr.html | 45 +++++ 108_ua.html | 45 +++++ 108_vi.html | 45 +++++ 108_zh-cn.html | 45 +++++ 108_zh-tw.html | 45 +++++ 109_al.html | 53 ++++++ 109_ar.html | 55 ++++++ 109_de.html | 51 ++++++ 109_en.html | 53 ++++++ 109_es.html | 50 ++++++ 109_fa.html | 53 ++++++ 109_fi.html | 53 ++++++ 109_fr.html | 58 +++++++ 109_gr.html | 53 ++++++ 109_hu.html | 57 ++++++ 109_id.html | 53 ++++++ 109_ie.html | 50 ++++++ 109_it.html | 53 ++++++ 109_ja.html | 53 ++++++ 109_ko.html | 53 ++++++ 109_ne.html | 53 ++++++ 109_pl.html | 53 ++++++ 109_pt-br.html | 50 ++++++ 109_ro.html | 52 ++++++ 109_ru.html | 50 ++++++ 109_th.html | 51 ++++++ 109_tr.html | 50 ++++++ 109_ua.html | 53 ++++++ 109_vi.html | 50 ++++++ 109_zh-cn.html | 51 ++++++ 109_zh-tw.html | 53 ++++++ 10_al.html | 53 ++++++ 10_ar.html | 49 ++++++ 10_de.html | 50 ++++++ 10_en.html | 51 ++++++ 10_es.html | 49 ++++++ 10_fa.html | 51 ++++++ 10_fi.html | 49 ++++++ 10_fr.html | 50 ++++++ 10_gr.html | 49 ++++++ 10_hu.html | 50 ++++++ 10_id.html | 51 ++++++ 10_ie.html | 47 +++++ 10_it.html | 50 ++++++ 10_ja.html | 49 ++++++ 10_ko.html | 49 ++++++ 10_ne.html | 49 ++++++ 10_pl.html | 49 ++++++ 10_pt-br.html | 49 ++++++ 10_ro.html | 51 ++++++ 10_ru.html | 49 ++++++ 10_th.html | 49 ++++++ 10_tr.html | 49 ++++++ 10_ua.html | 49 ++++++ 10_vi.html | 49 ++++++ 10_zh-cn.html | 49 ++++++ 10_zh-tw.html | 49 ++++++ 110_al.html | 48 ++++++ 110_ar.html | 48 ++++++ 110_de.html | 48 ++++++ 110_en.html | 48 ++++++ 110_es.html | 48 ++++++ 110_fa.html | 48 ++++++ 110_fi.html | 48 ++++++ 110_fr.html | 47 +++++ 110_gr.html | 48 ++++++ 110_hu.html | 49 ++++++ 110_id.html | 48 ++++++ 110_ie.html | 52 ++++++ 110_it.html | 48 ++++++ 110_ja.html | 48 ++++++ 110_ko.html | 48 ++++++ 110_ne.html | 48 ++++++ 110_pl.html | 48 ++++++ 110_pt-br.html | 48 ++++++ 110_ro.html | 48 ++++++ 110_ru.html | 48 ++++++ 110_th.html | 48 ++++++ 110_tr.html | 48 ++++++ 110_ua.html | 48 ++++++ 110_vi.html | 48 ++++++ 110_zh-cn.html | 48 ++++++ 110_zh-tw.html | 48 ++++++ 111_al.html | 53 ++++++ 111_ar.html | 50 ++++++ 111_de.html | 51 ++++++ 111_en.html | 53 ++++++ 111_es.html | 50 ++++++ 111_fa.html | 53 ++++++ 111_fi.html | 53 ++++++ 111_fr.html | 54 ++++++ 111_gr.html | 53 ++++++ 111_hu.html | 52 ++++++ 111_id.html | 53 ++++++ 111_ie.html | 49 ++++++ 111_it.html | 53 ++++++ 111_ja.html | 53 ++++++ 111_ko.html | 52 ++++++ 111_ne.html | 53 ++++++ 111_pl.html | 53 ++++++ 111_pt-br.html | 50 ++++++ 111_ro.html | 53 ++++++ 111_ru.html | 52 ++++++ 111_th.html | 51 ++++++ 111_tr.html | 51 ++++++ 111_ua.html | 53 ++++++ 111_vi.html | 51 ++++++ 111_zh-cn.html | 50 ++++++ 111_zh-tw.html | 53 ++++++ 112_al.html | 50 ++++++ 112_ar.html | 48 ++++++ 112_de.html | 48 ++++++ 112_en.html | 50 ++++++ 112_es.html | 48 ++++++ 112_fa.html | 50 ++++++ 112_fi.html | 50 ++++++ 112_fr.html | 51 ++++++ 112_gr.html | 50 ++++++ 112_hu.html | 50 ++++++ 112_id.html | 50 ++++++ 112_ie.html | 56 ++++++ 112_it.html | 50 ++++++ 112_ja.html | 50 ++++++ 112_ko.html | 50 ++++++ 112_ne.html | 50 ++++++ 112_pl.html | 50 ++++++ 112_pt-br.html | 48 ++++++ 112_ro.html | 50 ++++++ 112_ru.html | 48 ++++++ 112_th.html | 48 ++++++ 112_tr.html | 48 ++++++ 112_ua.html | 50 ++++++ 112_vi.html | 48 ++++++ 112_zh-cn.html | 48 ++++++ 112_zh-tw.html | 50 ++++++ 113_al.html | 57 ++++++ 113_ar.html | 57 ++++++ 113_de.html | 57 ++++++ 113_en.html | 57 ++++++ 113_es.html | 57 ++++++ 113_fa.html | 57 ++++++ 113_fi.html | 57 ++++++ 113_fr.html | 59 +++++++ 113_gr.html | 57 ++++++ 113_hu.html | 57 ++++++ 113_id.html | 57 ++++++ 113_ie.html | 50 ++++++ 113_it.html | 57 ++++++ 113_ja.html | 57 ++++++ 113_ko.html | 57 ++++++ 113_ne.html | 57 ++++++ 113_pl.html | 57 ++++++ 113_pt-br.html | 57 ++++++ 113_ro.html | 57 ++++++ 113_ru.html | 57 ++++++ 113_th.html | 57 ++++++ 113_tr.html | 57 ++++++ 113_ua.html | 57 ++++++ 113_vi.html | 59 +++++++ 113_zh-cn.html | 55 ++++++ 113_zh-tw.html | 57 ++++++ 114_al.html | 50 ++++++ 114_ar.html | 50 ++++++ 114_de.html | 50 ++++++ 114_en.html | 50 ++++++ 114_es.html | 50 ++++++ 114_fa.html | 50 ++++++ 114_fi.html | 50 ++++++ 114_fr.html | 51 ++++++ 114_gr.html | 50 ++++++ 114_hu.html | 51 ++++++ 114_id.html | 50 ++++++ 114_ie.html | 47 +++++ 114_it.html | 50 ++++++ 114_ja.html | 50 ++++++ 114_ko.html | 50 ++++++ 114_ne.html | 50 ++++++ 114_pl.html | 50 ++++++ 114_pt-br.html | 50 ++++++ 114_ro.html | 50 ++++++ 114_ru.html | 50 ++++++ 114_th.html | 50 ++++++ 114_tr.html | 50 ++++++ 114_ua.html | 50 ++++++ 114_vi.html | 50 ++++++ 114_zh-cn.html | 50 ++++++ 114_zh-tw.html | 50 ++++++ 115_al.html | 48 ++++++ 115_ar.html | 46 +++++ 115_de.html | 50 ++++++ 115_en.html | 48 ++++++ 115_es.html | 46 +++++ 115_fa.html | 48 ++++++ 115_fi.html | 48 ++++++ 115_fr.html | 51 ++++++ 115_gr.html | 48 ++++++ 115_hu.html | 50 ++++++ 115_id.html | 48 ++++++ 115_ie.html | 47 +++++ 115_it.html | 48 ++++++ 115_ja.html | 48 ++++++ 115_ko.html | 48 ++++++ 115_ne.html | 48 ++++++ 115_pl.html | 48 ++++++ 115_pt-br.html | 45 +++++ 115_ro.html | 48 ++++++ 115_ru.html | 46 +++++ 115_th.html | 46 +++++ 115_tr.html | 46 +++++ 115_ua.html | 48 ++++++ 115_vi.html | 46 +++++ 115_zh-cn.html | 46 +++++ 115_zh-tw.html | 48 ++++++ 116_al.html | 47 +++++ 116_ar.html | 47 +++++ 116_de.html | 48 ++++++ 116_en.html | 47 +++++ 116_es.html | 47 +++++ 116_fa.html | 47 +++++ 116_fi.html | 47 +++++ 116_fr.html | 48 ++++++ 116_gr.html | 47 +++++ 116_hu.html | 48 ++++++ 116_id.html | 47 +++++ 116_ie.html | 47 +++++ 116_it.html | 47 +++++ 116_ja.html | 47 +++++ 116_ko.html | 47 +++++ 116_ne.html | 47 +++++ 116_pl.html | 47 +++++ 116_pt-br.html | 47 +++++ 116_ro.html | 47 +++++ 116_ru.html | 47 +++++ 116_th.html | 47 +++++ 116_tr.html | 47 +++++ 116_ua.html | 47 +++++ 116_vi.html | 47 +++++ 116_zh-cn.html | 47 +++++ 116_zh-tw.html | 47 +++++ 117_al.html | 51 ++++++ 117_ar.html | 47 +++++ 117_de.html | 48 ++++++ 117_en.html | 51 ++++++ 117_es.html | 49 ++++++ 117_fa.html | 51 ++++++ 117_fi.html | 51 ++++++ 117_fr.html | 51 ++++++ 117_gr.html | 51 ++++++ 117_hu.html | 49 ++++++ 117_id.html | 51 ++++++ 117_ie.html | 51 ++++++ 117_it.html | 51 ++++++ 117_ja.html | 51 ++++++ 117_ko.html | 49 ++++++ 117_ne.html | 51 ++++++ 117_pl.html | 51 ++++++ 117_pt-br.html | 46 +++++ 117_ro.html | 51 ++++++ 117_ru.html | 50 ++++++ 117_th.html | 50 ++++++ 117_tr.html | 48 ++++++ 117_ua.html | 51 ++++++ 117_vi.html | 48 ++++++ 117_zh-cn.html | 48 ++++++ 117_zh-tw.html | 51 ++++++ 118_al.html | 49 ++++++ 118_ar.html | 47 +++++ 118_de.html | 47 +++++ 118_en.html | 49 ++++++ 118_es.html | 46 +++++ 118_fa.html | 49 ++++++ 118_fi.html | 49 ++++++ 118_fr.html | 50 ++++++ 118_gr.html | 49 ++++++ 118_hu.html | 50 ++++++ 118_id.html | 49 ++++++ 118_ie.html | 49 ++++++ 118_it.html | 49 ++++++ 118_ja.html | 49 ++++++ 118_ko.html | 49 ++++++ 118_ne.html | 49 ++++++ 118_pl.html | 49 ++++++ 118_pt-br.html | 47 +++++ 118_ro.html | 49 ++++++ 118_ru.html | 47 +++++ 118_th.html | 47 +++++ 118_tr.html | 46 +++++ 118_ua.html | 47 +++++ 118_vi.html | 47 +++++ 118_zh-cn.html | 47 +++++ 118_zh-tw.html | 49 ++++++ 119_al.html | 50 ++++++ 119_ar.html | 49 ++++++ 119_de.html | 50 ++++++ 119_en.html | 50 ++++++ 119_es.html | 49 ++++++ 119_fa.html | 50 ++++++ 119_fi.html | 50 ++++++ 119_fr.html | 53 ++++++ 119_gr.html | 50 ++++++ 119_hu.html | 52 ++++++ 119_id.html | 50 ++++++ 119_ie.html | 50 ++++++ 119_it.html | 50 ++++++ 119_ja.html | 50 ++++++ 119_ko.html | 50 ++++++ 119_ne.html | 50 ++++++ 119_pl.html | 50 ++++++ 119_pt-br.html | 49 ++++++ 119_ro.html | 50 ++++++ 119_ru.html | 50 ++++++ 119_th.html | 50 ++++++ 119_tr.html | 49 ++++++ 119_ua.html | 49 ++++++ 119_vi.html | 49 ++++++ 119_zh-cn.html | 49 ++++++ 119_zh-tw.html | 50 ++++++ 11_al.html | 51 ++++++ 11_ar.html | 49 ++++++ 11_de.html | 49 ++++++ 11_en.html | 49 ++++++ 11_es.html | 49 ++++++ 11_fa.html | 49 ++++++ 11_fi.html | 49 ++++++ 11_fr.html | 50 ++++++ 11_gr.html | 49 ++++++ 11_hu.html | 51 ++++++ 11_id.html | 49 ++++++ 11_ie.html | 49 ++++++ 11_it.html | 49 ++++++ 11_ja.html | 49 ++++++ 11_ko.html | 49 ++++++ 11_ne.html | 49 ++++++ 11_pl.html | 49 ++++++ 11_pt-br.html | 49 ++++++ 11_ro.html | 49 ++++++ 11_ru.html | 49 ++++++ 11_th.html | 49 ++++++ 11_tr.html | 49 ++++++ 11_ua.html | 48 ++++++ 11_vi.html | 49 ++++++ 11_zh-cn.html | 49 ++++++ 11_zh-tw.html | 49 ++++++ 12_al.html | 58 +++++++ 12_ar.html | 53 ++++++ 12_de.html | 55 ++++++ 12_en.html | 55 ++++++ 12_es.html | 51 ++++++ 12_fa.html | 55 ++++++ 12_fi.html | 51 ++++++ 12_fr.html | 55 ++++++ 12_gr.html | 51 ++++++ 12_hu.html | 57 ++++++ 12_id.html | 57 ++++++ 12_ie.html | 45 +++++ 12_it.html | 54 ++++++ 12_ja.html | 54 ++++++ 12_ko.html | 55 ++++++ 12_ne.html | 51 ++++++ 12_pl.html | 51 ++++++ 12_pt-br.html | 51 ++++++ 12_ro.html | 55 ++++++ 12_ru.html | 51 ++++++ 12_th.html | 54 ++++++ 12_tr.html | 52 ++++++ 12_ua.html | 53 ++++++ 12_vi.html | 52 ++++++ 12_zh-cn.html | 55 ++++++ 12_zh-tw.html | 54 ++++++ 14_al.html | 51 ++++++ 14_ar.html | 49 ++++++ 14_de.html | 50 ++++++ 14_en.html | 49 ++++++ 14_es.html | 49 ++++++ 14_fa.html | 49 ++++++ 14_fi.html | 49 ++++++ 14_fr.html | 50 ++++++ 14_gr.html | 49 ++++++ 14_hu.html | 51 ++++++ 14_id.html | 49 ++++++ 14_ie.html | 47 +++++ 14_it.html | 49 ++++++ 14_ja.html | 49 ++++++ 14_ko.html | 49 ++++++ 14_ne.html | 49 ++++++ 14_pl.html | 49 ++++++ 14_pt-br.html | 49 ++++++ 14_ro.html | 49 ++++++ 14_ru.html | 50 ++++++ 14_th.html | 49 ++++++ 14_tr.html | 49 ++++++ 14_ua.html | 49 ++++++ 14_vi.html | 49 ++++++ 14_zh-cn.html | 49 ++++++ 14_zh-tw.html | 49 ++++++ 15_al.html | 50 ++++++ 15_ar.html | 50 ++++++ 15_de.html | 48 ++++++ 15_en.html | 50 ++++++ 15_es.html | 50 ++++++ 15_fa.html | 50 ++++++ 15_fi.html | 50 ++++++ 15_fr.html | 50 ++++++ 15_gr.html | 48 ++++++ 15_hu.html | 50 ++++++ 15_id.html | 50 ++++++ 15_ie.html | 47 +++++ 15_it.html | 50 ++++++ 15_ja.html | 49 ++++++ 15_ko.html | 50 ++++++ 15_ne.html | 50 ++++++ 15_pl.html | 50 ++++++ 15_pt-br.html | 50 ++++++ 15_ro.html | 50 ++++++ 15_ru.html | 50 ++++++ 15_th.html | 50 ++++++ 15_tr.html | 49 ++++++ 15_ua.html | 49 ++++++ 15_vi.html | 50 ++++++ 15_zh-cn.html | 49 ++++++ 15_zh-tw.html | 50 ++++++ 16_al.html | 48 ++++++ 16_ar.html | 48 ++++++ 16_de.html | 47 +++++ 16_en.html | 48 ++++++ 16_es.html | 48 ++++++ 16_fa.html | 48 ++++++ 16_fi.html | 48 ++++++ 16_fr.html | 48 ++++++ 16_gr.html | 48 ++++++ 16_hu.html | 48 ++++++ 16_id.html | 48 ++++++ 16_ie.html | 47 +++++ 16_it.html | 48 ++++++ 16_ja.html | 48 ++++++ 16_ko.html | 48 ++++++ 16_ne.html | 48 ++++++ 16_pl.html | 48 ++++++ 16_pt-br.html | 48 ++++++ 16_ro.html | 48 ++++++ 16_ru.html | 48 ++++++ 16_th.html | 48 ++++++ 16_tr.html | 48 ++++++ 16_ua.html | 48 ++++++ 16_vi.html | 48 ++++++ 16_zh-cn.html | 48 ++++++ 16_zh-tw.html | 48 ++++++ 17_al.html | 60 +++++++ 17_ar.html | 49 ++++++ 17_de.html | 57 ++++++ 17_en.html | 56 ++++++ 17_es.html | 50 ++++++ 17_fa.html | 56 ++++++ 17_fi.html | 56 ++++++ 17_fr.html | 56 ++++++ 17_gr.html | 51 ++++++ 17_hu.html | 54 ++++++ 17_id.html | 51 ++++++ 17_ie.html | 47 +++++ 17_it.html | 51 ++++++ 17_ja.html | 53 ++++++ 17_ko.html | 53 ++++++ 17_ne.html | 56 ++++++ 17_pl.html | 51 ++++++ 17_pt-br.html | 50 ++++++ 17_ro.html | 56 ++++++ 17_ru.html | 53 ++++++ 17_th.html | 51 ++++++ 17_tr.html | 51 ++++++ 17_ua.html | 51 ++++++ 17_vi.html | 54 ++++++ 17_zh-cn.html | 51 ++++++ 17_zh-tw.html | 50 ++++++ 18_al.html | 57 ++++++ 18_ar.html | 50 ++++++ 18_de.html | 56 ++++++ 18_en.html | 55 ++++++ 18_es.html | 49 ++++++ 18_fa.html | 55 ++++++ 18_fi.html | 55 ++++++ 18_fr.html | 54 ++++++ 18_gr.html | 49 ++++++ 18_hu.html | 54 ++++++ 18_id.html | 49 ++++++ 18_ie.html | 47 +++++ 18_it.html | 49 ++++++ 18_ja.html | 53 ++++++ 18_ko.html | 52 ++++++ 18_ne.html | 55 ++++++ 18_pl.html | 52 ++++++ 18_pt-br.html | 49 ++++++ 18_ro.html | 55 ++++++ 18_ru.html | 52 ++++++ 18_th.html | 52 ++++++ 18_tr.html | 50 ++++++ 18_ua.html | 50 ++++++ 18_vi.html | 50 ++++++ 18_zh-cn.html | 51 ++++++ 18_zh-tw.html | 49 ++++++ 19_al.html | 47 +++++ 19_ar.html | 47 +++++ 19_de.html | 47 +++++ 19_en.html | 47 +++++ 19_es.html | 47 +++++ 19_fa.html | 47 +++++ 19_fi.html | 47 +++++ 19_fr.html | 47 +++++ 19_gr.html | 47 +++++ 19_hu.html | 47 +++++ 19_id.html | 47 +++++ 19_ie.html | 47 +++++ 19_it.html | 47 +++++ 19_ja.html | 47 +++++ 19_ko.html | 47 +++++ 19_ne.html | 47 +++++ 19_pl.html | 47 +++++ 19_pt-br.html | 47 +++++ 19_ro.html | 47 +++++ 19_ru.html | 47 +++++ 19_th.html | 47 +++++ 19_tr.html | 47 +++++ 19_ua.html | 47 +++++ 19_vi.html | 47 +++++ 19_zh-cn.html | 47 +++++ 19_zh-tw.html | 47 +++++ 20_al.html | 56 ++++++ 20_ar.html | 49 ++++++ 20_de.html | 55 ++++++ 20_en.html | 52 ++++++ 20_es.html | 49 ++++++ 20_fa.html | 52 ++++++ 20_fi.html | 52 ++++++ 20_fr.html | 53 ++++++ 20_gr.html | 49 ++++++ 20_hu.html | 53 ++++++ 20_id.html | 49 ++++++ 20_ie.html | 47 +++++ 20_it.html | 49 ++++++ 20_ja.html | 50 ++++++ 20_ko.html | 51 ++++++ 20_ne.html | 52 ++++++ 20_pl.html | 50 ++++++ 20_pt-br.html | 50 ++++++ 20_ro.html | 52 ++++++ 20_ru.html | 52 ++++++ 20_th.html | 50 ++++++ 20_tr.html | 49 ++++++ 20_ua.html | 50 ++++++ 20_vi.html | 50 ++++++ 20_zh-cn.html | 51 ++++++ 20_zh-tw.html | 49 ++++++ 21_al.html | 49 ++++++ 21_ar.html | 45 +++++ 21_de.html | 50 ++++++ 21_en.html | 49 ++++++ 21_es.html | 45 +++++ 21_fa.html | 49 ++++++ 21_fi.html | 48 ++++++ 21_fr.html | 48 ++++++ 21_gr.html | 45 +++++ 21_hu.html | 48 ++++++ 21_id.html | 45 +++++ 21_ie.html | 45 +++++ 21_it.html | 46 +++++ 21_ja.html | 47 +++++ 21_ko.html | 48 ++++++ 21_ne.html | 49 ++++++ 21_pl.html | 47 +++++ 21_pt-br.html | 45 +++++ 21_ro.html | 49 ++++++ 21_ru.html | 48 ++++++ 21_th.html | 48 ++++++ 21_tr.html | 46 +++++ 21_ua.html | 47 +++++ 21_vi.html | 47 +++++ 21_zh-cn.html | 47 +++++ 21_zh-tw.html | 45 +++++ 23_al.html | 51 ++++++ 23_ar.html | 49 ++++++ 23_de.html | 49 ++++++ 23_en.html | 49 ++++++ 23_es.html | 49 ++++++ 23_fa.html | 49 ++++++ 23_fi.html | 49 ++++++ 23_fr.html | 51 ++++++ 23_gr.html | 49 ++++++ 23_hu.html | 51 ++++++ 23_id.html | 49 ++++++ 23_ie.html | 49 ++++++ 23_it.html | 49 ++++++ 23_ja.html | 49 ++++++ 23_ko.html | 49 ++++++ 23_ne.html | 49 ++++++ 23_pl.html | 49 ++++++ 23_pt-br.html | 49 ++++++ 23_ro.html | 49 ++++++ 23_ru.html | 49 ++++++ 23_th.html | 50 ++++++ 23_tr.html | 49 ++++++ 23_ua.html | 48 ++++++ 23_vi.html | 49 ++++++ 23_zh-cn.html | 49 ++++++ 23_zh-tw.html | 49 ++++++ 24_al.html | 53 ++++++ 24_ar.html | 50 ++++++ 24_de.html | 51 ++++++ 24_en.html | 50 ++++++ 24_es.html | 50 ++++++ 24_fa.html | 50 ++++++ 24_fi.html | 50 ++++++ 24_fr.html | 51 ++++++ 24_gr.html | 50 ++++++ 24_hu.html | 53 ++++++ 24_id.html | 50 ++++++ 24_ie.html | 47 +++++ 24_it.html | 50 ++++++ 24_ja.html | 50 ++++++ 24_ko.html | 50 ++++++ 24_ne.html | 50 ++++++ 24_pl.html | 50 ++++++ 24_pt-br.html | 50 ++++++ 24_ro.html | 50 ++++++ 24_ru.html | 50 ++++++ 24_th.html | 50 ++++++ 24_tr.html | 50 ++++++ 24_ua.html | 52 ++++++ 24_vi.html | 50 ++++++ 24_zh-cn.html | 50 ++++++ 24_zh-tw.html | 50 ++++++ 25_al.html | 64 +++++++ 25_ar.html | 50 ++++++ 25_de.html | 60 +++++++ 25_en.html | 61 +++++++ 25_es.html | 60 +++++++ 25_fa.html | 61 +++++++ 25_fi.html | 61 +++++++ 25_fr.html | 64 +++++++ 25_gr.html | 50 ++++++ 25_hu.html | 62 +++++++ 25_id.html | 61 +++++++ 25_ie.html | 58 +++++++ 25_it.html | 53 ++++++ 25_ja.html | 55 ++++++ 25_ko.html | 59 +++++++ 25_ne.html | 61 +++++++ 25_pl.html | 63 +++++++ 25_pt-br.html | 50 ++++++ 25_ro.html | 61 +++++++ 25_ru.html | 60 +++++++ 25_th.html | 60 +++++++ 25_tr.html | 59 +++++++ 25_ua.html | 55 ++++++ 25_vi.html | 62 +++++++ 25_zh-cn.html | 56 ++++++ 25_zh-tw.html | 56 ++++++ 26_al.html | 71 ++++++++ 26_ar.html | 57 ++++++ 26_de.html | 66 +++++++ 26_en.html | 67 ++++++++ 26_es.html | 66 +++++++ 26_fa.html | 67 ++++++++ 26_fi.html | 67 ++++++++ 26_fr.html | 69 ++++++++ 26_gr.html | 58 +++++++ 26_hu.html | 69 ++++++++ 26_id.html | 67 ++++++++ 26_ie.html | 66 +++++++ 26_it.html | 61 +++++++ 26_ja.html | 63 +++++++ 26_ko.html | 66 +++++++ 26_ne.html | 67 ++++++++ 26_pl.html | 57 ++++++ 26_pt-br.html | 62 +++++++ 26_ro.html | 66 +++++++ 26_ru.html | 66 +++++++ 26_th.html | 66 +++++++ 26_tr.html | 64 +++++++ 26_ua.html | 62 +++++++ 26_vi.html | 68 ++++++++ 26_zh-cn.html | 59 +++++++ 26_zh-tw.html | 63 +++++++ 27_al.html | 47 +++++ 27_ar.html | 47 +++++ 27_de.html | 47 +++++ 27_en.html | 47 +++++ 27_es.html | 47 +++++ 27_fa.html | 47 +++++ 27_fi.html | 47 +++++ 27_fr.html | 47 +++++ 27_gr.html | 47 +++++ 27_hu.html | 47 +++++ 27_id.html | 47 +++++ 27_ie.html | 47 +++++ 27_it.html | 47 +++++ 27_ja.html | 47 +++++ 27_ko.html | 47 +++++ 27_ne.html | 47 +++++ 27_pl.html | 47 +++++ 27_pt-br.html | 47 +++++ 27_ro.html | 47 +++++ 27_ru.html | 47 +++++ 27_th.html | 47 +++++ 27_tr.html | 47 +++++ 27_ua.html | 47 +++++ 27_vi.html | 47 +++++ 27_zh-cn.html | 47 +++++ 27_zh-tw.html | 47 +++++ 28_al.html | 50 ++++++ 28_ar.html | 49 ++++++ 28_de.html | 49 ++++++ 28_en.html | 49 ++++++ 28_es.html | 49 ++++++ 28_fa.html | 49 ++++++ 28_fi.html | 49 ++++++ 28_fr.html | 50 ++++++ 28_gr.html | 49 ++++++ 28_hu.html | 50 ++++++ 28_id.html | 49 ++++++ 28_ie.html | 49 ++++++ 28_it.html | 49 ++++++ 28_ja.html | 49 ++++++ 28_ko.html | 49 ++++++ 28_ne.html | 49 ++++++ 28_pl.html | 49 ++++++ 28_pt-br.html | 50 ++++++ 28_ro.html | 49 ++++++ 28_ru.html | 49 ++++++ 28_th.html | 49 ++++++ 28_tr.html | 49 ++++++ 28_ua.html | 49 ++++++ 28_vi.html | 49 ++++++ 28_zh-cn.html | 49 ++++++ 28_zh-tw.html | 49 ++++++ 29_al.html | 50 ++++++ 29_ar.html | 48 ++++++ 29_de.html | 51 ++++++ 29_en.html | 48 ++++++ 29_es.html | 50 ++++++ 29_fa.html | 48 ++++++ 29_fi.html | 48 ++++++ 29_fr.html | 51 ++++++ 29_gr.html | 48 ++++++ 29_hu.html | 52 ++++++ 29_id.html | 48 ++++++ 29_ie.html | 50 ++++++ 29_it.html | 48 ++++++ 29_ja.html | 48 ++++++ 29_ko.html | 48 ++++++ 29_ne.html | 48 ++++++ 29_pl.html | 48 ++++++ 29_pt-br.html | 48 ++++++ 29_ro.html | 48 ++++++ 29_ru.html | 48 ++++++ 29_th.html | 48 ++++++ 29_tr.html | 48 ++++++ 29_ua.html | 48 ++++++ 29_vi.html | 48 ++++++ 29_zh-cn.html | 48 ++++++ 29_zh-tw.html | 48 ++++++ 30_al.html | 61 +++++++ 30_ar.html | 62 +++++++ 30_de.html | 59 +++++++ 30_en.html | 58 +++++++ 30_es.html | 60 +++++++ 30_fa.html | 58 +++++++ 30_fi.html | 58 +++++++ 30_fr.html | 63 +++++++ 30_gr.html | 58 +++++++ 30_hu.html | 63 +++++++ 30_id.html | 58 +++++++ 30_ie.html | 61 +++++++ 30_it.html | 58 +++++++ 30_ja.html | 58 +++++++ 30_ko.html | 58 +++++++ 30_ne.html | 58 +++++++ 30_pl.html | 58 +++++++ 30_pt-br.html | 58 +++++++ 30_ro.html | 58 +++++++ 30_ru.html | 58 +++++++ 30_th.html | 58 +++++++ 30_tr.html | 58 +++++++ 30_ua.html | 59 +++++++ 30_vi.html | 58 +++++++ 30_zh-cn.html | 58 +++++++ 30_zh-tw.html | 58 +++++++ 31_al.html | 50 ++++++ 31_ar.html | 45 +++++ 31_de.html | 47 +++++ 31_en.html | 47 +++++ 31_es.html | 48 ++++++ 31_fa.html | 47 +++++ 31_fi.html | 47 +++++ 31_fr.html | 48 ++++++ 31_gr.html | 45 +++++ 31_hu.html | 49 ++++++ 31_id.html | 47 +++++ 31_ie.html | 48 ++++++ 31_it.html | 45 +++++ 31_ja.html | 46 +++++ 31_ko.html | 47 +++++ 31_ne.html | 47 +++++ 31_pl.html | 47 +++++ 31_pt-br.html | 46 +++++ 31_ro.html | 47 +++++ 31_ru.html | 46 +++++ 31_th.html | 45 +++++ 31_tr.html | 46 +++++ 31_ua.html | 46 +++++ 31_vi.html | 45 +++++ 31_zh-cn.html | 47 +++++ 31_zh-tw.html | 45 +++++ 33_al.html | 50 ++++++ 33_ar.html | 48 ++++++ 33_de.html | 51 ++++++ 33_en.html | 50 ++++++ 33_es.html | 51 ++++++ 33_fa.html | 50 ++++++ 33_fi.html | 50 ++++++ 33_fr.html | 51 ++++++ 33_gr.html | 48 ++++++ 33_hu.html | 51 ++++++ 33_id.html | 50 ++++++ 33_ie.html | 51 ++++++ 33_it.html | 48 ++++++ 33_ja.html | 51 ++++++ 33_ko.html | 50 ++++++ 33_ne.html | 50 ++++++ 33_pl.html | 48 ++++++ 33_pt-br.html | 48 ++++++ 33_ro.html | 50 ++++++ 33_ru.html | 50 ++++++ 33_th.html | 48 ++++++ 33_tr.html | 48 ++++++ 33_ua.html | 48 ++++++ 33_vi.html | 48 ++++++ 33_zh-cn.html | 49 ++++++ 33_zh-tw.html | 48 ++++++ 34_al.html | 53 ++++++ 34_ar.html | 49 ++++++ 34_de.html | 53 ++++++ 34_en.html | 53 ++++++ 34_es.html | 53 ++++++ 34_fa.html | 53 ++++++ 34_fi.html | 53 ++++++ 34_fr.html | 54 ++++++ 34_gr.html | 50 ++++++ 34_hu.html | 56 ++++++ 34_id.html | 53 ++++++ 34_ie.html | 53 ++++++ 34_it.html | 52 ++++++ 34_ja.html | 52 ++++++ 34_ko.html | 53 ++++++ 34_ne.html | 53 ++++++ 34_pl.html | 51 ++++++ 34_pt-br.html | 49 ++++++ 34_ro.html | 53 ++++++ 34_ru.html | 53 ++++++ 34_th.html | 49 ++++++ 34_tr.html | 49 ++++++ 34_ua.html | 50 ++++++ 34_vi.html | 49 ++++++ 34_zh-cn.html | 50 ++++++ 34_zh-tw.html | 49 ++++++ 35_al.html | 54 ++++++ 35_ar.html | 53 ++++++ 35_de.html | 54 ++++++ 35_en.html | 54 ++++++ 35_es.html | 55 ++++++ 35_fa.html | 54 ++++++ 35_fi.html | 54 ++++++ 35_fr.html | 54 ++++++ 35_gr.html | 53 ++++++ 35_hu.html | 55 ++++++ 35_id.html | 54 ++++++ 35_ie.html | 54 ++++++ 35_it.html | 53 ++++++ 35_ja.html | 53 ++++++ 35_ko.html | 54 ++++++ 35_ne.html | 54 ++++++ 35_pl.html | 53 ++++++ 35_pt-br.html | 53 ++++++ 35_ro.html | 54 ++++++ 35_ru.html | 55 ++++++ 35_th.html | 53 ++++++ 35_tr.html | 52 ++++++ 35_ua.html | 53 ++++++ 35_vi.html | 53 ++++++ 35_zh-cn.html | 53 ++++++ 35_zh-tw.html | 53 ++++++ 36_al.html | 55 ++++++ 36_ar.html | 54 ++++++ 36_de.html | 55 ++++++ 36_en.html | 55 ++++++ 36_es.html | 57 ++++++ 36_fa.html | 55 ++++++ 36_fi.html | 55 ++++++ 36_fr.html | 55 ++++++ 36_gr.html | 54 ++++++ 36_hu.html | 59 +++++++ 36_id.html | 55 ++++++ 36_ie.html | 55 ++++++ 36_it.html | 55 ++++++ 36_ja.html | 55 ++++++ 36_ko.html | 55 ++++++ 36_ne.html | 55 ++++++ 36_pl.html | 55 ++++++ 36_pt-br.html | 55 ++++++ 36_ro.html | 55 ++++++ 36_ru.html | 56 ++++++ 36_th.html | 54 ++++++ 36_tr.html | 53 ++++++ 36_ua.html | 54 ++++++ 36_vi.html | 54 ++++++ 36_zh-cn.html | 55 ++++++ 36_zh-tw.html | 54 ++++++ 37_al.html | 47 +++++ 37_ar.html | 47 +++++ 37_de.html | 47 +++++ 37_en.html | 47 +++++ 37_es.html | 47 +++++ 37_fa.html | 47 +++++ 37_fi.html | 47 +++++ 37_fr.html | 47 +++++ 37_gr.html | 47 +++++ 37_hu.html | 47 +++++ 37_id.html | 47 +++++ 37_ie.html | 47 +++++ 37_it.html | 47 +++++ 37_ja.html | 47 +++++ 37_ko.html | 47 +++++ 37_ne.html | 47 +++++ 37_pl.html | 47 +++++ 37_pt-br.html | 47 +++++ 37_ro.html | 47 +++++ 37_ru.html | 47 +++++ 37_th.html | 47 +++++ 37_tr.html | 47 +++++ 37_ua.html | 47 +++++ 37_vi.html | 47 +++++ 37_zh-cn.html | 47 +++++ 37_zh-tw.html | 47 +++++ 38_al.html | 54 ++++++ 38_ar.html | 54 ++++++ 38_de.html | 54 ++++++ 38_en.html | 54 ++++++ 38_es.html | 55 ++++++ 38_fa.html | 54 ++++++ 38_fi.html | 54 ++++++ 38_fr.html | 54 ++++++ 38_gr.html | 55 ++++++ 38_hu.html | 55 ++++++ 38_id.html | 54 ++++++ 38_ie.html | 54 ++++++ 38_it.html | 54 ++++++ 38_ja.html | 55 ++++++ 38_ko.html | 54 ++++++ 38_ne.html | 54 ++++++ 38_pl.html | 54 ++++++ 38_pt-br.html | 54 ++++++ 38_ro.html | 54 ++++++ 38_ru.html | 54 ++++++ 38_th.html | 54 ++++++ 38_tr.html | 52 ++++++ 38_ua.html | 54 ++++++ 38_vi.html | 54 ++++++ 38_zh-cn.html | 55 ++++++ 38_zh-tw.html | 54 ++++++ 39_al.html | 69 ++++++++ 39_ar.html | 68 ++++++++ 39_de.html | 69 ++++++++ 39_en.html | 69 ++++++++ 39_es.html | 70 ++++++++ 39_fa.html | 69 ++++++++ 39_fi.html | 69 ++++++++ 39_fr.html | 72 ++++++++ 39_gr.html | 68 ++++++++ 39_hu.html | 72 ++++++++ 39_id.html | 69 ++++++++ 39_ie.html | 69 ++++++++ 39_it.html | 69 ++++++++ 39_ja.html | 70 ++++++++ 39_ko.html | 69 ++++++++ 39_ne.html | 69 ++++++++ 39_pl.html | 66 +++++++ 39_pt-br.html | 68 ++++++++ 39_ro.html | 69 ++++++++ 39_ru.html | 69 ++++++++ 39_th.html | 68 ++++++++ 39_tr.html | 69 ++++++++ 39_ua.html | 68 ++++++++ 39_vi.html | 68 ++++++++ 39_zh-cn.html | 70 ++++++++ 39_zh-tw.html | 68 ++++++++ 40_al.html | 57 ++++++ 40_ar.html | 55 ++++++ 40_de.html | 57 ++++++ 40_en.html | 57 ++++++ 40_es.html | 58 +++++++ 40_fa.html | 57 ++++++ 40_fi.html | 57 ++++++ 40_fr.html | 57 ++++++ 40_gr.html | 54 ++++++ 40_hu.html | 60 +++++++ 40_id.html | 57 ++++++ 40_ie.html | 57 ++++++ 40_it.html | 54 ++++++ 40_ja.html | 57 ++++++ 40_ko.html | 57 ++++++ 40_ne.html | 57 ++++++ 40_pl.html | 55 ++++++ 40_pt-br.html | 54 ++++++ 40_ro.html | 57 ++++++ 40_ru.html | 54 ++++++ 40_th.html | 55 ++++++ 40_tr.html | 54 ++++++ 40_ua.html | 54 ++++++ 40_vi.html | 54 ++++++ 40_zh-cn.html | 54 ++++++ 40_zh-tw.html | 54 ++++++ 41_al.html | 48 ++++++ 41_ar.html | 45 +++++ 41_de.html | 48 ++++++ 41_en.html | 48 ++++++ 41_es.html | 48 ++++++ 41_fa.html | 48 ++++++ 41_fi.html | 48 ++++++ 41_fr.html | 49 ++++++ 41_gr.html | 45 +++++ 41_hu.html | 48 ++++++ 41_id.html | 48 ++++++ 41_ie.html | 49 ++++++ 41_it.html | 48 ++++++ 41_ja.html | 49 ++++++ 41_ko.html | 48 ++++++ 41_ne.html | 48 ++++++ 41_pl.html | 47 +++++ 41_pt-br.html | 45 +++++ 41_ro.html | 48 ++++++ 41_ru.html | 48 ++++++ 41_th.html | 46 +++++ 41_tr.html | 45 +++++ 41_ua.html | 46 +++++ 41_vi.html | 45 +++++ 41_zh-cn.html | 47 +++++ 41_zh-tw.html | 46 +++++ 43_al.html | 48 ++++++ 43_ar.html | 47 +++++ 43_de.html | 48 ++++++ 43_en.html | 48 ++++++ 43_es.html | 47 +++++ 43_fa.html | 48 ++++++ 43_fi.html | 48 ++++++ 43_fr.html | 49 ++++++ 43_gr.html | 47 +++++ 43_hu.html | 49 ++++++ 43_id.html | 48 ++++++ 43_ie.html | 48 ++++++ 43_it.html | 48 ++++++ 43_ja.html | 48 ++++++ 43_ko.html | 49 ++++++ 43_ne.html | 48 ++++++ 43_pl.html | 48 ++++++ 43_pt-br.html | 47 +++++ 43_ro.html | 48 ++++++ 43_ru.html | 47 +++++ 43_th.html | 47 +++++ 43_tr.html | 47 +++++ 43_ua.html | 48 ++++++ 43_vi.html | 47 +++++ 43_zh-cn.html | 47 +++++ 43_zh-tw.html | 47 +++++ 44_al.html | 53 ++++++ 44_ar.html | 53 ++++++ 44_de.html | 53 ++++++ 44_en.html | 53 ++++++ 44_es.html | 54 ++++++ 44_fa.html | 53 ++++++ 44_fi.html | 53 ++++++ 44_fr.html | 54 ++++++ 44_gr.html | 52 ++++++ 44_hu.html | 54 ++++++ 44_id.html | 53 ++++++ 44_ie.html | 53 ++++++ 44_it.html | 53 ++++++ 44_ja.html | 53 ++++++ 44_ko.html | 53 ++++++ 44_ne.html | 53 ++++++ 44_pl.html | 56 ++++++ 44_pt-br.html | 53 ++++++ 44_ro.html | 53 ++++++ 44_ru.html | 53 ++++++ 44_th.html | 53 ++++++ 44_tr.html | 53 ++++++ 44_ua.html | 56 ++++++ 44_vi.html | 54 ++++++ 44_zh-cn.html | 52 ++++++ 44_zh-tw.html | 53 ++++++ 45_al.html | 52 ++++++ 45_ar.html | 52 ++++++ 45_de.html | 52 ++++++ 45_en.html | 52 ++++++ 45_es.html | 52 ++++++ 45_fa.html | 52 ++++++ 45_fi.html | 52 ++++++ 45_fr.html | 53 ++++++ 45_gr.html | 52 ++++++ 45_hu.html | 54 ++++++ 45_id.html | 52 ++++++ 45_ie.html | 52 ++++++ 45_it.html | 52 ++++++ 45_ja.html | 52 ++++++ 45_ko.html | 52 ++++++ 45_ne.html | 52 ++++++ 45_pl.html | 52 ++++++ 45_pt-br.html | 52 ++++++ 45_ro.html | 52 ++++++ 45_ru.html | 52 ++++++ 45_th.html | 52 ++++++ 45_tr.html | 52 ++++++ 45_ua.html | 52 ++++++ 45_vi.html | 52 ++++++ 45_zh-cn.html | 52 ++++++ 45_zh-tw.html | 52 ++++++ 46_al.html | 52 ++++++ 46_ar.html | 52 ++++++ 46_de.html | 52 ++++++ 46_en.html | 52 ++++++ 46_es.html | 52 ++++++ 46_fa.html | 52 ++++++ 46_fi.html | 52 ++++++ 46_fr.html | 52 ++++++ 46_gr.html | 53 ++++++ 46_hu.html | 54 ++++++ 46_id.html | 52 ++++++ 46_ie.html | 53 ++++++ 46_it.html | 52 ++++++ 46_ja.html | 52 ++++++ 46_ko.html | 52 ++++++ 46_ne.html | 52 ++++++ 46_pl.html | 52 ++++++ 46_pt-br.html | 52 ++++++ 46_ro.html | 52 ++++++ 46_ru.html | 52 ++++++ 46_th.html | 52 ++++++ 46_tr.html | 52 ++++++ 46_ua.html | 52 ++++++ 46_vi.html | 52 ++++++ 46_zh-cn.html | 51 ++++++ 46_zh-tw.html | 52 ++++++ 47_al.html | 47 +++++ 47_ar.html | 47 +++++ 47_de.html | 47 +++++ 47_en.html | 47 +++++ 47_es.html | 47 +++++ 47_fa.html | 47 +++++ 47_fi.html | 47 +++++ 47_fr.html | 47 +++++ 47_gr.html | 47 +++++ 47_hu.html | 47 +++++ 47_id.html | 47 +++++ 47_ie.html | 47 +++++ 47_it.html | 47 +++++ 47_ja.html | 47 +++++ 47_ko.html | 47 +++++ 47_ne.html | 47 +++++ 47_pl.html | 47 +++++ 47_pt-br.html | 47 +++++ 47_ro.html | 47 +++++ 47_ru.html | 47 +++++ 47_th.html | 47 +++++ 47_tr.html | 47 +++++ 47_ua.html | 49 ++++++ 47_vi.html | 47 +++++ 47_zh-cn.html | 47 +++++ 47_zh-tw.html | 47 +++++ 48_al.html | 48 ++++++ 48_ar.html | 48 ++++++ 48_de.html | 48 ++++++ 48_en.html | 48 ++++++ 48_es.html | 48 ++++++ 48_fa.html | 48 ++++++ 48_fi.html | 48 ++++++ 48_fr.html | 48 ++++++ 48_gr.html | 47 +++++ 48_hu.html | 49 ++++++ 48_id.html | 48 ++++++ 48_ie.html | 48 ++++++ 48_it.html | 48 ++++++ 48_ja.html | 48 ++++++ 48_ko.html | 48 ++++++ 48_ne.html | 48 ++++++ 48_pl.html | 49 ++++++ 48_pt-br.html | 48 ++++++ 48_ro.html | 48 ++++++ 48_ru.html | 48 ++++++ 48_th.html | 48 ++++++ 48_tr.html | 48 ++++++ 48_ua.html | 49 ++++++ 48_vi.html | 48 ++++++ 48_zh-cn.html | 48 ++++++ 48_zh-tw.html | 48 ++++++ 49_al.html | 52 ++++++ 49_ar.html | 52 ++++++ 49_de.html | 52 ++++++ 49_en.html | 52 ++++++ 49_es.html | 52 ++++++ 49_fa.html | 52 ++++++ 49_fi.html | 52 ++++++ 49_fr.html | 55 ++++++ 49_gr.html | 52 ++++++ 49_hu.html | 54 ++++++ 49_id.html | 52 ++++++ 49_ie.html | 52 ++++++ 49_it.html | 52 ++++++ 49_ja.html | 52 ++++++ 49_ko.html | 52 ++++++ 49_ne.html | 52 ++++++ 49_pl.html | 52 ++++++ 49_pt-br.html | 52 ++++++ 49_ro.html | 52 ++++++ 49_ru.html | 52 ++++++ 49_th.html | 52 ++++++ 49_tr.html | 52 ++++++ 49_ua.html | 52 ++++++ 49_vi.html | 52 ++++++ 49_zh-cn.html | 51 ++++++ 49_zh-tw.html | 52 ++++++ 50_al.html | 48 ++++++ 50_ar.html | 48 ++++++ 50_de.html | 48 ++++++ 50_en.html | 48 ++++++ 50_es.html | 48 ++++++ 50_fa.html | 48 ++++++ 50_fi.html | 48 ++++++ 50_fr.html | 50 ++++++ 50_gr.html | 48 ++++++ 50_hu.html | 49 ++++++ 50_id.html | 48 ++++++ 50_ie.html | 49 ++++++ 50_it.html | 48 ++++++ 50_ja.html | 48 ++++++ 50_ko.html | 48 ++++++ 50_ne.html | 48 ++++++ 50_pl.html | 48 ++++++ 50_pt-br.html | 48 ++++++ 50_ro.html | 48 ++++++ 50_ru.html | 48 ++++++ 50_th.html | 48 ++++++ 50_tr.html | 48 ++++++ 50_ua.html | 48 ++++++ 50_vi.html | 48 ++++++ 50_zh-cn.html | 47 +++++ 50_zh-tw.html | 48 ++++++ 51_al.html | 57 ++++++ 51_ar.html | 57 ++++++ 51_de.html | 57 ++++++ 51_en.html | 57 ++++++ 51_es.html | 57 ++++++ 51_fa.html | 57 ++++++ 51_fi.html | 57 ++++++ 51_fr.html | 62 +++++++ 51_gr.html | 57 ++++++ 51_hu.html | 62 +++++++ 51_id.html | 57 ++++++ 51_ie.html | 57 ++++++ 51_it.html | 61 +++++++ 51_ja.html | 59 +++++++ 51_ko.html | 57 ++++++ 51_ne.html | 57 ++++++ 51_pl.html | 57 ++++++ 51_pt-br.html | 57 ++++++ 51_ro.html | 57 ++++++ 51_ru.html | 60 +++++++ 51_th.html | 57 ++++++ 51_tr.html | 60 +++++++ 51_ua.html | 57 ++++++ 51_vi.html | 57 ++++++ 51_zh-cn.html | 57 ++++++ 51_zh-tw.html | 58 +++++++ 52_al.html | 47 +++++ 52_ar.html | 47 +++++ 52_de.html | 47 +++++ 52_en.html | 47 +++++ 52_es.html | 47 +++++ 52_fa.html | 47 +++++ 52_fi.html | 47 +++++ 52_fr.html | 47 +++++ 52_gr.html | 47 +++++ 52_hu.html | 47 +++++ 52_id.html | 47 +++++ 52_ie.html | 47 +++++ 52_it.html | 47 +++++ 52_ja.html | 47 +++++ 52_ko.html | 47 +++++ 52_ne.html | 47 +++++ 52_pl.html | 48 ++++++ 52_pt-br.html | 47 +++++ 52_ro.html | 47 +++++ 52_ru.html | 47 +++++ 52_th.html | 47 +++++ 52_tr.html | 48 ++++++ 52_ua.html | 47 +++++ 52_vi.html | 47 +++++ 52_zh-cn.html | 47 +++++ 52_zh-tw.html | 47 +++++ 53_al.html | 51 ++++++ 53_ar.html | 49 ++++++ 53_de.html | 51 ++++++ 53_en.html | 51 ++++++ 53_es.html | 49 ++++++ 53_fa.html | 51 ++++++ 53_fi.html | 51 ++++++ 53_fr.html | 52 ++++++ 53_gr.html | 51 ++++++ 53_hu.html | 53 ++++++ 53_id.html | 51 ++++++ 53_ie.html | 51 ++++++ 53_it.html | 51 ++++++ 53_ja.html | 49 ++++++ 53_ko.html | 51 ++++++ 53_ne.html | 51 ++++++ 53_pl.html | 49 ++++++ 53_pt-br.html | 49 ++++++ 53_ro.html | 51 ++++++ 53_ru.html | 51 ++++++ 53_th.html | 49 ++++++ 53_tr.html | 49 ++++++ 53_ua.html | 49 ++++++ 53_vi.html | 49 ++++++ 53_zh-cn.html | 47 +++++ 53_zh-tw.html | 49 ++++++ 54_al.html | 48 ++++++ 54_ar.html | 47 +++++ 54_de.html | 48 ++++++ 54_en.html | 48 ++++++ 54_es.html | 47 +++++ 54_fa.html | 48 ++++++ 54_fi.html | 48 ++++++ 54_fr.html | 48 ++++++ 54_gr.html | 48 ++++++ 54_hu.html | 48 ++++++ 54_id.html | 48 ++++++ 54_ie.html | 48 ++++++ 54_it.html | 48 ++++++ 54_ja.html | 47 +++++ 54_ko.html | 48 ++++++ 54_ne.html | 48 ++++++ 54_pl.html | 47 +++++ 54_pt-br.html | 47 +++++ 54_ro.html | 48 ++++++ 54_ru.html | 48 ++++++ 54_th.html | 47 +++++ 54_tr.html | 47 +++++ 54_ua.html | 48 ++++++ 54_vi.html | 47 +++++ 54_zh-cn.html | 47 +++++ 54_zh-tw.html | 47 +++++ 55_al.html | 59 +++++++ 55_ar.html | 56 ++++++ 55_de.html | 59 +++++++ 55_en.html | 59 +++++++ 55_es.html | 55 ++++++ 55_fa.html | 59 +++++++ 55_fi.html | 59 +++++++ 55_fr.html | 63 +++++++ 55_gr.html | 59 +++++++ 55_hu.html | 65 +++++++ 55_id.html | 59 +++++++ 55_ie.html | 60 +++++++ 55_it.html | 59 +++++++ 55_ja.html | 60 +++++++ 55_ko.html | 60 +++++++ 55_ne.html | 59 +++++++ 55_pl.html | 55 ++++++ 55_pt-br.html | 56 ++++++ 55_ro.html | 58 +++++++ 55_ru.html | 64 +++++++ 55_th.html | 60 +++++++ 55_tr.html | 59 +++++++ 55_ua.html | 54 ++++++ 55_vi.html | 55 ++++++ 55_zh-cn.html | 52 ++++++ 55_zh-tw.html | 56 ++++++ 56_al.html | 49 ++++++ 56_ar.html | 49 ++++++ 56_de.html | 49 ++++++ 56_en.html | 49 ++++++ 56_es.html | 49 ++++++ 56_fa.html | 49 ++++++ 56_fi.html | 49 ++++++ 56_fr.html | 54 ++++++ 56_gr.html | 49 ++++++ 56_hu.html | 50 ++++++ 56_id.html | 49 ++++++ 56_ie.html | 49 ++++++ 56_it.html | 49 ++++++ 56_ja.html | 49 ++++++ 56_ko.html | 49 ++++++ 56_ne.html | 49 ++++++ 56_pl.html | 49 ++++++ 56_pt-br.html | 49 ++++++ 56_ro.html | 49 ++++++ 56_ru.html | 49 ++++++ 56_th.html | 49 ++++++ 56_tr.html | 49 ++++++ 56_ua.html | 49 ++++++ 56_vi.html | 49 ++++++ 56_zh-cn.html | 47 +++++ 56_zh-tw.html | 49 ++++++ 57_al.html | 56 ++++++ 57_ar.html | 54 ++++++ 57_de.html | 56 ++++++ 57_en.html | 56 ++++++ 57_es.html | 54 ++++++ 57_fa.html | 56 ++++++ 57_fi.html | 56 ++++++ 57_fr.html | 56 ++++++ 57_gr.html | 56 ++++++ 57_hu.html | 57 ++++++ 57_id.html | 56 ++++++ 57_ie.html | 56 ++++++ 57_it.html | 56 ++++++ 57_ja.html | 56 ++++++ 57_ko.html | 56 ++++++ 57_ne.html | 56 ++++++ 57_pl.html | 55 ++++++ 57_pt-br.html | 54 ++++++ 57_ro.html | 56 ++++++ 57_ru.html | 57 ++++++ 57_th.html | 54 ++++++ 57_tr.html | 54 ++++++ 57_ua.html | 56 ++++++ 57_vi.html | 55 ++++++ 57_zh-cn.html | 54 ++++++ 57_zh-tw.html | 54 ++++++ 59_al.html | 57 ++++++ 59_ar.html | 57 ++++++ 59_de.html | 55 ++++++ 59_en.html | 57 ++++++ 59_es.html | 56 ++++++ 59_fa.html | 57 ++++++ 59_fi.html | 57 ++++++ 59_fr.html | 59 +++++++ 59_gr.html | 57 ++++++ 59_hu.html | 60 +++++++ 59_id.html | 57 ++++++ 59_ie.html | 57 ++++++ 59_it.html | 57 ++++++ 59_ja.html | 57 ++++++ 59_ko.html | 57 ++++++ 59_ne.html | 57 ++++++ 59_pl.html | 57 ++++++ 59_pt-br.html | 57 ++++++ 59_ro.html | 57 ++++++ 59_ru.html | 58 +++++++ 59_th.html | 57 ++++++ 59_tr.html | 57 ++++++ 59_ua.html | 57 ++++++ 59_vi.html | 57 ++++++ 59_zh-cn.html | 57 ++++++ 59_zh-tw.html | 57 ++++++ 60_al.html | 54 ++++++ 60_ar.html | 54 ++++++ 60_de.html | 53 ++++++ 60_en.html | 54 ++++++ 60_es.html | 52 ++++++ 60_fa.html | 54 ++++++ 60_fi.html | 54 ++++++ 60_fr.html | 60 +++++++ 60_gr.html | 54 ++++++ 60_hu.html | 58 +++++++ 60_id.html | 54 ++++++ 60_ie.html | 54 ++++++ 60_it.html | 54 ++++++ 60_ja.html | 51 ++++++ 60_ko.html | 54 ++++++ 60_ne.html | 54 ++++++ 60_pl.html | 54 ++++++ 60_pt-br.html | 51 ++++++ 60_ro.html | 54 ++++++ 60_ru.html | 54 ++++++ 60_th.html | 51 ++++++ 60_tr.html | 59 +++++++ 60_ua.html | 54 ++++++ 60_vi.html | 52 ++++++ 60_zh-cn.html | 51 ++++++ 60_zh-tw.html | 52 ++++++ 61_al.html | 57 ++++++ 61_ar.html | 57 ++++++ 61_de.html | 57 ++++++ 61_en.html | 57 ++++++ 61_es.html | 57 ++++++ 61_fa.html | 57 ++++++ 61_fi.html | 57 ++++++ 61_fr.html | 58 +++++++ 61_gr.html | 57 ++++++ 61_hu.html | 59 +++++++ 61_id.html | 57 ++++++ 61_ie.html | 57 ++++++ 61_it.html | 57 ++++++ 61_ja.html | 57 ++++++ 61_ko.html | 57 ++++++ 61_ne.html | 57 ++++++ 61_pl.html | 57 ++++++ 61_pt-br.html | 57 ++++++ 61_ro.html | 57 ++++++ 61_ru.html | 57 ++++++ 61_th.html | 57 ++++++ 61_tr.html | 57 ++++++ 61_ua.html | 57 ++++++ 61_vi.html | 57 ++++++ 61_zh-cn.html | 57 ++++++ 61_zh-tw.html | 57 ++++++ 62_al.html | 48 ++++++ 62_ar.html | 48 ++++++ 62_de.html | 48 ++++++ 62_en.html | 48 ++++++ 62_es.html | 48 ++++++ 62_fa.html | 48 ++++++ 62_fi.html | 48 ++++++ 62_fr.html | 48 ++++++ 62_gr.html | 48 ++++++ 62_hu.html | 48 ++++++ 62_id.html | 48 ++++++ 62_ie.html | 48 ++++++ 62_it.html | 48 ++++++ 62_ja.html | 48 ++++++ 62_ko.html | 48 ++++++ 62_ne.html | 48 ++++++ 62_pl.html | 48 ++++++ 62_pt-br.html | 48 ++++++ 62_ro.html | 48 ++++++ 62_ru.html | 48 ++++++ 62_th.html | 48 ++++++ 62_tr.html | 48 ++++++ 62_ua.html | 49 ++++++ 62_vi.html | 48 ++++++ 62_zh-cn.html | 48 ++++++ 62_zh-tw.html | 48 ++++++ 63_al.html | 48 ++++++ 63_ar.html | 47 +++++ 63_de.html | 48 ++++++ 63_en.html | 48 ++++++ 63_es.html | 47 +++++ 63_fa.html | 48 ++++++ 63_fi.html | 48 ++++++ 63_fr.html | 50 ++++++ 63_gr.html | 48 ++++++ 63_hu.html | 52 ++++++ 63_id.html | 48 ++++++ 63_ie.html | 48 ++++++ 63_it.html | 48 ++++++ 63_ja.html | 48 ++++++ 63_ko.html | 48 ++++++ 63_ne.html | 48 ++++++ 63_pl.html | 48 ++++++ 63_pt-br.html | 47 +++++ 63_ro.html | 48 ++++++ 63_ru.html | 48 ++++++ 63_th.html | 47 +++++ 63_tr.html | 47 +++++ 63_ua.html | 48 ++++++ 63_vi.html | 47 +++++ 63_zh-cn.html | 47 +++++ 63_zh-tw.html | 47 +++++ 64_al.html | 47 +++++ 64_ar.html | 47 +++++ 64_de.html | 47 +++++ 64_en.html | 47 +++++ 64_es.html | 47 +++++ 64_fa.html | 47 +++++ 64_fi.html | 47 +++++ 64_fr.html | 48 ++++++ 64_gr.html | 47 +++++ 64_hu.html | 48 ++++++ 64_id.html | 47 +++++ 64_ie.html | 47 +++++ 64_it.html | 48 ++++++ 64_ja.html | 47 +++++ 64_ko.html | 47 +++++ 64_ne.html | 47 +++++ 64_pl.html | 47 +++++ 64_pt-br.html | 47 +++++ 64_ro.html | 47 +++++ 64_ru.html | 47 +++++ 64_th.html | 47 +++++ 64_tr.html | 47 +++++ 64_ua.html | 47 +++++ 64_vi.html | 47 +++++ 64_zh-cn.html | 47 +++++ 64_zh-tw.html | 47 +++++ 65_al.html | 55 ++++++ 65_ar.html | 55 ++++++ 65_de.html | 55 ++++++ 65_en.html | 55 ++++++ 65_es.html | 55 ++++++ 65_fa.html | 55 ++++++ 65_fi.html | 55 ++++++ 65_fr.html | 57 ++++++ 65_gr.html | 55 ++++++ 65_hu.html | 59 +++++++ 65_id.html | 55 ++++++ 65_ie.html | 56 ++++++ 65_it.html | 55 ++++++ 65_ja.html | 55 ++++++ 65_ko.html | 55 ++++++ 65_ne.html | 55 ++++++ 65_pl.html | 55 ++++++ 65_pt-br.html | 55 ++++++ 65_ro.html | 55 ++++++ 65_ru.html | 55 ++++++ 65_th.html | 55 ++++++ 65_tr.html | 55 ++++++ 65_ua.html | 55 ++++++ 65_vi.html | 55 ++++++ 65_zh-cn.html | 55 ++++++ 65_zh-tw.html | 55 ++++++ 66_al.html | 48 ++++++ 66_ar.html | 48 ++++++ 66_de.html | 48 ++++++ 66_en.html | 48 ++++++ 66_es.html | 48 ++++++ 66_fa.html | 48 ++++++ 66_fi.html | 48 ++++++ 66_fr.html | 51 ++++++ 66_gr.html | 48 ++++++ 66_hu.html | 49 ++++++ 66_id.html | 48 ++++++ 66_ie.html | 48 ++++++ 66_it.html | 48 ++++++ 66_ja.html | 48 ++++++ 66_ko.html | 48 ++++++ 66_ne.html | 48 ++++++ 66_pl.html | 48 ++++++ 66_pt-br.html | 48 ++++++ 66_ro.html | 48 ++++++ 66_ru.html | 48 ++++++ 66_th.html | 48 ++++++ 66_tr.html | 48 ++++++ 66_ua.html | 48 ++++++ 66_vi.html | 48 ++++++ 66_zh-cn.html | 48 ++++++ 66_zh-tw.html | 48 ++++++ 67_al.html | 57 ++++++ 67_ar.html | 57 ++++++ 67_de.html | 57 ++++++ 67_en.html | 57 ++++++ 67_es.html | 57 ++++++ 67_fa.html | 57 ++++++ 67_fi.html | 57 ++++++ 67_fr.html | 61 +++++++ 67_gr.html | 57 ++++++ 67_hu.html | 60 +++++++ 67_id.html | 57 ++++++ 67_ie.html | 57 ++++++ 67_it.html | 57 ++++++ 67_ja.html | 57 ++++++ 67_ko.html | 57 ++++++ 67_ne.html | 57 ++++++ 67_pl.html | 57 ++++++ 67_pt-br.html | 57 ++++++ 67_ro.html | 57 ++++++ 67_ru.html | 57 ++++++ 67_th.html | 57 ++++++ 67_tr.html | 57 ++++++ 67_ua.html | 57 ++++++ 67_vi.html | 57 ++++++ 67_zh-cn.html | 57 ++++++ 67_zh-tw.html | 57 ++++++ 68_al.html | 48 ++++++ 68_ar.html | 47 +++++ 68_de.html | 48 ++++++ 68_en.html | 48 ++++++ 68_es.html | 47 +++++ 68_fa.html | 48 ++++++ 68_fi.html | 48 ++++++ 68_fr.html | 48 ++++++ 68_gr.html | 48 ++++++ 68_hu.html | 48 ++++++ 68_id.html | 48 ++++++ 68_ie.html | 48 ++++++ 68_it.html | 48 ++++++ 68_ja.html | 47 +++++ 68_ko.html | 48 ++++++ 68_ne.html | 48 ++++++ 68_pl.html | 48 ++++++ 68_pt-br.html | 47 +++++ 68_ro.html | 48 ++++++ 68_ru.html | 48 ++++++ 68_th.html | 47 +++++ 68_tr.html | 47 +++++ 68_ua.html | 48 ++++++ 68_vi.html | 47 +++++ 68_zh-cn.html | 47 +++++ 68_zh-tw.html | 47 +++++ 69_al.html | 47 +++++ 69_ar.html | 47 +++++ 69_de.html | 47 +++++ 69_en.html | 47 +++++ 69_es.html | 47 +++++ 69_fa.html | 47 +++++ 69_fi.html | 47 +++++ 69_fr.html | 47 +++++ 69_gr.html | 47 +++++ 69_hu.html | 47 +++++ 69_id.html | 47 +++++ 69_ie.html | 47 +++++ 69_it.html | 47 +++++ 69_ja.html | 47 +++++ 69_ko.html | 47 +++++ 69_ne.html | 47 +++++ 69_pl.html | 47 +++++ 69_pt-br.html | 47 +++++ 69_ro.html | 47 +++++ 69_ru.html | 47 +++++ 69_th.html | 47 +++++ 69_tr.html | 47 +++++ 69_ua.html | 47 +++++ 69_vi.html | 47 +++++ 69_zh-cn.html | 47 +++++ 69_zh-tw.html | 47 +++++ 70_al.html | 49 ++++++ 70_ar.html | 49 ++++++ 70_de.html | 49 ++++++ 70_en.html | 49 ++++++ 70_es.html | 49 ++++++ 70_fa.html | 49 ++++++ 70_fi.html | 49 ++++++ 70_fr.html | 53 ++++++ 70_gr.html | 49 ++++++ 70_hu.html | 53 ++++++ 70_id.html | 49 ++++++ 70_ie.html | 49 ++++++ 70_it.html | 49 ++++++ 70_ja.html | 49 ++++++ 70_ko.html | 49 ++++++ 70_ne.html | 49 ++++++ 70_pl.html | 49 ++++++ 70_pt-br.html | 49 ++++++ 70_ro.html | 49 ++++++ 70_ru.html | 49 ++++++ 70_th.html | 49 ++++++ 70_tr.html | 49 ++++++ 70_ua.html | 49 ++++++ 70_vi.html | 49 ++++++ 70_zh-cn.html | 49 ++++++ 70_zh-tw.html | 49 ++++++ 71_al.html | 50 ++++++ 71_ar.html | 48 ++++++ 71_de.html | 49 ++++++ 71_en.html | 50 ++++++ 71_es.html | 48 ++++++ 71_fa.html | 50 ++++++ 71_fi.html | 50 ++++++ 71_fr.html | 50 ++++++ 71_gr.html | 50 ++++++ 71_hu.html | 50 ++++++ 71_id.html | 50 ++++++ 71_ie.html | 50 ++++++ 71_it.html | 50 ++++++ 71_ja.html | 48 ++++++ 71_ko.html | 49 ++++++ 71_ne.html | 50 ++++++ 71_pl.html | 50 ++++++ 71_pt-br.html | 48 ++++++ 71_ro.html | 49 ++++++ 71_ru.html | 50 ++++++ 71_th.html | 49 ++++++ 71_tr.html | 49 ++++++ 71_ua.html | 50 ++++++ 71_vi.html | 48 ++++++ 71_zh-cn.html | 48 ++++++ 71_zh-tw.html | 48 ++++++ 72_al.html | 48 ++++++ 72_ar.html | 46 +++++ 72_de.html | 48 ++++++ 72_en.html | 48 ++++++ 72_es.html | 46 +++++ 72_fa.html | 48 ++++++ 72_fi.html | 48 ++++++ 72_fr.html | 52 ++++++ 72_gr.html | 48 ++++++ 72_hu.html | 49 ++++++ 72_id.html | 48 ++++++ 72_ie.html | 48 ++++++ 72_it.html | 48 ++++++ 72_ja.html | 46 +++++ 72_ko.html | 48 ++++++ 72_ne.html | 48 ++++++ 72_pl.html | 48 ++++++ 72_pt-br.html | 46 +++++ 72_ro.html | 48 ++++++ 72_ru.html | 48 ++++++ 72_th.html | 46 +++++ 72_tr.html | 46 +++++ 72_ua.html | 48 ++++++ 72_vi.html | 46 +++++ 72_zh-cn.html | 46 +++++ 72_zh-tw.html | 46 +++++ 74_al.html | 51 ++++++ 74_ar.html | 51 ++++++ 74_de.html | 51 ++++++ 74_en.html | 51 ++++++ 74_es.html | 51 ++++++ 74_fa.html | 51 ++++++ 74_fi.html | 51 ++++++ 74_fr.html | 56 ++++++ 74_gr.html | 51 ++++++ 74_hu.html | 55 ++++++ 74_id.html | 51 ++++++ 74_ie.html | 51 ++++++ 74_it.html | 51 ++++++ 74_ja.html | 51 ++++++ 74_ko.html | 51 ++++++ 74_ne.html | 51 ++++++ 74_pl.html | 51 ++++++ 74_pt-br.html | 51 ++++++ 74_ro.html | 51 ++++++ 74_ru.html | 51 ++++++ 74_th.html | 51 ++++++ 74_tr.html | 51 ++++++ 74_ua.html | 51 ++++++ 74_vi.html | 51 ++++++ 74_zh-cn.html | 51 ++++++ 74_zh-tw.html | 51 ++++++ 75_al.html | 50 ++++++ 75_ar.html | 50 ++++++ 75_de.html | 50 ++++++ 75_en.html | 50 ++++++ 75_es.html | 50 ++++++ 75_fa.html | 50 ++++++ 75_fi.html | 50 ++++++ 75_fr.html | 51 ++++++ 75_gr.html | 50 ++++++ 75_hu.html | 51 ++++++ 75_id.html | 50 ++++++ 75_ie.html | 50 ++++++ 75_it.html | 50 ++++++ 75_ja.html | 50 ++++++ 75_ko.html | 50 ++++++ 75_ne.html | 50 ++++++ 75_pl.html | 50 ++++++ 75_pt-br.html | 50 ++++++ 75_ro.html | 50 ++++++ 75_ru.html | 50 ++++++ 75_th.html | 50 ++++++ 75_tr.html | 50 ++++++ 75_ua.html | 50 ++++++ 75_vi.html | 50 ++++++ 75_zh-cn.html | 50 ++++++ 75_zh-tw.html | 50 ++++++ 76_al.html | 60 +++++++ 76_ar.html | 60 +++++++ 76_de.html | 60 +++++++ 76_en.html | 60 +++++++ 76_es.html | 60 +++++++ 76_fa.html | 60 +++++++ 76_fi.html | 60 +++++++ 76_fr.html | 64 +++++++ 76_gr.html | 60 +++++++ 76_hu.html | 63 +++++++ 76_id.html | 60 +++++++ 76_ie.html | 60 +++++++ 76_it.html | 60 +++++++ 76_ja.html | 60 +++++++ 76_ko.html | 60 +++++++ 76_ne.html | 60 +++++++ 76_pl.html | 60 +++++++ 76_pt-br.html | 60 +++++++ 76_ro.html | 60 +++++++ 76_ru.html | 60 +++++++ 76_th.html | 60 +++++++ 76_tr.html | 60 +++++++ 76_ua.html | 60 +++++++ 76_vi.html | 60 +++++++ 76_zh-cn.html | 60 +++++++ 76_zh-tw.html | 60 +++++++ 77_al.html | 49 ++++++ 77_ar.html | 49 ++++++ 77_de.html | 49 ++++++ 77_en.html | 49 ++++++ 77_es.html | 49 ++++++ 77_fa.html | 49 ++++++ 77_fi.html | 49 ++++++ 77_fr.html | 51 ++++++ 77_gr.html | 49 ++++++ 77_hu.html | 49 ++++++ 77_id.html | 49 ++++++ 77_ie.html | 49 ++++++ 77_it.html | 49 ++++++ 77_ja.html | 49 ++++++ 77_ko.html | 49 ++++++ 77_ne.html | 49 ++++++ 77_pl.html | 49 ++++++ 77_pt-br.html | 49 ++++++ 77_ro.html | 49 ++++++ 77_ru.html | 49 ++++++ 77_th.html | 49 ++++++ 77_tr.html | 49 ++++++ 77_ua.html | 49 ++++++ 77_vi.html | 49 ++++++ 77_zh-cn.html | 49 ++++++ 77_zh-tw.html | 49 ++++++ 78_al.html | 63 +++++++ 78_ar.html | 62 +++++++ 78_de.html | 63 +++++++ 78_en.html | 63 +++++++ 78_es.html | 62 +++++++ 78_fa.html | 63 +++++++ 78_fi.html | 63 +++++++ 78_fr.html | 67 ++++++++ 78_gr.html | 63 +++++++ 78_hu.html | 65 +++++++ 78_id.html | 63 +++++++ 78_ie.html | 63 +++++++ 78_it.html | 63 +++++++ 78_ja.html | 62 +++++++ 78_ko.html | 63 +++++++ 78_ne.html | 63 +++++++ 78_pl.html | 63 +++++++ 78_pt-br.html | 62 +++++++ 78_ro.html | 62 +++++++ 78_ru.html | 62 +++++++ 78_th.html | 63 +++++++ 78_tr.html | 62 +++++++ 78_ua.html | 63 +++++++ 78_vi.html | 62 +++++++ 78_zh-cn.html | 62 +++++++ 78_zh-tw.html | 62 +++++++ 79_al.html | 49 ++++++ 79_ar.html | 48 ++++++ 79_de.html | 49 ++++++ 79_en.html | 49 ++++++ 79_es.html | 48 ++++++ 79_fa.html | 49 ++++++ 79_fi.html | 49 ++++++ 79_fr.html | 50 ++++++ 79_gr.html | 49 ++++++ 79_hu.html | 49 ++++++ 79_id.html | 49 ++++++ 79_ie.html | 49 ++++++ 79_it.html | 49 ++++++ 79_ja.html | 48 ++++++ 79_ko.html | 49 ++++++ 79_ne.html | 49 ++++++ 79_pl.html | 49 ++++++ 79_pt-br.html | 48 ++++++ 79_ro.html | 48 ++++++ 79_ru.html | 48 ++++++ 79_th.html | 48 ++++++ 79_tr.html | 48 ++++++ 79_ua.html | 48 ++++++ 79_vi.html | 48 ++++++ 79_zh-cn.html | 48 ++++++ 79_zh-tw.html | 48 ++++++ 80_al.html | 47 +++++ 80_ar.html | 47 +++++ 80_de.html | 47 +++++ 80_en.html | 47 +++++ 80_es.html | 47 +++++ 80_fa.html | 47 +++++ 80_fi.html | 47 +++++ 80_fr.html | 47 +++++ 80_gr.html | 47 +++++ 80_hu.html | 47 +++++ 80_id.html | 47 +++++ 80_ie.html | 47 +++++ 80_it.html | 47 +++++ 80_ja.html | 47 +++++ 80_ko.html | 47 +++++ 80_ne.html | 47 +++++ 80_pl.html | 47 +++++ 80_pt-br.html | 47 +++++ 80_ro.html | 47 +++++ 80_ru.html | 47 +++++ 80_th.html | 47 +++++ 80_tr.html | 47 +++++ 80_ua.html | 47 +++++ 80_vi.html | 47 +++++ 80_zh-cn.html | 47 +++++ 80_zh-tw.html | 47 +++++ 81_al.html | 57 ++++++ 81_ar.html | 57 ++++++ 81_de.html | 57 ++++++ 81_en.html | 57 ++++++ 81_es.html | 57 ++++++ 81_fa.html | 57 ++++++ 81_fi.html | 57 ++++++ 81_fr.html | 63 +++++++ 81_gr.html | 57 ++++++ 81_hu.html | 62 +++++++ 81_id.html | 57 ++++++ 81_ie.html | 52 ++++++ 81_it.html | 57 ++++++ 81_ja.html | 57 ++++++ 81_ko.html | 57 ++++++ 81_ne.html | 57 ++++++ 81_pl.html | 57 ++++++ 81_pt-br.html | 57 ++++++ 81_ro.html | 57 ++++++ 81_ru.html | 57 ++++++ 81_th.html | 57 ++++++ 81_tr.html | 57 ++++++ 81_ua.html | 57 ++++++ 81_vi.html | 57 ++++++ 81_zh-cn.html | 57 ++++++ 81_zh-tw.html | 57 ++++++ 82_al.html | 51 ++++++ 82_ar.html | 50 ++++++ 82_de.html | 51 ++++++ 82_en.html | 51 ++++++ 82_es.html | 50 ++++++ 82_fa.html | 51 ++++++ 82_fi.html | 51 ++++++ 82_fr.html | 55 ++++++ 82_gr.html | 51 ++++++ 82_hu.html | 53 ++++++ 82_id.html | 51 ++++++ 82_ie.html | 51 ++++++ 82_it.html | 51 ++++++ 82_ja.html | 50 ++++++ 82_ko.html | 51 ++++++ 82_ne.html | 51 ++++++ 82_pl.html | 51 ++++++ 82_pt-br.html | 50 ++++++ 82_ro.html | 51 ++++++ 82_ru.html | 50 ++++++ 82_th.html | 50 ++++++ 82_tr.html | 50 ++++++ 82_ua.html | 50 ++++++ 82_vi.html | 51 ++++++ 82_zh-cn.html | 50 ++++++ 82_zh-tw.html | 50 ++++++ 83_al.html | 50 ++++++ 83_ar.html | 49 ++++++ 83_de.html | 50 ++++++ 83_en.html | 50 ++++++ 83_es.html | 49 ++++++ 83_fa.html | 50 ++++++ 83_fi.html | 50 ++++++ 83_fr.html | 56 ++++++ 83_gr.html | 50 ++++++ 83_hu.html | 55 ++++++ 83_id.html | 50 ++++++ 83_ie.html | 50 ++++++ 83_it.html | 58 +++++++ 83_ja.html | 51 ++++++ 83_ko.html | 50 ++++++ 83_ne.html | 50 ++++++ 83_pl.html | 50 ++++++ 83_pt-br.html | 50 ++++++ 83_ro.html | 53 ++++++ 83_ru.html | 50 ++++++ 83_th.html | 50 ++++++ 83_tr.html | 49 ++++++ 83_ua.html | 50 ++++++ 83_vi.html | 49 ++++++ 83_zh-cn.html | 49 ++++++ 83_zh-tw.html | 49 ++++++ 84_al.html | 58 +++++++ 84_ar.html | 56 ++++++ 84_de.html | 58 +++++++ 84_en.html | 58 +++++++ 84_es.html | 56 ++++++ 84_fa.html | 58 +++++++ 84_fi.html | 58 +++++++ 84_fr.html | 62 +++++++ 84_gr.html | 58 +++++++ 84_hu.html | 61 +++++++ 84_id.html | 58 +++++++ 84_ie.html | 58 +++++++ 84_it.html | 56 ++++++ 84_ja.html | 56 ++++++ 84_ko.html | 58 +++++++ 84_ne.html | 58 +++++++ 84_pl.html | 58 +++++++ 84_pt-br.html | 56 ++++++ 84_ro.html | 57 ++++++ 84_ru.html | 56 ++++++ 84_th.html | 56 ++++++ 84_tr.html | 56 ++++++ 84_ua.html | 56 ++++++ 84_vi.html | 56 ++++++ 84_zh-cn.html | 56 ++++++ 84_zh-tw.html | 56 ++++++ 85_al.html | 59 +++++++ 85_ar.html | 59 +++++++ 85_de.html | 59 +++++++ 85_en.html | 59 +++++++ 85_es.html | 59 +++++++ 85_fa.html | 59 +++++++ 85_fi.html | 59 +++++++ 85_fr.html | 60 +++++++ 85_gr.html | 59 +++++++ 85_hu.html | 59 +++++++ 85_id.html | 59 +++++++ 85_ie.html | 59 +++++++ 85_it.html | 54 ++++++ 85_ja.html | 59 +++++++ 85_ko.html | 59 +++++++ 85_ne.html | 59 +++++++ 85_pl.html | 59 +++++++ 85_pt-br.html | 59 +++++++ 85_ro.html | 59 +++++++ 85_ru.html | 59 +++++++ 85_th.html | 59 +++++++ 85_tr.html | 59 +++++++ 85_ua.html | 59 +++++++ 85_vi.html | 59 +++++++ 85_zh-cn.html | 59 +++++++ 85_zh-tw.html | 59 +++++++ 86_al.html | 54 ++++++ 86_ar.html | 52 ++++++ 86_de.html | 54 ++++++ 86_en.html | 54 ++++++ 86_es.html | 52 ++++++ 86_fa.html | 54 ++++++ 86_fi.html | 54 ++++++ 86_fr.html | 56 ++++++ 86_gr.html | 54 ++++++ 86_hu.html | 55 ++++++ 86_id.html | 54 ++++++ 86_ie.html | 53 ++++++ 86_it.html | 60 +++++++ 86_ja.html | 52 ++++++ 86_ko.html | 53 ++++++ 86_ne.html | 54 ++++++ 86_pl.html | 54 ++++++ 86_pt-br.html | 52 ++++++ 86_ro.html | 53 ++++++ 86_ru.html | 52 ++++++ 86_th.html | 52 ++++++ 86_tr.html | 51 ++++++ 86_ua.html | 52 ++++++ 86_vi.html | 52 ++++++ 86_zh-cn.html | 52 ++++++ 86_zh-tw.html | 52 ++++++ 87_al.html | 58 +++++++ 87_ar.html | 58 +++++++ 87_de.html | 58 +++++++ 87_en.html | 58 +++++++ 87_es.html | 58 +++++++ 87_fa.html | 58 +++++++ 87_fi.html | 58 +++++++ 87_fr.html | 61 +++++++ 87_gr.html | 58 +++++++ 87_hu.html | 60 +++++++ 87_id.html | 58 +++++++ 87_ie.html | 60 +++++++ 87_it.html | 54 ++++++ 87_ja.html | 58 +++++++ 87_ko.html | 58 +++++++ 87_ne.html | 58 +++++++ 87_pl.html | 58 +++++++ 87_pt-br.html | 58 +++++++ 87_ro.html | 58 +++++++ 87_ru.html | 58 +++++++ 87_th.html | 58 +++++++ 87_tr.html | 59 +++++++ 87_ua.html | 58 +++++++ 87_vi.html | 58 +++++++ 87_zh-cn.html | 58 +++++++ 87_zh-tw.html | 58 +++++++ 88_al.html | 54 ++++++ 88_ar.html | 50 ++++++ 88_de.html | 54 ++++++ 88_en.html | 54 ++++++ 88_es.html | 52 ++++++ 88_fa.html | 54 ++++++ 88_fi.html | 54 ++++++ 88_fr.html | 58 +++++++ 88_gr.html | 54 ++++++ 88_hu.html | 56 ++++++ 88_id.html | 54 ++++++ 88_ie.html | 49 ++++++ 88_it.html | 54 ++++++ 88_ja.html | 53 ++++++ 88_ko.html | 53 ++++++ 88_ne.html | 54 ++++++ 88_pl.html | 54 ++++++ 88_pt-br.html | 50 ++++++ 88_ro.html | 52 ++++++ 88_ru.html | 52 ++++++ 88_th.html | 51 ++++++ 88_tr.html | 50 ++++++ 88_ua.html | 54 ++++++ 88_vi.html | 50 ++++++ 88_zh-cn.html | 51 ++++++ 88_zh-tw.html | 51 ++++++ 90_al.html | 49 ++++++ 90_ar.html | 45 +++++ 90_de.html | 49 ++++++ 90_en.html | 49 ++++++ 90_es.html | 45 +++++ 90_fa.html | 49 ++++++ 90_fi.html | 49 ++++++ 90_fr.html | 50 ++++++ 90_gr.html | 49 ++++++ 90_hu.html | 49 ++++++ 90_id.html | 49 ++++++ 90_ie.html | 49 ++++++ 90_it.html | 49 ++++++ 90_ja.html | 49 ++++++ 90_ko.html | 48 ++++++ 90_ne.html | 49 ++++++ 90_pl.html | 49 ++++++ 90_pt-br.html | 45 +++++ 90_ro.html | 49 ++++++ 90_ru.html | 45 +++++ 90_th.html | 46 +++++ 90_tr.html | 45 +++++ 90_ua.html | 49 ++++++ 90_vi.html | 45 +++++ 90_zh-cn.html | 45 +++++ 90_zh-tw.html | 49 ++++++ 91_al.html | 64 +++++++ 91_ar.html | 59 +++++++ 91_de.html | 64 +++++++ 91_en.html | 64 +++++++ 91_es.html | 58 +++++++ 91_fa.html | 63 +++++++ 91_fi.html | 64 +++++++ 91_fr.html | 72 ++++++++ 91_gr.html | 64 +++++++ 91_hu.html | 65 +++++++ 91_id.html | 64 +++++++ 91_ie.html | 63 +++++++ 91_it.html | 64 +++++++ 91_ja.html | 64 +++++++ 91_ko.html | 63 +++++++ 91_ne.html | 64 +++++++ 91_pl.html | 64 +++++++ 91_pt-br.html | 59 +++++++ 91_ro.html | 65 +++++++ 91_ru.html | 60 +++++++ 91_th.html | 64 +++++++ 91_tr.html | 59 +++++++ 91_ua.html | 64 +++++++ 91_vi.html | 59 +++++++ 91_zh-cn.html | 59 +++++++ 91_zh-tw.html | 64 +++++++ 92_al.html | 52 ++++++ 92_ar.html | 51 ++++++ 92_de.html | 52 ++++++ 92_en.html | 52 ++++++ 92_es.html | 51 ++++++ 92_fa.html | 52 ++++++ 92_fi.html | 52 ++++++ 92_fr.html | 53 ++++++ 92_gr.html | 52 ++++++ 92_hu.html | 52 ++++++ 92_id.html | 52 ++++++ 92_ie.html | 52 ++++++ 92_it.html | 52 ++++++ 92_ja.html | 52 ++++++ 92_ko.html | 52 ++++++ 92_ne.html | 52 ++++++ 92_pl.html | 52 ++++++ 92_pt-br.html | 51 ++++++ 92_ro.html | 52 ++++++ 92_ru.html | 52 ++++++ 92_th.html | 52 ++++++ 92_tr.html | 52 ++++++ 92_ua.html | 52 ++++++ 92_vi.html | 51 ++++++ 92_zh-cn.html | 51 ++++++ 92_zh-tw.html | 52 ++++++ 93_al.html | 57 ++++++ 93_ar.html | 56 ++++++ 93_de.html | 57 ++++++ 93_en.html | 57 ++++++ 93_es.html | 56 ++++++ 93_fa.html | 57 ++++++ 93_fi.html | 57 ++++++ 93_fr.html | 58 +++++++ 93_gr.html | 57 ++++++ 93_hu.html | 57 ++++++ 93_id.html | 57 ++++++ 93_ie.html | 57 ++++++ 93_it.html | 57 ++++++ 93_ja.html | 57 ++++++ 93_ko.html | 57 ++++++ 93_ne.html | 57 ++++++ 93_pl.html | 57 ++++++ 93_pt-br.html | 56 ++++++ 93_ro.html | 57 ++++++ 93_ru.html | 56 ++++++ 93_th.html | 57 ++++++ 93_tr.html | 56 ++++++ 93_ua.html | 57 ++++++ 93_vi.html | 56 ++++++ 93_zh-cn.html | 56 ++++++ 93_zh-tw.html | 57 ++++++ 94_al.html | 55 ++++++ 94_ar.html | 54 ++++++ 94_de.html | 55 ++++++ 94_en.html | 55 ++++++ 94_es.html | 54 ++++++ 94_fa.html | 55 ++++++ 94_fi.html | 55 ++++++ 94_fr.html | 58 +++++++ 94_gr.html | 55 ++++++ 94_hu.html | 56 ++++++ 94_id.html | 55 ++++++ 94_ie.html | 56 ++++++ 94_it.html | 55 ++++++ 94_ja.html | 55 ++++++ 94_ko.html | 55 ++++++ 94_ne.html | 55 ++++++ 94_pl.html | 55 ++++++ 94_pt-br.html | 54 ++++++ 94_ro.html | 55 ++++++ 94_ru.html | 54 ++++++ 94_th.html | 54 ++++++ 94_tr.html | 54 ++++++ 94_ua.html | 55 ++++++ 94_vi.html | 54 ++++++ 94_zh-cn.html | 54 ++++++ 94_zh-tw.html | 55 ++++++ 95_al.html | 53 ++++++ 95_ar.html | 49 ++++++ 95_de.html | 53 ++++++ 95_en.html | 53 ++++++ 95_es.html | 49 ++++++ 95_fa.html | 53 ++++++ 95_fi.html | 53 ++++++ 95_fr.html | 57 ++++++ 95_gr.html | 53 ++++++ 95_hu.html | 53 ++++++ 95_id.html | 53 ++++++ 95_ie.html | 53 ++++++ 95_it.html | 53 ++++++ 95_ja.html | 53 ++++++ 95_ko.html | 53 ++++++ 95_ne.html | 53 ++++++ 95_pl.html | 53 ++++++ 95_pt-br.html | 49 ++++++ 95_ro.html | 53 ++++++ 95_ru.html | 49 ++++++ 95_th.html | 50 ++++++ 95_tr.html | 49 ++++++ 95_ua.html | 53 ++++++ 95_vi.html | 49 ++++++ 95_zh-cn.html | 49 ++++++ 95_zh-tw.html | 53 ++++++ 96_al.html | 55 ++++++ 96_ar.html | 51 ++++++ 96_de.html | 55 ++++++ 96_en.html | 55 ++++++ 96_es.html | 50 ++++++ 96_fa.html | 55 ++++++ 96_fi.html | 55 ++++++ 96_fr.html | 59 +++++++ 96_gr.html | 55 ++++++ 96_hu.html | 61 +++++++ 96_id.html | 55 ++++++ 96_ie.html | 56 ++++++ 96_it.html | 55 ++++++ 96_ja.html | 55 ++++++ 96_ko.html | 55 ++++++ 96_ne.html | 55 ++++++ 96_pl.html | 55 ++++++ 96_pt-br.html | 51 ++++++ 96_ro.html | 55 ++++++ 96_ru.html | 51 ++++++ 96_th.html | 52 ++++++ 96_tr.html | 50 ++++++ 96_ua.html | 55 ++++++ 96_vi.html | 51 ++++++ 96_zh-cn.html | 51 ++++++ 96_zh-tw.html | 55 ++++++ 97_al.html | 58 +++++++ 97_ar.html | 54 ++++++ 97_de.html | 58 +++++++ 97_en.html | 58 +++++++ 97_es.html | 54 ++++++ 97_fa.html | 58 +++++++ 97_fi.html | 58 +++++++ 97_fr.html | 66 +++++++ 97_gr.html | 58 +++++++ 97_hu.html | 64 +++++++ 97_id.html | 58 +++++++ 97_ie.html | 58 +++++++ 97_it.html | 58 +++++++ 97_ja.html | 58 +++++++ 97_ko.html | 59 +++++++ 97_ne.html | 58 +++++++ 97_pl.html | 58 +++++++ 97_pt-br.html | 54 ++++++ 97_ro.html | 58 +++++++ 97_ru.html | 54 ++++++ 97_th.html | 55 ++++++ 97_tr.html | 54 ++++++ 97_ua.html | 58 +++++++ 97_vi.html | 54 ++++++ 97_zh-cn.html | 56 ++++++ 97_zh-tw.html | 58 +++++++ 98_al.html | 48 ++++++ 98_ar.html | 48 ++++++ 98_de.html | 48 ++++++ 98_en.html | 48 ++++++ 98_es.html | 48 ++++++ 98_fa.html | 48 ++++++ 98_fi.html | 48 ++++++ 98_fr.html | 50 ++++++ 98_gr.html | 48 ++++++ 98_hu.html | 48 ++++++ 98_id.html | 48 ++++++ 98_ie.html | 48 ++++++ 98_it.html | 48 ++++++ 98_ja.html | 48 ++++++ 98_ko.html | 48 ++++++ 98_ne.html | 48 ++++++ 98_pl.html | 48 ++++++ 98_pt-br.html | 48 ++++++ 98_ro.html | 48 ++++++ 98_ru.html | 48 ++++++ 98_th.html | 48 ++++++ 98_tr.html | 48 ++++++ 98_ua.html | 48 ++++++ 98_vi.html | 48 ++++++ 98_zh-cn.html | 48 ++++++ 98_zh-tw.html | 48 ++++++ 99_al.html | 55 ++++++ 99_ar.html | 51 ++++++ 99_de.html | 55 ++++++ 99_en.html | 55 ++++++ 99_es.html | 51 ++++++ 99_fa.html | 55 ++++++ 99_fi.html | 55 ++++++ 99_fr.html | 60 +++++++ 99_gr.html | 55 ++++++ 99_hu.html | 56 ++++++ 99_id.html | 55 ++++++ 99_ie.html | 55 ++++++ 99_it.html | 55 ++++++ 99_ja.html | 55 ++++++ 99_ko.html | 55 ++++++ 99_ne.html | 55 ++++++ 99_pl.html | 55 ++++++ 99_pt-br.html | 51 ++++++ 99_ro.html | 55 ++++++ 99_ru.html | 51 ++++++ 99_th.html | 51 ++++++ 99_tr.html | 51 ++++++ 99_ua.html | 55 ++++++ 99_vi.html | 51 ++++++ 99_zh-cn.html | 51 ++++++ 99_zh-tw.html | 55 ++++++ docs/CNAME => CNAME | 0 TOC_al.html | 162 ++++++++++++++++++ TOC_ar.html | 162 ++++++++++++++++++ TOC_de.html | 162 ++++++++++++++++++ TOC_en.html | 162 ++++++++++++++++++ TOC_es.html | 162 ++++++++++++++++++ TOC_fa.html | 162 ++++++++++++++++++ TOC_fi.html | 162 ++++++++++++++++++ TOC_fr.html | 162 ++++++++++++++++++ TOC_gr.html | 162 ++++++++++++++++++ TOC_hu.html | 162 ++++++++++++++++++ TOC_id.html | 162 ++++++++++++++++++ TOC_ie.html | 162 ++++++++++++++++++ TOC_it.html | 162 ++++++++++++++++++ TOC_ja.html | 162 ++++++++++++++++++ TOC_ko.html | 162 ++++++++++++++++++ TOC_ne.html | 162 ++++++++++++++++++ TOC_pl.html | 162 ++++++++++++++++++ TOC_pt-br.html | 162 ++++++++++++++++++ TOC_ro.html | 162 ++++++++++++++++++ TOC_ru.html | 162 ++++++++++++++++++ TOC_th.html | 162 ++++++++++++++++++ TOC_tr.html | 162 ++++++++++++++++++ TOC_ua.html | 162 ++++++++++++++++++ TOC_vi.html | 162 ++++++++++++++++++ TOC_zh-cn.html | 162 ++++++++++++++++++ TOC_zh-tw.html | 162 ++++++++++++++++++ ...-192x192.png => android-chrome-192x192.png | Bin ...-512x512.png => android-chrome-512x512.png | Bin ...ple-touch-icon.png => apple-touch-icon.png | Bin beta_00_al.html | 75 ++++++++ beta_00_ar.html | 75 ++++++++ beta_00_de.html | 77 +++++++++ beta_00_es.html | 77 +++++++++ beta_00_fa.html | 71 ++++++++ beta_00_fi.html | 82 +++++++++ beta_00_fr.html | 77 +++++++++ beta_00_gr.html | 70 ++++++++ beta_00_hu.html | 76 ++++++++ beta_00_id.html | 71 ++++++++ beta_00_ie.html | 47 +++++ beta_00_it.html | 74 ++++++++ beta_00_ja.html | 75 ++++++++ beta_00_ko.html | 71 ++++++++ beta_00_ne.html | 80 +++++++++ beta_00_pl.html | 69 ++++++++ beta_00_pt-br.html | 71 ++++++++ beta_00_ro.html | 80 +++++++++ beta_00_ru.html | 74 ++++++++ beta_00_th.html | 70 ++++++++ beta_00_tr.html | 69 ++++++++ beta_00_ua.html | 70 ++++++++ beta_00_vi.html | 74 ++++++++ beta_00_zh-cn.html | 71 ++++++++ beta_00_zh-tw.html | 71 ++++++++ beta_02_al.html | 49 ++++++ beta_02_ar.html | 48 ++++++ beta_02_de.html | 49 ++++++ beta_02_en.html | 48 ++++++ beta_02_es.html | 48 ++++++ beta_02_fa.html | 48 ++++++ beta_02_fi.html | 48 ++++++ beta_02_fr.html | 48 ++++++ beta_02_gr.html | 48 ++++++ beta_02_hu.html | 50 ++++++ beta_02_id.html | 48 ++++++ beta_02_ie.html | 47 +++++ beta_02_it.html | 48 ++++++ beta_02_ja.html | 48 ++++++ beta_02_ko.html | 48 ++++++ beta_02_ne.html | 48 ++++++ beta_02_pl.html | 48 ++++++ beta_02_pt-br.html | 48 ++++++ beta_02_ro.html | 48 ++++++ beta_02_ru.html | 48 ++++++ beta_02_th.html | 48 ++++++ beta_02_tr.html | 48 ++++++ beta_02_ua.html | 48 ++++++ beta_02_vi.html | 48 ++++++ beta_02_zh-cn.html | 48 ++++++ beta_02_zh-tw.html | 48 ++++++ beta_03_al.html | 55 ++++++ beta_03_ar.html | 51 ++++++ beta_03_de.html | 47 +++++ beta_03_en.html | 52 ++++++ beta_03_es.html | 52 ++++++ beta_03_fa.html | 52 ++++++ beta_03_fi.html | 50 ++++++ beta_03_fr.html | 53 ++++++ beta_03_gr.html | 50 ++++++ beta_03_hu.html | 52 ++++++ beta_03_id.html | 50 ++++++ beta_03_ie.html | 47 +++++ beta_03_it.html | 52 ++++++ beta_03_ja.html | 51 ++++++ beta_03_ko.html | 52 ++++++ beta_03_ne.html | 50 ++++++ beta_03_pl.html | 51 ++++++ beta_03_pt-br.html | 51 ++++++ beta_03_ro.html | 52 ++++++ beta_03_ru.html | 50 ++++++ beta_03_th.html | 50 ++++++ beta_03_tr.html | 50 ++++++ beta_03_ua.html | 50 ++++++ beta_03_vi.html | 50 ++++++ beta_03_zh-cn.html | 50 ++++++ beta_03_zh-tw.html | 50 ++++++ beta_04_al.html | 56 ++++++ beta_04_ar.html | 53 ++++++ beta_04_de.html | 56 ++++++ beta_04_en.html | 54 ++++++ beta_04_es.html | 54 ++++++ beta_04_fa.html | 54 ++++++ beta_04_fi.html | 53 ++++++ beta_04_fr.html | 54 ++++++ beta_04_gr.html | 53 ++++++ beta_04_hu.html | 56 ++++++ beta_04_id.html | 53 ++++++ beta_04_ie.html | 47 +++++ beta_04_it.html | 54 ++++++ beta_04_ja.html | 53 ++++++ beta_04_ko.html | 53 ++++++ beta_04_ne.html | 53 ++++++ beta_04_pl.html | 53 ++++++ beta_04_pt-br.html | 53 ++++++ beta_04_ro.html | 54 ++++++ beta_04_ru.html | 53 ++++++ beta_04_th.html | 53 ++++++ beta_04_tr.html | 53 ++++++ beta_04_ua.html | 53 ++++++ beta_04_vi.html | 53 ++++++ beta_04_zh-cn.html | 53 ++++++ beta_04_zh-tw.html | 53 ++++++ beta_05_al.html | 68 ++++++++ beta_05_ar.html | 64 +++++++ beta_05_de.html | 65 +++++++ beta_05_en.html | 64 +++++++ beta_05_es.html | 60 +++++++ beta_05_fa.html | 63 +++++++ beta_05_fi.html | 61 +++++++ beta_05_fr.html | 65 +++++++ beta_05_gr.html | 60 +++++++ beta_05_hu.html | 72 ++++++++ beta_05_id.html | 63 +++++++ beta_05_ie.html | 47 +++++ beta_05_it.html | 62 +++++++ beta_05_ja.html | 61 +++++++ beta_05_ko.html | 62 +++++++ beta_05_ne.html | 63 +++++++ beta_05_pl.html | 60 +++++++ beta_05_pt-br.html | 60 +++++++ beta_05_ro.html | 64 +++++++ beta_05_ru.html | 60 +++++++ beta_05_th.html | 61 +++++++ beta_05_tr.html | 60 +++++++ beta_05_ua.html | 60 +++++++ beta_05_vi.html | 62 +++++++ beta_05_zh-cn.html | 61 +++++++ beta_05_zh-tw.html | 62 +++++++ beta_06_al.html | 51 ++++++ beta_06_ar.html | 48 ++++++ beta_06_de.html | 50 ++++++ beta_06_en.html | 50 ++++++ beta_06_es.html | 48 ++++++ beta_06_fa.html | 50 ++++++ beta_06_fi.html | 48 ++++++ beta_06_fr.html | 49 ++++++ beta_06_gr.html | 48 ++++++ beta_06_hu.html | 49 ++++++ beta_06_id.html | 50 ++++++ beta_06_ie.html | 47 +++++ beta_06_it.html | 49 ++++++ beta_06_ja.html | 48 ++++++ beta_06_ko.html | 48 ++++++ beta_06_ne.html | 51 ++++++ beta_06_pl.html | 48 ++++++ beta_06_pt-br.html | 48 ++++++ beta_06_ro.html | 50 ++++++ beta_06_ru.html | 48 ++++++ beta_06_th.html | 48 ++++++ beta_06_tr.html | 48 ++++++ beta_06_ua.html | 48 ++++++ beta_06_vi.html | 48 ++++++ beta_06_zh-cn.html | 48 ++++++ beta_06_zh-tw.html | 48 ++++++ beta_07_al.html | 53 ++++++ beta_07_ar.html | 49 ++++++ beta_07_de.html | 51 ++++++ beta_07_en.html | 52 ++++++ beta_07_es.html | 49 ++++++ beta_07_fa.html | 52 ++++++ beta_07_fi.html | 49 ++++++ beta_07_fr.html | 52 ++++++ beta_07_gr.html | 49 ++++++ beta_07_hu.html | 51 ++++++ beta_07_id.html | 54 ++++++ beta_07_ie.html | 47 +++++ beta_07_it.html | 50 ++++++ beta_07_ja.html | 50 ++++++ beta_07_ko.html | 50 ++++++ beta_07_ne.html | 52 ++++++ beta_07_pl.html | 49 ++++++ beta_07_pt-br.html | 49 ++++++ beta_07_ro.html | 51 ++++++ beta_07_ru.html | 49 ++++++ beta_07_th.html | 49 ++++++ beta_07_tr.html | 48 ++++++ beta_07_ua.html | 49 ++++++ beta_07_vi.html | 49 ++++++ beta_07_zh-cn.html | 49 ++++++ beta_07_zh-tw.html | 50 ++++++ beta_08_al.html | 54 ++++++ beta_08_ar.html | 50 ++++++ beta_08_de.html | 49 ++++++ beta_08_en.html | 50 ++++++ beta_08_es.html | 49 ++++++ beta_08_fa.html | 49 ++++++ beta_08_fi.html | 50 ++++++ beta_08_fr.html | 52 ++++++ beta_08_gr.html | 49 ++++++ beta_08_hu.html | 52 ++++++ beta_08_id.html | 49 ++++++ beta_08_ie.html | 50 ++++++ beta_08_it.html | 50 ++++++ beta_08_ja.html | 49 ++++++ beta_08_ko.html | 49 ++++++ beta_08_ne.html | 50 ++++++ beta_08_pl.html | 49 ++++++ beta_08_pt-br.html | 49 ++++++ beta_08_ro.html | 50 ++++++ beta_08_ru.html | 49 ++++++ beta_08_th.html | 49 ++++++ beta_08_tr.html | 49 ++++++ beta_08_ua.html | 49 ++++++ beta_08_vi.html | 50 ++++++ beta_08_zh-cn.html | 49 ++++++ beta_08_zh-tw.html | 49 ++++++ beta_09_al.html | 54 ++++++ beta_09_ar.html | 51 ++++++ beta_09_de.html | 50 ++++++ beta_09_en.html | 51 ++++++ beta_09_es.html | 49 ++++++ beta_09_fa.html | 50 ++++++ beta_09_fi.html | 51 ++++++ beta_09_fr.html | 50 ++++++ beta_09_gr.html | 49 ++++++ beta_09_hu.html | 49 ++++++ beta_09_id.html | 49 ++++++ beta_09_ie.html | 47 +++++ beta_09_it.html | 51 ++++++ beta_09_ja.html | 49 ++++++ beta_09_ko.html | 49 ++++++ beta_09_ne.html | 51 ++++++ beta_09_pl.html | 49 ++++++ beta_09_pt-br.html | 49 ++++++ beta_09_ro.html | 51 ++++++ beta_09_ru.html | 50 ++++++ beta_09_th.html | 50 ++++++ beta_09_tr.html | 49 ++++++ beta_09_ua.html | 49 ++++++ beta_09_vi.html | 51 ++++++ beta_09_zh-cn.html | 49 ++++++ beta_09_zh-tw.html | 49 ++++++ beta_100_ar.html | 48 ++++++ beta_100_en.html | 50 ++++++ beta_100_es.html | 48 ++++++ beta_100_fa.html | 50 ++++++ beta_100_fr.html | 51 ++++++ beta_100_hu.html | 50 ++++++ beta_100_ie.html | 49 ++++++ beta_100_ko.html | 49 ++++++ beta_100_pl.html | 50 ++++++ beta_100_pt-br.html | 48 ++++++ beta_100_ro.html | 50 ++++++ beta_100_ru.html | 48 ++++++ beta_100_th.html | 48 ++++++ beta_100_tr.html | 48 ++++++ beta_100_ua.html | 50 ++++++ beta_100_vi.html | 48 ++++++ beta_100_zh-cn.html | 48 ++++++ beta_101_ar.html | 49 ++++++ beta_101_en.html | 52 ++++++ beta_101_es.html | 49 ++++++ beta_101_fa.html | 52 ++++++ beta_101_fr.html | 53 ++++++ beta_101_hu.html | 53 ++++++ beta_101_ie.html | 52 ++++++ beta_101_ko.html | 51 ++++++ beta_101_pl.html | 52 ++++++ beta_101_pt-br.html | 49 ++++++ beta_101_ro.html | 51 ++++++ beta_101_ru.html | 49 ++++++ beta_101_th.html | 50 ++++++ beta_101_tr.html | 49 ++++++ beta_101_ua.html | 52 ++++++ beta_101_vi.html | 49 ++++++ beta_101_zh-cn.html | 49 ++++++ beta_102_ar.html | 49 ++++++ beta_102_en.html | 54 ++++++ beta_102_es.html | 49 ++++++ beta_102_fa.html | 54 ++++++ beta_102_fr.html | 59 +++++++ beta_102_hu.html | 57 ++++++ beta_102_ie.html | 53 ++++++ beta_102_ko.html | 54 ++++++ beta_102_pl.html | 54 ++++++ beta_102_pt-br.html | 49 ++++++ beta_102_ro.html | 53 ++++++ beta_102_ru.html | 50 ++++++ beta_102_th.html | 50 ++++++ beta_102_tr.html | 49 ++++++ beta_102_ua.html | 54 ++++++ beta_102_vi.html | 50 ++++++ beta_102_zh-cn.html | 49 ++++++ beta_103_ar.html | 54 ++++++ beta_103_en.html | 56 ++++++ beta_103_es.html | 54 ++++++ beta_103_fa.html | 56 ++++++ beta_103_fr.html | 68 ++++++++ beta_103_hu.html | 66 +++++++ beta_103_ie.html | 56 ++++++ beta_103_ko.html | 54 ++++++ beta_103_pl.html | 56 ++++++ beta_103_pt-br.html | 54 ++++++ beta_103_ro.html | 56 ++++++ beta_103_ru.html | 56 ++++++ beta_103_th.html | 54 ++++++ beta_103_tr.html | 54 ++++++ beta_103_ua.html | 54 ++++++ beta_103_vi.html | 54 ++++++ beta_103_zh-cn.html | 55 ++++++ beta_104_ar.html | 46 +++++ beta_104_en.html | 49 ++++++ beta_104_es.html | 45 +++++ beta_104_fa.html | 49 ++++++ beta_104_fr.html | 49 ++++++ beta_104_hu.html | 49 ++++++ beta_104_ie.html | 48 ++++++ beta_104_ko.html | 48 ++++++ beta_104_pl.html | 49 ++++++ beta_104_pt-br.html | 45 +++++ beta_104_ro.html | 49 ++++++ beta_104_ru.html | 47 +++++ beta_104_th.html | 46 +++++ beta_104_tr.html | 46 +++++ beta_104_ua.html | 46 +++++ beta_104_vi.html | 45 +++++ beta_104_zh-cn.html | 45 +++++ beta_106_ar.html | 49 ++++++ beta_106_de.html | 48 ++++++ beta_106_en.html | 49 ++++++ beta_106_es.html | 49 ++++++ beta_106_fa.html | 49 ++++++ beta_106_fr.html | 50 ++++++ beta_106_hu.html | 51 ++++++ beta_106_ie.html | 48 ++++++ beta_106_ko.html | 49 ++++++ beta_106_pl.html | 49 ++++++ beta_106_pt-br.html | 49 ++++++ beta_106_ro.html | 49 ++++++ beta_106_ru.html | 50 ++++++ beta_106_th.html | 49 ++++++ beta_106_tr.html | 50 ++++++ beta_106_ua.html | 49 ++++++ beta_106_vi.html | 49 ++++++ beta_106_zh-cn.html | 49 ++++++ beta_107_ar.html | 45 +++++ beta_107_de.html | 45 +++++ beta_107_en.html | 45 +++++ beta_107_es.html | 45 +++++ beta_107_fa.html | 45 +++++ beta_107_fr.html | 45 +++++ beta_107_hu.html | 45 +++++ beta_107_ie.html | 45 +++++ beta_107_ko.html | 45 +++++ beta_107_pl.html | 45 +++++ beta_107_pt-br.html | 45 +++++ beta_107_ro.html | 45 +++++ beta_107_ru.html | 45 +++++ beta_107_th.html | 45 +++++ beta_107_tr.html | 45 +++++ beta_107_ua.html | 45 +++++ beta_107_vi.html | 45 +++++ beta_107_zh-cn.html | 45 +++++ beta_108_ar.html | 45 +++++ beta_108_de.html | 45 +++++ beta_108_en.html | 45 +++++ beta_108_es.html | 45 +++++ beta_108_fa.html | 45 +++++ beta_108_fr.html | 45 +++++ beta_108_hu.html | 45 +++++ beta_108_ie.html | 45 +++++ beta_108_ko.html | 45 +++++ beta_108_pl.html | 45 +++++ beta_108_pt-br.html | 45 +++++ beta_108_ro.html | 45 +++++ beta_108_ru.html | 45 +++++ beta_108_th.html | 45 +++++ beta_108_tr.html | 45 +++++ beta_108_ua.html | 45 +++++ beta_108_vi.html | 45 +++++ beta_108_zh-cn.html | 45 +++++ beta_109_ar.html | 55 ++++++ beta_109_de.html | 51 ++++++ beta_109_en.html | 53 ++++++ beta_109_es.html | 50 ++++++ beta_109_fa.html | 53 ++++++ beta_109_fr.html | 58 +++++++ beta_109_hu.html | 57 ++++++ beta_109_ie.html | 50 ++++++ beta_109_ko.html | 53 ++++++ beta_109_pl.html | 53 ++++++ beta_109_pt-br.html | 50 ++++++ beta_109_ro.html | 52 ++++++ beta_109_ru.html | 50 ++++++ beta_109_th.html | 51 ++++++ beta_109_tr.html | 50 ++++++ beta_109_ua.html | 53 ++++++ beta_109_vi.html | 50 ++++++ beta_109_zh-cn.html | 51 ++++++ beta_10_al.html | 53 ++++++ beta_10_ar.html | 49 ++++++ beta_10_de.html | 50 ++++++ beta_10_en.html | 51 ++++++ beta_10_es.html | 49 ++++++ beta_10_fa.html | 51 ++++++ beta_10_fi.html | 49 ++++++ beta_10_fr.html | 50 ++++++ beta_10_gr.html | 49 ++++++ beta_10_hu.html | 50 ++++++ beta_10_id.html | 51 ++++++ beta_10_ie.html | 47 +++++ beta_10_it.html | 50 ++++++ beta_10_ja.html | 49 ++++++ beta_10_ko.html | 49 ++++++ beta_10_ne.html | 49 ++++++ beta_10_pl.html | 49 ++++++ beta_10_pt-br.html | 49 ++++++ beta_10_ro.html | 51 ++++++ beta_10_ru.html | 49 ++++++ beta_10_th.html | 49 ++++++ beta_10_tr.html | 49 ++++++ beta_10_ua.html | 49 ++++++ beta_10_vi.html | 49 ++++++ beta_10_zh-cn.html | 49 ++++++ beta_10_zh-tw.html | 49 ++++++ beta_110_ar.html | 48 ++++++ beta_110_de.html | 48 ++++++ beta_110_en.html | 48 ++++++ beta_110_es.html | 48 ++++++ beta_110_fa.html | 48 ++++++ beta_110_fr.html | 47 +++++ beta_110_hu.html | 49 ++++++ beta_110_ie.html | 52 ++++++ beta_110_ko.html | 48 ++++++ beta_110_pl.html | 48 ++++++ beta_110_pt-br.html | 48 ++++++ beta_110_ro.html | 48 ++++++ beta_110_ru.html | 48 ++++++ beta_110_th.html | 48 ++++++ beta_110_tr.html | 48 ++++++ beta_110_ua.html | 48 ++++++ beta_110_vi.html | 48 ++++++ beta_110_zh-cn.html | 48 ++++++ beta_111_ar.html | 50 ++++++ beta_111_de.html | 51 ++++++ beta_111_en.html | 53 ++++++ beta_111_es.html | 50 ++++++ beta_111_fa.html | 53 ++++++ beta_111_fr.html | 54 ++++++ beta_111_hu.html | 52 ++++++ beta_111_ie.html | 49 ++++++ beta_111_ko.html | 52 ++++++ beta_111_pl.html | 53 ++++++ beta_111_pt-br.html | 50 ++++++ beta_111_ro.html | 53 ++++++ beta_111_ru.html | 52 ++++++ beta_111_th.html | 51 ++++++ beta_111_tr.html | 51 ++++++ beta_111_ua.html | 53 ++++++ beta_111_vi.html | 51 ++++++ beta_111_zh-cn.html | 50 ++++++ beta_112_ar.html | 48 ++++++ beta_112_de.html | 48 ++++++ beta_112_en.html | 50 ++++++ beta_112_es.html | 48 ++++++ beta_112_fa.html | 50 ++++++ beta_112_fr.html | 51 ++++++ beta_112_hu.html | 50 ++++++ beta_112_ie.html | 56 ++++++ beta_112_ko.html | 50 ++++++ beta_112_pl.html | 50 ++++++ beta_112_pt-br.html | 48 ++++++ beta_112_ro.html | 50 ++++++ beta_112_ru.html | 48 ++++++ beta_112_th.html | 48 ++++++ beta_112_tr.html | 48 ++++++ beta_112_ua.html | 50 ++++++ beta_112_vi.html | 48 ++++++ beta_112_zh-cn.html | 48 ++++++ beta_113_ar.html | 57 ++++++ beta_113_de.html | 57 ++++++ beta_113_en.html | 57 ++++++ beta_113_es.html | 57 ++++++ beta_113_fa.html | 57 ++++++ beta_113_fr.html | 59 +++++++ beta_113_hu.html | 57 ++++++ beta_113_ie.html | 50 ++++++ beta_113_ko.html | 57 ++++++ beta_113_pl.html | 57 ++++++ beta_113_pt-br.html | 57 ++++++ beta_113_ro.html | 57 ++++++ beta_113_ru.html | 57 ++++++ beta_113_th.html | 57 ++++++ beta_113_tr.html | 57 ++++++ beta_113_ua.html | 57 ++++++ beta_113_vi.html | 59 +++++++ beta_113_zh-cn.html | 55 ++++++ beta_114_ar.html | 50 ++++++ beta_114_de.html | 50 ++++++ beta_114_en.html | 50 ++++++ beta_114_es.html | 50 ++++++ beta_114_fa.html | 50 ++++++ beta_114_fr.html | 51 ++++++ beta_114_hu.html | 51 ++++++ beta_114_ie.html | 47 +++++ beta_114_ko.html | 50 ++++++ beta_114_pl.html | 50 ++++++ beta_114_pt-br.html | 50 ++++++ beta_114_ro.html | 50 ++++++ beta_114_ru.html | 50 ++++++ beta_114_th.html | 50 ++++++ beta_114_tr.html | 50 ++++++ beta_114_ua.html | 50 ++++++ beta_114_vi.html | 50 ++++++ beta_114_zh-cn.html | 50 ++++++ beta_115_ar.html | 46 +++++ beta_115_de.html | 50 ++++++ beta_115_en.html | 48 ++++++ beta_115_es.html | 46 +++++ beta_115_fa.html | 48 ++++++ beta_115_fr.html | 51 ++++++ beta_115_hu.html | 50 ++++++ beta_115_ie.html | 47 +++++ beta_115_ko.html | 48 ++++++ beta_115_pl.html | 48 ++++++ beta_115_pt-br.html | 45 +++++ beta_115_ro.html | 48 ++++++ beta_115_ru.html | 46 +++++ beta_115_th.html | 46 +++++ beta_115_tr.html | 46 +++++ beta_115_ua.html | 48 ++++++ beta_115_vi.html | 46 +++++ beta_115_zh-cn.html | 46 +++++ beta_116_ar.html | 47 +++++ beta_116_de.html | 48 ++++++ beta_116_en.html | 47 +++++ beta_116_es.html | 47 +++++ beta_116_fa.html | 47 +++++ beta_116_fr.html | 48 ++++++ beta_116_hu.html | 48 ++++++ beta_116_ko.html | 47 +++++ beta_116_pl.html | 47 +++++ beta_116_pt-br.html | 47 +++++ beta_116_ro.html | 47 +++++ beta_116_ru.html | 47 +++++ beta_116_th.html | 47 +++++ beta_116_tr.html | 47 +++++ beta_116_ua.html | 47 +++++ beta_116_vi.html | 47 +++++ beta_116_zh-cn.html | 47 +++++ beta_117_ar.html | 47 +++++ beta_117_de.html | 48 ++++++ beta_117_en.html | 51 ++++++ beta_117_es.html | 49 ++++++ beta_117_fa.html | 51 ++++++ beta_117_fr.html | 51 ++++++ beta_117_hu.html | 49 ++++++ beta_117_ko.html | 49 ++++++ beta_117_pl.html | 51 ++++++ beta_117_pt-br.html | 46 +++++ beta_117_ro.html | 51 ++++++ beta_117_ru.html | 50 ++++++ beta_117_th.html | 50 ++++++ beta_117_tr.html | 48 ++++++ beta_117_ua.html | 51 ++++++ beta_117_vi.html | 48 ++++++ beta_117_zh-cn.html | 48 ++++++ beta_118_ar.html | 47 +++++ beta_118_de.html | 47 +++++ beta_118_en.html | 49 ++++++ beta_118_es.html | 46 +++++ beta_118_fa.html | 49 ++++++ beta_118_fr.html | 50 ++++++ beta_118_hu.html | 50 ++++++ beta_118_ko.html | 49 ++++++ beta_118_pl.html | 49 ++++++ beta_118_pt-br.html | 47 +++++ beta_118_ro.html | 49 ++++++ beta_118_ru.html | 47 +++++ beta_118_th.html | 47 +++++ beta_118_tr.html | 46 +++++ beta_118_ua.html | 47 +++++ beta_118_vi.html | 47 +++++ beta_118_zh-cn.html | 47 +++++ beta_119_ar.html | 49 ++++++ beta_119_de.html | 50 ++++++ beta_119_en.html | 50 ++++++ beta_119_es.html | 49 ++++++ beta_119_fa.html | 50 ++++++ beta_119_fr.html | 53 ++++++ beta_119_hu.html | 52 ++++++ beta_119_ko.html | 50 ++++++ beta_119_pl.html | 50 ++++++ beta_119_pt-br.html | 49 ++++++ beta_119_ro.html | 50 ++++++ beta_119_ru.html | 50 ++++++ beta_119_th.html | 50 ++++++ beta_119_tr.html | 49 ++++++ beta_119_ua.html | 49 ++++++ beta_119_vi.html | 49 ++++++ beta_119_zh-cn.html | 49 ++++++ beta_11_al.html | 51 ++++++ beta_11_ar.html | 49 ++++++ beta_11_de.html | 49 ++++++ beta_11_en.html | 49 ++++++ beta_11_es.html | 49 ++++++ beta_11_fa.html | 49 ++++++ beta_11_fi.html | 49 ++++++ beta_11_fr.html | 50 ++++++ beta_11_gr.html | 49 ++++++ beta_11_hu.html | 51 ++++++ beta_11_id.html | 49 ++++++ beta_11_ie.html | 49 ++++++ beta_11_it.html | 49 ++++++ beta_11_ja.html | 49 ++++++ beta_11_ko.html | 49 ++++++ beta_11_ne.html | 49 ++++++ beta_11_pl.html | 49 ++++++ beta_11_pt-br.html | 49 ++++++ beta_11_ro.html | 49 ++++++ beta_11_ru.html | 49 ++++++ beta_11_th.html | 49 ++++++ beta_11_tr.html | 49 ++++++ beta_11_ua.html | 48 ++++++ beta_11_vi.html | 49 ++++++ beta_11_zh-cn.html | 49 ++++++ beta_11_zh-tw.html | 49 ++++++ beta_12_al.html | 58 +++++++ beta_12_ar.html | 53 ++++++ beta_12_de.html | 55 ++++++ beta_12_en.html | 55 ++++++ beta_12_es.html | 51 ++++++ beta_12_fa.html | 55 ++++++ beta_12_fi.html | 51 ++++++ beta_12_fr.html | 55 ++++++ beta_12_gr.html | 51 ++++++ beta_12_hu.html | 57 ++++++ beta_12_id.html | 57 ++++++ beta_12_ie.html | 45 +++++ beta_12_it.html | 54 ++++++ beta_12_ja.html | 54 ++++++ beta_12_ko.html | 55 ++++++ beta_12_ne.html | 51 ++++++ beta_12_pl.html | 51 ++++++ beta_12_pt-br.html | 51 ++++++ beta_12_ro.html | 55 ++++++ beta_12_ru.html | 51 ++++++ beta_12_th.html | 54 ++++++ beta_12_tr.html | 52 ++++++ beta_12_ua.html | 53 ++++++ beta_12_vi.html | 52 ++++++ beta_12_zh-cn.html | 55 ++++++ beta_12_zh-tw.html | 54 ++++++ beta_14_al.html | 51 ++++++ beta_14_ar.html | 49 ++++++ beta_14_de.html | 50 ++++++ beta_14_en.html | 49 ++++++ beta_14_es.html | 49 ++++++ beta_14_fa.html | 49 ++++++ beta_14_fi.html | 49 ++++++ beta_14_fr.html | 50 ++++++ beta_14_gr.html | 49 ++++++ beta_14_hu.html | 51 ++++++ beta_14_id.html | 49 ++++++ beta_14_ie.html | 47 +++++ beta_14_it.html | 49 ++++++ beta_14_ja.html | 49 ++++++ beta_14_ko.html | 49 ++++++ beta_14_pl.html | 49 ++++++ beta_14_pt-br.html | 49 ++++++ beta_14_ro.html | 49 ++++++ beta_14_ru.html | 50 ++++++ beta_14_th.html | 49 ++++++ beta_14_tr.html | 49 ++++++ beta_14_ua.html | 49 ++++++ beta_14_vi.html | 49 ++++++ beta_14_zh-cn.html | 49 ++++++ beta_14_zh-tw.html | 49 ++++++ beta_15_al.html | 50 ++++++ beta_15_ar.html | 50 ++++++ beta_15_de.html | 48 ++++++ beta_15_en.html | 50 ++++++ beta_15_es.html | 50 ++++++ beta_15_fa.html | 50 ++++++ beta_15_fi.html | 50 ++++++ beta_15_fr.html | 50 ++++++ beta_15_gr.html | 48 ++++++ beta_15_hu.html | 50 ++++++ beta_15_id.html | 50 ++++++ beta_15_ie.html | 47 +++++ beta_15_it.html | 50 ++++++ beta_15_ja.html | 49 ++++++ beta_15_ko.html | 50 ++++++ beta_15_pl.html | 50 ++++++ beta_15_pt-br.html | 50 ++++++ beta_15_ro.html | 50 ++++++ beta_15_ru.html | 50 ++++++ beta_15_th.html | 50 ++++++ beta_15_tr.html | 49 ++++++ beta_15_ua.html | 49 ++++++ beta_15_vi.html | 50 ++++++ beta_15_zh-cn.html | 49 ++++++ beta_15_zh-tw.html | 50 ++++++ beta_16_al.html | 48 ++++++ beta_16_ar.html | 48 ++++++ beta_16_de.html | 47 +++++ beta_16_en.html | 48 ++++++ beta_16_es.html | 48 ++++++ beta_16_fa.html | 48 ++++++ beta_16_fi.html | 48 ++++++ beta_16_fr.html | 48 ++++++ beta_16_gr.html | 48 ++++++ beta_16_hu.html | 48 ++++++ beta_16_id.html | 48 ++++++ beta_16_ie.html | 47 +++++ beta_16_it.html | 48 ++++++ beta_16_ja.html | 48 ++++++ beta_16_ko.html | 48 ++++++ beta_16_pl.html | 48 ++++++ beta_16_pt-br.html | 48 ++++++ beta_16_ro.html | 48 ++++++ beta_16_ru.html | 48 ++++++ beta_16_th.html | 48 ++++++ beta_16_tr.html | 48 ++++++ beta_16_ua.html | 48 ++++++ beta_16_vi.html | 48 ++++++ beta_16_zh-cn.html | 48 ++++++ beta_16_zh-tw.html | 48 ++++++ beta_17_al.html | 60 +++++++ beta_17_ar.html | 49 ++++++ beta_17_de.html | 57 ++++++ beta_17_en.html | 56 ++++++ beta_17_es.html | 50 ++++++ beta_17_fa.html | 56 ++++++ beta_17_fi.html | 56 ++++++ beta_17_fr.html | 56 ++++++ beta_17_gr.html | 51 ++++++ beta_17_hu.html | 54 ++++++ beta_17_id.html | 51 ++++++ beta_17_ie.html | 47 +++++ beta_17_it.html | 51 ++++++ beta_17_ja.html | 53 ++++++ beta_17_ko.html | 53 ++++++ beta_17_pl.html | 51 ++++++ beta_17_pt-br.html | 50 ++++++ beta_17_ro.html | 56 ++++++ beta_17_ru.html | 53 ++++++ beta_17_th.html | 51 ++++++ beta_17_tr.html | 51 ++++++ beta_17_ua.html | 51 ++++++ beta_17_vi.html | 54 ++++++ beta_17_zh-cn.html | 51 ++++++ beta_17_zh-tw.html | 50 ++++++ beta_18_al.html | 57 ++++++ beta_18_ar.html | 50 ++++++ beta_18_de.html | 56 ++++++ beta_18_en.html | 55 ++++++ beta_18_es.html | 49 ++++++ beta_18_fa.html | 55 ++++++ beta_18_fi.html | 55 ++++++ beta_18_fr.html | 54 ++++++ beta_18_gr.html | 49 ++++++ beta_18_hu.html | 54 ++++++ beta_18_id.html | 49 ++++++ beta_18_ie.html | 47 +++++ beta_18_it.html | 49 ++++++ beta_18_ja.html | 53 ++++++ beta_18_ko.html | 52 ++++++ beta_18_pl.html | 52 ++++++ beta_18_pt-br.html | 49 ++++++ beta_18_ro.html | 55 ++++++ beta_18_ru.html | 52 ++++++ beta_18_th.html | 52 ++++++ beta_18_tr.html | 50 ++++++ beta_18_ua.html | 50 ++++++ beta_18_vi.html | 50 ++++++ beta_18_zh-cn.html | 51 ++++++ beta_18_zh-tw.html | 49 ++++++ beta_19_al.html | 47 +++++ beta_19_ar.html | 47 +++++ beta_19_de.html | 47 +++++ beta_19_en.html | 47 +++++ beta_19_es.html | 47 +++++ beta_19_fa.html | 47 +++++ beta_19_fi.html | 47 +++++ beta_19_fr.html | 47 +++++ beta_19_gr.html | 47 +++++ beta_19_hu.html | 47 +++++ beta_19_id.html | 47 +++++ beta_19_ie.html | 47 +++++ beta_19_it.html | 47 +++++ beta_19_ja.html | 47 +++++ beta_19_ko.html | 47 +++++ beta_19_pl.html | 47 +++++ beta_19_pt-br.html | 47 +++++ beta_19_ro.html | 47 +++++ beta_19_ru.html | 47 +++++ beta_19_th.html | 47 +++++ beta_19_tr.html | 47 +++++ beta_19_ua.html | 47 +++++ beta_19_vi.html | 47 +++++ beta_19_zh-cn.html | 47 +++++ beta_19_zh-tw.html | 47 +++++ beta_20_al.html | 56 ++++++ beta_20_ar.html | 49 ++++++ beta_20_de.html | 55 ++++++ beta_20_en.html | 52 ++++++ beta_20_es.html | 49 ++++++ beta_20_fa.html | 52 ++++++ beta_20_fi.html | 52 ++++++ beta_20_fr.html | 53 ++++++ beta_20_gr.html | 49 ++++++ beta_20_hu.html | 53 ++++++ beta_20_id.html | 49 ++++++ beta_20_ie.html | 47 +++++ beta_20_it.html | 49 ++++++ beta_20_ja.html | 50 ++++++ beta_20_ko.html | 51 ++++++ beta_20_pl.html | 50 ++++++ beta_20_pt-br.html | 50 ++++++ beta_20_ro.html | 52 ++++++ beta_20_ru.html | 52 ++++++ beta_20_th.html | 50 ++++++ beta_20_tr.html | 49 ++++++ beta_20_ua.html | 50 ++++++ beta_20_vi.html | 50 ++++++ beta_20_zh-cn.html | 51 ++++++ beta_20_zh-tw.html | 49 ++++++ beta_21_al.html | 49 ++++++ beta_21_ar.html | 45 +++++ beta_21_de.html | 50 ++++++ beta_21_en.html | 49 ++++++ beta_21_es.html | 45 +++++ beta_21_fa.html | 49 ++++++ beta_21_fi.html | 48 ++++++ beta_21_fr.html | 48 ++++++ beta_21_gr.html | 45 +++++ beta_21_hu.html | 48 ++++++ beta_21_id.html | 45 +++++ beta_21_ie.html | 45 +++++ beta_21_it.html | 46 +++++ beta_21_ja.html | 47 +++++ beta_21_ko.html | 48 ++++++ beta_21_pl.html | 47 +++++ beta_21_pt-br.html | 45 +++++ beta_21_ro.html | 49 ++++++ beta_21_ru.html | 48 ++++++ beta_21_th.html | 48 ++++++ beta_21_tr.html | 46 +++++ beta_21_ua.html | 47 +++++ beta_21_vi.html | 47 +++++ beta_21_zh-cn.html | 47 +++++ beta_21_zh-tw.html | 45 +++++ beta_23_al.html | 51 ++++++ beta_23_ar.html | 49 ++++++ beta_23_de.html | 49 ++++++ beta_23_en.html | 49 ++++++ beta_23_es.html | 49 ++++++ beta_23_fa.html | 49 ++++++ beta_23_fr.html | 51 ++++++ beta_23_gr.html | 49 ++++++ beta_23_hu.html | 51 ++++++ beta_23_ie.html | 49 ++++++ beta_23_it.html | 49 ++++++ beta_23_ja.html | 49 ++++++ beta_23_ko.html | 49 ++++++ beta_23_pl.html | 49 ++++++ beta_23_pt-br.html | 49 ++++++ beta_23_ro.html | 49 ++++++ beta_23_ru.html | 49 ++++++ beta_23_th.html | 50 ++++++ beta_23_tr.html | 49 ++++++ beta_23_ua.html | 48 ++++++ beta_23_vi.html | 49 ++++++ beta_23_zh-cn.html | 49 ++++++ beta_23_zh-tw.html | 49 ++++++ beta_24_al.html | 53 ++++++ beta_24_ar.html | 50 ++++++ beta_24_de.html | 51 ++++++ beta_24_en.html | 50 ++++++ beta_24_es.html | 50 ++++++ beta_24_fa.html | 50 ++++++ beta_24_fr.html | 51 ++++++ beta_24_gr.html | 50 ++++++ beta_24_hu.html | 53 ++++++ beta_24_ie.html | 47 +++++ beta_24_it.html | 50 ++++++ beta_24_ja.html | 50 ++++++ beta_24_ko.html | 50 ++++++ beta_24_pl.html | 50 ++++++ beta_24_pt-br.html | 50 ++++++ beta_24_ro.html | 50 ++++++ beta_24_ru.html | 50 ++++++ beta_24_th.html | 50 ++++++ beta_24_tr.html | 50 ++++++ beta_24_ua.html | 52 ++++++ beta_24_vi.html | 50 ++++++ beta_24_zh-cn.html | 50 ++++++ beta_24_zh-tw.html | 50 ++++++ beta_25_al.html | 64 +++++++ beta_25_ar.html | 50 ++++++ beta_25_de.html | 60 +++++++ beta_25_en.html | 61 +++++++ beta_25_es.html | 60 +++++++ beta_25_fa.html | 61 +++++++ beta_25_fr.html | 64 +++++++ beta_25_gr.html | 50 ++++++ beta_25_hu.html | 62 +++++++ beta_25_ie.html | 58 +++++++ beta_25_it.html | 53 ++++++ beta_25_ja.html | 55 ++++++ beta_25_ko.html | 59 +++++++ beta_25_pl.html | 63 +++++++ beta_25_pt-br.html | 50 ++++++ beta_25_ro.html | 61 +++++++ beta_25_ru.html | 60 +++++++ beta_25_th.html | 60 +++++++ beta_25_tr.html | 59 +++++++ beta_25_ua.html | 55 ++++++ beta_25_vi.html | 62 +++++++ beta_25_zh-cn.html | 56 ++++++ beta_25_zh-tw.html | 56 ++++++ beta_26_al.html | 71 ++++++++ beta_26_ar.html | 57 ++++++ beta_26_de.html | 66 +++++++ beta_26_en.html | 67 ++++++++ beta_26_es.html | 66 +++++++ beta_26_fa.html | 67 ++++++++ beta_26_fr.html | 69 ++++++++ beta_26_gr.html | 58 +++++++ beta_26_hu.html | 69 ++++++++ beta_26_ie.html | 66 +++++++ beta_26_it.html | 61 +++++++ beta_26_ja.html | 63 +++++++ beta_26_ko.html | 66 +++++++ beta_26_pl.html | 57 ++++++ beta_26_pt-br.html | 62 +++++++ beta_26_ro.html | 66 +++++++ beta_26_ru.html | 66 +++++++ beta_26_th.html | 66 +++++++ beta_26_tr.html | 64 +++++++ beta_26_ua.html | 62 +++++++ beta_26_vi.html | 68 ++++++++ beta_26_zh-cn.html | 59 +++++++ beta_26_zh-tw.html | 63 +++++++ beta_27_al.html | 47 +++++ beta_27_ar.html | 47 +++++ beta_27_de.html | 47 +++++ beta_27_en.html | 47 +++++ beta_27_es.html | 47 +++++ beta_27_fa.html | 47 +++++ beta_27_fr.html | 47 +++++ beta_27_gr.html | 47 +++++ beta_27_hu.html | 47 +++++ beta_27_ie.html | 47 +++++ beta_27_it.html | 47 +++++ beta_27_ja.html | 47 +++++ beta_27_ko.html | 47 +++++ beta_27_pl.html | 47 +++++ beta_27_pt-br.html | 47 +++++ beta_27_ro.html | 47 +++++ beta_27_ru.html | 47 +++++ beta_27_th.html | 47 +++++ beta_27_tr.html | 47 +++++ beta_27_ua.html | 47 +++++ beta_27_vi.html | 47 +++++ beta_27_zh-cn.html | 47 +++++ beta_27_zh-tw.html | 47 +++++ beta_28_al.html | 50 ++++++ beta_28_ar.html | 49 ++++++ beta_28_de.html | 49 ++++++ beta_28_en.html | 49 ++++++ beta_28_es.html | 49 ++++++ beta_28_fa.html | 49 ++++++ beta_28_fr.html | 50 ++++++ beta_28_gr.html | 49 ++++++ beta_28_hu.html | 50 ++++++ beta_28_ie.html | 49 ++++++ beta_28_it.html | 49 ++++++ beta_28_ja.html | 49 ++++++ beta_28_ko.html | 49 ++++++ beta_28_pl.html | 49 ++++++ beta_28_pt-br.html | 50 ++++++ beta_28_ro.html | 49 ++++++ beta_28_ru.html | 49 ++++++ beta_28_th.html | 49 ++++++ beta_28_tr.html | 49 ++++++ beta_28_ua.html | 49 ++++++ beta_28_vi.html | 49 ++++++ beta_28_zh-cn.html | 49 ++++++ beta_28_zh-tw.html | 49 ++++++ beta_29_al.html | 50 ++++++ beta_29_ar.html | 48 ++++++ beta_29_de.html | 51 ++++++ beta_29_en.html | 48 ++++++ beta_29_es.html | 50 ++++++ beta_29_fa.html | 48 ++++++ beta_29_fr.html | 51 ++++++ beta_29_gr.html | 48 ++++++ beta_29_hu.html | 52 ++++++ beta_29_ie.html | 50 ++++++ beta_29_it.html | 48 ++++++ beta_29_ja.html | 48 ++++++ beta_29_ko.html | 48 ++++++ beta_29_pl.html | 48 ++++++ beta_29_pt-br.html | 48 ++++++ beta_29_ro.html | 48 ++++++ beta_29_ru.html | 48 ++++++ beta_29_th.html | 48 ++++++ beta_29_tr.html | 48 ++++++ beta_29_ua.html | 48 ++++++ beta_29_vi.html | 48 ++++++ beta_29_zh-cn.html | 48 ++++++ beta_29_zh-tw.html | 48 ++++++ beta_30_al.html | 61 +++++++ beta_30_ar.html | 62 +++++++ beta_30_de.html | 59 +++++++ beta_30_en.html | 58 +++++++ beta_30_es.html | 60 +++++++ beta_30_fa.html | 58 +++++++ beta_30_fr.html | 63 +++++++ beta_30_gr.html | 58 +++++++ beta_30_hu.html | 63 +++++++ beta_30_ie.html | 61 +++++++ beta_30_it.html | 58 +++++++ beta_30_ja.html | 58 +++++++ beta_30_ko.html | 58 +++++++ beta_30_pl.html | 58 +++++++ beta_30_pt-br.html | 58 +++++++ beta_30_ro.html | 58 +++++++ beta_30_ru.html | 58 +++++++ beta_30_th.html | 58 +++++++ beta_30_tr.html | 58 +++++++ beta_30_ua.html | 59 +++++++ beta_30_vi.html | 58 +++++++ beta_30_zh-cn.html | 58 +++++++ beta_30_zh-tw.html | 58 +++++++ beta_31_al.html | 50 ++++++ beta_31_ar.html | 45 +++++ beta_31_de.html | 47 +++++ beta_31_en.html | 47 +++++ beta_31_es.html | 48 ++++++ beta_31_fa.html | 47 +++++ beta_31_fr.html | 48 ++++++ beta_31_gr.html | 45 +++++ beta_31_hu.html | 49 ++++++ beta_31_ie.html | 48 ++++++ beta_31_it.html | 45 +++++ beta_31_ja.html | 46 +++++ beta_31_ko.html | 47 +++++ beta_31_pl.html | 47 +++++ beta_31_pt-br.html | 46 +++++ beta_31_ro.html | 47 +++++ beta_31_ru.html | 46 +++++ beta_31_th.html | 45 +++++ beta_31_tr.html | 46 +++++ beta_31_ua.html | 46 +++++ beta_31_vi.html | 45 +++++ beta_31_zh-cn.html | 47 +++++ beta_31_zh-tw.html | 45 +++++ beta_33_ar.html | 48 ++++++ beta_33_de.html | 51 ++++++ beta_33_en.html | 50 ++++++ beta_33_es.html | 51 ++++++ beta_33_fa.html | 50 ++++++ beta_33_fr.html | 51 ++++++ beta_33_gr.html | 48 ++++++ beta_33_hu.html | 51 ++++++ beta_33_ie.html | 51 ++++++ beta_33_it.html | 48 ++++++ beta_33_ja.html | 51 ++++++ beta_33_ko.html | 50 ++++++ beta_33_pl.html | 48 ++++++ beta_33_pt-br.html | 48 ++++++ beta_33_ro.html | 50 ++++++ beta_33_ru.html | 50 ++++++ beta_33_th.html | 48 ++++++ beta_33_tr.html | 48 ++++++ beta_33_ua.html | 48 ++++++ beta_33_vi.html | 48 ++++++ beta_33_zh-cn.html | 49 ++++++ beta_33_zh-tw.html | 48 ++++++ beta_34_ar.html | 49 ++++++ beta_34_en.html | 53 ++++++ beta_34_es.html | 53 ++++++ beta_34_fa.html | 53 ++++++ beta_34_fr.html | 54 ++++++ beta_34_gr.html | 50 ++++++ beta_34_hu.html | 56 ++++++ beta_34_ie.html | 53 ++++++ beta_34_it.html | 52 ++++++ beta_34_ja.html | 52 ++++++ beta_34_ko.html | 53 ++++++ beta_34_pl.html | 51 ++++++ beta_34_pt-br.html | 49 ++++++ beta_34_ro.html | 53 ++++++ beta_34_ru.html | 53 ++++++ beta_34_th.html | 49 ++++++ beta_34_tr.html | 49 ++++++ beta_34_ua.html | 50 ++++++ beta_34_vi.html | 49 ++++++ beta_34_zh-cn.html | 50 ++++++ beta_34_zh-tw.html | 49 ++++++ beta_35_ar.html | 53 ++++++ beta_35_en.html | 54 ++++++ beta_35_es.html | 55 ++++++ beta_35_fa.html | 54 ++++++ beta_35_fr.html | 54 ++++++ beta_35_gr.html | 53 ++++++ beta_35_hu.html | 55 ++++++ beta_35_ie.html | 54 ++++++ beta_35_it.html | 53 ++++++ beta_35_ja.html | 53 ++++++ beta_35_ko.html | 54 ++++++ beta_35_pl.html | 53 ++++++ beta_35_pt-br.html | 53 ++++++ beta_35_ro.html | 54 ++++++ beta_35_ru.html | 55 ++++++ beta_35_th.html | 53 ++++++ beta_35_tr.html | 52 ++++++ beta_35_ua.html | 53 ++++++ beta_35_vi.html | 53 ++++++ beta_35_zh-cn.html | 53 ++++++ beta_35_zh-tw.html | 53 ++++++ beta_36_ar.html | 54 ++++++ beta_36_en.html | 55 ++++++ beta_36_es.html | 57 ++++++ beta_36_fa.html | 55 ++++++ beta_36_fr.html | 55 ++++++ beta_36_gr.html | 54 ++++++ beta_36_hu.html | 59 +++++++ beta_36_ie.html | 55 ++++++ beta_36_it.html | 55 ++++++ beta_36_ja.html | 55 ++++++ beta_36_ko.html | 55 ++++++ beta_36_pl.html | 55 ++++++ beta_36_pt-br.html | 55 ++++++ beta_36_ro.html | 55 ++++++ beta_36_ru.html | 56 ++++++ beta_36_th.html | 54 ++++++ beta_36_tr.html | 53 ++++++ beta_36_ua.html | 54 ++++++ beta_36_vi.html | 54 ++++++ beta_36_zh-cn.html | 55 ++++++ beta_36_zh-tw.html | 54 ++++++ beta_37_ar.html | 47 +++++ beta_37_en.html | 47 +++++ beta_37_es.html | 47 +++++ beta_37_fa.html | 47 +++++ beta_37_fr.html | 47 +++++ beta_37_gr.html | 47 +++++ beta_37_hu.html | 47 +++++ beta_37_ie.html | 47 +++++ beta_37_it.html | 47 +++++ beta_37_ja.html | 47 +++++ beta_37_ko.html | 47 +++++ beta_37_pl.html | 47 +++++ beta_37_pt-br.html | 47 +++++ beta_37_ro.html | 47 +++++ beta_37_ru.html | 47 +++++ beta_37_th.html | 47 +++++ beta_37_tr.html | 47 +++++ beta_37_ua.html | 47 +++++ beta_37_vi.html | 47 +++++ beta_37_zh-cn.html | 47 +++++ beta_37_zh-tw.html | 47 +++++ beta_38_ar.html | 54 ++++++ beta_38_en.html | 54 ++++++ beta_38_es.html | 55 ++++++ beta_38_fa.html | 54 ++++++ beta_38_fr.html | 54 ++++++ beta_38_gr.html | 55 ++++++ beta_38_hu.html | 55 ++++++ beta_38_ie.html | 54 ++++++ beta_38_it.html | 54 ++++++ beta_38_ja.html | 55 ++++++ beta_38_ko.html | 54 ++++++ beta_38_pl.html | 54 ++++++ beta_38_pt-br.html | 54 ++++++ beta_38_ro.html | 54 ++++++ beta_38_ru.html | 54 ++++++ beta_38_th.html | 54 ++++++ beta_38_tr.html | 52 ++++++ beta_38_ua.html | 54 ++++++ beta_38_vi.html | 54 ++++++ beta_38_zh-cn.html | 55 ++++++ beta_38_zh-tw.html | 54 ++++++ beta_39_ar.html | 68 ++++++++ beta_39_en.html | 69 ++++++++ beta_39_es.html | 70 ++++++++ beta_39_fa.html | 69 ++++++++ beta_39_fr.html | 72 ++++++++ beta_39_gr.html | 68 ++++++++ beta_39_hu.html | 72 ++++++++ beta_39_ie.html | 69 ++++++++ beta_39_it.html | 69 ++++++++ beta_39_ja.html | 70 ++++++++ beta_39_ko.html | 69 ++++++++ beta_39_pl.html | 66 +++++++ beta_39_pt-br.html | 68 ++++++++ beta_39_ro.html | 69 ++++++++ beta_39_ru.html | 69 ++++++++ beta_39_th.html | 68 ++++++++ beta_39_tr.html | 69 ++++++++ beta_39_ua.html | 68 ++++++++ beta_39_vi.html | 68 ++++++++ beta_39_zh-cn.html | 70 ++++++++ beta_39_zh-tw.html | 68 ++++++++ beta_40_ar.html | 55 ++++++ beta_40_en.html | 57 ++++++ beta_40_es.html | 58 +++++++ beta_40_fa.html | 57 ++++++ beta_40_fr.html | 57 ++++++ beta_40_gr.html | 54 ++++++ beta_40_hu.html | 60 +++++++ beta_40_ie.html | 57 ++++++ beta_40_it.html | 54 ++++++ beta_40_ja.html | 57 ++++++ beta_40_ko.html | 57 ++++++ beta_40_pl.html | 55 ++++++ beta_40_pt-br.html | 54 ++++++ beta_40_ro.html | 57 ++++++ beta_40_ru.html | 54 ++++++ beta_40_th.html | 55 ++++++ beta_40_tr.html | 54 ++++++ beta_40_ua.html | 54 ++++++ beta_40_vi.html | 54 ++++++ beta_40_zh-cn.html | 54 ++++++ beta_40_zh-tw.html | 54 ++++++ beta_41_ar.html | 45 +++++ beta_41_en.html | 48 ++++++ beta_41_es.html | 48 ++++++ beta_41_fa.html | 48 ++++++ beta_41_fr.html | 49 ++++++ beta_41_gr.html | 45 +++++ beta_41_hu.html | 48 ++++++ beta_41_ie.html | 49 ++++++ beta_41_it.html | 48 ++++++ beta_41_ja.html | 49 ++++++ beta_41_ko.html | 48 ++++++ beta_41_pl.html | 47 +++++ beta_41_pt-br.html | 45 +++++ beta_41_ro.html | 48 ++++++ beta_41_ru.html | 48 ++++++ beta_41_th.html | 46 +++++ beta_41_tr.html | 45 +++++ beta_41_ua.html | 46 +++++ beta_41_vi.html | 45 +++++ beta_41_zh-cn.html | 47 +++++ beta_41_zh-tw.html | 46 +++++ beta_43_ar.html | 47 +++++ beta_43_de.html | 48 ++++++ beta_43_en.html | 48 ++++++ beta_43_es.html | 47 +++++ beta_43_fa.html | 48 ++++++ beta_43_fr.html | 49 ++++++ beta_43_gr.html | 47 +++++ beta_43_hu.html | 49 ++++++ beta_43_ie.html | 48 ++++++ beta_43_it.html | 48 ++++++ beta_43_ja.html | 48 ++++++ beta_43_ko.html | 49 ++++++ beta_43_pl.html | 48 ++++++ beta_43_pt-br.html | 47 +++++ beta_43_ro.html | 48 ++++++ beta_43_ru.html | 47 +++++ beta_43_th.html | 47 +++++ beta_43_tr.html | 47 +++++ beta_43_ua.html | 48 ++++++ beta_43_vi.html | 47 +++++ beta_43_zh-cn.html | 47 +++++ beta_43_zh-tw.html | 47 +++++ beta_44_ar.html | 53 ++++++ beta_44_de.html | 53 ++++++ beta_44_en.html | 53 ++++++ beta_44_es.html | 54 ++++++ beta_44_fa.html | 53 ++++++ beta_44_fr.html | 54 ++++++ beta_44_gr.html | 52 ++++++ beta_44_hu.html | 54 ++++++ beta_44_ie.html | 53 ++++++ beta_44_it.html | 53 ++++++ beta_44_ja.html | 53 ++++++ beta_44_ko.html | 53 ++++++ beta_44_pl.html | 56 ++++++ beta_44_pt-br.html | 53 ++++++ beta_44_ro.html | 53 ++++++ beta_44_ru.html | 53 ++++++ beta_44_th.html | 53 ++++++ beta_44_tr.html | 53 ++++++ beta_44_ua.html | 56 ++++++ beta_44_vi.html | 54 ++++++ beta_44_zh-cn.html | 52 ++++++ beta_44_zh-tw.html | 53 ++++++ beta_45_ar.html | 52 ++++++ beta_45_de.html | 52 ++++++ beta_45_en.html | 52 ++++++ beta_45_es.html | 52 ++++++ beta_45_fa.html | 52 ++++++ beta_45_fr.html | 53 ++++++ beta_45_gr.html | 52 ++++++ beta_45_hu.html | 54 ++++++ beta_45_ie.html | 52 ++++++ beta_45_it.html | 52 ++++++ beta_45_ja.html | 52 ++++++ beta_45_ko.html | 52 ++++++ beta_45_pl.html | 52 ++++++ beta_45_pt-br.html | 52 ++++++ beta_45_ro.html | 52 ++++++ beta_45_ru.html | 52 ++++++ beta_45_th.html | 52 ++++++ beta_45_tr.html | 52 ++++++ beta_45_ua.html | 52 ++++++ beta_45_vi.html | 52 ++++++ beta_45_zh-cn.html | 52 ++++++ beta_45_zh-tw.html | 52 ++++++ beta_46_ar.html | 52 ++++++ beta_46_de.html | 52 ++++++ beta_46_en.html | 52 ++++++ beta_46_es.html | 52 ++++++ beta_46_fa.html | 52 ++++++ beta_46_fr.html | 52 ++++++ beta_46_gr.html | 53 ++++++ beta_46_hu.html | 54 ++++++ beta_46_ie.html | 53 ++++++ beta_46_it.html | 52 ++++++ beta_46_ja.html | 52 ++++++ beta_46_ko.html | 52 ++++++ beta_46_pl.html | 52 ++++++ beta_46_pt-br.html | 52 ++++++ beta_46_ro.html | 52 ++++++ beta_46_ru.html | 52 ++++++ beta_46_th.html | 52 ++++++ beta_46_tr.html | 52 ++++++ beta_46_ua.html | 52 ++++++ beta_46_vi.html | 52 ++++++ beta_46_zh-cn.html | 51 ++++++ beta_46_zh-tw.html | 52 ++++++ beta_47_ar.html | 47 +++++ beta_47_de.html | 47 +++++ beta_47_en.html | 47 +++++ beta_47_es.html | 47 +++++ beta_47_fa.html | 47 +++++ beta_47_fr.html | 47 +++++ beta_47_gr.html | 47 +++++ beta_47_hu.html | 47 +++++ beta_47_ie.html | 47 +++++ beta_47_it.html | 47 +++++ beta_47_ja.html | 47 +++++ beta_47_ko.html | 47 +++++ beta_47_pl.html | 47 +++++ beta_47_pt-br.html | 47 +++++ beta_47_ro.html | 47 +++++ beta_47_ru.html | 47 +++++ beta_47_th.html | 47 +++++ beta_47_tr.html | 47 +++++ beta_47_ua.html | 49 ++++++ beta_47_vi.html | 47 +++++ beta_47_zh-cn.html | 47 +++++ beta_47_zh-tw.html | 47 +++++ beta_48_ar.html | 48 ++++++ beta_48_de.html | 48 ++++++ beta_48_en.html | 48 ++++++ beta_48_es.html | 48 ++++++ beta_48_fa.html | 48 ++++++ beta_48_fr.html | 48 ++++++ beta_48_gr.html | 47 +++++ beta_48_hu.html | 49 ++++++ beta_48_ie.html | 48 ++++++ beta_48_it.html | 48 ++++++ beta_48_ja.html | 48 ++++++ beta_48_ko.html | 48 ++++++ beta_48_pl.html | 49 ++++++ beta_48_pt-br.html | 48 ++++++ beta_48_ro.html | 48 ++++++ beta_48_ru.html | 48 ++++++ beta_48_th.html | 48 ++++++ beta_48_tr.html | 48 ++++++ beta_48_ua.html | 49 ++++++ beta_48_vi.html | 48 ++++++ beta_48_zh-cn.html | 48 ++++++ beta_48_zh-tw.html | 48 ++++++ beta_49_ar.html | 52 ++++++ beta_49_de.html | 52 ++++++ beta_49_en.html | 52 ++++++ beta_49_es.html | 52 ++++++ beta_49_fa.html | 52 ++++++ beta_49_fr.html | 55 ++++++ beta_49_gr.html | 52 ++++++ beta_49_hu.html | 54 ++++++ beta_49_ie.html | 52 ++++++ beta_49_it.html | 52 ++++++ beta_49_ja.html | 52 ++++++ beta_49_ko.html | 52 ++++++ beta_49_pl.html | 52 ++++++ beta_49_pt-br.html | 52 ++++++ beta_49_ro.html | 52 ++++++ beta_49_ru.html | 52 ++++++ beta_49_th.html | 52 ++++++ beta_49_tr.html | 52 ++++++ beta_49_ua.html | 52 ++++++ beta_49_vi.html | 52 ++++++ beta_49_zh-cn.html | 51 ++++++ beta_49_zh-tw.html | 52 ++++++ beta_50_ar.html | 48 ++++++ beta_50_de.html | 48 ++++++ beta_50_en.html | 48 ++++++ beta_50_es.html | 48 ++++++ beta_50_fa.html | 48 ++++++ beta_50_fr.html | 50 ++++++ beta_50_gr.html | 48 ++++++ beta_50_hu.html | 49 ++++++ beta_50_ie.html | 49 ++++++ beta_50_it.html | 48 ++++++ beta_50_ja.html | 48 ++++++ beta_50_ko.html | 48 ++++++ beta_50_pl.html | 48 ++++++ beta_50_pt-br.html | 48 ++++++ beta_50_ro.html | 48 ++++++ beta_50_ru.html | 48 ++++++ beta_50_th.html | 48 ++++++ beta_50_tr.html | 48 ++++++ beta_50_ua.html | 48 ++++++ beta_50_vi.html | 48 ++++++ beta_50_zh-cn.html | 47 +++++ beta_50_zh-tw.html | 48 ++++++ beta_51_ar.html | 57 ++++++ beta_51_de.html | 57 ++++++ beta_51_en.html | 57 ++++++ beta_51_es.html | 57 ++++++ beta_51_fa.html | 57 ++++++ beta_51_fr.html | 62 +++++++ beta_51_gr.html | 57 ++++++ beta_51_hu.html | 62 +++++++ beta_51_ie.html | 57 ++++++ beta_51_it.html | 61 +++++++ beta_51_ja.html | 59 +++++++ beta_51_ko.html | 57 ++++++ beta_51_pl.html | 57 ++++++ beta_51_pt-br.html | 57 ++++++ beta_51_ro.html | 57 ++++++ beta_51_ru.html | 60 +++++++ beta_51_th.html | 57 ++++++ beta_51_tr.html | 60 +++++++ beta_51_ua.html | 57 ++++++ beta_51_vi.html | 57 ++++++ beta_51_zh-cn.html | 57 ++++++ beta_51_zh-tw.html | 58 +++++++ beta_52_ar.html | 47 +++++ beta_52_de.html | 47 +++++ beta_52_en.html | 47 +++++ beta_52_es.html | 47 +++++ beta_52_fa.html | 47 +++++ beta_52_fr.html | 47 +++++ beta_52_gr.html | 47 +++++ beta_52_hu.html | 47 +++++ beta_52_ie.html | 47 +++++ beta_52_it.html | 47 +++++ beta_52_ja.html | 47 +++++ beta_52_ko.html | 47 +++++ beta_52_pl.html | 48 ++++++ beta_52_pt-br.html | 47 +++++ beta_52_ro.html | 47 +++++ beta_52_ru.html | 47 +++++ beta_52_th.html | 47 +++++ beta_52_tr.html | 48 ++++++ beta_52_ua.html | 47 +++++ beta_52_vi.html | 47 +++++ beta_52_zh-cn.html | 47 +++++ beta_52_zh-tw.html | 47 +++++ beta_53_ar.html | 49 ++++++ beta_53_de.html | 51 ++++++ beta_53_en.html | 51 ++++++ beta_53_es.html | 49 ++++++ beta_53_fa.html | 51 ++++++ beta_53_fr.html | 52 ++++++ beta_53_gr.html | 51 ++++++ beta_53_hu.html | 53 ++++++ beta_53_ie.html | 51 ++++++ beta_53_it.html | 51 ++++++ beta_53_ja.html | 49 ++++++ beta_53_ko.html | 51 ++++++ beta_53_pl.html | 49 ++++++ beta_53_pt-br.html | 49 ++++++ beta_53_ro.html | 51 ++++++ beta_53_ru.html | 51 ++++++ beta_53_th.html | 49 ++++++ beta_53_tr.html | 49 ++++++ beta_53_ua.html | 49 ++++++ beta_53_vi.html | 49 ++++++ beta_53_zh-cn.html | 47 +++++ beta_53_zh-tw.html | 49 ++++++ beta_54_ar.html | 47 +++++ beta_54_de.html | 48 ++++++ beta_54_en.html | 48 ++++++ beta_54_es.html | 47 +++++ beta_54_fa.html | 48 ++++++ beta_54_fr.html | 48 ++++++ beta_54_gr.html | 48 ++++++ beta_54_hu.html | 48 ++++++ beta_54_ie.html | 48 ++++++ beta_54_it.html | 48 ++++++ beta_54_ja.html | 47 +++++ beta_54_ko.html | 48 ++++++ beta_54_pl.html | 47 +++++ beta_54_pt-br.html | 47 +++++ beta_54_ro.html | 48 ++++++ beta_54_ru.html | 48 ++++++ beta_54_th.html | 47 +++++ beta_54_tr.html | 47 +++++ beta_54_ua.html | 48 ++++++ beta_54_vi.html | 47 +++++ beta_54_zh-cn.html | 47 +++++ beta_54_zh-tw.html | 47 +++++ beta_55_ar.html | 56 ++++++ beta_55_de.html | 59 +++++++ beta_55_en.html | 59 +++++++ beta_55_es.html | 55 ++++++ beta_55_fa.html | 59 +++++++ beta_55_fr.html | 63 +++++++ beta_55_gr.html | 59 +++++++ beta_55_hu.html | 65 +++++++ beta_55_ie.html | 60 +++++++ beta_55_it.html | 59 +++++++ beta_55_ja.html | 60 +++++++ beta_55_ko.html | 60 +++++++ beta_55_pl.html | 55 ++++++ beta_55_pt-br.html | 56 ++++++ beta_55_ro.html | 58 +++++++ beta_55_ru.html | 64 +++++++ beta_55_th.html | 60 +++++++ beta_55_tr.html | 59 +++++++ beta_55_ua.html | 54 ++++++ beta_55_vi.html | 55 ++++++ beta_55_zh-cn.html | 52 ++++++ beta_55_zh-tw.html | 56 ++++++ beta_56_ar.html | 49 ++++++ beta_56_de.html | 49 ++++++ beta_56_en.html | 49 ++++++ beta_56_es.html | 49 ++++++ beta_56_fa.html | 49 ++++++ beta_56_fr.html | 54 ++++++ beta_56_gr.html | 49 ++++++ beta_56_hu.html | 50 ++++++ beta_56_ie.html | 49 ++++++ beta_56_it.html | 49 ++++++ beta_56_ja.html | 49 ++++++ beta_56_ko.html | 49 ++++++ beta_56_pl.html | 49 ++++++ beta_56_pt-br.html | 49 ++++++ beta_56_ro.html | 49 ++++++ beta_56_ru.html | 49 ++++++ beta_56_th.html | 49 ++++++ beta_56_tr.html | 49 ++++++ beta_56_ua.html | 49 ++++++ beta_56_vi.html | 49 ++++++ beta_56_zh-cn.html | 47 +++++ beta_56_zh-tw.html | 49 ++++++ beta_57_ar.html | 54 ++++++ beta_57_de.html | 56 ++++++ beta_57_en.html | 56 ++++++ beta_57_es.html | 54 ++++++ beta_57_fa.html | 56 ++++++ beta_57_fr.html | 56 ++++++ beta_57_gr.html | 56 ++++++ beta_57_hu.html | 57 ++++++ beta_57_ie.html | 56 ++++++ beta_57_it.html | 56 ++++++ beta_57_ja.html | 56 ++++++ beta_57_ko.html | 56 ++++++ beta_57_pl.html | 55 ++++++ beta_57_pt-br.html | 54 ++++++ beta_57_ro.html | 56 ++++++ beta_57_ru.html | 57 ++++++ beta_57_th.html | 54 ++++++ beta_57_tr.html | 54 ++++++ beta_57_ua.html | 56 ++++++ beta_57_vi.html | 55 ++++++ beta_57_zh-cn.html | 54 ++++++ beta_57_zh-tw.html | 54 ++++++ beta_59_ar.html | 57 ++++++ beta_59_de.html | 55 ++++++ beta_59_en.html | 57 ++++++ beta_59_es.html | 56 ++++++ beta_59_fa.html | 57 ++++++ beta_59_fr.html | 59 +++++++ beta_59_hu.html | 60 +++++++ beta_59_ie.html | 57 ++++++ beta_59_it.html | 57 ++++++ beta_59_ja.html | 57 ++++++ beta_59_ko.html | 57 ++++++ beta_59_pl.html | 57 ++++++ beta_59_pt-br.html | 57 ++++++ beta_59_ro.html | 57 ++++++ beta_59_ru.html | 58 +++++++ beta_59_th.html | 57 ++++++ beta_59_tr.html | 57 ++++++ beta_59_ua.html | 57 ++++++ beta_59_vi.html | 57 ++++++ beta_59_zh-cn.html | 57 ++++++ beta_59_zh-tw.html | 57 ++++++ beta_60_ar.html | 54 ++++++ beta_60_de.html | 53 ++++++ beta_60_en.html | 54 ++++++ beta_60_es.html | 52 ++++++ beta_60_fa.html | 54 ++++++ beta_60_fr.html | 60 +++++++ beta_60_hu.html | 58 +++++++ beta_60_ie.html | 54 ++++++ beta_60_it.html | 54 ++++++ beta_60_ja.html | 51 ++++++ beta_60_ko.html | 54 ++++++ beta_60_pl.html | 54 ++++++ beta_60_pt-br.html | 51 ++++++ beta_60_ro.html | 54 ++++++ beta_60_ru.html | 54 ++++++ beta_60_th.html | 51 ++++++ beta_60_tr.html | 59 +++++++ beta_60_ua.html | 54 ++++++ beta_60_vi.html | 52 ++++++ beta_60_zh-cn.html | 51 ++++++ beta_60_zh-tw.html | 52 ++++++ beta_61_ar.html | 57 ++++++ beta_61_de.html | 57 ++++++ beta_61_en.html | 57 ++++++ beta_61_es.html | 57 ++++++ beta_61_fa.html | 57 ++++++ beta_61_fr.html | 58 +++++++ beta_61_hu.html | 59 +++++++ beta_61_ie.html | 57 ++++++ beta_61_it.html | 57 ++++++ beta_61_ja.html | 57 ++++++ beta_61_ko.html | 57 ++++++ beta_61_pl.html | 57 ++++++ beta_61_pt-br.html | 57 ++++++ beta_61_ro.html | 57 ++++++ beta_61_ru.html | 57 ++++++ beta_61_th.html | 57 ++++++ beta_61_tr.html | 57 ++++++ beta_61_ua.html | 57 ++++++ beta_61_vi.html | 57 ++++++ beta_61_zh-cn.html | 57 ++++++ beta_61_zh-tw.html | 57 ++++++ beta_62_ar.html | 48 ++++++ beta_62_de.html | 48 ++++++ beta_62_en.html | 48 ++++++ beta_62_es.html | 48 ++++++ beta_62_fa.html | 48 ++++++ beta_62_fr.html | 48 ++++++ beta_62_hu.html | 48 ++++++ beta_62_ie.html | 48 ++++++ beta_62_it.html | 48 ++++++ beta_62_ja.html | 48 ++++++ beta_62_ko.html | 48 ++++++ beta_62_pl.html | 48 ++++++ beta_62_pt-br.html | 48 ++++++ beta_62_ro.html | 48 ++++++ beta_62_ru.html | 48 ++++++ beta_62_th.html | 48 ++++++ beta_62_tr.html | 48 ++++++ beta_62_ua.html | 49 ++++++ beta_62_vi.html | 48 ++++++ beta_62_zh-cn.html | 48 ++++++ beta_62_zh-tw.html | 48 ++++++ beta_63_ar.html | 47 +++++ beta_63_de.html | 48 ++++++ beta_63_en.html | 48 ++++++ beta_63_es.html | 47 +++++ beta_63_fa.html | 48 ++++++ beta_63_fr.html | 50 ++++++ beta_63_hu.html | 52 ++++++ beta_63_ie.html | 48 ++++++ beta_63_it.html | 48 ++++++ beta_63_ja.html | 48 ++++++ beta_63_ko.html | 48 ++++++ beta_63_pl.html | 48 ++++++ beta_63_pt-br.html | 47 +++++ beta_63_ro.html | 48 ++++++ beta_63_ru.html | 48 ++++++ beta_63_th.html | 47 +++++ beta_63_tr.html | 47 +++++ beta_63_ua.html | 48 ++++++ beta_63_vi.html | 47 +++++ beta_63_zh-cn.html | 47 +++++ beta_63_zh-tw.html | 47 +++++ beta_64_ar.html | 47 +++++ beta_64_de.html | 47 +++++ beta_64_en.html | 47 +++++ beta_64_es.html | 47 +++++ beta_64_fa.html | 47 +++++ beta_64_fr.html | 48 ++++++ beta_64_hu.html | 48 ++++++ beta_64_ie.html | 47 +++++ beta_64_it.html | 48 ++++++ beta_64_ja.html | 47 +++++ beta_64_ko.html | 47 +++++ beta_64_pl.html | 47 +++++ beta_64_pt-br.html | 47 +++++ beta_64_ro.html | 47 +++++ beta_64_ru.html | 47 +++++ beta_64_th.html | 47 +++++ beta_64_tr.html | 47 +++++ beta_64_ua.html | 47 +++++ beta_64_vi.html | 47 +++++ beta_64_zh-cn.html | 47 +++++ beta_64_zh-tw.html | 47 +++++ beta_65_ar.html | 55 ++++++ beta_65_de.html | 55 ++++++ beta_65_en.html | 55 ++++++ beta_65_es.html | 55 ++++++ beta_65_fa.html | 55 ++++++ beta_65_fr.html | 57 ++++++ beta_65_hu.html | 59 +++++++ beta_65_ie.html | 56 ++++++ beta_65_it.html | 55 ++++++ beta_65_ja.html | 55 ++++++ beta_65_ko.html | 55 ++++++ beta_65_pl.html | 55 ++++++ beta_65_pt-br.html | 55 ++++++ beta_65_ro.html | 55 ++++++ beta_65_ru.html | 55 ++++++ beta_65_th.html | 55 ++++++ beta_65_tr.html | 55 ++++++ beta_65_ua.html | 55 ++++++ beta_65_vi.html | 55 ++++++ beta_65_zh-cn.html | 55 ++++++ beta_65_zh-tw.html | 55 ++++++ beta_66_ar.html | 48 ++++++ beta_66_de.html | 48 ++++++ beta_66_en.html | 48 ++++++ beta_66_es.html | 48 ++++++ beta_66_fa.html | 48 ++++++ beta_66_fr.html | 51 ++++++ beta_66_hu.html | 49 ++++++ beta_66_ie.html | 48 ++++++ beta_66_it.html | 48 ++++++ beta_66_ja.html | 48 ++++++ beta_66_ko.html | 48 ++++++ beta_66_pl.html | 48 ++++++ beta_66_pt-br.html | 48 ++++++ beta_66_ro.html | 48 ++++++ beta_66_ru.html | 48 ++++++ beta_66_th.html | 48 ++++++ beta_66_tr.html | 48 ++++++ beta_66_ua.html | 48 ++++++ beta_66_vi.html | 48 ++++++ beta_66_zh-cn.html | 48 ++++++ beta_66_zh-tw.html | 48 ++++++ beta_67_ar.html | 57 ++++++ beta_67_de.html | 57 ++++++ beta_67_en.html | 57 ++++++ beta_67_es.html | 57 ++++++ beta_67_fa.html | 57 ++++++ beta_67_fr.html | 61 +++++++ beta_67_hu.html | 60 +++++++ beta_67_ie.html | 57 ++++++ beta_67_it.html | 57 ++++++ beta_67_ja.html | 57 ++++++ beta_67_ko.html | 57 ++++++ beta_67_pl.html | 57 ++++++ beta_67_pt-br.html | 57 ++++++ beta_67_ro.html | 57 ++++++ beta_67_ru.html | 57 ++++++ beta_67_th.html | 57 ++++++ beta_67_tr.html | 57 ++++++ beta_67_ua.html | 57 ++++++ beta_67_vi.html | 57 ++++++ beta_67_zh-cn.html | 57 ++++++ beta_67_zh-tw.html | 57 ++++++ beta_68_ar.html | 47 +++++ beta_68_de.html | 48 ++++++ beta_68_en.html | 48 ++++++ beta_68_es.html | 47 +++++ beta_68_fa.html | 48 ++++++ beta_68_fr.html | 48 ++++++ beta_68_hu.html | 48 ++++++ beta_68_ie.html | 48 ++++++ beta_68_it.html | 48 ++++++ beta_68_ja.html | 47 +++++ beta_68_ko.html | 48 ++++++ beta_68_pl.html | 48 ++++++ beta_68_pt-br.html | 47 +++++ beta_68_ro.html | 48 ++++++ beta_68_ru.html | 48 ++++++ beta_68_th.html | 47 +++++ beta_68_tr.html | 47 +++++ beta_68_ua.html | 48 ++++++ beta_68_vi.html | 47 +++++ beta_68_zh-cn.html | 47 +++++ beta_68_zh-tw.html | 47 +++++ beta_69_ar.html | 47 +++++ beta_69_de.html | 47 +++++ beta_69_en.html | 47 +++++ beta_69_es.html | 47 +++++ beta_69_fa.html | 47 +++++ beta_69_fr.html | 47 +++++ beta_69_hu.html | 47 +++++ beta_69_ie.html | 47 +++++ beta_69_it.html | 47 +++++ beta_69_ja.html | 47 +++++ beta_69_ko.html | 47 +++++ beta_69_pl.html | 47 +++++ beta_69_pt-br.html | 47 +++++ beta_69_ro.html | 47 +++++ beta_69_ru.html | 47 +++++ beta_69_th.html | 47 +++++ beta_69_tr.html | 47 +++++ beta_69_ua.html | 47 +++++ beta_69_vi.html | 47 +++++ beta_69_zh-cn.html | 47 +++++ beta_69_zh-tw.html | 47 +++++ beta_70_ar.html | 49 ++++++ beta_70_de.html | 49 ++++++ beta_70_en.html | 49 ++++++ beta_70_es.html | 49 ++++++ beta_70_fa.html | 49 ++++++ beta_70_fr.html | 53 ++++++ beta_70_hu.html | 53 ++++++ beta_70_ie.html | 49 ++++++ beta_70_it.html | 49 ++++++ beta_70_ja.html | 49 ++++++ beta_70_ko.html | 49 ++++++ beta_70_pl.html | 49 ++++++ beta_70_pt-br.html | 49 ++++++ beta_70_ro.html | 49 ++++++ beta_70_ru.html | 49 ++++++ beta_70_th.html | 49 ++++++ beta_70_tr.html | 49 ++++++ beta_70_ua.html | 49 ++++++ beta_70_vi.html | 49 ++++++ beta_70_zh-cn.html | 49 ++++++ beta_70_zh-tw.html | 49 ++++++ beta_71_ar.html | 48 ++++++ beta_71_de.html | 49 ++++++ beta_71_en.html | 50 ++++++ beta_71_es.html | 48 ++++++ beta_71_fa.html | 50 ++++++ beta_71_fr.html | 50 ++++++ beta_71_hu.html | 50 ++++++ beta_71_ie.html | 50 ++++++ beta_71_it.html | 50 ++++++ beta_71_ja.html | 48 ++++++ beta_71_ko.html | 49 ++++++ beta_71_pl.html | 50 ++++++ beta_71_pt-br.html | 48 ++++++ beta_71_ro.html | 49 ++++++ beta_71_ru.html | 50 ++++++ beta_71_th.html | 49 ++++++ beta_71_tr.html | 49 ++++++ beta_71_ua.html | 50 ++++++ beta_71_vi.html | 48 ++++++ beta_71_zh-cn.html | 48 ++++++ beta_71_zh-tw.html | 48 ++++++ beta_72_ar.html | 46 +++++ beta_72_de.html | 48 ++++++ beta_72_en.html | 48 ++++++ beta_72_es.html | 46 +++++ beta_72_fa.html | 48 ++++++ beta_72_fr.html | 52 ++++++ beta_72_hu.html | 49 ++++++ beta_72_ie.html | 48 ++++++ beta_72_it.html | 48 ++++++ beta_72_ja.html | 46 +++++ beta_72_ko.html | 48 ++++++ beta_72_pl.html | 48 ++++++ beta_72_pt-br.html | 46 +++++ beta_72_ro.html | 48 ++++++ beta_72_ru.html | 48 ++++++ beta_72_th.html | 46 +++++ beta_72_tr.html | 46 +++++ beta_72_ua.html | 48 ++++++ beta_72_vi.html | 46 +++++ beta_72_zh-cn.html | 46 +++++ beta_72_zh-tw.html | 46 +++++ beta_74_ar.html | 51 ++++++ beta_74_en.html | 51 ++++++ beta_74_es.html | 51 ++++++ beta_74_fa.html | 51 ++++++ beta_74_fr.html | 56 ++++++ beta_74_hu.html | 55 ++++++ beta_74_ie.html | 51 ++++++ beta_74_it.html | 51 ++++++ beta_74_ja.html | 51 ++++++ beta_74_ko.html | 51 ++++++ beta_74_pl.html | 51 ++++++ beta_74_pt-br.html | 51 ++++++ beta_74_ro.html | 51 ++++++ beta_74_ru.html | 51 ++++++ beta_74_th.html | 51 ++++++ beta_74_tr.html | 51 ++++++ beta_74_ua.html | 51 ++++++ beta_74_vi.html | 51 ++++++ beta_74_zh-cn.html | 51 ++++++ beta_74_zh-tw.html | 51 ++++++ beta_75_ar.html | 50 ++++++ beta_75_en.html | 50 ++++++ beta_75_es.html | 50 ++++++ beta_75_fa.html | 50 ++++++ beta_75_fr.html | 51 ++++++ beta_75_hu.html | 51 ++++++ beta_75_ie.html | 50 ++++++ beta_75_it.html | 50 ++++++ beta_75_ja.html | 50 ++++++ beta_75_ko.html | 50 ++++++ beta_75_pl.html | 50 ++++++ beta_75_pt-br.html | 50 ++++++ beta_75_ro.html | 50 ++++++ beta_75_ru.html | 50 ++++++ beta_75_th.html | 50 ++++++ beta_75_tr.html | 50 ++++++ beta_75_ua.html | 50 ++++++ beta_75_vi.html | 50 ++++++ beta_75_zh-cn.html | 50 ++++++ beta_75_zh-tw.html | 50 ++++++ beta_76_ar.html | 60 +++++++ beta_76_en.html | 60 +++++++ beta_76_es.html | 60 +++++++ beta_76_fa.html | 60 +++++++ beta_76_fr.html | 64 +++++++ beta_76_hu.html | 63 +++++++ beta_76_ie.html | 60 +++++++ beta_76_it.html | 60 +++++++ beta_76_ja.html | 60 +++++++ beta_76_ko.html | 60 +++++++ beta_76_pl.html | 60 +++++++ beta_76_pt-br.html | 60 +++++++ beta_76_ro.html | 60 +++++++ beta_76_ru.html | 60 +++++++ beta_76_th.html | 60 +++++++ beta_76_tr.html | 60 +++++++ beta_76_ua.html | 60 +++++++ beta_76_vi.html | 60 +++++++ beta_76_zh-cn.html | 60 +++++++ beta_76_zh-tw.html | 60 +++++++ beta_77_ar.html | 49 ++++++ beta_77_en.html | 49 ++++++ beta_77_es.html | 49 ++++++ beta_77_fa.html | 49 ++++++ beta_77_fr.html | 51 ++++++ beta_77_hu.html | 49 ++++++ beta_77_ie.html | 49 ++++++ beta_77_it.html | 49 ++++++ beta_77_ja.html | 49 ++++++ beta_77_ko.html | 49 ++++++ beta_77_pl.html | 49 ++++++ beta_77_pt-br.html | 49 ++++++ beta_77_ro.html | 49 ++++++ beta_77_ru.html | 49 ++++++ beta_77_th.html | 49 ++++++ beta_77_tr.html | 49 ++++++ beta_77_ua.html | 49 ++++++ beta_77_vi.html | 49 ++++++ beta_77_zh-cn.html | 49 ++++++ beta_77_zh-tw.html | 49 ++++++ beta_78_ar.html | 62 +++++++ beta_78_en.html | 63 +++++++ beta_78_es.html | 62 +++++++ beta_78_fa.html | 63 +++++++ beta_78_fr.html | 67 ++++++++ beta_78_hu.html | 65 +++++++ beta_78_ie.html | 63 +++++++ beta_78_it.html | 63 +++++++ beta_78_ja.html | 62 +++++++ beta_78_ko.html | 63 +++++++ beta_78_pl.html | 63 +++++++ beta_78_pt-br.html | 62 +++++++ beta_78_ro.html | 62 +++++++ beta_78_ru.html | 62 +++++++ beta_78_th.html | 63 +++++++ beta_78_tr.html | 62 +++++++ beta_78_ua.html | 63 +++++++ beta_78_vi.html | 62 +++++++ beta_78_zh-cn.html | 62 +++++++ beta_78_zh-tw.html | 62 +++++++ beta_79_ar.html | 48 ++++++ beta_79_en.html | 49 ++++++ beta_79_es.html | 48 ++++++ beta_79_fa.html | 49 ++++++ beta_79_fr.html | 50 ++++++ beta_79_hu.html | 49 ++++++ beta_79_ie.html | 49 ++++++ beta_79_it.html | 49 ++++++ beta_79_ja.html | 48 ++++++ beta_79_ko.html | 49 ++++++ beta_79_pl.html | 49 ++++++ beta_79_pt-br.html | 48 ++++++ beta_79_ro.html | 48 ++++++ beta_79_ru.html | 48 ++++++ beta_79_th.html | 48 ++++++ beta_79_tr.html | 48 ++++++ beta_79_ua.html | 48 ++++++ beta_79_vi.html | 48 ++++++ beta_79_zh-cn.html | 48 ++++++ beta_79_zh-tw.html | 48 ++++++ beta_80_ar.html | 47 +++++ beta_80_en.html | 47 +++++ beta_80_es.html | 47 +++++ beta_80_fa.html | 47 +++++ beta_80_fr.html | 47 +++++ beta_80_hu.html | 47 +++++ beta_80_ie.html | 47 +++++ beta_80_it.html | 47 +++++ beta_80_ja.html | 47 +++++ beta_80_ko.html | 47 +++++ beta_80_pl.html | 47 +++++ beta_80_pt-br.html | 47 +++++ beta_80_ro.html | 47 +++++ beta_80_ru.html | 47 +++++ beta_80_th.html | 47 +++++ beta_80_tr.html | 47 +++++ beta_80_ua.html | 47 +++++ beta_80_vi.html | 47 +++++ beta_80_zh-cn.html | 47 +++++ beta_80_zh-tw.html | 47 +++++ beta_81_ar.html | 57 ++++++ beta_81_en.html | 57 ++++++ beta_81_es.html | 57 ++++++ beta_81_fa.html | 57 ++++++ beta_81_fr.html | 63 +++++++ beta_81_hu.html | 62 +++++++ beta_81_ie.html | 52 ++++++ beta_81_it.html | 57 ++++++ beta_81_ja.html | 57 ++++++ beta_81_ko.html | 57 ++++++ beta_81_pl.html | 57 ++++++ beta_81_pt-br.html | 57 ++++++ beta_81_ro.html | 57 ++++++ beta_81_ru.html | 57 ++++++ beta_81_th.html | 57 ++++++ beta_81_tr.html | 57 ++++++ beta_81_ua.html | 57 ++++++ beta_81_vi.html | 57 ++++++ beta_81_zh-cn.html | 57 ++++++ beta_81_zh-tw.html | 57 ++++++ beta_82_ar.html | 50 ++++++ beta_82_en.html | 51 ++++++ beta_82_es.html | 50 ++++++ beta_82_fa.html | 51 ++++++ beta_82_fr.html | 55 ++++++ beta_82_hu.html | 53 ++++++ beta_82_ie.html | 51 ++++++ beta_82_it.html | 51 ++++++ beta_82_ja.html | 50 ++++++ beta_82_ko.html | 51 ++++++ beta_82_pl.html | 51 ++++++ beta_82_pt-br.html | 50 ++++++ beta_82_ro.html | 51 ++++++ beta_82_ru.html | 50 ++++++ beta_82_th.html | 50 ++++++ beta_82_tr.html | 50 ++++++ beta_82_ua.html | 50 ++++++ beta_82_vi.html | 51 ++++++ beta_82_zh-cn.html | 50 ++++++ beta_82_zh-tw.html | 50 ++++++ beta_83_ar.html | 49 ++++++ beta_83_en.html | 50 ++++++ beta_83_es.html | 49 ++++++ beta_83_fa.html | 50 ++++++ beta_83_fr.html | 56 ++++++ beta_83_hu.html | 55 ++++++ beta_83_ie.html | 50 ++++++ beta_83_it.html | 58 +++++++ beta_83_ja.html | 51 ++++++ beta_83_ko.html | 50 ++++++ beta_83_pl.html | 50 ++++++ beta_83_pt-br.html | 50 ++++++ beta_83_ro.html | 53 ++++++ beta_83_ru.html | 50 ++++++ beta_83_th.html | 50 ++++++ beta_83_tr.html | 49 ++++++ beta_83_ua.html | 50 ++++++ beta_83_vi.html | 49 ++++++ beta_83_zh-cn.html | 49 ++++++ beta_83_zh-tw.html | 49 ++++++ beta_84_ar.html | 56 ++++++ beta_84_en.html | 58 +++++++ beta_84_es.html | 56 ++++++ beta_84_fa.html | 58 +++++++ beta_84_fr.html | 62 +++++++ beta_84_hu.html | 61 +++++++ beta_84_ie.html | 58 +++++++ beta_84_it.html | 56 ++++++ beta_84_ja.html | 56 ++++++ beta_84_ko.html | 58 +++++++ beta_84_pl.html | 58 +++++++ beta_84_pt-br.html | 56 ++++++ beta_84_ro.html | 57 ++++++ beta_84_ru.html | 56 ++++++ beta_84_th.html | 56 ++++++ beta_84_tr.html | 56 ++++++ beta_84_ua.html | 56 ++++++ beta_84_vi.html | 56 ++++++ beta_84_zh-cn.html | 56 ++++++ beta_84_zh-tw.html | 56 ++++++ beta_85_ar.html | 59 +++++++ beta_85_en.html | 59 +++++++ beta_85_es.html | 59 +++++++ beta_85_fa.html | 59 +++++++ beta_85_fr.html | 60 +++++++ beta_85_hu.html | 59 +++++++ beta_85_ie.html | 59 +++++++ beta_85_it.html | 54 ++++++ beta_85_ja.html | 59 +++++++ beta_85_ko.html | 59 +++++++ beta_85_pl.html | 59 +++++++ beta_85_pt-br.html | 59 +++++++ beta_85_ro.html | 59 +++++++ beta_85_ru.html | 59 +++++++ beta_85_th.html | 59 +++++++ beta_85_tr.html | 59 +++++++ beta_85_ua.html | 59 +++++++ beta_85_vi.html | 59 +++++++ beta_85_zh-cn.html | 59 +++++++ beta_85_zh-tw.html | 59 +++++++ beta_86_ar.html | 52 ++++++ beta_86_en.html | 54 ++++++ beta_86_es.html | 52 ++++++ beta_86_fa.html | 54 ++++++ beta_86_fr.html | 56 ++++++ beta_86_hu.html | 55 ++++++ beta_86_ie.html | 53 ++++++ beta_86_it.html | 60 +++++++ beta_86_ja.html | 52 ++++++ beta_86_ko.html | 53 ++++++ beta_86_pl.html | 54 ++++++ beta_86_pt-br.html | 52 ++++++ beta_86_ro.html | 53 ++++++ beta_86_ru.html | 52 ++++++ beta_86_th.html | 52 ++++++ beta_86_tr.html | 51 ++++++ beta_86_ua.html | 52 ++++++ beta_86_vi.html | 52 ++++++ beta_86_zh-cn.html | 52 ++++++ beta_86_zh-tw.html | 52 ++++++ beta_87_ar.html | 58 +++++++ beta_87_en.html | 58 +++++++ beta_87_es.html | 58 +++++++ beta_87_fa.html | 58 +++++++ beta_87_fr.html | 61 +++++++ beta_87_hu.html | 60 +++++++ beta_87_ie.html | 60 +++++++ beta_87_it.html | 54 ++++++ beta_87_ja.html | 58 +++++++ beta_87_ko.html | 58 +++++++ beta_87_pl.html | 58 +++++++ beta_87_pt-br.html | 58 +++++++ beta_87_ro.html | 58 +++++++ beta_87_ru.html | 58 +++++++ beta_87_th.html | 58 +++++++ beta_87_tr.html | 59 +++++++ beta_87_ua.html | 58 +++++++ beta_87_vi.html | 58 +++++++ beta_87_zh-cn.html | 58 +++++++ beta_87_zh-tw.html | 58 +++++++ beta_88_ar.html | 50 ++++++ beta_88_en.html | 54 ++++++ beta_88_es.html | 52 ++++++ beta_88_fa.html | 54 ++++++ beta_88_fr.html | 58 +++++++ beta_88_hu.html | 56 ++++++ beta_88_ie.html | 49 ++++++ beta_88_ja.html | 53 ++++++ beta_88_ko.html | 53 ++++++ beta_88_pl.html | 54 ++++++ beta_88_pt-br.html | 50 ++++++ beta_88_ro.html | 52 ++++++ beta_88_ru.html | 52 ++++++ beta_88_th.html | 51 ++++++ beta_88_tr.html | 50 ++++++ beta_88_ua.html | 54 ++++++ beta_88_vi.html | 50 ++++++ beta_88_zh-cn.html | 51 ++++++ beta_88_zh-tw.html | 51 ++++++ beta_90_ar.html | 45 +++++ beta_90_en.html | 49 ++++++ beta_90_es.html | 45 +++++ beta_90_fa.html | 49 ++++++ beta_90_fr.html | 50 ++++++ beta_90_hu.html | 49 ++++++ beta_90_ie.html | 49 ++++++ beta_90_ko.html | 48 ++++++ beta_90_pl.html | 49 ++++++ beta_90_pt-br.html | 45 +++++ beta_90_ro.html | 49 ++++++ beta_90_ru.html | 45 +++++ beta_90_th.html | 46 +++++ beta_90_tr.html | 45 +++++ beta_90_ua.html | 49 ++++++ beta_90_vi.html | 45 +++++ beta_90_zh-cn.html | 45 +++++ beta_91_ar.html | 59 +++++++ beta_91_en.html | 64 +++++++ beta_91_es.html | 58 +++++++ beta_91_fa.html | 63 +++++++ beta_91_fr.html | 72 ++++++++ beta_91_hu.html | 65 +++++++ beta_91_ie.html | 63 +++++++ beta_91_ko.html | 63 +++++++ beta_91_pl.html | 64 +++++++ beta_91_pt-br.html | 59 +++++++ beta_91_ro.html | 65 +++++++ beta_91_ru.html | 60 +++++++ beta_91_th.html | 64 +++++++ beta_91_tr.html | 59 +++++++ beta_91_ua.html | 64 +++++++ beta_91_vi.html | 59 +++++++ beta_91_zh-cn.html | 59 +++++++ beta_92_ar.html | 51 ++++++ beta_92_en.html | 52 ++++++ beta_92_es.html | 51 ++++++ beta_92_fa.html | 52 ++++++ beta_92_fr.html | 53 ++++++ beta_92_hu.html | 52 ++++++ beta_92_ie.html | 52 ++++++ beta_92_ko.html | 52 ++++++ beta_92_pl.html | 52 ++++++ beta_92_pt-br.html | 51 ++++++ beta_92_ro.html | 52 ++++++ beta_92_ru.html | 52 ++++++ beta_92_th.html | 52 ++++++ beta_92_tr.html | 52 ++++++ beta_92_ua.html | 52 ++++++ beta_92_vi.html | 51 ++++++ beta_92_zh-cn.html | 51 ++++++ beta_93_ar.html | 56 ++++++ beta_93_en.html | 57 ++++++ beta_93_es.html | 56 ++++++ beta_93_fa.html | 57 ++++++ beta_93_fr.html | 58 +++++++ beta_93_hu.html | 57 ++++++ beta_93_ie.html | 57 ++++++ beta_93_ko.html | 57 ++++++ beta_93_pl.html | 57 ++++++ beta_93_pt-br.html | 56 ++++++ beta_93_ro.html | 57 ++++++ beta_93_ru.html | 56 ++++++ beta_93_th.html | 57 ++++++ beta_93_tr.html | 56 ++++++ beta_93_ua.html | 57 ++++++ beta_93_vi.html | 56 ++++++ beta_93_zh-cn.html | 56 ++++++ beta_94_ar.html | 54 ++++++ beta_94_en.html | 55 ++++++ beta_94_es.html | 54 ++++++ beta_94_fa.html | 55 ++++++ beta_94_fr.html | 58 +++++++ beta_94_hu.html | 56 ++++++ beta_94_ie.html | 56 ++++++ beta_94_ko.html | 55 ++++++ beta_94_pl.html | 55 ++++++ beta_94_pt-br.html | 54 ++++++ beta_94_ro.html | 55 ++++++ beta_94_ru.html | 54 ++++++ beta_94_th.html | 54 ++++++ beta_94_tr.html | 54 ++++++ beta_94_ua.html | 55 ++++++ beta_94_vi.html | 54 ++++++ beta_94_zh-cn.html | 54 ++++++ beta_95_ar.html | 49 ++++++ beta_95_en.html | 53 ++++++ beta_95_es.html | 49 ++++++ beta_95_fa.html | 53 ++++++ beta_95_fr.html | 57 ++++++ beta_95_hu.html | 53 ++++++ beta_95_ie.html | 53 ++++++ beta_95_ko.html | 53 ++++++ beta_95_pl.html | 53 ++++++ beta_95_pt-br.html | 49 ++++++ beta_95_ro.html | 53 ++++++ beta_95_ru.html | 49 ++++++ beta_95_th.html | 50 ++++++ beta_95_tr.html | 49 ++++++ beta_95_ua.html | 53 ++++++ beta_95_vi.html | 49 ++++++ beta_95_zh-cn.html | 49 ++++++ beta_96_ar.html | 51 ++++++ beta_96_en.html | 55 ++++++ beta_96_es.html | 50 ++++++ beta_96_fa.html | 55 ++++++ beta_96_fr.html | 59 +++++++ beta_96_hu.html | 61 +++++++ beta_96_ie.html | 56 ++++++ beta_96_ko.html | 55 ++++++ beta_96_pl.html | 55 ++++++ beta_96_pt-br.html | 51 ++++++ beta_96_ro.html | 55 ++++++ beta_96_ru.html | 51 ++++++ beta_96_th.html | 52 ++++++ beta_96_tr.html | 50 ++++++ beta_96_ua.html | 55 ++++++ beta_96_vi.html | 51 ++++++ beta_96_zh-cn.html | 51 ++++++ beta_97_ar.html | 54 ++++++ beta_97_en.html | 58 +++++++ beta_97_es.html | 54 ++++++ beta_97_fa.html | 58 +++++++ beta_97_fr.html | 66 +++++++ beta_97_hu.html | 64 +++++++ beta_97_ie.html | 58 +++++++ beta_97_ko.html | 59 +++++++ beta_97_pl.html | 58 +++++++ beta_97_pt-br.html | 54 ++++++ beta_97_ro.html | 58 +++++++ beta_97_ru.html | 54 ++++++ beta_97_th.html | 55 ++++++ beta_97_tr.html | 54 ++++++ beta_97_ua.html | 58 +++++++ beta_97_vi.html | 54 ++++++ beta_97_zh-cn.html | 56 ++++++ beta_98_ar.html | 48 ++++++ beta_98_en.html | 48 ++++++ beta_98_es.html | 48 ++++++ beta_98_fa.html | 48 ++++++ beta_98_fr.html | 50 ++++++ beta_98_hu.html | 48 ++++++ beta_98_ie.html | 48 ++++++ beta_98_ko.html | 48 ++++++ beta_98_pl.html | 48 ++++++ beta_98_pt-br.html | 48 ++++++ beta_98_ro.html | 48 ++++++ beta_98_ru.html | 48 ++++++ beta_98_th.html | 48 ++++++ beta_98_tr.html | 48 ++++++ beta_98_ua.html | 48 ++++++ beta_98_vi.html | 48 ++++++ beta_98_zh-cn.html | 48 ++++++ beta_99_ar.html | 51 ++++++ beta_99_en.html | 55 ++++++ beta_99_es.html | 51 ++++++ beta_99_fa.html | 55 ++++++ beta_99_fr.html | 60 +++++++ beta_99_hu.html | 56 ++++++ beta_99_ie.html | 55 ++++++ beta_99_ko.html | 55 ++++++ beta_99_pl.html | 55 ++++++ beta_99_pt-br.html | 51 ++++++ beta_99_ro.html | 55 ++++++ beta_99_ru.html | 51 ++++++ beta_99_th.html | 51 ++++++ beta_99_tr.html | 51 ++++++ beta_99_ua.html | 55 ++++++ beta_99_vi.html | 51 ++++++ beta_99_zh-cn.html | 51 ++++++ beta_chapter_10_ar.html | 48 ++++++ beta_chapter_10_de.html | 48 ++++++ beta_chapter_10_en.html | 49 ++++++ beta_chapter_10_es.html | 45 +++++ beta_chapter_10_fa.html | 49 ++++++ beta_chapter_10_fr.html | 52 ++++++ beta_chapter_10_gr.html | 48 ++++++ beta_chapter_10_hu.html | 50 ++++++ beta_chapter_10_ie.html | 45 +++++ beta_chapter_10_ja.html | 49 ++++++ beta_chapter_10_ko.html | 49 ++++++ beta_chapter_10_pl.html | 49 ++++++ beta_chapter_10_pt-br.html | 45 +++++ beta_chapter_10_ro.html | 49 ++++++ beta_chapter_10_ru.html | 49 ++++++ beta_chapter_10_th.html | 49 ++++++ beta_chapter_10_tr.html | 50 ++++++ beta_chapter_10_ua.html | 49 ++++++ beta_chapter_10_vi.html | 48 ++++++ beta_chapter_10_zh-cn.html | 48 ++++++ beta_chapter_1_al.html | 52 ++++++ beta_chapter_1_ar.html | 47 +++++ beta_chapter_1_de.html | 47 +++++ beta_chapter_1_en.html | 47 +++++ beta_chapter_1_es.html | 46 +++++ beta_chapter_1_fa.html | 48 ++++++ beta_chapter_1_fi.html | 47 +++++ beta_chapter_1_fr.html | 48 ++++++ beta_chapter_1_gr.html | 46 +++++ beta_chapter_1_hu.html | 48 ++++++ beta_chapter_1_id.html | 48 ++++++ beta_chapter_1_ie.html | 45 +++++ beta_chapter_1_it.html | 47 +++++ beta_chapter_1_ja.html | 46 +++++ beta_chapter_1_ko.html | 48 ++++++ beta_chapter_1_ne.html | 50 ++++++ beta_chapter_1_pl.html | 47 +++++ beta_chapter_1_pt-br.html | 46 +++++ beta_chapter_1_ro.html | 48 ++++++ beta_chapter_1_ru.html | 49 ++++++ beta_chapter_1_th.html | 47 +++++ beta_chapter_1_tr.html | 46 +++++ beta_chapter_1_ua.html | 46 +++++ beta_chapter_1_vi.html | 47 +++++ beta_chapter_1_zh-cn.html | 47 +++++ beta_chapter_1_zh-tw.html | 46 +++++ beta_chapter_2_al.html | 48 ++++++ beta_chapter_2_ar.html | 46 +++++ beta_chapter_2_de.html | 48 ++++++ beta_chapter_2_en.html | 47 +++++ beta_chapter_2_es.html | 46 +++++ beta_chapter_2_fa.html | 47 +++++ beta_chapter_2_fi.html | 47 +++++ beta_chapter_2_fr.html | 47 +++++ beta_chapter_2_gr.html | 46 +++++ beta_chapter_2_hu.html | 46 +++++ beta_chapter_2_id.html | 46 +++++ beta_chapter_2_ie.html | 45 +++++ beta_chapter_2_it.html | 46 +++++ beta_chapter_2_ja.html | 46 +++++ beta_chapter_2_ko.html | 47 +++++ beta_chapter_2_pl.html | 47 +++++ beta_chapter_2_pt-br.html | 46 +++++ beta_chapter_2_ro.html | 47 +++++ beta_chapter_2_ru.html | 47 +++++ beta_chapter_2_th.html | 46 +++++ beta_chapter_2_tr.html | 45 +++++ beta_chapter_2_ua.html | 46 +++++ beta_chapter_2_vi.html | 47 +++++ beta_chapter_2_zh-cn.html | 45 +++++ beta_chapter_2_zh-tw.html | 46 +++++ beta_chapter_3_al.html | 49 ++++++ beta_chapter_3_ar.html | 45 +++++ beta_chapter_3_de.html | 47 +++++ beta_chapter_3_en.html | 47 +++++ beta_chapter_3_es.html | 47 +++++ beta_chapter_3_fa.html | 47 +++++ beta_chapter_3_fr.html | 48 ++++++ beta_chapter_3_gr.html | 45 +++++ beta_chapter_3_hu.html | 47 +++++ beta_chapter_3_ie.html | 47 +++++ beta_chapter_3_it.html | 45 +++++ beta_chapter_3_ja.html | 46 +++++ beta_chapter_3_ko.html | 48 ++++++ beta_chapter_3_pl.html | 47 +++++ beta_chapter_3_pt-br.html | 45 +++++ beta_chapter_3_ro.html | 47 +++++ beta_chapter_3_ru.html | 46 +++++ beta_chapter_3_th.html | 49 ++++++ beta_chapter_3_tr.html | 46 +++++ beta_chapter_3_ua.html | 46 +++++ beta_chapter_3_vi.html | 45 +++++ beta_chapter_3_zh-cn.html | 46 +++++ beta_chapter_3_zh-tw.html | 45 +++++ beta_chapter_4_ar.html | 45 +++++ beta_chapter_4_de.html | 47 +++++ beta_chapter_4_en.html | 48 ++++++ beta_chapter_4_es.html | 47 +++++ beta_chapter_4_fa.html | 48 ++++++ beta_chapter_4_fr.html | 48 ++++++ beta_chapter_4_gr.html | 45 +++++ beta_chapter_4_hu.html | 48 ++++++ beta_chapter_4_ie.html | 48 ++++++ beta_chapter_4_it.html | 48 ++++++ beta_chapter_4_ja.html | 47 +++++ beta_chapter_4_ko.html | 47 +++++ beta_chapter_4_pl.html | 46 +++++ beta_chapter_4_pt-br.html | 45 +++++ beta_chapter_4_ro.html | 48 ++++++ beta_chapter_4_ru.html | 48 ++++++ beta_chapter_4_th.html | 45 +++++ beta_chapter_4_tr.html | 45 +++++ beta_chapter_4_ua.html | 46 +++++ beta_chapter_4_vi.html | 45 +++++ beta_chapter_4_zh-cn.html | 46 +++++ beta_chapter_4_zh-tw.html | 45 +++++ beta_chapter_5_ar.html | 45 +++++ beta_chapter_5_de.html | 47 +++++ beta_chapter_5_en.html | 47 +++++ beta_chapter_5_es.html | 45 +++++ beta_chapter_5_fa.html | 47 +++++ beta_chapter_5_fr.html | 49 ++++++ beta_chapter_5_gr.html | 45 +++++ beta_chapter_5_hu.html | 48 ++++++ beta_chapter_5_ie.html | 47 +++++ beta_chapter_5_it.html | 47 +++++ beta_chapter_5_ja.html | 48 ++++++ beta_chapter_5_ko.html | 47 +++++ beta_chapter_5_pl.html | 47 +++++ beta_chapter_5_pt-br.html | 45 +++++ beta_chapter_5_ro.html | 47 +++++ beta_chapter_5_ru.html | 45 +++++ beta_chapter_5_th.html | 47 +++++ beta_chapter_5_tr.html | 45 +++++ beta_chapter_5_ua.html | 47 +++++ beta_chapter_5_vi.html | 45 +++++ beta_chapter_5_zh-cn.html | 45 +++++ beta_chapter_5_zh-tw.html | 45 +++++ beta_chapter_6_ar.html | 47 +++++ beta_chapter_6_de.html | 47 +++++ beta_chapter_6_en.html | 47 +++++ beta_chapter_6_es.html | 45 +++++ beta_chapter_6_fa.html | 47 +++++ beta_chapter_6_fr.html | 49 ++++++ beta_chapter_6_hu.html | 49 ++++++ beta_chapter_6_ie.html | 47 +++++ beta_chapter_6_it.html | 47 +++++ beta_chapter_6_ja.html | 47 +++++ beta_chapter_6_ko.html | 47 +++++ beta_chapter_6_pl.html | 47 +++++ beta_chapter_6_pt-br.html | 46 +++++ beta_chapter_6_ro.html | 47 +++++ beta_chapter_6_ru.html | 47 +++++ beta_chapter_6_th.html | 46 +++++ beta_chapter_6_tr.html | 45 +++++ beta_chapter_6_ua.html | 47 +++++ beta_chapter_6_vi.html | 46 +++++ beta_chapter_6_zh-cn.html | 46 +++++ beta_chapter_6_zh-tw.html | 46 +++++ beta_chapter_7_ar.html | 45 +++++ beta_chapter_7_en.html | 48 ++++++ beta_chapter_7_es.html | 45 +++++ beta_chapter_7_fa.html | 48 ++++++ beta_chapter_7_fr.html | 50 ++++++ beta_chapter_7_hu.html | 49 ++++++ beta_chapter_7_ie.html | 48 ++++++ beta_chapter_7_it.html | 48 ++++++ beta_chapter_7_ja.html | 45 +++++ beta_chapter_7_ko.html | 48 ++++++ beta_chapter_7_pl.html | 48 ++++++ beta_chapter_7_pt-br.html | 45 +++++ beta_chapter_7_ro.html | 47 +++++ beta_chapter_7_ru.html | 45 +++++ beta_chapter_7_th.html | 47 +++++ beta_chapter_7_tr.html | 47 +++++ beta_chapter_7_ua.html | 48 ++++++ beta_chapter_7_vi.html | 45 +++++ beta_chapter_7_zh-cn.html | 45 +++++ beta_chapter_7_zh-tw.html | 46 +++++ beta_chapter_8_ar.html | 47 +++++ beta_chapter_8_en.html | 50 ++++++ beta_chapter_8_es.html | 46 +++++ beta_chapter_8_fa.html | 50 ++++++ beta_chapter_8_fr.html | 52 ++++++ beta_chapter_8_hu.html | 51 ++++++ beta_chapter_8_ie.html | 50 ++++++ beta_chapter_8_ko.html | 49 ++++++ beta_chapter_8_pl.html | 50 ++++++ beta_chapter_8_pt-br.html | 46 +++++ beta_chapter_8_ro.html | 50 ++++++ beta_chapter_8_ru.html | 46 +++++ beta_chapter_8_th.html | 46 +++++ beta_chapter_8_tr.html | 46 +++++ beta_chapter_8_ua.html | 51 ++++++ beta_chapter_8_vi.html | 46 +++++ beta_chapter_8_zh-cn.html | 46 +++++ beta_chapter_9_ar.html | 45 +++++ beta_chapter_9_de.html | 45 +++++ beta_chapter_9_en.html | 45 +++++ beta_chapter_9_es.html | 45 +++++ beta_chapter_9_fa.html | 45 +++++ beta_chapter_9_fr.html | 48 ++++++ beta_chapter_9_hu.html | 46 +++++ beta_chapter_9_ie.html | 45 +++++ beta_chapter_9_ko.html | 45 +++++ beta_chapter_9_pl.html | 45 +++++ beta_chapter_9_pt-br.html | 45 +++++ beta_chapter_9_ro.html | 45 +++++ beta_chapter_9_ru.html | 45 +++++ beta_chapter_9_th.html | 45 +++++ beta_chapter_9_tr.html | 45 +++++ beta_chapter_9_ua.html | 45 +++++ beta_chapter_9_vi.html | 45 +++++ beta_chapter_9_zh-cn.html | 45 +++++ beta_index.html | 75 ++++++++ chapter_10_al.html | 49 ++++++ chapter_10_ar.html | 48 ++++++ chapter_10_de.html | 48 ++++++ chapter_10_en.html | 49 ++++++ chapter_10_es.html | 45 +++++ chapter_10_fa.html | 49 ++++++ chapter_10_fi.html | 49 ++++++ chapter_10_fr.html | 52 ++++++ chapter_10_gr.html | 48 ++++++ chapter_10_hu.html | 50 ++++++ chapter_10_id.html | 49 ++++++ chapter_10_ie.html | 45 +++++ chapter_10_it.html | 49 ++++++ chapter_10_ja.html | 49 ++++++ chapter_10_ko.html | 49 ++++++ chapter_10_ne.html | 49 ++++++ chapter_10_pl.html | 49 ++++++ chapter_10_pt-br.html | 45 +++++ chapter_10_ro.html | 49 ++++++ chapter_10_ru.html | 49 ++++++ chapter_10_th.html | 49 ++++++ chapter_10_tr.html | 50 ++++++ chapter_10_ua.html | 49 ++++++ chapter_10_vi.html | 48 ++++++ chapter_10_zh-cn.html | 48 ++++++ chapter_10_zh-tw.html | 49 ++++++ chapter_1_al.html | 52 ++++++ chapter_1_ar.html | 47 +++++ chapter_1_de.html | 47 +++++ chapter_1_en.html | 47 +++++ chapter_1_es.html | 46 +++++ chapter_1_fa.html | 48 ++++++ chapter_1_fi.html | 47 +++++ chapter_1_fr.html | 48 ++++++ chapter_1_gr.html | 46 +++++ chapter_1_hu.html | 48 ++++++ chapter_1_id.html | 48 ++++++ chapter_1_ie.html | 45 +++++ chapter_1_it.html | 47 +++++ chapter_1_ja.html | 46 +++++ chapter_1_ko.html | 48 ++++++ chapter_1_ne.html | 50 ++++++ chapter_1_pl.html | 47 +++++ chapter_1_pt-br.html | 46 +++++ chapter_1_ro.html | 48 ++++++ chapter_1_ru.html | 49 ++++++ chapter_1_th.html | 47 +++++ chapter_1_tr.html | 46 +++++ chapter_1_ua.html | 46 +++++ chapter_1_vi.html | 47 +++++ chapter_1_zh-cn.html | 47 +++++ chapter_1_zh-tw.html | 46 +++++ chapter_2_al.html | 48 ++++++ chapter_2_ar.html | 46 +++++ chapter_2_de.html | 48 ++++++ chapter_2_en.html | 47 +++++ chapter_2_es.html | 46 +++++ chapter_2_fa.html | 47 +++++ chapter_2_fi.html | 47 +++++ chapter_2_fr.html | 47 +++++ chapter_2_gr.html | 46 +++++ chapter_2_hu.html | 46 +++++ chapter_2_id.html | 46 +++++ chapter_2_ie.html | 45 +++++ chapter_2_it.html | 46 +++++ chapter_2_ja.html | 46 +++++ chapter_2_ko.html | 47 +++++ chapter_2_ne.html | 47 +++++ chapter_2_pl.html | 47 +++++ chapter_2_pt-br.html | 46 +++++ chapter_2_ro.html | 47 +++++ chapter_2_ru.html | 47 +++++ chapter_2_th.html | 46 +++++ chapter_2_tr.html | 45 +++++ chapter_2_ua.html | 46 +++++ chapter_2_vi.html | 47 +++++ chapter_2_zh-cn.html | 45 +++++ chapter_2_zh-tw.html | 46 +++++ chapter_3_al.html | 49 ++++++ chapter_3_ar.html | 45 +++++ chapter_3_de.html | 47 +++++ chapter_3_en.html | 47 +++++ chapter_3_es.html | 47 +++++ chapter_3_fa.html | 47 +++++ chapter_3_fi.html | 47 +++++ chapter_3_fr.html | 48 ++++++ chapter_3_gr.html | 45 +++++ chapter_3_hu.html | 47 +++++ chapter_3_id.html | 47 +++++ chapter_3_ie.html | 47 +++++ chapter_3_it.html | 45 +++++ chapter_3_ja.html | 46 +++++ chapter_3_ko.html | 48 ++++++ chapter_3_ne.html | 47 +++++ chapter_3_pl.html | 47 +++++ chapter_3_pt-br.html | 45 +++++ chapter_3_ro.html | 47 +++++ chapter_3_ru.html | 46 +++++ chapter_3_th.html | 49 ++++++ chapter_3_tr.html | 46 +++++ chapter_3_ua.html | 46 +++++ chapter_3_vi.html | 45 +++++ chapter_3_zh-cn.html | 46 +++++ chapter_3_zh-tw.html | 45 +++++ chapter_4_al.html | 48 ++++++ chapter_4_ar.html | 45 +++++ chapter_4_de.html | 47 +++++ chapter_4_en.html | 48 ++++++ chapter_4_es.html | 47 +++++ chapter_4_fa.html | 48 ++++++ chapter_4_fi.html | 48 ++++++ chapter_4_fr.html | 48 ++++++ chapter_4_gr.html | 45 +++++ chapter_4_hu.html | 48 ++++++ chapter_4_id.html | 48 ++++++ chapter_4_ie.html | 48 ++++++ chapter_4_it.html | 48 ++++++ chapter_4_ja.html | 47 +++++ chapter_4_ko.html | 47 +++++ chapter_4_ne.html | 48 ++++++ chapter_4_pl.html | 46 +++++ chapter_4_pt-br.html | 45 +++++ chapter_4_ro.html | 48 ++++++ chapter_4_ru.html | 48 ++++++ chapter_4_th.html | 45 +++++ chapter_4_tr.html | 45 +++++ chapter_4_ua.html | 46 +++++ chapter_4_vi.html | 45 +++++ chapter_4_zh-cn.html | 46 +++++ chapter_4_zh-tw.html | 45 +++++ chapter_5_al.html | 47 +++++ chapter_5_ar.html | 45 +++++ chapter_5_de.html | 47 +++++ chapter_5_en.html | 47 +++++ chapter_5_es.html | 45 +++++ chapter_5_fa.html | 47 +++++ chapter_5_fi.html | 47 +++++ chapter_5_fr.html | 49 ++++++ chapter_5_gr.html | 45 +++++ chapter_5_hu.html | 48 ++++++ chapter_5_id.html | 47 +++++ chapter_5_ie.html | 47 +++++ chapter_5_it.html | 47 +++++ chapter_5_ja.html | 48 ++++++ chapter_5_ko.html | 47 +++++ chapter_5_ne.html | 47 +++++ chapter_5_pl.html | 47 +++++ chapter_5_pt-br.html | 45 +++++ chapter_5_ro.html | 47 +++++ chapter_5_ru.html | 45 +++++ chapter_5_th.html | 47 +++++ chapter_5_tr.html | 45 +++++ chapter_5_ua.html | 47 +++++ chapter_5_vi.html | 45 +++++ chapter_5_zh-cn.html | 45 +++++ chapter_5_zh-tw.html | 45 +++++ chapter_6_al.html | 47 +++++ chapter_6_ar.html | 47 +++++ chapter_6_de.html | 47 +++++ chapter_6_en.html | 47 +++++ chapter_6_es.html | 45 +++++ chapter_6_fa.html | 47 +++++ chapter_6_fi.html | 47 +++++ chapter_6_fr.html | 49 ++++++ chapter_6_gr.html | 47 +++++ chapter_6_hu.html | 49 ++++++ chapter_6_id.html | 47 +++++ chapter_6_ie.html | 47 +++++ chapter_6_it.html | 47 +++++ chapter_6_ja.html | 47 +++++ chapter_6_ko.html | 47 +++++ chapter_6_ne.html | 47 +++++ chapter_6_pl.html | 47 +++++ chapter_6_pt-br.html | 46 +++++ chapter_6_ro.html | 47 +++++ chapter_6_ru.html | 47 +++++ chapter_6_th.html | 46 +++++ chapter_6_tr.html | 45 +++++ chapter_6_ua.html | 47 +++++ chapter_6_vi.html | 46 +++++ chapter_6_zh-cn.html | 46 +++++ chapter_6_zh-tw.html | 46 +++++ chapter_7_al.html | 48 ++++++ chapter_7_ar.html | 45 +++++ chapter_7_de.html | 48 ++++++ chapter_7_en.html | 48 ++++++ chapter_7_es.html | 45 +++++ chapter_7_fa.html | 48 ++++++ chapter_7_fi.html | 48 ++++++ chapter_7_fr.html | 50 ++++++ chapter_7_gr.html | 48 ++++++ chapter_7_hu.html | 49 ++++++ chapter_7_id.html | 48 ++++++ chapter_7_ie.html | 48 ++++++ chapter_7_it.html | 48 ++++++ chapter_7_ja.html | 45 +++++ chapter_7_ko.html | 48 ++++++ chapter_7_ne.html | 48 ++++++ chapter_7_pl.html | 48 ++++++ chapter_7_pt-br.html | 45 +++++ chapter_7_ro.html | 47 +++++ chapter_7_ru.html | 45 +++++ chapter_7_th.html | 47 +++++ chapter_7_tr.html | 47 +++++ chapter_7_ua.html | 48 ++++++ chapter_7_vi.html | 45 +++++ chapter_7_zh-cn.html | 45 +++++ chapter_7_zh-tw.html | 46 +++++ chapter_8_al.html | 50 ++++++ chapter_8_ar.html | 47 +++++ chapter_8_de.html | 50 ++++++ chapter_8_en.html | 50 ++++++ chapter_8_es.html | 46 +++++ chapter_8_fa.html | 50 ++++++ chapter_8_fi.html | 50 ++++++ chapter_8_fr.html | 52 ++++++ chapter_8_gr.html | 50 ++++++ chapter_8_hu.html | 51 ++++++ chapter_8_id.html | 50 ++++++ chapter_8_ie.html | 50 ++++++ chapter_8_it.html | 50 ++++++ chapter_8_ja.html | 50 ++++++ chapter_8_ko.html | 49 ++++++ chapter_8_ne.html | 50 ++++++ chapter_8_pl.html | 50 ++++++ chapter_8_pt-br.html | 46 +++++ chapter_8_ro.html | 50 ++++++ chapter_8_ru.html | 46 +++++ chapter_8_th.html | 46 +++++ chapter_8_tr.html | 46 +++++ chapter_8_ua.html | 51 ++++++ chapter_8_vi.html | 46 +++++ chapter_8_zh-cn.html | 46 +++++ chapter_8_zh-tw.html | 50 ++++++ chapter_9_al.html | 45 +++++ chapter_9_ar.html | 45 +++++ chapter_9_de.html | 45 +++++ chapter_9_en.html | 45 +++++ chapter_9_es.html | 45 +++++ chapter_9_fa.html | 45 +++++ chapter_9_fi.html | 45 +++++ chapter_9_fr.html | 48 ++++++ chapter_9_gr.html | 45 +++++ chapter_9_hu.html | 46 +++++ chapter_9_id.html | 45 +++++ chapter_9_ie.html | 45 +++++ chapter_9_it.html | 45 +++++ chapter_9_ja.html | 45 +++++ chapter_9_ko.html | 45 +++++ chapter_9_ne.html | 45 +++++ chapter_9_pl.html | 45 +++++ chapter_9_pt-br.html | 45 +++++ chapter_9_ro.html | 45 +++++ chapter_9_ru.html | 45 +++++ chapter_9_th.html | 45 +++++ chapter_9_tr.html | 45 +++++ chapter_9_ua.html | 45 +++++ chapter_9_vi.html | 45 +++++ chapter_9_zh-cn.html | 45 +++++ chapter_9_zh-tw.html | 45 +++++ docs/cover.jpg => cover.jpg | Bin docs/favicon-16x16.png => favicon-16x16.png | Bin docs/favicon-32x32.png => favicon-32x32.png | Bin docs/favicon.ico => favicon.ico | Bin docs/ferris.png => ferris.png | Bin docs/ferris_lofi.png => ferris_lofi.png | Bin index.html | 75 ++++++++ docs/intro.png => intro.png | Bin docs/site.webmanifest => site.webmanifest | 0 docs/sitemap.xml => sitemap.xml | 0 docs/social.jpg => social.jpg | Bin docs/tour.css => tour.css | 0 docs/tour.js => tour.js | 0 webassembly/00_en_c.html | 59 +++++++ webassembly/00_es.html | 61 +++++++ webassembly/00_fr.html | 62 +++++++ webassembly/00_fr_c.html | 59 +++++++ webassembly/00_ie.html | 61 +++++++ webassembly/00_ja.html | 60 +++++++ webassembly/00_pt-br.html | 57 ++++++ webassembly/00_ro.html | 61 +++++++ webassembly/02_en.html | 52 ++++++ webassembly/02_en_c.html | 52 ++++++ webassembly/02_es.html | 54 ++++++ webassembly/02_fr.html | 54 ++++++ webassembly/02_fr_c.html | 54 ++++++ webassembly/02_ie.html | 52 ++++++ webassembly/02_ja.html | 52 ++++++ webassembly/02_pt-br.html | 51 ++++++ webassembly/02_ro.html | 52 ++++++ webassembly/03_en.html | 48 ++++++ webassembly/03_en_c.html | 48 ++++++ webassembly/03_es.html | 49 ++++++ webassembly/03_fr.html | 49 ++++++ webassembly/03_fr_c.html | 49 ++++++ webassembly/03_ie.html | 48 ++++++ webassembly/03_ja.html | 48 ++++++ webassembly/03_pt-br.html | 47 +++++ webassembly/03_ro.html | 48 ++++++ webassembly/04_en.html | 49 ++++++ webassembly/04_en_c.html | 49 ++++++ webassembly/04_es.html | 49 ++++++ webassembly/04_fr.html | 51 ++++++ webassembly/04_fr_c.html | 51 ++++++ webassembly/04_ie.html | 49 ++++++ webassembly/04_ja.html | 49 ++++++ webassembly/04_pt-br.html | 47 +++++ webassembly/04_ro.html | 49 ++++++ webassembly/05_en.html | 48 ++++++ webassembly/05_en_c.html | 48 ++++++ webassembly/05_es.html | 48 ++++++ webassembly/05_fr.html | 50 ++++++ webassembly/05_fr_c.html | 50 ++++++ webassembly/05_ie.html | 48 ++++++ webassembly/05_ja.html | 48 ++++++ webassembly/05_pt-br.html | 47 +++++ webassembly/05_ro.html | 48 ++++++ webassembly/06_en.html | 50 ++++++ webassembly/06_en_c.html | 50 ++++++ webassembly/06_es.html | 50 ++++++ webassembly/06_fr.html | 50 ++++++ webassembly/06_fr_c.html | 50 ++++++ webassembly/06_ie.html | 50 ++++++ webassembly/06_ja.html | 49 ++++++ webassembly/06_pt-br.html | 48 ++++++ webassembly/06_ro.html | 50 ++++++ webassembly/07_en.html | 46 +++++ webassembly/07_en_c.html | 46 +++++ webassembly/07_es.html | 46 +++++ webassembly/07_fr.html | 48 ++++++ webassembly/07_fr_c.html | 48 ++++++ webassembly/07_ie.html | 46 +++++ webassembly/07_ja.html | 46 +++++ webassembly/07_pt-br.html | 45 +++++ webassembly/07_ro.html | 46 +++++ webassembly/09_en.html | 50 ++++++ webassembly/09_en_c.html | 48 ++++++ webassembly/09_es.html | 50 ++++++ webassembly/09_fr.html | 50 ++++++ webassembly/09_fr_c.html | 48 ++++++ webassembly/09_ie.html | 50 ++++++ webassembly/09_ja.html | 49 ++++++ webassembly/09_pt-br.html | 49 ++++++ webassembly/09_ro.html | 50 ++++++ webassembly/10_en.html | 51 ++++++ webassembly/10_en_c.html | 51 ++++++ webassembly/10_es.html | 51 ++++++ webassembly/10_fr.html | 51 ++++++ webassembly/10_fr_c.html | 51 ++++++ webassembly/10_ie.html | 51 ++++++ webassembly/10_ja.html | 51 ++++++ webassembly/10_pt-br.html | 51 ++++++ webassembly/10_ro.html | 51 ++++++ webassembly/11_en.html | 49 ++++++ webassembly/11_en_c.html | 49 ++++++ webassembly/11_es.html | 49 ++++++ webassembly/11_fr.html | 50 ++++++ webassembly/11_fr_c.html | 50 ++++++ webassembly/11_ie.html | 49 ++++++ webassembly/11_ja.html | 48 ++++++ webassembly/11_pt-br.html | 48 ++++++ webassembly/11_ro.html | 49 ++++++ webassembly/12_en.html | 60 +++++++ webassembly/12_en_c.html | 60 +++++++ webassembly/12_es.html | 60 +++++++ webassembly/12_fr.html | 61 +++++++ webassembly/12_fr_c.html | 61 +++++++ webassembly/12_ie.html | 60 +++++++ webassembly/12_ja.html | 60 +++++++ webassembly/12_pt-br.html | 47 +++++ webassembly/12_ro.html | 62 +++++++ webassembly/13_en.html | 62 +++++++ webassembly/13_en_c.html | 62 +++++++ webassembly/13_es.html | 62 +++++++ webassembly/13_fr.html | 65 +++++++ webassembly/13_fr_c.html | 65 +++++++ webassembly/13_ie.html | 62 +++++++ webassembly/13_ja.html | 60 +++++++ webassembly/13_pt-br.html | 47 +++++ webassembly/13_ro.html | 62 +++++++ webassembly/14_en.html | 63 +++++++ webassembly/14_en_c.html | 63 +++++++ webassembly/14_es.html | 63 +++++++ webassembly/14_fr.html | 65 +++++++ webassembly/14_fr_c.html | 65 +++++++ webassembly/14_ie.html | 63 +++++++ webassembly/14_ja.html | 63 +++++++ webassembly/14_pt-br.html | 62 +++++++ webassembly/14_ro.html | 63 +++++++ webassembly/15_en.html | 72 ++++++++ webassembly/15_en_c.html | 72 ++++++++ webassembly/15_es.html | 72 ++++++++ webassembly/15_fr.html | 75 ++++++++ webassembly/15_fr_c.html | 75 ++++++++ webassembly/15_ie.html | 72 ++++++++ webassembly/15_ja.html | 72 ++++++++ webassembly/15_pt-br.html | 59 +++++++ webassembly/15_ro.html | 72 ++++++++ webassembly/16_en.html | 50 ++++++ webassembly/16_en_c.html | 50 ++++++ webassembly/16_es.html | 50 ++++++ webassembly/16_fr.html | 53 ++++++ webassembly/16_fr_c.html | 53 ++++++ webassembly/16_ie.html | 50 ++++++ webassembly/16_ja.html | 48 ++++++ webassembly/16_pt-br.html | 48 ++++++ webassembly/16_ro.html | 49 ++++++ webassembly/17_en.html | 49 ++++++ webassembly/17_en_c.html | 49 ++++++ webassembly/17_es.html | 49 ++++++ webassembly/17_fr.html | 55 ++++++ webassembly/17_fr_c.html | 53 ++++++ webassembly/17_ie.html | 49 ++++++ webassembly/17_ja.html | 48 ++++++ webassembly/17_pt-br.html | 47 +++++ webassembly/17_ro.html | 49 ++++++ webassembly/19_en.html | 55 ++++++ webassembly/19_en_c.html | 55 ++++++ webassembly/19_es.html | 55 ++++++ webassembly/19_fr.html | 60 +++++++ webassembly/19_fr_c.html | 55 ++++++ webassembly/19_ie.html | 55 ++++++ webassembly/19_ja.html | 53 ++++++ webassembly/19_pt-br.html | 50 ++++++ webassembly/19_ro.html | 53 ++++++ webassembly/20_en.html | 50 ++++++ webassembly/20_en_c.html | 50 ++++++ webassembly/20_es.html | 50 ++++++ webassembly/20_fr.html | 55 ++++++ webassembly/20_fr_c.html | 50 ++++++ webassembly/20_ie.html | 50 ++++++ webassembly/20_ja.html | 50 ++++++ webassembly/20_pt-br.html | 50 ++++++ webassembly/20_ro.html | 50 ++++++ webassembly/21_en.html | 56 ++++++ webassembly/21_en_c.html | 56 ++++++ webassembly/21_es.html | 56 ++++++ webassembly/21_fr.html | 61 +++++++ webassembly/21_fr_c.html | 56 ++++++ webassembly/21_ie.html | 56 ++++++ webassembly/21_ja.html | 55 ++++++ webassembly/21_pt-br.html | 53 ++++++ webassembly/21_ro.html | 56 ++++++ webassembly/22_en.html | 62 +++++++ webassembly/22_en_c.html | 62 +++++++ webassembly/22_es.html | 62 +++++++ webassembly/22_fr.html | 68 ++++++++ webassembly/22_fr_c.html | 62 +++++++ webassembly/22_ie.html | 62 +++++++ webassembly/22_ja.html | 65 +++++++ webassembly/22_pt-br.html | 57 ++++++ webassembly/22_ro.html | 62 +++++++ webassembly/23_en.html | 60 +++++++ webassembly/23_en_c.html | 60 +++++++ webassembly/23_es.html | 60 +++++++ webassembly/23_fr.html | 63 +++++++ webassembly/23_fr_c.html | 60 +++++++ webassembly/23_ie.html | 60 +++++++ webassembly/23_ja.html | 63 +++++++ webassembly/23_pt-br.html | 57 ++++++ webassembly/23_ro.html | 60 +++++++ webassembly/24_en.html | 62 +++++++ webassembly/24_en_c.html | 62 +++++++ webassembly/24_es.html | 62 +++++++ webassembly/24_fr.html | 65 +++++++ webassembly/24_fr_c.html | 62 +++++++ webassembly/24_ie.html | 62 +++++++ webassembly/24_ja.html | 63 +++++++ webassembly/24_pt-br.html | 58 +++++++ webassembly/24_ro.html | 62 +++++++ webassembly/25_en.html | 72 ++++++++ webassembly/25_en_c.html | 72 ++++++++ webassembly/25_es.html | 72 ++++++++ webassembly/25_fr.html | 77 +++++++++ webassembly/25_fr_c.html | 72 ++++++++ webassembly/25_ie.html | 72 ++++++++ webassembly/25_ja.html | 71 ++++++++ webassembly/25_pt-br.html | 66 +++++++ webassembly/25_ro.html | 78 +++++++++ webassembly/26_en.html | 72 ++++++++ webassembly/26_en_c.html | 72 ++++++++ webassembly/26_es.html | 72 ++++++++ webassembly/26_fr.html | 73 ++++++++ webassembly/26_fr_c.html | 72 ++++++++ webassembly/26_ie.html | 72 ++++++++ webassembly/26_ja.html | 74 ++++++++ webassembly/26_pt-br.html | 69 ++++++++ webassembly/26_ro.html | 72 ++++++++ webassembly/27_en.html | 47 +++++ webassembly/27_en_c.html | 47 +++++ webassembly/27_es.html | 47 +++++ webassembly/27_fr.html | 50 ++++++ webassembly/27_fr_c.html | 47 +++++ webassembly/27_ie.html | 47 +++++ webassembly/27_ja.html | 47 +++++ webassembly/27_pt-br.html | 45 +++++ webassembly/27_ro.html | 47 +++++ webassembly/TOC_en.html | 69 ++++++++ webassembly/TOC_en_c.html | 69 ++++++++ webassembly/TOC_es.html | 69 ++++++++ webassembly/TOC_fr.html | 69 ++++++++ webassembly/TOC_fr_c.html | 69 ++++++++ webassembly/TOC_ie.html | 69 ++++++++ webassembly/TOC_ja.html | 69 ++++++++ webassembly/TOC_pt-br.html | 69 ++++++++ webassembly/TOC_ro.html | 69 ++++++++ webassembly/beta_00_en_c.html | 59 +++++++ webassembly/beta_00_es.html | 61 +++++++ webassembly/beta_00_fr.html | 62 +++++++ webassembly/beta_00_fr_c.html | 59 +++++++ webassembly/beta_00_ie.html | 61 +++++++ webassembly/beta_00_ja.html | 60 +++++++ webassembly/beta_00_pt-br.html | 57 ++++++ webassembly/beta_00_ro.html | 61 +++++++ webassembly/beta_02_en.html | 52 ++++++ webassembly/beta_02_en_c.html | 52 ++++++ webassembly/beta_02_es.html | 54 ++++++ webassembly/beta_02_fr.html | 54 ++++++ webassembly/beta_02_fr_c.html | 54 ++++++ webassembly/beta_02_ie.html | 52 ++++++ webassembly/beta_02_ja.html | 52 ++++++ webassembly/beta_02_pt-br.html | 51 ++++++ webassembly/beta_02_ro.html | 52 ++++++ webassembly/beta_03_en.html | 48 ++++++ webassembly/beta_03_en_c.html | 48 ++++++ webassembly/beta_03_es.html | 49 ++++++ webassembly/beta_03_fr.html | 49 ++++++ webassembly/beta_03_fr_c.html | 49 ++++++ webassembly/beta_03_ie.html | 48 ++++++ webassembly/beta_03_ja.html | 48 ++++++ webassembly/beta_03_pt-br.html | 47 +++++ webassembly/beta_03_ro.html | 48 ++++++ webassembly/beta_04_en.html | 49 ++++++ webassembly/beta_04_en_c.html | 49 ++++++ webassembly/beta_04_fr.html | 51 ++++++ webassembly/beta_04_fr_c.html | 51 ++++++ webassembly/beta_04_ie.html | 49 ++++++ webassembly/beta_04_ja.html | 49 ++++++ webassembly/beta_04_pt-br.html | 47 +++++ webassembly/beta_04_ro.html | 49 ++++++ webassembly/beta_05_en.html | 48 ++++++ webassembly/beta_05_en_c.html | 48 ++++++ webassembly/beta_05_fr.html | 50 ++++++ webassembly/beta_05_fr_c.html | 50 ++++++ webassembly/beta_05_ie.html | 48 ++++++ webassembly/beta_05_ja.html | 48 ++++++ webassembly/beta_05_pt-br.html | 47 +++++ webassembly/beta_05_ro.html | 48 ++++++ webassembly/beta_06_en.html | 50 ++++++ webassembly/beta_06_en_c.html | 50 ++++++ webassembly/beta_06_fr.html | 50 ++++++ webassembly/beta_06_fr_c.html | 50 ++++++ webassembly/beta_06_ie.html | 50 ++++++ webassembly/beta_06_ja.html | 49 ++++++ webassembly/beta_06_pt-br.html | 48 ++++++ webassembly/beta_06_ro.html | 50 ++++++ webassembly/beta_07_en.html | 46 +++++ webassembly/beta_07_en_c.html | 46 +++++ webassembly/beta_07_fr.html | 48 ++++++ webassembly/beta_07_fr_c.html | 48 ++++++ webassembly/beta_07_ja.html | 46 +++++ webassembly/beta_07_pt-br.html | 45 +++++ webassembly/beta_07_ro.html | 46 +++++ webassembly/beta_09_en.html | 50 ++++++ webassembly/beta_09_en_c.html | 48 ++++++ webassembly/beta_09_fr.html | 50 ++++++ webassembly/beta_09_fr_c.html | 48 ++++++ webassembly/beta_09_ja.html | 49 ++++++ webassembly/beta_09_pt-br.html | 49 ++++++ webassembly/beta_09_ro.html | 50 ++++++ webassembly/beta_10_en.html | 51 ++++++ webassembly/beta_10_en_c.html | 51 ++++++ webassembly/beta_10_fr.html | 51 ++++++ webassembly/beta_10_fr_c.html | 51 ++++++ webassembly/beta_10_ja.html | 51 ++++++ webassembly/beta_10_pt-br.html | 51 ++++++ webassembly/beta_10_ro.html | 51 ++++++ webassembly/beta_11_en.html | 49 ++++++ webassembly/beta_11_en_c.html | 49 ++++++ webassembly/beta_11_fr.html | 50 ++++++ webassembly/beta_11_fr_c.html | 50 ++++++ webassembly/beta_11_ja.html | 48 ++++++ webassembly/beta_11_pt-br.html | 48 ++++++ webassembly/beta_11_ro.html | 49 ++++++ webassembly/beta_12_en.html | 60 +++++++ webassembly/beta_12_en_c.html | 60 +++++++ webassembly/beta_12_fr.html | 61 +++++++ webassembly/beta_12_fr_c.html | 61 +++++++ webassembly/beta_12_ja.html | 60 +++++++ webassembly/beta_12_pt-br.html | 47 +++++ webassembly/beta_12_ro.html | 62 +++++++ webassembly/beta_13_en.html | 62 +++++++ webassembly/beta_13_en_c.html | 62 +++++++ webassembly/beta_13_fr.html | 65 +++++++ webassembly/beta_13_fr_c.html | 65 +++++++ webassembly/beta_13_ja.html | 60 +++++++ webassembly/beta_13_pt-br.html | 47 +++++ webassembly/beta_13_ro.html | 62 +++++++ webassembly/beta_14_en.html | 63 +++++++ webassembly/beta_14_en_c.html | 63 +++++++ webassembly/beta_14_fr.html | 65 +++++++ webassembly/beta_14_fr_c.html | 65 +++++++ webassembly/beta_14_ja.html | 63 +++++++ webassembly/beta_14_pt-br.html | 62 +++++++ webassembly/beta_14_ro.html | 63 +++++++ webassembly/beta_15_en.html | 72 ++++++++ webassembly/beta_15_en_c.html | 72 ++++++++ webassembly/beta_15_fr.html | 75 ++++++++ webassembly/beta_15_fr_c.html | 75 ++++++++ webassembly/beta_15_ja.html | 72 ++++++++ webassembly/beta_15_pt-br.html | 59 +++++++ webassembly/beta_15_ro.html | 72 ++++++++ webassembly/beta_16_en.html | 50 ++++++ webassembly/beta_16_en_c.html | 50 ++++++ webassembly/beta_16_fr.html | 53 ++++++ webassembly/beta_16_fr_c.html | 53 ++++++ webassembly/beta_16_ja.html | 48 ++++++ webassembly/beta_16_pt-br.html | 48 ++++++ webassembly/beta_16_ro.html | 49 ++++++ webassembly/beta_17_en.html | 49 ++++++ webassembly/beta_17_en_c.html | 49 ++++++ webassembly/beta_17_fr.html | 55 ++++++ webassembly/beta_17_fr_c.html | 53 ++++++ webassembly/beta_17_ja.html | 48 ++++++ webassembly/beta_17_pt-br.html | 47 +++++ webassembly/beta_17_ro.html | 49 ++++++ webassembly/beta_19_en.html | 55 ++++++ webassembly/beta_19_fr.html | 60 +++++++ webassembly/beta_19_ja.html | 53 ++++++ webassembly/beta_19_pt-br.html | 50 ++++++ webassembly/beta_19_ro.html | 53 ++++++ webassembly/beta_20_en.html | 50 ++++++ webassembly/beta_20_fr.html | 55 ++++++ webassembly/beta_20_ja.html | 50 ++++++ webassembly/beta_20_pt-br.html | 50 ++++++ webassembly/beta_20_ro.html | 50 ++++++ webassembly/beta_21_en.html | 56 ++++++ webassembly/beta_21_fr.html | 61 +++++++ webassembly/beta_21_ja.html | 55 ++++++ webassembly/beta_21_pt-br.html | 53 ++++++ webassembly/beta_21_ro.html | 56 ++++++ webassembly/beta_22_en.html | 62 +++++++ webassembly/beta_22_fr.html | 68 ++++++++ webassembly/beta_22_ja.html | 65 +++++++ webassembly/beta_22_pt-br.html | 57 ++++++ webassembly/beta_22_ro.html | 62 +++++++ webassembly/beta_23_en.html | 60 +++++++ webassembly/beta_23_fr.html | 63 +++++++ webassembly/beta_23_ja.html | 63 +++++++ webassembly/beta_23_pt-br.html | 57 ++++++ webassembly/beta_23_ro.html | 60 +++++++ webassembly/beta_24_en.html | 62 +++++++ webassembly/beta_24_fr.html | 65 +++++++ webassembly/beta_24_ja.html | 63 +++++++ webassembly/beta_24_pt-br.html | 58 +++++++ webassembly/beta_24_ro.html | 62 +++++++ webassembly/beta_25_en.html | 72 ++++++++ webassembly/beta_25_fr.html | 77 +++++++++ webassembly/beta_25_ja.html | 71 ++++++++ webassembly/beta_25_pt-br.html | 66 +++++++ webassembly/beta_25_ro.html | 78 +++++++++ webassembly/beta_26_en.html | 72 ++++++++ webassembly/beta_26_fr.html | 73 ++++++++ webassembly/beta_26_ja.html | 74 ++++++++ webassembly/beta_26_pt-br.html | 69 ++++++++ webassembly/beta_26_ro.html | 72 ++++++++ webassembly/beta_27_en.html | 47 +++++ webassembly/beta_27_fr.html | 50 ++++++ webassembly/beta_27_ja.html | 47 +++++ webassembly/beta_27_pt-br.html | 45 +++++ webassembly/beta_27_ro.html | 47 +++++ webassembly/beta_chapter_1_en.html | 53 ++++++ webassembly/beta_chapter_1_en_c.html | 53 ++++++ webassembly/beta_chapter_1_es.html | 57 ++++++ webassembly/beta_chapter_1_fr.html | 60 +++++++ webassembly/beta_chapter_1_fr_c.html | 60 +++++++ webassembly/beta_chapter_1_ie.html | 53 ++++++ webassembly/beta_chapter_1_ja.html | 53 ++++++ webassembly/beta_chapter_1_pt-br.html | 52 ++++++ webassembly/beta_chapter_1_ro.html | 52 ++++++ webassembly/beta_chapter_2_en.html | 47 +++++ webassembly/beta_chapter_2_en_c.html | 47 +++++ webassembly/beta_chapter_2_fr.html | 47 +++++ webassembly/beta_chapter_2_fr_c.html | 47 +++++ webassembly/beta_chapter_2_ja.html | 47 +++++ webassembly/beta_chapter_2_pt-br.html | 47 +++++ webassembly/beta_chapter_2_ro.html | 47 +++++ webassembly/beta_chapter_3_en.html | 45 +++++ webassembly/beta_chapter_3_fr.html | 46 +++++ webassembly/beta_chapter_3_ja.html | 45 +++++ webassembly/beta_chapter_3_pt-br.html | 45 +++++ webassembly/beta_chapter_3_ro.html | 45 +++++ webassembly/beta_index.html | 61 +++++++ webassembly/chapter_1_en.html | 53 ++++++ webassembly/chapter_1_en_c.html | 53 ++++++ webassembly/chapter_1_es.html | 57 ++++++ webassembly/chapter_1_fr.html | 60 +++++++ webassembly/chapter_1_fr_c.html | 60 +++++++ webassembly/chapter_1_ie.html | 53 ++++++ webassembly/chapter_1_ja.html | 53 ++++++ webassembly/chapter_1_pt-br.html | 52 ++++++ webassembly/chapter_1_ro.html | 52 ++++++ webassembly/chapter_2_en.html | 47 +++++ webassembly/chapter_2_en_c.html | 47 +++++ webassembly/chapter_2_es.html | 47 +++++ webassembly/chapter_2_fr.html | 47 +++++ webassembly/chapter_2_fr_c.html | 47 +++++ webassembly/chapter_2_ie.html | 47 +++++ webassembly/chapter_2_ja.html | 47 +++++ webassembly/chapter_2_pt-br.html | 47 +++++ webassembly/chapter_2_ro.html | 47 +++++ webassembly/chapter_3_en.html | 45 +++++ webassembly/chapter_3_en_c.html | 45 +++++ webassembly/chapter_3_es.html | 45 +++++ webassembly/chapter_3_fr.html | 46 +++++ webassembly/chapter_3_fr_c.html | 45 +++++ webassembly/chapter_3_ie.html | 45 +++++ webassembly/chapter_3_ja.html | 45 +++++ webassembly/chapter_3_pt-br.html | 45 +++++ webassembly/chapter_3_ro.html | 45 +++++ {docs/webassembly => webassembly}/ferris.png | Bin webassembly/index.html | 61 +++++++ {docs/webassembly => webassembly}/tour.css | 0 6187 files changed, 322163 insertions(+) create mode 100644 00_al.html create mode 100644 00_ar.html create mode 100644 00_de.html create mode 100644 00_es.html create mode 100644 00_fa.html create mode 100644 00_fi.html create mode 100644 00_fr.html create mode 100644 00_gr.html create mode 100644 00_hu.html create mode 100644 00_id.html create mode 100644 00_ie.html create mode 100644 00_it.html create mode 100644 00_ja.html create mode 100644 00_ko.html create mode 100644 00_ne.html create mode 100644 00_pl.html create mode 100644 00_pt-br.html create mode 100644 00_ro.html create mode 100644 00_ru.html create mode 100644 00_th.html create mode 100644 00_tr.html create mode 100644 00_ua.html create mode 100644 00_vi.html create mode 100644 00_zh-cn.html create mode 100644 00_zh-tw.html create mode 100644 02_al.html create mode 100644 02_ar.html create mode 100644 02_de.html create mode 100644 02_en.html create mode 100644 02_es.html create mode 100644 02_fa.html create mode 100644 02_fi.html create mode 100644 02_fr.html create mode 100644 02_gr.html create mode 100644 02_hu.html create mode 100644 02_id.html create mode 100644 02_ie.html create mode 100644 02_it.html create mode 100644 02_ja.html create mode 100644 02_ko.html create mode 100644 02_ne.html create mode 100644 02_pl.html create mode 100644 02_pt-br.html create mode 100644 02_ro.html create mode 100644 02_ru.html create mode 100644 02_th.html create mode 100644 02_tr.html create mode 100644 02_ua.html create mode 100644 02_vi.html create mode 100644 02_zh-cn.html create mode 100644 02_zh-tw.html create mode 100644 03_al.html create mode 100644 03_ar.html create mode 100644 03_de.html create mode 100644 03_en.html create mode 100644 03_es.html create mode 100644 03_fa.html create mode 100644 03_fi.html create mode 100644 03_fr.html create mode 100644 03_gr.html create mode 100644 03_hu.html create mode 100644 03_id.html create mode 100644 03_ie.html create mode 100644 03_it.html create mode 100644 03_ja.html create mode 100644 03_ko.html create mode 100644 03_ne.html create mode 100644 03_pl.html create mode 100644 03_pt-br.html create mode 100644 03_ro.html create mode 100644 03_ru.html create mode 100644 03_th.html create mode 100644 03_tr.html create mode 100644 03_ua.html create mode 100644 03_vi.html create mode 100644 03_zh-cn.html create mode 100644 03_zh-tw.html create mode 100644 04_al.html create mode 100644 04_ar.html create mode 100644 04_de.html create mode 100644 04_en.html create mode 100644 04_es.html create mode 100644 04_fa.html create mode 100644 04_fi.html create mode 100644 04_fr.html create mode 100644 04_gr.html create mode 100644 04_hu.html create mode 100644 04_id.html create mode 100644 04_ie.html create mode 100644 04_it.html create mode 100644 04_ja.html create mode 100644 04_ko.html create mode 100644 04_ne.html create mode 100644 04_pl.html create mode 100644 04_pt-br.html create mode 100644 04_ro.html create mode 100644 04_ru.html create mode 100644 04_th.html create mode 100644 04_tr.html create mode 100644 04_ua.html create mode 100644 04_vi.html create mode 100644 04_zh-cn.html create mode 100644 04_zh-tw.html create mode 100644 05_al.html create mode 100644 05_ar.html create mode 100644 05_de.html create mode 100644 05_en.html create mode 100644 05_es.html create mode 100644 05_fa.html create mode 100644 05_fi.html create mode 100644 05_fr.html create mode 100644 05_gr.html create mode 100644 05_hu.html create mode 100644 05_id.html create mode 100644 05_ie.html create mode 100644 05_it.html create mode 100644 05_ja.html create mode 100644 05_ko.html create mode 100644 05_ne.html create mode 100644 05_pl.html create mode 100644 05_pt-br.html create mode 100644 05_ro.html create mode 100644 05_ru.html create mode 100644 05_th.html create mode 100644 05_tr.html create mode 100644 05_ua.html create mode 100644 05_vi.html create mode 100644 05_zh-cn.html create mode 100644 05_zh-tw.html create mode 100644 06_al.html create mode 100644 06_ar.html create mode 100644 06_de.html create mode 100644 06_en.html create mode 100644 06_es.html create mode 100644 06_fa.html create mode 100644 06_fi.html create mode 100644 06_fr.html create mode 100644 06_gr.html create mode 100644 06_hu.html create mode 100644 06_id.html create mode 100644 06_ie.html create mode 100644 06_it.html create mode 100644 06_ja.html create mode 100644 06_ko.html create mode 100644 06_ne.html create mode 100644 06_pl.html create mode 100644 06_pt-br.html create mode 100644 06_ro.html create mode 100644 06_ru.html create mode 100644 06_th.html create mode 100644 06_tr.html create mode 100644 06_ua.html create mode 100644 06_vi.html create mode 100644 06_zh-cn.html create mode 100644 06_zh-tw.html create mode 100644 07_al.html create mode 100644 07_ar.html create mode 100644 07_de.html create mode 100644 07_en.html create mode 100644 07_es.html create mode 100644 07_fa.html create mode 100644 07_fi.html create mode 100644 07_fr.html create mode 100644 07_gr.html create mode 100644 07_hu.html create mode 100644 07_id.html create mode 100644 07_ie.html create mode 100644 07_it.html create mode 100644 07_ja.html create mode 100644 07_ko.html create mode 100644 07_ne.html create mode 100644 07_pl.html create mode 100644 07_pt-br.html create mode 100644 07_ro.html create mode 100644 07_ru.html create mode 100644 07_th.html create mode 100644 07_tr.html create mode 100644 07_ua.html create mode 100644 07_vi.html create mode 100644 07_zh-cn.html create mode 100644 07_zh-tw.html create mode 100644 08_al.html create mode 100644 08_ar.html create mode 100644 08_de.html create mode 100644 08_en.html create mode 100644 08_es.html create mode 100644 08_fa.html create mode 100644 08_fi.html create mode 100644 08_fr.html create mode 100644 08_gr.html create mode 100644 08_hu.html create mode 100644 08_id.html create mode 100644 08_ie.html create mode 100644 08_it.html create mode 100644 08_ja.html create mode 100644 08_ko.html create mode 100644 08_ne.html create mode 100644 08_pl.html create mode 100644 08_pt-br.html create mode 100644 08_ro.html create mode 100644 08_ru.html create mode 100644 08_th.html create mode 100644 08_tr.html create mode 100644 08_ua.html create mode 100644 08_vi.html create mode 100644 08_zh-cn.html create mode 100644 08_zh-tw.html create mode 100644 09_al.html create mode 100644 09_ar.html create mode 100644 09_de.html create mode 100644 09_en.html create mode 100644 09_es.html create mode 100644 09_fa.html create mode 100644 09_fi.html create mode 100644 09_fr.html create mode 100644 09_gr.html create mode 100644 09_hu.html create mode 100644 09_id.html create mode 100644 09_ie.html create mode 100644 09_it.html create mode 100644 09_ja.html create mode 100644 09_ko.html create mode 100644 09_ne.html create mode 100644 09_pl.html create mode 100644 09_pt-br.html create mode 100644 09_ro.html create mode 100644 09_ru.html create mode 100644 09_th.html create mode 100644 09_tr.html create mode 100644 09_ua.html create mode 100644 09_vi.html create mode 100644 09_zh-cn.html create mode 100644 09_zh-tw.html create mode 100644 100_al.html create mode 100644 100_ar.html create mode 100644 100_de.html create mode 100644 100_en.html create mode 100644 100_es.html create mode 100644 100_fa.html create mode 100644 100_fi.html create mode 100644 100_fr.html create mode 100644 100_gr.html create mode 100644 100_hu.html create mode 100644 100_id.html create mode 100644 100_ie.html create mode 100644 100_it.html create mode 100644 100_ja.html create mode 100644 100_ko.html create mode 100644 100_ne.html create mode 100644 100_pl.html create mode 100644 100_pt-br.html create mode 100644 100_ro.html create mode 100644 100_ru.html create mode 100644 100_th.html create mode 100644 100_tr.html create mode 100644 100_ua.html create mode 100644 100_vi.html create mode 100644 100_zh-cn.html create mode 100644 100_zh-tw.html create mode 100644 101_al.html create mode 100644 101_ar.html create mode 100644 101_de.html create mode 100644 101_en.html create mode 100644 101_es.html create mode 100644 101_fa.html create mode 100644 101_fi.html create mode 100644 101_fr.html create mode 100644 101_gr.html create mode 100644 101_hu.html create mode 100644 101_id.html create mode 100644 101_ie.html create mode 100644 101_it.html create mode 100644 101_ja.html create mode 100644 101_ko.html create mode 100644 101_ne.html create mode 100644 101_pl.html create mode 100644 101_pt-br.html create mode 100644 101_ro.html create mode 100644 101_ru.html create mode 100644 101_th.html create mode 100644 101_tr.html create mode 100644 101_ua.html create mode 100644 101_vi.html create mode 100644 101_zh-cn.html create mode 100644 101_zh-tw.html create mode 100644 102_al.html create mode 100644 102_ar.html create mode 100644 102_de.html create mode 100644 102_en.html create mode 100644 102_es.html create mode 100644 102_fa.html create mode 100644 102_fi.html create mode 100644 102_fr.html create mode 100644 102_gr.html create mode 100644 102_hu.html create mode 100644 102_id.html create mode 100644 102_ie.html create mode 100644 102_it.html create mode 100644 102_ja.html create mode 100644 102_ko.html create mode 100644 102_ne.html create mode 100644 102_pl.html create mode 100644 102_pt-br.html create mode 100644 102_ro.html create mode 100644 102_ru.html create mode 100644 102_th.html create mode 100644 102_tr.html create mode 100644 102_ua.html create mode 100644 102_vi.html create mode 100644 102_zh-cn.html create mode 100644 102_zh-tw.html create mode 100644 103_al.html create mode 100644 103_ar.html create mode 100644 103_de.html create mode 100644 103_en.html create mode 100644 103_es.html create mode 100644 103_fa.html create mode 100644 103_fi.html create mode 100644 103_fr.html create mode 100644 103_gr.html create mode 100644 103_hu.html create mode 100644 103_id.html create mode 100644 103_ie.html create mode 100644 103_it.html create mode 100644 103_ja.html create mode 100644 103_ko.html create mode 100644 103_ne.html create mode 100644 103_pl.html create mode 100644 103_pt-br.html create mode 100644 103_ro.html create mode 100644 103_ru.html create mode 100644 103_th.html create mode 100644 103_tr.html create mode 100644 103_ua.html create mode 100644 103_vi.html create mode 100644 103_zh-cn.html create mode 100644 103_zh-tw.html create mode 100644 104_al.html create mode 100644 104_ar.html create mode 100644 104_de.html create mode 100644 104_en.html create mode 100644 104_es.html create mode 100644 104_fa.html create mode 100644 104_fi.html create mode 100644 104_fr.html create mode 100644 104_gr.html create mode 100644 104_hu.html create mode 100644 104_id.html create mode 100644 104_ie.html create mode 100644 104_it.html create mode 100644 104_ja.html create mode 100644 104_ko.html create mode 100644 104_ne.html create mode 100644 104_pl.html create mode 100644 104_pt-br.html create mode 100644 104_ro.html create mode 100644 104_ru.html create mode 100644 104_th.html create mode 100644 104_tr.html create mode 100644 104_ua.html create mode 100644 104_vi.html create mode 100644 104_zh-cn.html create mode 100644 104_zh-tw.html create mode 100644 106_al.html create mode 100644 106_ar.html create mode 100644 106_de.html create mode 100644 106_en.html create mode 100644 106_es.html create mode 100644 106_fa.html create mode 100644 106_fi.html create mode 100644 106_fr.html create mode 100644 106_gr.html create mode 100644 106_hu.html create mode 100644 106_id.html create mode 100644 106_ie.html create mode 100644 106_it.html create mode 100644 106_ja.html create mode 100644 106_ko.html create mode 100644 106_ne.html create mode 100644 106_pl.html create mode 100644 106_pt-br.html create mode 100644 106_ro.html create mode 100644 106_ru.html create mode 100644 106_th.html create mode 100644 106_tr.html create mode 100644 106_ua.html create mode 100644 106_vi.html create mode 100644 106_zh-cn.html create mode 100644 106_zh-tw.html create mode 100644 107_al.html create mode 100644 107_ar.html create mode 100644 107_de.html create mode 100644 107_en.html create mode 100644 107_es.html create mode 100644 107_fa.html create mode 100644 107_fi.html create mode 100644 107_fr.html create mode 100644 107_gr.html create mode 100644 107_hu.html create mode 100644 107_id.html create mode 100644 107_ie.html create mode 100644 107_it.html create mode 100644 107_ja.html create mode 100644 107_ko.html create mode 100644 107_ne.html create mode 100644 107_pl.html create mode 100644 107_pt-br.html create mode 100644 107_ro.html create mode 100644 107_ru.html create mode 100644 107_th.html create mode 100644 107_tr.html create mode 100644 107_ua.html create mode 100644 107_vi.html create mode 100644 107_zh-cn.html create mode 100644 107_zh-tw.html create mode 100644 108_al.html create mode 100644 108_ar.html create mode 100644 108_de.html create mode 100644 108_en.html create mode 100644 108_es.html create mode 100644 108_fa.html create mode 100644 108_fi.html create mode 100644 108_fr.html create mode 100644 108_gr.html create mode 100644 108_hu.html create mode 100644 108_id.html create mode 100644 108_ie.html create mode 100644 108_it.html create mode 100644 108_ja.html create mode 100644 108_ko.html create mode 100644 108_ne.html create mode 100644 108_pl.html create mode 100644 108_pt-br.html create mode 100644 108_ro.html create mode 100644 108_ru.html create mode 100644 108_th.html create mode 100644 108_tr.html create mode 100644 108_ua.html create mode 100644 108_vi.html create mode 100644 108_zh-cn.html create mode 100644 108_zh-tw.html create mode 100644 109_al.html create mode 100644 109_ar.html create mode 100644 109_de.html create mode 100644 109_en.html create mode 100644 109_es.html create mode 100644 109_fa.html create mode 100644 109_fi.html create mode 100644 109_fr.html create mode 100644 109_gr.html create mode 100644 109_hu.html create mode 100644 109_id.html create mode 100644 109_ie.html create mode 100644 109_it.html create mode 100644 109_ja.html create mode 100644 109_ko.html create mode 100644 109_ne.html create mode 100644 109_pl.html create mode 100644 109_pt-br.html create mode 100644 109_ro.html create mode 100644 109_ru.html create mode 100644 109_th.html create mode 100644 109_tr.html create mode 100644 109_ua.html create mode 100644 109_vi.html create mode 100644 109_zh-cn.html create mode 100644 109_zh-tw.html create mode 100644 10_al.html create mode 100644 10_ar.html create mode 100644 10_de.html create mode 100644 10_en.html create mode 100644 10_es.html create mode 100644 10_fa.html create mode 100644 10_fi.html create mode 100644 10_fr.html create mode 100644 10_gr.html create mode 100644 10_hu.html create mode 100644 10_id.html create mode 100644 10_ie.html create mode 100644 10_it.html create mode 100644 10_ja.html create mode 100644 10_ko.html create mode 100644 10_ne.html create mode 100644 10_pl.html create mode 100644 10_pt-br.html create mode 100644 10_ro.html create mode 100644 10_ru.html create mode 100644 10_th.html create mode 100644 10_tr.html create mode 100644 10_ua.html create mode 100644 10_vi.html create mode 100644 10_zh-cn.html create mode 100644 10_zh-tw.html create mode 100644 110_al.html create mode 100644 110_ar.html create mode 100644 110_de.html create mode 100644 110_en.html create mode 100644 110_es.html create mode 100644 110_fa.html create mode 100644 110_fi.html create mode 100644 110_fr.html create mode 100644 110_gr.html create mode 100644 110_hu.html create mode 100644 110_id.html create mode 100644 110_ie.html create mode 100644 110_it.html create mode 100644 110_ja.html create mode 100644 110_ko.html create mode 100644 110_ne.html create mode 100644 110_pl.html create mode 100644 110_pt-br.html create mode 100644 110_ro.html create mode 100644 110_ru.html create mode 100644 110_th.html create mode 100644 110_tr.html create mode 100644 110_ua.html create mode 100644 110_vi.html create mode 100644 110_zh-cn.html create mode 100644 110_zh-tw.html create mode 100644 111_al.html create mode 100644 111_ar.html create mode 100644 111_de.html create mode 100644 111_en.html create mode 100644 111_es.html create mode 100644 111_fa.html create mode 100644 111_fi.html create mode 100644 111_fr.html create mode 100644 111_gr.html create mode 100644 111_hu.html create mode 100644 111_id.html create mode 100644 111_ie.html create mode 100644 111_it.html create mode 100644 111_ja.html create mode 100644 111_ko.html create mode 100644 111_ne.html create mode 100644 111_pl.html create mode 100644 111_pt-br.html create mode 100644 111_ro.html create mode 100644 111_ru.html create mode 100644 111_th.html create mode 100644 111_tr.html create mode 100644 111_ua.html create mode 100644 111_vi.html create mode 100644 111_zh-cn.html create mode 100644 111_zh-tw.html create mode 100644 112_al.html create mode 100644 112_ar.html create mode 100644 112_de.html create mode 100644 112_en.html create mode 100644 112_es.html create mode 100644 112_fa.html create mode 100644 112_fi.html create mode 100644 112_fr.html create mode 100644 112_gr.html create mode 100644 112_hu.html create mode 100644 112_id.html create mode 100644 112_ie.html create mode 100644 112_it.html create mode 100644 112_ja.html create mode 100644 112_ko.html create mode 100644 112_ne.html create mode 100644 112_pl.html create mode 100644 112_pt-br.html create mode 100644 112_ro.html create mode 100644 112_ru.html create mode 100644 112_th.html create mode 100644 112_tr.html create mode 100644 112_ua.html create mode 100644 112_vi.html create mode 100644 112_zh-cn.html create mode 100644 112_zh-tw.html create mode 100644 113_al.html create mode 100644 113_ar.html create mode 100644 113_de.html create mode 100644 113_en.html create mode 100644 113_es.html create mode 100644 113_fa.html create mode 100644 113_fi.html create mode 100644 113_fr.html create mode 100644 113_gr.html create mode 100644 113_hu.html create mode 100644 113_id.html create mode 100644 113_ie.html create mode 100644 113_it.html create mode 100644 113_ja.html create mode 100644 113_ko.html create mode 100644 113_ne.html create mode 100644 113_pl.html create mode 100644 113_pt-br.html create mode 100644 113_ro.html create mode 100644 113_ru.html create mode 100644 113_th.html create mode 100644 113_tr.html create mode 100644 113_ua.html create mode 100644 113_vi.html create mode 100644 113_zh-cn.html create mode 100644 113_zh-tw.html create mode 100644 114_al.html create mode 100644 114_ar.html create mode 100644 114_de.html create mode 100644 114_en.html create mode 100644 114_es.html create mode 100644 114_fa.html create mode 100644 114_fi.html create mode 100644 114_fr.html create mode 100644 114_gr.html create mode 100644 114_hu.html create mode 100644 114_id.html create mode 100644 114_ie.html create mode 100644 114_it.html create mode 100644 114_ja.html create mode 100644 114_ko.html create mode 100644 114_ne.html create mode 100644 114_pl.html create mode 100644 114_pt-br.html create mode 100644 114_ro.html create mode 100644 114_ru.html create mode 100644 114_th.html create mode 100644 114_tr.html create mode 100644 114_ua.html create mode 100644 114_vi.html create mode 100644 114_zh-cn.html create mode 100644 114_zh-tw.html create mode 100644 115_al.html create mode 100644 115_ar.html create mode 100644 115_de.html create mode 100644 115_en.html create mode 100644 115_es.html create mode 100644 115_fa.html create mode 100644 115_fi.html create mode 100644 115_fr.html create mode 100644 115_gr.html create mode 100644 115_hu.html create mode 100644 115_id.html create mode 100644 115_ie.html create mode 100644 115_it.html create mode 100644 115_ja.html create mode 100644 115_ko.html create mode 100644 115_ne.html create mode 100644 115_pl.html create mode 100644 115_pt-br.html create mode 100644 115_ro.html create mode 100644 115_ru.html create mode 100644 115_th.html create mode 100644 115_tr.html create mode 100644 115_ua.html create mode 100644 115_vi.html create mode 100644 115_zh-cn.html create mode 100644 115_zh-tw.html create mode 100644 116_al.html create mode 100644 116_ar.html create mode 100644 116_de.html create mode 100644 116_en.html create mode 100644 116_es.html create mode 100644 116_fa.html create mode 100644 116_fi.html create mode 100644 116_fr.html create mode 100644 116_gr.html create mode 100644 116_hu.html create mode 100644 116_id.html create mode 100644 116_ie.html create mode 100644 116_it.html create mode 100644 116_ja.html create mode 100644 116_ko.html create mode 100644 116_ne.html create mode 100644 116_pl.html create mode 100644 116_pt-br.html create mode 100644 116_ro.html create mode 100644 116_ru.html create mode 100644 116_th.html create mode 100644 116_tr.html create mode 100644 116_ua.html create mode 100644 116_vi.html create mode 100644 116_zh-cn.html create mode 100644 116_zh-tw.html create mode 100644 117_al.html create mode 100644 117_ar.html create mode 100644 117_de.html create mode 100644 117_en.html create mode 100644 117_es.html create mode 100644 117_fa.html create mode 100644 117_fi.html create mode 100644 117_fr.html create mode 100644 117_gr.html create mode 100644 117_hu.html create mode 100644 117_id.html create mode 100644 117_ie.html create mode 100644 117_it.html create mode 100644 117_ja.html create mode 100644 117_ko.html create mode 100644 117_ne.html create mode 100644 117_pl.html create mode 100644 117_pt-br.html create mode 100644 117_ro.html create mode 100644 117_ru.html create mode 100644 117_th.html create mode 100644 117_tr.html create mode 100644 117_ua.html create mode 100644 117_vi.html create mode 100644 117_zh-cn.html create mode 100644 117_zh-tw.html create mode 100644 118_al.html create mode 100644 118_ar.html create mode 100644 118_de.html create mode 100644 118_en.html create mode 100644 118_es.html create mode 100644 118_fa.html create mode 100644 118_fi.html create mode 100644 118_fr.html create mode 100644 118_gr.html create mode 100644 118_hu.html create mode 100644 118_id.html create mode 100644 118_ie.html create mode 100644 118_it.html create mode 100644 118_ja.html create mode 100644 118_ko.html create mode 100644 118_ne.html create mode 100644 118_pl.html create mode 100644 118_pt-br.html create mode 100644 118_ro.html create mode 100644 118_ru.html create mode 100644 118_th.html create mode 100644 118_tr.html create mode 100644 118_ua.html create mode 100644 118_vi.html create mode 100644 118_zh-cn.html create mode 100644 118_zh-tw.html create mode 100644 119_al.html create mode 100644 119_ar.html create mode 100644 119_de.html create mode 100644 119_en.html create mode 100644 119_es.html create mode 100644 119_fa.html create mode 100644 119_fi.html create mode 100644 119_fr.html create mode 100644 119_gr.html create mode 100644 119_hu.html create mode 100644 119_id.html create mode 100644 119_ie.html create mode 100644 119_it.html create mode 100644 119_ja.html create mode 100644 119_ko.html create mode 100644 119_ne.html create mode 100644 119_pl.html create mode 100644 119_pt-br.html create mode 100644 119_ro.html create mode 100644 119_ru.html create mode 100644 119_th.html create mode 100644 119_tr.html create mode 100644 119_ua.html create mode 100644 119_vi.html create mode 100644 119_zh-cn.html create mode 100644 119_zh-tw.html create mode 100644 11_al.html create mode 100644 11_ar.html create mode 100644 11_de.html create mode 100644 11_en.html create mode 100644 11_es.html create mode 100644 11_fa.html create mode 100644 11_fi.html create mode 100644 11_fr.html create mode 100644 11_gr.html create mode 100644 11_hu.html create mode 100644 11_id.html create mode 100644 11_ie.html create mode 100644 11_it.html create mode 100644 11_ja.html create mode 100644 11_ko.html create mode 100644 11_ne.html create mode 100644 11_pl.html create mode 100644 11_pt-br.html create mode 100644 11_ro.html create mode 100644 11_ru.html create mode 100644 11_th.html create mode 100644 11_tr.html create mode 100644 11_ua.html create mode 100644 11_vi.html create mode 100644 11_zh-cn.html create mode 100644 11_zh-tw.html create mode 100644 12_al.html create mode 100644 12_ar.html create mode 100644 12_de.html create mode 100644 12_en.html create mode 100644 12_es.html create mode 100644 12_fa.html create mode 100644 12_fi.html create mode 100644 12_fr.html create mode 100644 12_gr.html create mode 100644 12_hu.html create mode 100644 12_id.html create mode 100644 12_ie.html create mode 100644 12_it.html create mode 100644 12_ja.html create mode 100644 12_ko.html create mode 100644 12_ne.html create mode 100644 12_pl.html create mode 100644 12_pt-br.html create mode 100644 12_ro.html create mode 100644 12_ru.html create mode 100644 12_th.html create mode 100644 12_tr.html create mode 100644 12_ua.html create mode 100644 12_vi.html create mode 100644 12_zh-cn.html create mode 100644 12_zh-tw.html create mode 100644 14_al.html create mode 100644 14_ar.html create mode 100644 14_de.html create mode 100644 14_en.html create mode 100644 14_es.html create mode 100644 14_fa.html create mode 100644 14_fi.html create mode 100644 14_fr.html create mode 100644 14_gr.html create mode 100644 14_hu.html create mode 100644 14_id.html create mode 100644 14_ie.html create mode 100644 14_it.html create mode 100644 14_ja.html create mode 100644 14_ko.html create mode 100644 14_ne.html create mode 100644 14_pl.html create mode 100644 14_pt-br.html create mode 100644 14_ro.html create mode 100644 14_ru.html create mode 100644 14_th.html create mode 100644 14_tr.html create mode 100644 14_ua.html create mode 100644 14_vi.html create mode 100644 14_zh-cn.html create mode 100644 14_zh-tw.html create mode 100644 15_al.html create mode 100644 15_ar.html create mode 100644 15_de.html create mode 100644 15_en.html create mode 100644 15_es.html create mode 100644 15_fa.html create mode 100644 15_fi.html create mode 100644 15_fr.html create mode 100644 15_gr.html create mode 100644 15_hu.html create mode 100644 15_id.html create mode 100644 15_ie.html create mode 100644 15_it.html create mode 100644 15_ja.html create mode 100644 15_ko.html create mode 100644 15_ne.html create mode 100644 15_pl.html create mode 100644 15_pt-br.html create mode 100644 15_ro.html create mode 100644 15_ru.html create mode 100644 15_th.html create mode 100644 15_tr.html create mode 100644 15_ua.html create mode 100644 15_vi.html create mode 100644 15_zh-cn.html create mode 100644 15_zh-tw.html create mode 100644 16_al.html create mode 100644 16_ar.html create mode 100644 16_de.html create mode 100644 16_en.html create mode 100644 16_es.html create mode 100644 16_fa.html create mode 100644 16_fi.html create mode 100644 16_fr.html create mode 100644 16_gr.html create mode 100644 16_hu.html create mode 100644 16_id.html create mode 100644 16_ie.html create mode 100644 16_it.html create mode 100644 16_ja.html create mode 100644 16_ko.html create mode 100644 16_ne.html create mode 100644 16_pl.html create mode 100644 16_pt-br.html create mode 100644 16_ro.html create mode 100644 16_ru.html create mode 100644 16_th.html create mode 100644 16_tr.html create mode 100644 16_ua.html create mode 100644 16_vi.html create mode 100644 16_zh-cn.html create mode 100644 16_zh-tw.html create mode 100644 17_al.html create mode 100644 17_ar.html create mode 100644 17_de.html create mode 100644 17_en.html create mode 100644 17_es.html create mode 100644 17_fa.html create mode 100644 17_fi.html create mode 100644 17_fr.html create mode 100644 17_gr.html create mode 100644 17_hu.html create mode 100644 17_id.html create mode 100644 17_ie.html create mode 100644 17_it.html create mode 100644 17_ja.html create mode 100644 17_ko.html create mode 100644 17_ne.html create mode 100644 17_pl.html create mode 100644 17_pt-br.html create mode 100644 17_ro.html create mode 100644 17_ru.html create mode 100644 17_th.html create mode 100644 17_tr.html create mode 100644 17_ua.html create mode 100644 17_vi.html create mode 100644 17_zh-cn.html create mode 100644 17_zh-tw.html create mode 100644 18_al.html create mode 100644 18_ar.html create mode 100644 18_de.html create mode 100644 18_en.html create mode 100644 18_es.html create mode 100644 18_fa.html create mode 100644 18_fi.html create mode 100644 18_fr.html create mode 100644 18_gr.html create mode 100644 18_hu.html create mode 100644 18_id.html create mode 100644 18_ie.html create mode 100644 18_it.html create mode 100644 18_ja.html create mode 100644 18_ko.html create mode 100644 18_ne.html create mode 100644 18_pl.html create mode 100644 18_pt-br.html create mode 100644 18_ro.html create mode 100644 18_ru.html create mode 100644 18_th.html create mode 100644 18_tr.html create mode 100644 18_ua.html create mode 100644 18_vi.html create mode 100644 18_zh-cn.html create mode 100644 18_zh-tw.html create mode 100644 19_al.html create mode 100644 19_ar.html create mode 100644 19_de.html create mode 100644 19_en.html create mode 100644 19_es.html create mode 100644 19_fa.html create mode 100644 19_fi.html create mode 100644 19_fr.html create mode 100644 19_gr.html create mode 100644 19_hu.html create mode 100644 19_id.html create mode 100644 19_ie.html create mode 100644 19_it.html create mode 100644 19_ja.html create mode 100644 19_ko.html create mode 100644 19_ne.html create mode 100644 19_pl.html create mode 100644 19_pt-br.html create mode 100644 19_ro.html create mode 100644 19_ru.html create mode 100644 19_th.html create mode 100644 19_tr.html create mode 100644 19_ua.html create mode 100644 19_vi.html create mode 100644 19_zh-cn.html create mode 100644 19_zh-tw.html create mode 100644 20_al.html create mode 100644 20_ar.html create mode 100644 20_de.html create mode 100644 20_en.html create mode 100644 20_es.html create mode 100644 20_fa.html create mode 100644 20_fi.html create mode 100644 20_fr.html create mode 100644 20_gr.html create mode 100644 20_hu.html create mode 100644 20_id.html create mode 100644 20_ie.html create mode 100644 20_it.html create mode 100644 20_ja.html create mode 100644 20_ko.html create mode 100644 20_ne.html create mode 100644 20_pl.html create mode 100644 20_pt-br.html create mode 100644 20_ro.html create mode 100644 20_ru.html create mode 100644 20_th.html create mode 100644 20_tr.html create mode 100644 20_ua.html create mode 100644 20_vi.html create mode 100644 20_zh-cn.html create mode 100644 20_zh-tw.html create mode 100644 21_al.html create mode 100644 21_ar.html create mode 100644 21_de.html create mode 100644 21_en.html create mode 100644 21_es.html create mode 100644 21_fa.html create mode 100644 21_fi.html create mode 100644 21_fr.html create mode 100644 21_gr.html create mode 100644 21_hu.html create mode 100644 21_id.html create mode 100644 21_ie.html create mode 100644 21_it.html create mode 100644 21_ja.html create mode 100644 21_ko.html create mode 100644 21_ne.html create mode 100644 21_pl.html create mode 100644 21_pt-br.html create mode 100644 21_ro.html create mode 100644 21_ru.html create mode 100644 21_th.html create mode 100644 21_tr.html create mode 100644 21_ua.html create mode 100644 21_vi.html create mode 100644 21_zh-cn.html create mode 100644 21_zh-tw.html create mode 100644 23_al.html create mode 100644 23_ar.html create mode 100644 23_de.html create mode 100644 23_en.html create mode 100644 23_es.html create mode 100644 23_fa.html create mode 100644 23_fi.html create mode 100644 23_fr.html create mode 100644 23_gr.html create mode 100644 23_hu.html create mode 100644 23_id.html create mode 100644 23_ie.html create mode 100644 23_it.html create mode 100644 23_ja.html create mode 100644 23_ko.html create mode 100644 23_ne.html create mode 100644 23_pl.html create mode 100644 23_pt-br.html create mode 100644 23_ro.html create mode 100644 23_ru.html create mode 100644 23_th.html create mode 100644 23_tr.html create mode 100644 23_ua.html create mode 100644 23_vi.html create mode 100644 23_zh-cn.html create mode 100644 23_zh-tw.html create mode 100644 24_al.html create mode 100644 24_ar.html create mode 100644 24_de.html create mode 100644 24_en.html create mode 100644 24_es.html create mode 100644 24_fa.html create mode 100644 24_fi.html create mode 100644 24_fr.html create mode 100644 24_gr.html create mode 100644 24_hu.html create mode 100644 24_id.html create mode 100644 24_ie.html create mode 100644 24_it.html create mode 100644 24_ja.html create mode 100644 24_ko.html create mode 100644 24_ne.html create mode 100644 24_pl.html create mode 100644 24_pt-br.html create mode 100644 24_ro.html create mode 100644 24_ru.html create mode 100644 24_th.html create mode 100644 24_tr.html create mode 100644 24_ua.html create mode 100644 24_vi.html create mode 100644 24_zh-cn.html create mode 100644 24_zh-tw.html create mode 100644 25_al.html create mode 100644 25_ar.html create mode 100644 25_de.html create mode 100644 25_en.html create mode 100644 25_es.html create mode 100644 25_fa.html create mode 100644 25_fi.html create mode 100644 25_fr.html create mode 100644 25_gr.html create mode 100644 25_hu.html create mode 100644 25_id.html create mode 100644 25_ie.html create mode 100644 25_it.html create mode 100644 25_ja.html create mode 100644 25_ko.html create mode 100644 25_ne.html create mode 100644 25_pl.html create mode 100644 25_pt-br.html create mode 100644 25_ro.html create mode 100644 25_ru.html create mode 100644 25_th.html create mode 100644 25_tr.html create mode 100644 25_ua.html create mode 100644 25_vi.html create mode 100644 25_zh-cn.html create mode 100644 25_zh-tw.html create mode 100644 26_al.html create mode 100644 26_ar.html create mode 100644 26_de.html create mode 100644 26_en.html create mode 100644 26_es.html create mode 100644 26_fa.html create mode 100644 26_fi.html create mode 100644 26_fr.html create mode 100644 26_gr.html create mode 100644 26_hu.html create mode 100644 26_id.html create mode 100644 26_ie.html create mode 100644 26_it.html create mode 100644 26_ja.html create mode 100644 26_ko.html create mode 100644 26_ne.html create mode 100644 26_pl.html create mode 100644 26_pt-br.html create mode 100644 26_ro.html create mode 100644 26_ru.html create mode 100644 26_th.html create mode 100644 26_tr.html create mode 100644 26_ua.html create mode 100644 26_vi.html create mode 100644 26_zh-cn.html create mode 100644 26_zh-tw.html create mode 100644 27_al.html create mode 100644 27_ar.html create mode 100644 27_de.html create mode 100644 27_en.html create mode 100644 27_es.html create mode 100644 27_fa.html create mode 100644 27_fi.html create mode 100644 27_fr.html create mode 100644 27_gr.html create mode 100644 27_hu.html create mode 100644 27_id.html create mode 100644 27_ie.html create mode 100644 27_it.html create mode 100644 27_ja.html create mode 100644 27_ko.html create mode 100644 27_ne.html create mode 100644 27_pl.html create mode 100644 27_pt-br.html create mode 100644 27_ro.html create mode 100644 27_ru.html create mode 100644 27_th.html create mode 100644 27_tr.html create mode 100644 27_ua.html create mode 100644 27_vi.html create mode 100644 27_zh-cn.html create mode 100644 27_zh-tw.html create mode 100644 28_al.html create mode 100644 28_ar.html create mode 100644 28_de.html create mode 100644 28_en.html create mode 100644 28_es.html create mode 100644 28_fa.html create mode 100644 28_fi.html create mode 100644 28_fr.html create mode 100644 28_gr.html create mode 100644 28_hu.html create mode 100644 28_id.html create mode 100644 28_ie.html create mode 100644 28_it.html create mode 100644 28_ja.html create mode 100644 28_ko.html create mode 100644 28_ne.html create mode 100644 28_pl.html create mode 100644 28_pt-br.html create mode 100644 28_ro.html create mode 100644 28_ru.html create mode 100644 28_th.html create mode 100644 28_tr.html create mode 100644 28_ua.html create mode 100644 28_vi.html create mode 100644 28_zh-cn.html create mode 100644 28_zh-tw.html create mode 100644 29_al.html create mode 100644 29_ar.html create mode 100644 29_de.html create mode 100644 29_en.html create mode 100644 29_es.html create mode 100644 29_fa.html create mode 100644 29_fi.html create mode 100644 29_fr.html create mode 100644 29_gr.html create mode 100644 29_hu.html create mode 100644 29_id.html create mode 100644 29_ie.html create mode 100644 29_it.html create mode 100644 29_ja.html create mode 100644 29_ko.html create mode 100644 29_ne.html create mode 100644 29_pl.html create mode 100644 29_pt-br.html create mode 100644 29_ro.html create mode 100644 29_ru.html create mode 100644 29_th.html create mode 100644 29_tr.html create mode 100644 29_ua.html create mode 100644 29_vi.html create mode 100644 29_zh-cn.html create mode 100644 29_zh-tw.html create mode 100644 30_al.html create mode 100644 30_ar.html create mode 100644 30_de.html create mode 100644 30_en.html create mode 100644 30_es.html create mode 100644 30_fa.html create mode 100644 30_fi.html create mode 100644 30_fr.html create mode 100644 30_gr.html create mode 100644 30_hu.html create mode 100644 30_id.html create mode 100644 30_ie.html create mode 100644 30_it.html create mode 100644 30_ja.html create mode 100644 30_ko.html create mode 100644 30_ne.html create mode 100644 30_pl.html create mode 100644 30_pt-br.html create mode 100644 30_ro.html create mode 100644 30_ru.html create mode 100644 30_th.html create mode 100644 30_tr.html create mode 100644 30_ua.html create mode 100644 30_vi.html create mode 100644 30_zh-cn.html create mode 100644 30_zh-tw.html create mode 100644 31_al.html create mode 100644 31_ar.html create mode 100644 31_de.html create mode 100644 31_en.html create mode 100644 31_es.html create mode 100644 31_fa.html create mode 100644 31_fi.html create mode 100644 31_fr.html create mode 100644 31_gr.html create mode 100644 31_hu.html create mode 100644 31_id.html create mode 100644 31_ie.html create mode 100644 31_it.html create mode 100644 31_ja.html create mode 100644 31_ko.html create mode 100644 31_ne.html create mode 100644 31_pl.html create mode 100644 31_pt-br.html create mode 100644 31_ro.html create mode 100644 31_ru.html create mode 100644 31_th.html create mode 100644 31_tr.html create mode 100644 31_ua.html create mode 100644 31_vi.html create mode 100644 31_zh-cn.html create mode 100644 31_zh-tw.html create mode 100644 33_al.html create mode 100644 33_ar.html create mode 100644 33_de.html create mode 100644 33_en.html create mode 100644 33_es.html create mode 100644 33_fa.html create mode 100644 33_fi.html create mode 100644 33_fr.html create mode 100644 33_gr.html create mode 100644 33_hu.html create mode 100644 33_id.html create mode 100644 33_ie.html create mode 100644 33_it.html create mode 100644 33_ja.html create mode 100644 33_ko.html create mode 100644 33_ne.html create mode 100644 33_pl.html create mode 100644 33_pt-br.html create mode 100644 33_ro.html create mode 100644 33_ru.html create mode 100644 33_th.html create mode 100644 33_tr.html create mode 100644 33_ua.html create mode 100644 33_vi.html create mode 100644 33_zh-cn.html create mode 100644 33_zh-tw.html create mode 100644 34_al.html create mode 100644 34_ar.html create mode 100644 34_de.html create mode 100644 34_en.html create mode 100644 34_es.html create mode 100644 34_fa.html create mode 100644 34_fi.html create mode 100644 34_fr.html create mode 100644 34_gr.html create mode 100644 34_hu.html create mode 100644 34_id.html create mode 100644 34_ie.html create mode 100644 34_it.html create mode 100644 34_ja.html create mode 100644 34_ko.html create mode 100644 34_ne.html create mode 100644 34_pl.html create mode 100644 34_pt-br.html create mode 100644 34_ro.html create mode 100644 34_ru.html create mode 100644 34_th.html create mode 100644 34_tr.html create mode 100644 34_ua.html create mode 100644 34_vi.html create mode 100644 34_zh-cn.html create mode 100644 34_zh-tw.html create mode 100644 35_al.html create mode 100644 35_ar.html create mode 100644 35_de.html create mode 100644 35_en.html create mode 100644 35_es.html create mode 100644 35_fa.html create mode 100644 35_fi.html create mode 100644 35_fr.html create mode 100644 35_gr.html create mode 100644 35_hu.html create mode 100644 35_id.html create mode 100644 35_ie.html create mode 100644 35_it.html create mode 100644 35_ja.html create mode 100644 35_ko.html create mode 100644 35_ne.html create mode 100644 35_pl.html create mode 100644 35_pt-br.html create mode 100644 35_ro.html create mode 100644 35_ru.html create mode 100644 35_th.html create mode 100644 35_tr.html create mode 100644 35_ua.html create mode 100644 35_vi.html create mode 100644 35_zh-cn.html create mode 100644 35_zh-tw.html create mode 100644 36_al.html create mode 100644 36_ar.html create mode 100644 36_de.html create mode 100644 36_en.html create mode 100644 36_es.html create mode 100644 36_fa.html create mode 100644 36_fi.html create mode 100644 36_fr.html create mode 100644 36_gr.html create mode 100644 36_hu.html create mode 100644 36_id.html create mode 100644 36_ie.html create mode 100644 36_it.html create mode 100644 36_ja.html create mode 100644 36_ko.html create mode 100644 36_ne.html create mode 100644 36_pl.html create mode 100644 36_pt-br.html create mode 100644 36_ro.html create mode 100644 36_ru.html create mode 100644 36_th.html create mode 100644 36_tr.html create mode 100644 36_ua.html create mode 100644 36_vi.html create mode 100644 36_zh-cn.html create mode 100644 36_zh-tw.html create mode 100644 37_al.html create mode 100644 37_ar.html create mode 100644 37_de.html create mode 100644 37_en.html create mode 100644 37_es.html create mode 100644 37_fa.html create mode 100644 37_fi.html create mode 100644 37_fr.html create mode 100644 37_gr.html create mode 100644 37_hu.html create mode 100644 37_id.html create mode 100644 37_ie.html create mode 100644 37_it.html create mode 100644 37_ja.html create mode 100644 37_ko.html create mode 100644 37_ne.html create mode 100644 37_pl.html create mode 100644 37_pt-br.html create mode 100644 37_ro.html create mode 100644 37_ru.html create mode 100644 37_th.html create mode 100644 37_tr.html create mode 100644 37_ua.html create mode 100644 37_vi.html create mode 100644 37_zh-cn.html create mode 100644 37_zh-tw.html create mode 100644 38_al.html create mode 100644 38_ar.html create mode 100644 38_de.html create mode 100644 38_en.html create mode 100644 38_es.html create mode 100644 38_fa.html create mode 100644 38_fi.html create mode 100644 38_fr.html create mode 100644 38_gr.html create mode 100644 38_hu.html create mode 100644 38_id.html create mode 100644 38_ie.html create mode 100644 38_it.html create mode 100644 38_ja.html create mode 100644 38_ko.html create mode 100644 38_ne.html create mode 100644 38_pl.html create mode 100644 38_pt-br.html create mode 100644 38_ro.html create mode 100644 38_ru.html create mode 100644 38_th.html create mode 100644 38_tr.html create mode 100644 38_ua.html create mode 100644 38_vi.html create mode 100644 38_zh-cn.html create mode 100644 38_zh-tw.html create mode 100644 39_al.html create mode 100644 39_ar.html create mode 100644 39_de.html create mode 100644 39_en.html create mode 100644 39_es.html create mode 100644 39_fa.html create mode 100644 39_fi.html create mode 100644 39_fr.html create mode 100644 39_gr.html create mode 100644 39_hu.html create mode 100644 39_id.html create mode 100644 39_ie.html create mode 100644 39_it.html create mode 100644 39_ja.html create mode 100644 39_ko.html create mode 100644 39_ne.html create mode 100644 39_pl.html create mode 100644 39_pt-br.html create mode 100644 39_ro.html create mode 100644 39_ru.html create mode 100644 39_th.html create mode 100644 39_tr.html create mode 100644 39_ua.html create mode 100644 39_vi.html create mode 100644 39_zh-cn.html create mode 100644 39_zh-tw.html create mode 100644 40_al.html create mode 100644 40_ar.html create mode 100644 40_de.html create mode 100644 40_en.html create mode 100644 40_es.html create mode 100644 40_fa.html create mode 100644 40_fi.html create mode 100644 40_fr.html create mode 100644 40_gr.html create mode 100644 40_hu.html create mode 100644 40_id.html create mode 100644 40_ie.html create mode 100644 40_it.html create mode 100644 40_ja.html create mode 100644 40_ko.html create mode 100644 40_ne.html create mode 100644 40_pl.html create mode 100644 40_pt-br.html create mode 100644 40_ro.html create mode 100644 40_ru.html create mode 100644 40_th.html create mode 100644 40_tr.html create mode 100644 40_ua.html create mode 100644 40_vi.html create mode 100644 40_zh-cn.html create mode 100644 40_zh-tw.html create mode 100644 41_al.html create mode 100644 41_ar.html create mode 100644 41_de.html create mode 100644 41_en.html create mode 100644 41_es.html create mode 100644 41_fa.html create mode 100644 41_fi.html create mode 100644 41_fr.html create mode 100644 41_gr.html create mode 100644 41_hu.html create mode 100644 41_id.html create mode 100644 41_ie.html create mode 100644 41_it.html create mode 100644 41_ja.html create mode 100644 41_ko.html create mode 100644 41_ne.html create mode 100644 41_pl.html create mode 100644 41_pt-br.html create mode 100644 41_ro.html create mode 100644 41_ru.html create mode 100644 41_th.html create mode 100644 41_tr.html create mode 100644 41_ua.html create mode 100644 41_vi.html create mode 100644 41_zh-cn.html create mode 100644 41_zh-tw.html create mode 100644 43_al.html create mode 100644 43_ar.html create mode 100644 43_de.html create mode 100644 43_en.html create mode 100644 43_es.html create mode 100644 43_fa.html create mode 100644 43_fi.html create mode 100644 43_fr.html create mode 100644 43_gr.html create mode 100644 43_hu.html create mode 100644 43_id.html create mode 100644 43_ie.html create mode 100644 43_it.html create mode 100644 43_ja.html create mode 100644 43_ko.html create mode 100644 43_ne.html create mode 100644 43_pl.html create mode 100644 43_pt-br.html create mode 100644 43_ro.html create mode 100644 43_ru.html create mode 100644 43_th.html create mode 100644 43_tr.html create mode 100644 43_ua.html create mode 100644 43_vi.html create mode 100644 43_zh-cn.html create mode 100644 43_zh-tw.html create mode 100644 44_al.html create mode 100644 44_ar.html create mode 100644 44_de.html create mode 100644 44_en.html create mode 100644 44_es.html create mode 100644 44_fa.html create mode 100644 44_fi.html create mode 100644 44_fr.html create mode 100644 44_gr.html create mode 100644 44_hu.html create mode 100644 44_id.html create mode 100644 44_ie.html create mode 100644 44_it.html create mode 100644 44_ja.html create mode 100644 44_ko.html create mode 100644 44_ne.html create mode 100644 44_pl.html create mode 100644 44_pt-br.html create mode 100644 44_ro.html create mode 100644 44_ru.html create mode 100644 44_th.html create mode 100644 44_tr.html create mode 100644 44_ua.html create mode 100644 44_vi.html create mode 100644 44_zh-cn.html create mode 100644 44_zh-tw.html create mode 100644 45_al.html create mode 100644 45_ar.html create mode 100644 45_de.html create mode 100644 45_en.html create mode 100644 45_es.html create mode 100644 45_fa.html create mode 100644 45_fi.html create mode 100644 45_fr.html create mode 100644 45_gr.html create mode 100644 45_hu.html create mode 100644 45_id.html create mode 100644 45_ie.html create mode 100644 45_it.html create mode 100644 45_ja.html create mode 100644 45_ko.html create mode 100644 45_ne.html create mode 100644 45_pl.html create mode 100644 45_pt-br.html create mode 100644 45_ro.html create mode 100644 45_ru.html create mode 100644 45_th.html create mode 100644 45_tr.html create mode 100644 45_ua.html create mode 100644 45_vi.html create mode 100644 45_zh-cn.html create mode 100644 45_zh-tw.html create mode 100644 46_al.html create mode 100644 46_ar.html create mode 100644 46_de.html create mode 100644 46_en.html create mode 100644 46_es.html create mode 100644 46_fa.html create mode 100644 46_fi.html create mode 100644 46_fr.html create mode 100644 46_gr.html create mode 100644 46_hu.html create mode 100644 46_id.html create mode 100644 46_ie.html create mode 100644 46_it.html create mode 100644 46_ja.html create mode 100644 46_ko.html create mode 100644 46_ne.html create mode 100644 46_pl.html create mode 100644 46_pt-br.html create mode 100644 46_ro.html create mode 100644 46_ru.html create mode 100644 46_th.html create mode 100644 46_tr.html create mode 100644 46_ua.html create mode 100644 46_vi.html create mode 100644 46_zh-cn.html create mode 100644 46_zh-tw.html create mode 100644 47_al.html create mode 100644 47_ar.html create mode 100644 47_de.html create mode 100644 47_en.html create mode 100644 47_es.html create mode 100644 47_fa.html create mode 100644 47_fi.html create mode 100644 47_fr.html create mode 100644 47_gr.html create mode 100644 47_hu.html create mode 100644 47_id.html create mode 100644 47_ie.html create mode 100644 47_it.html create mode 100644 47_ja.html create mode 100644 47_ko.html create mode 100644 47_ne.html create mode 100644 47_pl.html create mode 100644 47_pt-br.html create mode 100644 47_ro.html create mode 100644 47_ru.html create mode 100644 47_th.html create mode 100644 47_tr.html create mode 100644 47_ua.html create mode 100644 47_vi.html create mode 100644 47_zh-cn.html create mode 100644 47_zh-tw.html create mode 100644 48_al.html create mode 100644 48_ar.html create mode 100644 48_de.html create mode 100644 48_en.html create mode 100644 48_es.html create mode 100644 48_fa.html create mode 100644 48_fi.html create mode 100644 48_fr.html create mode 100644 48_gr.html create mode 100644 48_hu.html create mode 100644 48_id.html create mode 100644 48_ie.html create mode 100644 48_it.html create mode 100644 48_ja.html create mode 100644 48_ko.html create mode 100644 48_ne.html create mode 100644 48_pl.html create mode 100644 48_pt-br.html create mode 100644 48_ro.html create mode 100644 48_ru.html create mode 100644 48_th.html create mode 100644 48_tr.html create mode 100644 48_ua.html create mode 100644 48_vi.html create mode 100644 48_zh-cn.html create mode 100644 48_zh-tw.html create mode 100644 49_al.html create mode 100644 49_ar.html create mode 100644 49_de.html create mode 100644 49_en.html create mode 100644 49_es.html create mode 100644 49_fa.html create mode 100644 49_fi.html create mode 100644 49_fr.html create mode 100644 49_gr.html create mode 100644 49_hu.html create mode 100644 49_id.html create mode 100644 49_ie.html create mode 100644 49_it.html create mode 100644 49_ja.html create mode 100644 49_ko.html create mode 100644 49_ne.html create mode 100644 49_pl.html create mode 100644 49_pt-br.html create mode 100644 49_ro.html create mode 100644 49_ru.html create mode 100644 49_th.html create mode 100644 49_tr.html create mode 100644 49_ua.html create mode 100644 49_vi.html create mode 100644 49_zh-cn.html create mode 100644 49_zh-tw.html create mode 100644 50_al.html create mode 100644 50_ar.html create mode 100644 50_de.html create mode 100644 50_en.html create mode 100644 50_es.html create mode 100644 50_fa.html create mode 100644 50_fi.html create mode 100644 50_fr.html create mode 100644 50_gr.html create mode 100644 50_hu.html create mode 100644 50_id.html create mode 100644 50_ie.html create mode 100644 50_it.html create mode 100644 50_ja.html create mode 100644 50_ko.html create mode 100644 50_ne.html create mode 100644 50_pl.html create mode 100644 50_pt-br.html create mode 100644 50_ro.html create mode 100644 50_ru.html create mode 100644 50_th.html create mode 100644 50_tr.html create mode 100644 50_ua.html create mode 100644 50_vi.html create mode 100644 50_zh-cn.html create mode 100644 50_zh-tw.html create mode 100644 51_al.html create mode 100644 51_ar.html create mode 100644 51_de.html create mode 100644 51_en.html create mode 100644 51_es.html create mode 100644 51_fa.html create mode 100644 51_fi.html create mode 100644 51_fr.html create mode 100644 51_gr.html create mode 100644 51_hu.html create mode 100644 51_id.html create mode 100644 51_ie.html create mode 100644 51_it.html create mode 100644 51_ja.html create mode 100644 51_ko.html create mode 100644 51_ne.html create mode 100644 51_pl.html create mode 100644 51_pt-br.html create mode 100644 51_ro.html create mode 100644 51_ru.html create mode 100644 51_th.html create mode 100644 51_tr.html create mode 100644 51_ua.html create mode 100644 51_vi.html create mode 100644 51_zh-cn.html create mode 100644 51_zh-tw.html create mode 100644 52_al.html create mode 100644 52_ar.html create mode 100644 52_de.html create mode 100644 52_en.html create mode 100644 52_es.html create mode 100644 52_fa.html create mode 100644 52_fi.html create mode 100644 52_fr.html create mode 100644 52_gr.html create mode 100644 52_hu.html create mode 100644 52_id.html create mode 100644 52_ie.html create mode 100644 52_it.html create mode 100644 52_ja.html create mode 100644 52_ko.html create mode 100644 52_ne.html create mode 100644 52_pl.html create mode 100644 52_pt-br.html create mode 100644 52_ro.html create mode 100644 52_ru.html create mode 100644 52_th.html create mode 100644 52_tr.html create mode 100644 52_ua.html create mode 100644 52_vi.html create mode 100644 52_zh-cn.html create mode 100644 52_zh-tw.html create mode 100644 53_al.html create mode 100644 53_ar.html create mode 100644 53_de.html create mode 100644 53_en.html create mode 100644 53_es.html create mode 100644 53_fa.html create mode 100644 53_fi.html create mode 100644 53_fr.html create mode 100644 53_gr.html create mode 100644 53_hu.html create mode 100644 53_id.html create mode 100644 53_ie.html create mode 100644 53_it.html create mode 100644 53_ja.html create mode 100644 53_ko.html create mode 100644 53_ne.html create mode 100644 53_pl.html create mode 100644 53_pt-br.html create mode 100644 53_ro.html create mode 100644 53_ru.html create mode 100644 53_th.html create mode 100644 53_tr.html create mode 100644 53_ua.html create mode 100644 53_vi.html create mode 100644 53_zh-cn.html create mode 100644 53_zh-tw.html create mode 100644 54_al.html create mode 100644 54_ar.html create mode 100644 54_de.html create mode 100644 54_en.html create mode 100644 54_es.html create mode 100644 54_fa.html create mode 100644 54_fi.html create mode 100644 54_fr.html create mode 100644 54_gr.html create mode 100644 54_hu.html create mode 100644 54_id.html create mode 100644 54_ie.html create mode 100644 54_it.html create mode 100644 54_ja.html create mode 100644 54_ko.html create mode 100644 54_ne.html create mode 100644 54_pl.html create mode 100644 54_pt-br.html create mode 100644 54_ro.html create mode 100644 54_ru.html create mode 100644 54_th.html create mode 100644 54_tr.html create mode 100644 54_ua.html create mode 100644 54_vi.html create mode 100644 54_zh-cn.html create mode 100644 54_zh-tw.html create mode 100644 55_al.html create mode 100644 55_ar.html create mode 100644 55_de.html create mode 100644 55_en.html create mode 100644 55_es.html create mode 100644 55_fa.html create mode 100644 55_fi.html create mode 100644 55_fr.html create mode 100644 55_gr.html create mode 100644 55_hu.html create mode 100644 55_id.html create mode 100644 55_ie.html create mode 100644 55_it.html create mode 100644 55_ja.html create mode 100644 55_ko.html create mode 100644 55_ne.html create mode 100644 55_pl.html create mode 100644 55_pt-br.html create mode 100644 55_ro.html create mode 100644 55_ru.html create mode 100644 55_th.html create mode 100644 55_tr.html create mode 100644 55_ua.html create mode 100644 55_vi.html create mode 100644 55_zh-cn.html create mode 100644 55_zh-tw.html create mode 100644 56_al.html create mode 100644 56_ar.html create mode 100644 56_de.html create mode 100644 56_en.html create mode 100644 56_es.html create mode 100644 56_fa.html create mode 100644 56_fi.html create mode 100644 56_fr.html create mode 100644 56_gr.html create mode 100644 56_hu.html create mode 100644 56_id.html create mode 100644 56_ie.html create mode 100644 56_it.html create mode 100644 56_ja.html create mode 100644 56_ko.html create mode 100644 56_ne.html create mode 100644 56_pl.html create mode 100644 56_pt-br.html create mode 100644 56_ro.html create mode 100644 56_ru.html create mode 100644 56_th.html create mode 100644 56_tr.html create mode 100644 56_ua.html create mode 100644 56_vi.html create mode 100644 56_zh-cn.html create mode 100644 56_zh-tw.html create mode 100644 57_al.html create mode 100644 57_ar.html create mode 100644 57_de.html create mode 100644 57_en.html create mode 100644 57_es.html create mode 100644 57_fa.html create mode 100644 57_fi.html create mode 100644 57_fr.html create mode 100644 57_gr.html create mode 100644 57_hu.html create mode 100644 57_id.html create mode 100644 57_ie.html create mode 100644 57_it.html create mode 100644 57_ja.html create mode 100644 57_ko.html create mode 100644 57_ne.html create mode 100644 57_pl.html create mode 100644 57_pt-br.html create mode 100644 57_ro.html create mode 100644 57_ru.html create mode 100644 57_th.html create mode 100644 57_tr.html create mode 100644 57_ua.html create mode 100644 57_vi.html create mode 100644 57_zh-cn.html create mode 100644 57_zh-tw.html create mode 100644 59_al.html create mode 100644 59_ar.html create mode 100644 59_de.html create mode 100644 59_en.html create mode 100644 59_es.html create mode 100644 59_fa.html create mode 100644 59_fi.html create mode 100644 59_fr.html create mode 100644 59_gr.html create mode 100644 59_hu.html create mode 100644 59_id.html create mode 100644 59_ie.html create mode 100644 59_it.html create mode 100644 59_ja.html create mode 100644 59_ko.html create mode 100644 59_ne.html create mode 100644 59_pl.html create mode 100644 59_pt-br.html create mode 100644 59_ro.html create mode 100644 59_ru.html create mode 100644 59_th.html create mode 100644 59_tr.html create mode 100644 59_ua.html create mode 100644 59_vi.html create mode 100644 59_zh-cn.html create mode 100644 59_zh-tw.html create mode 100644 60_al.html create mode 100644 60_ar.html create mode 100644 60_de.html create mode 100644 60_en.html create mode 100644 60_es.html create mode 100644 60_fa.html create mode 100644 60_fi.html create mode 100644 60_fr.html create mode 100644 60_gr.html create mode 100644 60_hu.html create mode 100644 60_id.html create mode 100644 60_ie.html create mode 100644 60_it.html create mode 100644 60_ja.html create mode 100644 60_ko.html create mode 100644 60_ne.html create mode 100644 60_pl.html create mode 100644 60_pt-br.html create mode 100644 60_ro.html create mode 100644 60_ru.html create mode 100644 60_th.html create mode 100644 60_tr.html create mode 100644 60_ua.html create mode 100644 60_vi.html create mode 100644 60_zh-cn.html create mode 100644 60_zh-tw.html create mode 100644 61_al.html create mode 100644 61_ar.html create mode 100644 61_de.html create mode 100644 61_en.html create mode 100644 61_es.html create mode 100644 61_fa.html create mode 100644 61_fi.html create mode 100644 61_fr.html create mode 100644 61_gr.html create mode 100644 61_hu.html create mode 100644 61_id.html create mode 100644 61_ie.html create mode 100644 61_it.html create mode 100644 61_ja.html create mode 100644 61_ko.html create mode 100644 61_ne.html create mode 100644 61_pl.html create mode 100644 61_pt-br.html create mode 100644 61_ro.html create mode 100644 61_ru.html create mode 100644 61_th.html create mode 100644 61_tr.html create mode 100644 61_ua.html create mode 100644 61_vi.html create mode 100644 61_zh-cn.html create mode 100644 61_zh-tw.html create mode 100644 62_al.html create mode 100644 62_ar.html create mode 100644 62_de.html create mode 100644 62_en.html create mode 100644 62_es.html create mode 100644 62_fa.html create mode 100644 62_fi.html create mode 100644 62_fr.html create mode 100644 62_gr.html create mode 100644 62_hu.html create mode 100644 62_id.html create mode 100644 62_ie.html create mode 100644 62_it.html create mode 100644 62_ja.html create mode 100644 62_ko.html create mode 100644 62_ne.html create mode 100644 62_pl.html create mode 100644 62_pt-br.html create mode 100644 62_ro.html create mode 100644 62_ru.html create mode 100644 62_th.html create mode 100644 62_tr.html create mode 100644 62_ua.html create mode 100644 62_vi.html create mode 100644 62_zh-cn.html create mode 100644 62_zh-tw.html create mode 100644 63_al.html create mode 100644 63_ar.html create mode 100644 63_de.html create mode 100644 63_en.html create mode 100644 63_es.html create mode 100644 63_fa.html create mode 100644 63_fi.html create mode 100644 63_fr.html create mode 100644 63_gr.html create mode 100644 63_hu.html create mode 100644 63_id.html create mode 100644 63_ie.html create mode 100644 63_it.html create mode 100644 63_ja.html create mode 100644 63_ko.html create mode 100644 63_ne.html create mode 100644 63_pl.html create mode 100644 63_pt-br.html create mode 100644 63_ro.html create mode 100644 63_ru.html create mode 100644 63_th.html create mode 100644 63_tr.html create mode 100644 63_ua.html create mode 100644 63_vi.html create mode 100644 63_zh-cn.html create mode 100644 63_zh-tw.html create mode 100644 64_al.html create mode 100644 64_ar.html create mode 100644 64_de.html create mode 100644 64_en.html create mode 100644 64_es.html create mode 100644 64_fa.html create mode 100644 64_fi.html create mode 100644 64_fr.html create mode 100644 64_gr.html create mode 100644 64_hu.html create mode 100644 64_id.html create mode 100644 64_ie.html create mode 100644 64_it.html create mode 100644 64_ja.html create mode 100644 64_ko.html create mode 100644 64_ne.html create mode 100644 64_pl.html create mode 100644 64_pt-br.html create mode 100644 64_ro.html create mode 100644 64_ru.html create mode 100644 64_th.html create mode 100644 64_tr.html create mode 100644 64_ua.html create mode 100644 64_vi.html create mode 100644 64_zh-cn.html create mode 100644 64_zh-tw.html create mode 100644 65_al.html create mode 100644 65_ar.html create mode 100644 65_de.html create mode 100644 65_en.html create mode 100644 65_es.html create mode 100644 65_fa.html create mode 100644 65_fi.html create mode 100644 65_fr.html create mode 100644 65_gr.html create mode 100644 65_hu.html create mode 100644 65_id.html create mode 100644 65_ie.html create mode 100644 65_it.html create mode 100644 65_ja.html create mode 100644 65_ko.html create mode 100644 65_ne.html create mode 100644 65_pl.html create mode 100644 65_pt-br.html create mode 100644 65_ro.html create mode 100644 65_ru.html create mode 100644 65_th.html create mode 100644 65_tr.html create mode 100644 65_ua.html create mode 100644 65_vi.html create mode 100644 65_zh-cn.html create mode 100644 65_zh-tw.html create mode 100644 66_al.html create mode 100644 66_ar.html create mode 100644 66_de.html create mode 100644 66_en.html create mode 100644 66_es.html create mode 100644 66_fa.html create mode 100644 66_fi.html create mode 100644 66_fr.html create mode 100644 66_gr.html create mode 100644 66_hu.html create mode 100644 66_id.html create mode 100644 66_ie.html create mode 100644 66_it.html create mode 100644 66_ja.html create mode 100644 66_ko.html create mode 100644 66_ne.html create mode 100644 66_pl.html create mode 100644 66_pt-br.html create mode 100644 66_ro.html create mode 100644 66_ru.html create mode 100644 66_th.html create mode 100644 66_tr.html create mode 100644 66_ua.html create mode 100644 66_vi.html create mode 100644 66_zh-cn.html create mode 100644 66_zh-tw.html create mode 100644 67_al.html create mode 100644 67_ar.html create mode 100644 67_de.html create mode 100644 67_en.html create mode 100644 67_es.html create mode 100644 67_fa.html create mode 100644 67_fi.html create mode 100644 67_fr.html create mode 100644 67_gr.html create mode 100644 67_hu.html create mode 100644 67_id.html create mode 100644 67_ie.html create mode 100644 67_it.html create mode 100644 67_ja.html create mode 100644 67_ko.html create mode 100644 67_ne.html create mode 100644 67_pl.html create mode 100644 67_pt-br.html create mode 100644 67_ro.html create mode 100644 67_ru.html create mode 100644 67_th.html create mode 100644 67_tr.html create mode 100644 67_ua.html create mode 100644 67_vi.html create mode 100644 67_zh-cn.html create mode 100644 67_zh-tw.html create mode 100644 68_al.html create mode 100644 68_ar.html create mode 100644 68_de.html create mode 100644 68_en.html create mode 100644 68_es.html create mode 100644 68_fa.html create mode 100644 68_fi.html create mode 100644 68_fr.html create mode 100644 68_gr.html create mode 100644 68_hu.html create mode 100644 68_id.html create mode 100644 68_ie.html create mode 100644 68_it.html create mode 100644 68_ja.html create mode 100644 68_ko.html create mode 100644 68_ne.html create mode 100644 68_pl.html create mode 100644 68_pt-br.html create mode 100644 68_ro.html create mode 100644 68_ru.html create mode 100644 68_th.html create mode 100644 68_tr.html create mode 100644 68_ua.html create mode 100644 68_vi.html create mode 100644 68_zh-cn.html create mode 100644 68_zh-tw.html create mode 100644 69_al.html create mode 100644 69_ar.html create mode 100644 69_de.html create mode 100644 69_en.html create mode 100644 69_es.html create mode 100644 69_fa.html create mode 100644 69_fi.html create mode 100644 69_fr.html create mode 100644 69_gr.html create mode 100644 69_hu.html create mode 100644 69_id.html create mode 100644 69_ie.html create mode 100644 69_it.html create mode 100644 69_ja.html create mode 100644 69_ko.html create mode 100644 69_ne.html create mode 100644 69_pl.html create mode 100644 69_pt-br.html create mode 100644 69_ro.html create mode 100644 69_ru.html create mode 100644 69_th.html create mode 100644 69_tr.html create mode 100644 69_ua.html create mode 100644 69_vi.html create mode 100644 69_zh-cn.html create mode 100644 69_zh-tw.html create mode 100644 70_al.html create mode 100644 70_ar.html create mode 100644 70_de.html create mode 100644 70_en.html create mode 100644 70_es.html create mode 100644 70_fa.html create mode 100644 70_fi.html create mode 100644 70_fr.html create mode 100644 70_gr.html create mode 100644 70_hu.html create mode 100644 70_id.html create mode 100644 70_ie.html create mode 100644 70_it.html create mode 100644 70_ja.html create mode 100644 70_ko.html create mode 100644 70_ne.html create mode 100644 70_pl.html create mode 100644 70_pt-br.html create mode 100644 70_ro.html create mode 100644 70_ru.html create mode 100644 70_th.html create mode 100644 70_tr.html create mode 100644 70_ua.html create mode 100644 70_vi.html create mode 100644 70_zh-cn.html create mode 100644 70_zh-tw.html create mode 100644 71_al.html create mode 100644 71_ar.html create mode 100644 71_de.html create mode 100644 71_en.html create mode 100644 71_es.html create mode 100644 71_fa.html create mode 100644 71_fi.html create mode 100644 71_fr.html create mode 100644 71_gr.html create mode 100644 71_hu.html create mode 100644 71_id.html create mode 100644 71_ie.html create mode 100644 71_it.html create mode 100644 71_ja.html create mode 100644 71_ko.html create mode 100644 71_ne.html create mode 100644 71_pl.html create mode 100644 71_pt-br.html create mode 100644 71_ro.html create mode 100644 71_ru.html create mode 100644 71_th.html create mode 100644 71_tr.html create mode 100644 71_ua.html create mode 100644 71_vi.html create mode 100644 71_zh-cn.html create mode 100644 71_zh-tw.html create mode 100644 72_al.html create mode 100644 72_ar.html create mode 100644 72_de.html create mode 100644 72_en.html create mode 100644 72_es.html create mode 100644 72_fa.html create mode 100644 72_fi.html create mode 100644 72_fr.html create mode 100644 72_gr.html create mode 100644 72_hu.html create mode 100644 72_id.html create mode 100644 72_ie.html create mode 100644 72_it.html create mode 100644 72_ja.html create mode 100644 72_ko.html create mode 100644 72_ne.html create mode 100644 72_pl.html create mode 100644 72_pt-br.html create mode 100644 72_ro.html create mode 100644 72_ru.html create mode 100644 72_th.html create mode 100644 72_tr.html create mode 100644 72_ua.html create mode 100644 72_vi.html create mode 100644 72_zh-cn.html create mode 100644 72_zh-tw.html create mode 100644 74_al.html create mode 100644 74_ar.html create mode 100644 74_de.html create mode 100644 74_en.html create mode 100644 74_es.html create mode 100644 74_fa.html create mode 100644 74_fi.html create mode 100644 74_fr.html create mode 100644 74_gr.html create mode 100644 74_hu.html create mode 100644 74_id.html create mode 100644 74_ie.html create mode 100644 74_it.html create mode 100644 74_ja.html create mode 100644 74_ko.html create mode 100644 74_ne.html create mode 100644 74_pl.html create mode 100644 74_pt-br.html create mode 100644 74_ro.html create mode 100644 74_ru.html create mode 100644 74_th.html create mode 100644 74_tr.html create mode 100644 74_ua.html create mode 100644 74_vi.html create mode 100644 74_zh-cn.html create mode 100644 74_zh-tw.html create mode 100644 75_al.html create mode 100644 75_ar.html create mode 100644 75_de.html create mode 100644 75_en.html create mode 100644 75_es.html create mode 100644 75_fa.html create mode 100644 75_fi.html create mode 100644 75_fr.html create mode 100644 75_gr.html create mode 100644 75_hu.html create mode 100644 75_id.html create mode 100644 75_ie.html create mode 100644 75_it.html create mode 100644 75_ja.html create mode 100644 75_ko.html create mode 100644 75_ne.html create mode 100644 75_pl.html create mode 100644 75_pt-br.html create mode 100644 75_ro.html create mode 100644 75_ru.html create mode 100644 75_th.html create mode 100644 75_tr.html create mode 100644 75_ua.html create mode 100644 75_vi.html create mode 100644 75_zh-cn.html create mode 100644 75_zh-tw.html create mode 100644 76_al.html create mode 100644 76_ar.html create mode 100644 76_de.html create mode 100644 76_en.html create mode 100644 76_es.html create mode 100644 76_fa.html create mode 100644 76_fi.html create mode 100644 76_fr.html create mode 100644 76_gr.html create mode 100644 76_hu.html create mode 100644 76_id.html create mode 100644 76_ie.html create mode 100644 76_it.html create mode 100644 76_ja.html create mode 100644 76_ko.html create mode 100644 76_ne.html create mode 100644 76_pl.html create mode 100644 76_pt-br.html create mode 100644 76_ro.html create mode 100644 76_ru.html create mode 100644 76_th.html create mode 100644 76_tr.html create mode 100644 76_ua.html create mode 100644 76_vi.html create mode 100644 76_zh-cn.html create mode 100644 76_zh-tw.html create mode 100644 77_al.html create mode 100644 77_ar.html create mode 100644 77_de.html create mode 100644 77_en.html create mode 100644 77_es.html create mode 100644 77_fa.html create mode 100644 77_fi.html create mode 100644 77_fr.html create mode 100644 77_gr.html create mode 100644 77_hu.html create mode 100644 77_id.html create mode 100644 77_ie.html create mode 100644 77_it.html create mode 100644 77_ja.html create mode 100644 77_ko.html create mode 100644 77_ne.html create mode 100644 77_pl.html create mode 100644 77_pt-br.html create mode 100644 77_ro.html create mode 100644 77_ru.html create mode 100644 77_th.html create mode 100644 77_tr.html create mode 100644 77_ua.html create mode 100644 77_vi.html create mode 100644 77_zh-cn.html create mode 100644 77_zh-tw.html create mode 100644 78_al.html create mode 100644 78_ar.html create mode 100644 78_de.html create mode 100644 78_en.html create mode 100644 78_es.html create mode 100644 78_fa.html create mode 100644 78_fi.html create mode 100644 78_fr.html create mode 100644 78_gr.html create mode 100644 78_hu.html create mode 100644 78_id.html create mode 100644 78_ie.html create mode 100644 78_it.html create mode 100644 78_ja.html create mode 100644 78_ko.html create mode 100644 78_ne.html create mode 100644 78_pl.html create mode 100644 78_pt-br.html create mode 100644 78_ro.html create mode 100644 78_ru.html create mode 100644 78_th.html create mode 100644 78_tr.html create mode 100644 78_ua.html create mode 100644 78_vi.html create mode 100644 78_zh-cn.html create mode 100644 78_zh-tw.html create mode 100644 79_al.html create mode 100644 79_ar.html create mode 100644 79_de.html create mode 100644 79_en.html create mode 100644 79_es.html create mode 100644 79_fa.html create mode 100644 79_fi.html create mode 100644 79_fr.html create mode 100644 79_gr.html create mode 100644 79_hu.html create mode 100644 79_id.html create mode 100644 79_ie.html create mode 100644 79_it.html create mode 100644 79_ja.html create mode 100644 79_ko.html create mode 100644 79_ne.html create mode 100644 79_pl.html create mode 100644 79_pt-br.html create mode 100644 79_ro.html create mode 100644 79_ru.html create mode 100644 79_th.html create mode 100644 79_tr.html create mode 100644 79_ua.html create mode 100644 79_vi.html create mode 100644 79_zh-cn.html create mode 100644 79_zh-tw.html create mode 100644 80_al.html create mode 100644 80_ar.html create mode 100644 80_de.html create mode 100644 80_en.html create mode 100644 80_es.html create mode 100644 80_fa.html create mode 100644 80_fi.html create mode 100644 80_fr.html create mode 100644 80_gr.html create mode 100644 80_hu.html create mode 100644 80_id.html create mode 100644 80_ie.html create mode 100644 80_it.html create mode 100644 80_ja.html create mode 100644 80_ko.html create mode 100644 80_ne.html create mode 100644 80_pl.html create mode 100644 80_pt-br.html create mode 100644 80_ro.html create mode 100644 80_ru.html create mode 100644 80_th.html create mode 100644 80_tr.html create mode 100644 80_ua.html create mode 100644 80_vi.html create mode 100644 80_zh-cn.html create mode 100644 80_zh-tw.html create mode 100644 81_al.html create mode 100644 81_ar.html create mode 100644 81_de.html create mode 100644 81_en.html create mode 100644 81_es.html create mode 100644 81_fa.html create mode 100644 81_fi.html create mode 100644 81_fr.html create mode 100644 81_gr.html create mode 100644 81_hu.html create mode 100644 81_id.html create mode 100644 81_ie.html create mode 100644 81_it.html create mode 100644 81_ja.html create mode 100644 81_ko.html create mode 100644 81_ne.html create mode 100644 81_pl.html create mode 100644 81_pt-br.html create mode 100644 81_ro.html create mode 100644 81_ru.html create mode 100644 81_th.html create mode 100644 81_tr.html create mode 100644 81_ua.html create mode 100644 81_vi.html create mode 100644 81_zh-cn.html create mode 100644 81_zh-tw.html create mode 100644 82_al.html create mode 100644 82_ar.html create mode 100644 82_de.html create mode 100644 82_en.html create mode 100644 82_es.html create mode 100644 82_fa.html create mode 100644 82_fi.html create mode 100644 82_fr.html create mode 100644 82_gr.html create mode 100644 82_hu.html create mode 100644 82_id.html create mode 100644 82_ie.html create mode 100644 82_it.html create mode 100644 82_ja.html create mode 100644 82_ko.html create mode 100644 82_ne.html create mode 100644 82_pl.html create mode 100644 82_pt-br.html create mode 100644 82_ro.html create mode 100644 82_ru.html create mode 100644 82_th.html create mode 100644 82_tr.html create mode 100644 82_ua.html create mode 100644 82_vi.html create mode 100644 82_zh-cn.html create mode 100644 82_zh-tw.html create mode 100644 83_al.html create mode 100644 83_ar.html create mode 100644 83_de.html create mode 100644 83_en.html create mode 100644 83_es.html create mode 100644 83_fa.html create mode 100644 83_fi.html create mode 100644 83_fr.html create mode 100644 83_gr.html create mode 100644 83_hu.html create mode 100644 83_id.html create mode 100644 83_ie.html create mode 100644 83_it.html create mode 100644 83_ja.html create mode 100644 83_ko.html create mode 100644 83_ne.html create mode 100644 83_pl.html create mode 100644 83_pt-br.html create mode 100644 83_ro.html create mode 100644 83_ru.html create mode 100644 83_th.html create mode 100644 83_tr.html create mode 100644 83_ua.html create mode 100644 83_vi.html create mode 100644 83_zh-cn.html create mode 100644 83_zh-tw.html create mode 100644 84_al.html create mode 100644 84_ar.html create mode 100644 84_de.html create mode 100644 84_en.html create mode 100644 84_es.html create mode 100644 84_fa.html create mode 100644 84_fi.html create mode 100644 84_fr.html create mode 100644 84_gr.html create mode 100644 84_hu.html create mode 100644 84_id.html create mode 100644 84_ie.html create mode 100644 84_it.html create mode 100644 84_ja.html create mode 100644 84_ko.html create mode 100644 84_ne.html create mode 100644 84_pl.html create mode 100644 84_pt-br.html create mode 100644 84_ro.html create mode 100644 84_ru.html create mode 100644 84_th.html create mode 100644 84_tr.html create mode 100644 84_ua.html create mode 100644 84_vi.html create mode 100644 84_zh-cn.html create mode 100644 84_zh-tw.html create mode 100644 85_al.html create mode 100644 85_ar.html create mode 100644 85_de.html create mode 100644 85_en.html create mode 100644 85_es.html create mode 100644 85_fa.html create mode 100644 85_fi.html create mode 100644 85_fr.html create mode 100644 85_gr.html create mode 100644 85_hu.html create mode 100644 85_id.html create mode 100644 85_ie.html create mode 100644 85_it.html create mode 100644 85_ja.html create mode 100644 85_ko.html create mode 100644 85_ne.html create mode 100644 85_pl.html create mode 100644 85_pt-br.html create mode 100644 85_ro.html create mode 100644 85_ru.html create mode 100644 85_th.html create mode 100644 85_tr.html create mode 100644 85_ua.html create mode 100644 85_vi.html create mode 100644 85_zh-cn.html create mode 100644 85_zh-tw.html create mode 100644 86_al.html create mode 100644 86_ar.html create mode 100644 86_de.html create mode 100644 86_en.html create mode 100644 86_es.html create mode 100644 86_fa.html create mode 100644 86_fi.html create mode 100644 86_fr.html create mode 100644 86_gr.html create mode 100644 86_hu.html create mode 100644 86_id.html create mode 100644 86_ie.html create mode 100644 86_it.html create mode 100644 86_ja.html create mode 100644 86_ko.html create mode 100644 86_ne.html create mode 100644 86_pl.html create mode 100644 86_pt-br.html create mode 100644 86_ro.html create mode 100644 86_ru.html create mode 100644 86_th.html create mode 100644 86_tr.html create mode 100644 86_ua.html create mode 100644 86_vi.html create mode 100644 86_zh-cn.html create mode 100644 86_zh-tw.html create mode 100644 87_al.html create mode 100644 87_ar.html create mode 100644 87_de.html create mode 100644 87_en.html create mode 100644 87_es.html create mode 100644 87_fa.html create mode 100644 87_fi.html create mode 100644 87_fr.html create mode 100644 87_gr.html create mode 100644 87_hu.html create mode 100644 87_id.html create mode 100644 87_ie.html create mode 100644 87_it.html create mode 100644 87_ja.html create mode 100644 87_ko.html create mode 100644 87_ne.html create mode 100644 87_pl.html create mode 100644 87_pt-br.html create mode 100644 87_ro.html create mode 100644 87_ru.html create mode 100644 87_th.html create mode 100644 87_tr.html create mode 100644 87_ua.html create mode 100644 87_vi.html create mode 100644 87_zh-cn.html create mode 100644 87_zh-tw.html create mode 100644 88_al.html create mode 100644 88_ar.html create mode 100644 88_de.html create mode 100644 88_en.html create mode 100644 88_es.html create mode 100644 88_fa.html create mode 100644 88_fi.html create mode 100644 88_fr.html create mode 100644 88_gr.html create mode 100644 88_hu.html create mode 100644 88_id.html create mode 100644 88_ie.html create mode 100644 88_it.html create mode 100644 88_ja.html create mode 100644 88_ko.html create mode 100644 88_ne.html create mode 100644 88_pl.html create mode 100644 88_pt-br.html create mode 100644 88_ro.html create mode 100644 88_ru.html create mode 100644 88_th.html create mode 100644 88_tr.html create mode 100644 88_ua.html create mode 100644 88_vi.html create mode 100644 88_zh-cn.html create mode 100644 88_zh-tw.html create mode 100644 90_al.html create mode 100644 90_ar.html create mode 100644 90_de.html create mode 100644 90_en.html create mode 100644 90_es.html create mode 100644 90_fa.html create mode 100644 90_fi.html create mode 100644 90_fr.html create mode 100644 90_gr.html create mode 100644 90_hu.html create mode 100644 90_id.html create mode 100644 90_ie.html create mode 100644 90_it.html create mode 100644 90_ja.html create mode 100644 90_ko.html create mode 100644 90_ne.html create mode 100644 90_pl.html create mode 100644 90_pt-br.html create mode 100644 90_ro.html create mode 100644 90_ru.html create mode 100644 90_th.html create mode 100644 90_tr.html create mode 100644 90_ua.html create mode 100644 90_vi.html create mode 100644 90_zh-cn.html create mode 100644 90_zh-tw.html create mode 100644 91_al.html create mode 100644 91_ar.html create mode 100644 91_de.html create mode 100644 91_en.html create mode 100644 91_es.html create mode 100644 91_fa.html create mode 100644 91_fi.html create mode 100644 91_fr.html create mode 100644 91_gr.html create mode 100644 91_hu.html create mode 100644 91_id.html create mode 100644 91_ie.html create mode 100644 91_it.html create mode 100644 91_ja.html create mode 100644 91_ko.html create mode 100644 91_ne.html create mode 100644 91_pl.html create mode 100644 91_pt-br.html create mode 100644 91_ro.html create mode 100644 91_ru.html create mode 100644 91_th.html create mode 100644 91_tr.html create mode 100644 91_ua.html create mode 100644 91_vi.html create mode 100644 91_zh-cn.html create mode 100644 91_zh-tw.html create mode 100644 92_al.html create mode 100644 92_ar.html create mode 100644 92_de.html create mode 100644 92_en.html create mode 100644 92_es.html create mode 100644 92_fa.html create mode 100644 92_fi.html create mode 100644 92_fr.html create mode 100644 92_gr.html create mode 100644 92_hu.html create mode 100644 92_id.html create mode 100644 92_ie.html create mode 100644 92_it.html create mode 100644 92_ja.html create mode 100644 92_ko.html create mode 100644 92_ne.html create mode 100644 92_pl.html create mode 100644 92_pt-br.html create mode 100644 92_ro.html create mode 100644 92_ru.html create mode 100644 92_th.html create mode 100644 92_tr.html create mode 100644 92_ua.html create mode 100644 92_vi.html create mode 100644 92_zh-cn.html create mode 100644 92_zh-tw.html create mode 100644 93_al.html create mode 100644 93_ar.html create mode 100644 93_de.html create mode 100644 93_en.html create mode 100644 93_es.html create mode 100644 93_fa.html create mode 100644 93_fi.html create mode 100644 93_fr.html create mode 100644 93_gr.html create mode 100644 93_hu.html create mode 100644 93_id.html create mode 100644 93_ie.html create mode 100644 93_it.html create mode 100644 93_ja.html create mode 100644 93_ko.html create mode 100644 93_ne.html create mode 100644 93_pl.html create mode 100644 93_pt-br.html create mode 100644 93_ro.html create mode 100644 93_ru.html create mode 100644 93_th.html create mode 100644 93_tr.html create mode 100644 93_ua.html create mode 100644 93_vi.html create mode 100644 93_zh-cn.html create mode 100644 93_zh-tw.html create mode 100644 94_al.html create mode 100644 94_ar.html create mode 100644 94_de.html create mode 100644 94_en.html create mode 100644 94_es.html create mode 100644 94_fa.html create mode 100644 94_fi.html create mode 100644 94_fr.html create mode 100644 94_gr.html create mode 100644 94_hu.html create mode 100644 94_id.html create mode 100644 94_ie.html create mode 100644 94_it.html create mode 100644 94_ja.html create mode 100644 94_ko.html create mode 100644 94_ne.html create mode 100644 94_pl.html create mode 100644 94_pt-br.html create mode 100644 94_ro.html create mode 100644 94_ru.html create mode 100644 94_th.html create mode 100644 94_tr.html create mode 100644 94_ua.html create mode 100644 94_vi.html create mode 100644 94_zh-cn.html create mode 100644 94_zh-tw.html create mode 100644 95_al.html create mode 100644 95_ar.html create mode 100644 95_de.html create mode 100644 95_en.html create mode 100644 95_es.html create mode 100644 95_fa.html create mode 100644 95_fi.html create mode 100644 95_fr.html create mode 100644 95_gr.html create mode 100644 95_hu.html create mode 100644 95_id.html create mode 100644 95_ie.html create mode 100644 95_it.html create mode 100644 95_ja.html create mode 100644 95_ko.html create mode 100644 95_ne.html create mode 100644 95_pl.html create mode 100644 95_pt-br.html create mode 100644 95_ro.html create mode 100644 95_ru.html create mode 100644 95_th.html create mode 100644 95_tr.html create mode 100644 95_ua.html create mode 100644 95_vi.html create mode 100644 95_zh-cn.html create mode 100644 95_zh-tw.html create mode 100644 96_al.html create mode 100644 96_ar.html create mode 100644 96_de.html create mode 100644 96_en.html create mode 100644 96_es.html create mode 100644 96_fa.html create mode 100644 96_fi.html create mode 100644 96_fr.html create mode 100644 96_gr.html create mode 100644 96_hu.html create mode 100644 96_id.html create mode 100644 96_ie.html create mode 100644 96_it.html create mode 100644 96_ja.html create mode 100644 96_ko.html create mode 100644 96_ne.html create mode 100644 96_pl.html create mode 100644 96_pt-br.html create mode 100644 96_ro.html create mode 100644 96_ru.html create mode 100644 96_th.html create mode 100644 96_tr.html create mode 100644 96_ua.html create mode 100644 96_vi.html create mode 100644 96_zh-cn.html create mode 100644 96_zh-tw.html create mode 100644 97_al.html create mode 100644 97_ar.html create mode 100644 97_de.html create mode 100644 97_en.html create mode 100644 97_es.html create mode 100644 97_fa.html create mode 100644 97_fi.html create mode 100644 97_fr.html create mode 100644 97_gr.html create mode 100644 97_hu.html create mode 100644 97_id.html create mode 100644 97_ie.html create mode 100644 97_it.html create mode 100644 97_ja.html create mode 100644 97_ko.html create mode 100644 97_ne.html create mode 100644 97_pl.html create mode 100644 97_pt-br.html create mode 100644 97_ro.html create mode 100644 97_ru.html create mode 100644 97_th.html create mode 100644 97_tr.html create mode 100644 97_ua.html create mode 100644 97_vi.html create mode 100644 97_zh-cn.html create mode 100644 97_zh-tw.html create mode 100644 98_al.html create mode 100644 98_ar.html create mode 100644 98_de.html create mode 100644 98_en.html create mode 100644 98_es.html create mode 100644 98_fa.html create mode 100644 98_fi.html create mode 100644 98_fr.html create mode 100644 98_gr.html create mode 100644 98_hu.html create mode 100644 98_id.html create mode 100644 98_ie.html create mode 100644 98_it.html create mode 100644 98_ja.html create mode 100644 98_ko.html create mode 100644 98_ne.html create mode 100644 98_pl.html create mode 100644 98_pt-br.html create mode 100644 98_ro.html create mode 100644 98_ru.html create mode 100644 98_th.html create mode 100644 98_tr.html create mode 100644 98_ua.html create mode 100644 98_vi.html create mode 100644 98_zh-cn.html create mode 100644 98_zh-tw.html create mode 100644 99_al.html create mode 100644 99_ar.html create mode 100644 99_de.html create mode 100644 99_en.html create mode 100644 99_es.html create mode 100644 99_fa.html create mode 100644 99_fi.html create mode 100644 99_fr.html create mode 100644 99_gr.html create mode 100644 99_hu.html create mode 100644 99_id.html create mode 100644 99_ie.html create mode 100644 99_it.html create mode 100644 99_ja.html create mode 100644 99_ko.html create mode 100644 99_ne.html create mode 100644 99_pl.html create mode 100644 99_pt-br.html create mode 100644 99_ro.html create mode 100644 99_ru.html create mode 100644 99_th.html create mode 100644 99_tr.html create mode 100644 99_ua.html create mode 100644 99_vi.html create mode 100644 99_zh-cn.html create mode 100644 99_zh-tw.html rename docs/CNAME => CNAME (100%) create mode 100644 TOC_al.html create mode 100644 TOC_ar.html create mode 100644 TOC_de.html create mode 100644 TOC_en.html create mode 100644 TOC_es.html create mode 100644 TOC_fa.html create mode 100644 TOC_fi.html create mode 100644 TOC_fr.html create mode 100644 TOC_gr.html create mode 100644 TOC_hu.html create mode 100644 TOC_id.html create mode 100644 TOC_ie.html create mode 100644 TOC_it.html create mode 100644 TOC_ja.html create mode 100644 TOC_ko.html create mode 100644 TOC_ne.html create mode 100644 TOC_pl.html create mode 100644 TOC_pt-br.html create mode 100644 TOC_ro.html create mode 100644 TOC_ru.html create mode 100644 TOC_th.html create mode 100644 TOC_tr.html create mode 100644 TOC_ua.html create mode 100644 TOC_vi.html create mode 100644 TOC_zh-cn.html create mode 100644 TOC_zh-tw.html rename docs/android-chrome-192x192.png => android-chrome-192x192.png (100%) rename docs/android-chrome-512x512.png => android-chrome-512x512.png (100%) rename docs/apple-touch-icon.png => apple-touch-icon.png (100%) create mode 100644 beta_00_al.html create mode 100644 beta_00_ar.html create mode 100644 beta_00_de.html create mode 100644 beta_00_es.html create mode 100644 beta_00_fa.html create mode 100644 beta_00_fi.html create mode 100644 beta_00_fr.html create mode 100644 beta_00_gr.html create mode 100644 beta_00_hu.html create mode 100644 beta_00_id.html create mode 100644 beta_00_ie.html create mode 100644 beta_00_it.html create mode 100644 beta_00_ja.html create mode 100644 beta_00_ko.html create mode 100644 beta_00_ne.html create mode 100644 beta_00_pl.html create mode 100644 beta_00_pt-br.html create mode 100644 beta_00_ro.html create mode 100644 beta_00_ru.html create mode 100644 beta_00_th.html create mode 100644 beta_00_tr.html create mode 100644 beta_00_ua.html create mode 100644 beta_00_vi.html create mode 100644 beta_00_zh-cn.html create mode 100644 beta_00_zh-tw.html create mode 100644 beta_02_al.html create mode 100644 beta_02_ar.html create mode 100644 beta_02_de.html create mode 100644 beta_02_en.html create mode 100644 beta_02_es.html create mode 100644 beta_02_fa.html create mode 100644 beta_02_fi.html create mode 100644 beta_02_fr.html create mode 100644 beta_02_gr.html create mode 100644 beta_02_hu.html create mode 100644 beta_02_id.html create mode 100644 beta_02_ie.html create mode 100644 beta_02_it.html create mode 100644 beta_02_ja.html create mode 100644 beta_02_ko.html create mode 100644 beta_02_ne.html create mode 100644 beta_02_pl.html create mode 100644 beta_02_pt-br.html create mode 100644 beta_02_ro.html create mode 100644 beta_02_ru.html create mode 100644 beta_02_th.html create mode 100644 beta_02_tr.html create mode 100644 beta_02_ua.html create mode 100644 beta_02_vi.html create mode 100644 beta_02_zh-cn.html create mode 100644 beta_02_zh-tw.html create mode 100644 beta_03_al.html create mode 100644 beta_03_ar.html create mode 100644 beta_03_de.html create mode 100644 beta_03_en.html create mode 100644 beta_03_es.html create mode 100644 beta_03_fa.html create mode 100644 beta_03_fi.html create mode 100644 beta_03_fr.html create mode 100644 beta_03_gr.html create mode 100644 beta_03_hu.html create mode 100644 beta_03_id.html create mode 100644 beta_03_ie.html create mode 100644 beta_03_it.html create mode 100644 beta_03_ja.html create mode 100644 beta_03_ko.html create mode 100644 beta_03_ne.html create mode 100644 beta_03_pl.html create mode 100644 beta_03_pt-br.html create mode 100644 beta_03_ro.html create mode 100644 beta_03_ru.html create mode 100644 beta_03_th.html create mode 100644 beta_03_tr.html create mode 100644 beta_03_ua.html create mode 100644 beta_03_vi.html create mode 100644 beta_03_zh-cn.html create mode 100644 beta_03_zh-tw.html create mode 100644 beta_04_al.html create mode 100644 beta_04_ar.html create mode 100644 beta_04_de.html create mode 100644 beta_04_en.html create mode 100644 beta_04_es.html create mode 100644 beta_04_fa.html create mode 100644 beta_04_fi.html create mode 100644 beta_04_fr.html create mode 100644 beta_04_gr.html create mode 100644 beta_04_hu.html create mode 100644 beta_04_id.html create mode 100644 beta_04_ie.html create mode 100644 beta_04_it.html create mode 100644 beta_04_ja.html create mode 100644 beta_04_ko.html create mode 100644 beta_04_ne.html create mode 100644 beta_04_pl.html create mode 100644 beta_04_pt-br.html create mode 100644 beta_04_ro.html create mode 100644 beta_04_ru.html create mode 100644 beta_04_th.html create mode 100644 beta_04_tr.html create mode 100644 beta_04_ua.html create mode 100644 beta_04_vi.html create mode 100644 beta_04_zh-cn.html create mode 100644 beta_04_zh-tw.html create mode 100644 beta_05_al.html create mode 100644 beta_05_ar.html create mode 100644 beta_05_de.html create mode 100644 beta_05_en.html create mode 100644 beta_05_es.html create mode 100644 beta_05_fa.html create mode 100644 beta_05_fi.html create mode 100644 beta_05_fr.html create mode 100644 beta_05_gr.html create mode 100644 beta_05_hu.html create mode 100644 beta_05_id.html create mode 100644 beta_05_ie.html create mode 100644 beta_05_it.html create mode 100644 beta_05_ja.html create mode 100644 beta_05_ko.html create mode 100644 beta_05_ne.html create mode 100644 beta_05_pl.html create mode 100644 beta_05_pt-br.html create mode 100644 beta_05_ro.html create mode 100644 beta_05_ru.html create mode 100644 beta_05_th.html create mode 100644 beta_05_tr.html create mode 100644 beta_05_ua.html create mode 100644 beta_05_vi.html create mode 100644 beta_05_zh-cn.html create mode 100644 beta_05_zh-tw.html create mode 100644 beta_06_al.html create mode 100644 beta_06_ar.html create mode 100644 beta_06_de.html create mode 100644 beta_06_en.html create mode 100644 beta_06_es.html create mode 100644 beta_06_fa.html create mode 100644 beta_06_fi.html create mode 100644 beta_06_fr.html create mode 100644 beta_06_gr.html create mode 100644 beta_06_hu.html create mode 100644 beta_06_id.html create mode 100644 beta_06_ie.html create mode 100644 beta_06_it.html create mode 100644 beta_06_ja.html create mode 100644 beta_06_ko.html create mode 100644 beta_06_ne.html create mode 100644 beta_06_pl.html create mode 100644 beta_06_pt-br.html create mode 100644 beta_06_ro.html create mode 100644 beta_06_ru.html create mode 100644 beta_06_th.html create mode 100644 beta_06_tr.html create mode 100644 beta_06_ua.html create mode 100644 beta_06_vi.html create mode 100644 beta_06_zh-cn.html create mode 100644 beta_06_zh-tw.html create mode 100644 beta_07_al.html create mode 100644 beta_07_ar.html create mode 100644 beta_07_de.html create mode 100644 beta_07_en.html create mode 100644 beta_07_es.html create mode 100644 beta_07_fa.html create mode 100644 beta_07_fi.html create mode 100644 beta_07_fr.html create mode 100644 beta_07_gr.html create mode 100644 beta_07_hu.html create mode 100644 beta_07_id.html create mode 100644 beta_07_ie.html create mode 100644 beta_07_it.html create mode 100644 beta_07_ja.html create mode 100644 beta_07_ko.html create mode 100644 beta_07_ne.html create mode 100644 beta_07_pl.html create mode 100644 beta_07_pt-br.html create mode 100644 beta_07_ro.html create mode 100644 beta_07_ru.html create mode 100644 beta_07_th.html create mode 100644 beta_07_tr.html create mode 100644 beta_07_ua.html create mode 100644 beta_07_vi.html create mode 100644 beta_07_zh-cn.html create mode 100644 beta_07_zh-tw.html create mode 100644 beta_08_al.html create mode 100644 beta_08_ar.html create mode 100644 beta_08_de.html create mode 100644 beta_08_en.html create mode 100644 beta_08_es.html create mode 100644 beta_08_fa.html create mode 100644 beta_08_fi.html create mode 100644 beta_08_fr.html create mode 100644 beta_08_gr.html create mode 100644 beta_08_hu.html create mode 100644 beta_08_id.html create mode 100644 beta_08_ie.html create mode 100644 beta_08_it.html create mode 100644 beta_08_ja.html create mode 100644 beta_08_ko.html create mode 100644 beta_08_ne.html create mode 100644 beta_08_pl.html create mode 100644 beta_08_pt-br.html create mode 100644 beta_08_ro.html create mode 100644 beta_08_ru.html create mode 100644 beta_08_th.html create mode 100644 beta_08_tr.html create mode 100644 beta_08_ua.html create mode 100644 beta_08_vi.html create mode 100644 beta_08_zh-cn.html create mode 100644 beta_08_zh-tw.html create mode 100644 beta_09_al.html create mode 100644 beta_09_ar.html create mode 100644 beta_09_de.html create mode 100644 beta_09_en.html create mode 100644 beta_09_es.html create mode 100644 beta_09_fa.html create mode 100644 beta_09_fi.html create mode 100644 beta_09_fr.html create mode 100644 beta_09_gr.html create mode 100644 beta_09_hu.html create mode 100644 beta_09_id.html create mode 100644 beta_09_ie.html create mode 100644 beta_09_it.html create mode 100644 beta_09_ja.html create mode 100644 beta_09_ko.html create mode 100644 beta_09_ne.html create mode 100644 beta_09_pl.html create mode 100644 beta_09_pt-br.html create mode 100644 beta_09_ro.html create mode 100644 beta_09_ru.html create mode 100644 beta_09_th.html create mode 100644 beta_09_tr.html create mode 100644 beta_09_ua.html create mode 100644 beta_09_vi.html create mode 100644 beta_09_zh-cn.html create mode 100644 beta_09_zh-tw.html create mode 100644 beta_100_ar.html create mode 100644 beta_100_en.html create mode 100644 beta_100_es.html create mode 100644 beta_100_fa.html create mode 100644 beta_100_fr.html create mode 100644 beta_100_hu.html create mode 100644 beta_100_ie.html create mode 100644 beta_100_ko.html create mode 100644 beta_100_pl.html create mode 100644 beta_100_pt-br.html create mode 100644 beta_100_ro.html create mode 100644 beta_100_ru.html create mode 100644 beta_100_th.html create mode 100644 beta_100_tr.html create mode 100644 beta_100_ua.html create mode 100644 beta_100_vi.html create mode 100644 beta_100_zh-cn.html create mode 100644 beta_101_ar.html create mode 100644 beta_101_en.html create mode 100644 beta_101_es.html create mode 100644 beta_101_fa.html create mode 100644 beta_101_fr.html create mode 100644 beta_101_hu.html create mode 100644 beta_101_ie.html create mode 100644 beta_101_ko.html create mode 100644 beta_101_pl.html create mode 100644 beta_101_pt-br.html create mode 100644 beta_101_ro.html create mode 100644 beta_101_ru.html create mode 100644 beta_101_th.html create mode 100644 beta_101_tr.html create mode 100644 beta_101_ua.html create mode 100644 beta_101_vi.html create mode 100644 beta_101_zh-cn.html create mode 100644 beta_102_ar.html create mode 100644 beta_102_en.html create mode 100644 beta_102_es.html create mode 100644 beta_102_fa.html create mode 100644 beta_102_fr.html create mode 100644 beta_102_hu.html create mode 100644 beta_102_ie.html create mode 100644 beta_102_ko.html create mode 100644 beta_102_pl.html create mode 100644 beta_102_pt-br.html create mode 100644 beta_102_ro.html create mode 100644 beta_102_ru.html create mode 100644 beta_102_th.html create mode 100644 beta_102_tr.html create mode 100644 beta_102_ua.html create mode 100644 beta_102_vi.html create mode 100644 beta_102_zh-cn.html create mode 100644 beta_103_ar.html create mode 100644 beta_103_en.html create mode 100644 beta_103_es.html create mode 100644 beta_103_fa.html create mode 100644 beta_103_fr.html create mode 100644 beta_103_hu.html create mode 100644 beta_103_ie.html create mode 100644 beta_103_ko.html create mode 100644 beta_103_pl.html create mode 100644 beta_103_pt-br.html create mode 100644 beta_103_ro.html create mode 100644 beta_103_ru.html create mode 100644 beta_103_th.html create mode 100644 beta_103_tr.html create mode 100644 beta_103_ua.html create mode 100644 beta_103_vi.html create mode 100644 beta_103_zh-cn.html create mode 100644 beta_104_ar.html create mode 100644 beta_104_en.html create mode 100644 beta_104_es.html create mode 100644 beta_104_fa.html create mode 100644 beta_104_fr.html create mode 100644 beta_104_hu.html create mode 100644 beta_104_ie.html create mode 100644 beta_104_ko.html create mode 100644 beta_104_pl.html create mode 100644 beta_104_pt-br.html create mode 100644 beta_104_ro.html create mode 100644 beta_104_ru.html create mode 100644 beta_104_th.html create mode 100644 beta_104_tr.html create mode 100644 beta_104_ua.html create mode 100644 beta_104_vi.html create mode 100644 beta_104_zh-cn.html create mode 100644 beta_106_ar.html create mode 100644 beta_106_de.html create mode 100644 beta_106_en.html create mode 100644 beta_106_es.html create mode 100644 beta_106_fa.html create mode 100644 beta_106_fr.html create mode 100644 beta_106_hu.html create mode 100644 beta_106_ie.html create mode 100644 beta_106_ko.html create mode 100644 beta_106_pl.html create mode 100644 beta_106_pt-br.html create mode 100644 beta_106_ro.html create mode 100644 beta_106_ru.html create mode 100644 beta_106_th.html create mode 100644 beta_106_tr.html create mode 100644 beta_106_ua.html create mode 100644 beta_106_vi.html create mode 100644 beta_106_zh-cn.html create mode 100644 beta_107_ar.html create mode 100644 beta_107_de.html create mode 100644 beta_107_en.html create mode 100644 beta_107_es.html create mode 100644 beta_107_fa.html create mode 100644 beta_107_fr.html create mode 100644 beta_107_hu.html create mode 100644 beta_107_ie.html create mode 100644 beta_107_ko.html create mode 100644 beta_107_pl.html create mode 100644 beta_107_pt-br.html create mode 100644 beta_107_ro.html create mode 100644 beta_107_ru.html create mode 100644 beta_107_th.html create mode 100644 beta_107_tr.html create mode 100644 beta_107_ua.html create mode 100644 beta_107_vi.html create mode 100644 beta_107_zh-cn.html create mode 100644 beta_108_ar.html create mode 100644 beta_108_de.html create mode 100644 beta_108_en.html create mode 100644 beta_108_es.html create mode 100644 beta_108_fa.html create mode 100644 beta_108_fr.html create mode 100644 beta_108_hu.html create mode 100644 beta_108_ie.html create mode 100644 beta_108_ko.html create mode 100644 beta_108_pl.html create mode 100644 beta_108_pt-br.html create mode 100644 beta_108_ro.html create mode 100644 beta_108_ru.html create mode 100644 beta_108_th.html create mode 100644 beta_108_tr.html create mode 100644 beta_108_ua.html create mode 100644 beta_108_vi.html create mode 100644 beta_108_zh-cn.html create mode 100644 beta_109_ar.html create mode 100644 beta_109_de.html create mode 100644 beta_109_en.html create mode 100644 beta_109_es.html create mode 100644 beta_109_fa.html create mode 100644 beta_109_fr.html create mode 100644 beta_109_hu.html create mode 100644 beta_109_ie.html create mode 100644 beta_109_ko.html create mode 100644 beta_109_pl.html create mode 100644 beta_109_pt-br.html create mode 100644 beta_109_ro.html create mode 100644 beta_109_ru.html create mode 100644 beta_109_th.html create mode 100644 beta_109_tr.html create mode 100644 beta_109_ua.html create mode 100644 beta_109_vi.html create mode 100644 beta_109_zh-cn.html create mode 100644 beta_10_al.html create mode 100644 beta_10_ar.html create mode 100644 beta_10_de.html create mode 100644 beta_10_en.html create mode 100644 beta_10_es.html create mode 100644 beta_10_fa.html create mode 100644 beta_10_fi.html create mode 100644 beta_10_fr.html create mode 100644 beta_10_gr.html create mode 100644 beta_10_hu.html create mode 100644 beta_10_id.html create mode 100644 beta_10_ie.html create mode 100644 beta_10_it.html create mode 100644 beta_10_ja.html create mode 100644 beta_10_ko.html create mode 100644 beta_10_ne.html create mode 100644 beta_10_pl.html create mode 100644 beta_10_pt-br.html create mode 100644 beta_10_ro.html create mode 100644 beta_10_ru.html create mode 100644 beta_10_th.html create mode 100644 beta_10_tr.html create mode 100644 beta_10_ua.html create mode 100644 beta_10_vi.html create mode 100644 beta_10_zh-cn.html create mode 100644 beta_10_zh-tw.html create mode 100644 beta_110_ar.html create mode 100644 beta_110_de.html create mode 100644 beta_110_en.html create mode 100644 beta_110_es.html create mode 100644 beta_110_fa.html create mode 100644 beta_110_fr.html create mode 100644 beta_110_hu.html create mode 100644 beta_110_ie.html create mode 100644 beta_110_ko.html create mode 100644 beta_110_pl.html create mode 100644 beta_110_pt-br.html create mode 100644 beta_110_ro.html create mode 100644 beta_110_ru.html create mode 100644 beta_110_th.html create mode 100644 beta_110_tr.html create mode 100644 beta_110_ua.html create mode 100644 beta_110_vi.html create mode 100644 beta_110_zh-cn.html create mode 100644 beta_111_ar.html create mode 100644 beta_111_de.html create mode 100644 beta_111_en.html create mode 100644 beta_111_es.html create mode 100644 beta_111_fa.html create mode 100644 beta_111_fr.html create mode 100644 beta_111_hu.html create mode 100644 beta_111_ie.html create mode 100644 beta_111_ko.html create mode 100644 beta_111_pl.html create mode 100644 beta_111_pt-br.html create mode 100644 beta_111_ro.html create mode 100644 beta_111_ru.html create mode 100644 beta_111_th.html create mode 100644 beta_111_tr.html create mode 100644 beta_111_ua.html create mode 100644 beta_111_vi.html create mode 100644 beta_111_zh-cn.html create mode 100644 beta_112_ar.html create mode 100644 beta_112_de.html create mode 100644 beta_112_en.html create mode 100644 beta_112_es.html create mode 100644 beta_112_fa.html create mode 100644 beta_112_fr.html create mode 100644 beta_112_hu.html create mode 100644 beta_112_ie.html create mode 100644 beta_112_ko.html create mode 100644 beta_112_pl.html create mode 100644 beta_112_pt-br.html create mode 100644 beta_112_ro.html create mode 100644 beta_112_ru.html create mode 100644 beta_112_th.html create mode 100644 beta_112_tr.html create mode 100644 beta_112_ua.html create mode 100644 beta_112_vi.html create mode 100644 beta_112_zh-cn.html create mode 100644 beta_113_ar.html create mode 100644 beta_113_de.html create mode 100644 beta_113_en.html create mode 100644 beta_113_es.html create mode 100644 beta_113_fa.html create mode 100644 beta_113_fr.html create mode 100644 beta_113_hu.html create mode 100644 beta_113_ie.html create mode 100644 beta_113_ko.html create mode 100644 beta_113_pl.html create mode 100644 beta_113_pt-br.html create mode 100644 beta_113_ro.html create mode 100644 beta_113_ru.html create mode 100644 beta_113_th.html create mode 100644 beta_113_tr.html create mode 100644 beta_113_ua.html create mode 100644 beta_113_vi.html create mode 100644 beta_113_zh-cn.html create mode 100644 beta_114_ar.html create mode 100644 beta_114_de.html create mode 100644 beta_114_en.html create mode 100644 beta_114_es.html create mode 100644 beta_114_fa.html create mode 100644 beta_114_fr.html create mode 100644 beta_114_hu.html create mode 100644 beta_114_ie.html create mode 100644 beta_114_ko.html create mode 100644 beta_114_pl.html create mode 100644 beta_114_pt-br.html create mode 100644 beta_114_ro.html create mode 100644 beta_114_ru.html create mode 100644 beta_114_th.html create mode 100644 beta_114_tr.html create mode 100644 beta_114_ua.html create mode 100644 beta_114_vi.html create mode 100644 beta_114_zh-cn.html create mode 100644 beta_115_ar.html create mode 100644 beta_115_de.html create mode 100644 beta_115_en.html create mode 100644 beta_115_es.html create mode 100644 beta_115_fa.html create mode 100644 beta_115_fr.html create mode 100644 beta_115_hu.html create mode 100644 beta_115_ie.html create mode 100644 beta_115_ko.html create mode 100644 beta_115_pl.html create mode 100644 beta_115_pt-br.html create mode 100644 beta_115_ro.html create mode 100644 beta_115_ru.html create mode 100644 beta_115_th.html create mode 100644 beta_115_tr.html create mode 100644 beta_115_ua.html create mode 100644 beta_115_vi.html create mode 100644 beta_115_zh-cn.html create mode 100644 beta_116_ar.html create mode 100644 beta_116_de.html create mode 100644 beta_116_en.html create mode 100644 beta_116_es.html create mode 100644 beta_116_fa.html create mode 100644 beta_116_fr.html create mode 100644 beta_116_hu.html create mode 100644 beta_116_ko.html create mode 100644 beta_116_pl.html create mode 100644 beta_116_pt-br.html create mode 100644 beta_116_ro.html create mode 100644 beta_116_ru.html create mode 100644 beta_116_th.html create mode 100644 beta_116_tr.html create mode 100644 beta_116_ua.html create mode 100644 beta_116_vi.html create mode 100644 beta_116_zh-cn.html create mode 100644 beta_117_ar.html create mode 100644 beta_117_de.html create mode 100644 beta_117_en.html create mode 100644 beta_117_es.html create mode 100644 beta_117_fa.html create mode 100644 beta_117_fr.html create mode 100644 beta_117_hu.html create mode 100644 beta_117_ko.html create mode 100644 beta_117_pl.html create mode 100644 beta_117_pt-br.html create mode 100644 beta_117_ro.html create mode 100644 beta_117_ru.html create mode 100644 beta_117_th.html create mode 100644 beta_117_tr.html create mode 100644 beta_117_ua.html create mode 100644 beta_117_vi.html create mode 100644 beta_117_zh-cn.html create mode 100644 beta_118_ar.html create mode 100644 beta_118_de.html create mode 100644 beta_118_en.html create mode 100644 beta_118_es.html create mode 100644 beta_118_fa.html create mode 100644 beta_118_fr.html create mode 100644 beta_118_hu.html create mode 100644 beta_118_ko.html create mode 100644 beta_118_pl.html create mode 100644 beta_118_pt-br.html create mode 100644 beta_118_ro.html create mode 100644 beta_118_ru.html create mode 100644 beta_118_th.html create mode 100644 beta_118_tr.html create mode 100644 beta_118_ua.html create mode 100644 beta_118_vi.html create mode 100644 beta_118_zh-cn.html create mode 100644 beta_119_ar.html create mode 100644 beta_119_de.html create mode 100644 beta_119_en.html create mode 100644 beta_119_es.html create mode 100644 beta_119_fa.html create mode 100644 beta_119_fr.html create mode 100644 beta_119_hu.html create mode 100644 beta_119_ko.html create mode 100644 beta_119_pl.html create mode 100644 beta_119_pt-br.html create mode 100644 beta_119_ro.html create mode 100644 beta_119_ru.html create mode 100644 beta_119_th.html create mode 100644 beta_119_tr.html create mode 100644 beta_119_ua.html create mode 100644 beta_119_vi.html create mode 100644 beta_119_zh-cn.html create mode 100644 beta_11_al.html create mode 100644 beta_11_ar.html create mode 100644 beta_11_de.html create mode 100644 beta_11_en.html create mode 100644 beta_11_es.html create mode 100644 beta_11_fa.html create mode 100644 beta_11_fi.html create mode 100644 beta_11_fr.html create mode 100644 beta_11_gr.html create mode 100644 beta_11_hu.html create mode 100644 beta_11_id.html create mode 100644 beta_11_ie.html create mode 100644 beta_11_it.html create mode 100644 beta_11_ja.html create mode 100644 beta_11_ko.html create mode 100644 beta_11_ne.html create mode 100644 beta_11_pl.html create mode 100644 beta_11_pt-br.html create mode 100644 beta_11_ro.html create mode 100644 beta_11_ru.html create mode 100644 beta_11_th.html create mode 100644 beta_11_tr.html create mode 100644 beta_11_ua.html create mode 100644 beta_11_vi.html create mode 100644 beta_11_zh-cn.html create mode 100644 beta_11_zh-tw.html create mode 100644 beta_12_al.html create mode 100644 beta_12_ar.html create mode 100644 beta_12_de.html create mode 100644 beta_12_en.html create mode 100644 beta_12_es.html create mode 100644 beta_12_fa.html create mode 100644 beta_12_fi.html create mode 100644 beta_12_fr.html create mode 100644 beta_12_gr.html create mode 100644 beta_12_hu.html create mode 100644 beta_12_id.html create mode 100644 beta_12_ie.html create mode 100644 beta_12_it.html create mode 100644 beta_12_ja.html create mode 100644 beta_12_ko.html create mode 100644 beta_12_ne.html create mode 100644 beta_12_pl.html create mode 100644 beta_12_pt-br.html create mode 100644 beta_12_ro.html create mode 100644 beta_12_ru.html create mode 100644 beta_12_th.html create mode 100644 beta_12_tr.html create mode 100644 beta_12_ua.html create mode 100644 beta_12_vi.html create mode 100644 beta_12_zh-cn.html create mode 100644 beta_12_zh-tw.html create mode 100644 beta_14_al.html create mode 100644 beta_14_ar.html create mode 100644 beta_14_de.html create mode 100644 beta_14_en.html create mode 100644 beta_14_es.html create mode 100644 beta_14_fa.html create mode 100644 beta_14_fi.html create mode 100644 beta_14_fr.html create mode 100644 beta_14_gr.html create mode 100644 beta_14_hu.html create mode 100644 beta_14_id.html create mode 100644 beta_14_ie.html create mode 100644 beta_14_it.html create mode 100644 beta_14_ja.html create mode 100644 beta_14_ko.html create mode 100644 beta_14_pl.html create mode 100644 beta_14_pt-br.html create mode 100644 beta_14_ro.html create mode 100644 beta_14_ru.html create mode 100644 beta_14_th.html create mode 100644 beta_14_tr.html create mode 100644 beta_14_ua.html create mode 100644 beta_14_vi.html create mode 100644 beta_14_zh-cn.html create mode 100644 beta_14_zh-tw.html create mode 100644 beta_15_al.html create mode 100644 beta_15_ar.html create mode 100644 beta_15_de.html create mode 100644 beta_15_en.html create mode 100644 beta_15_es.html create mode 100644 beta_15_fa.html create mode 100644 beta_15_fi.html create mode 100644 beta_15_fr.html create mode 100644 beta_15_gr.html create mode 100644 beta_15_hu.html create mode 100644 beta_15_id.html create mode 100644 beta_15_ie.html create mode 100644 beta_15_it.html create mode 100644 beta_15_ja.html create mode 100644 beta_15_ko.html create mode 100644 beta_15_pl.html create mode 100644 beta_15_pt-br.html create mode 100644 beta_15_ro.html create mode 100644 beta_15_ru.html create mode 100644 beta_15_th.html create mode 100644 beta_15_tr.html create mode 100644 beta_15_ua.html create mode 100644 beta_15_vi.html create mode 100644 beta_15_zh-cn.html create mode 100644 beta_15_zh-tw.html create mode 100644 beta_16_al.html create mode 100644 beta_16_ar.html create mode 100644 beta_16_de.html create mode 100644 beta_16_en.html create mode 100644 beta_16_es.html create mode 100644 beta_16_fa.html create mode 100644 beta_16_fi.html create mode 100644 beta_16_fr.html create mode 100644 beta_16_gr.html create mode 100644 beta_16_hu.html create mode 100644 beta_16_id.html create mode 100644 beta_16_ie.html create mode 100644 beta_16_it.html create mode 100644 beta_16_ja.html create mode 100644 beta_16_ko.html create mode 100644 beta_16_pl.html create mode 100644 beta_16_pt-br.html create mode 100644 beta_16_ro.html create mode 100644 beta_16_ru.html create mode 100644 beta_16_th.html create mode 100644 beta_16_tr.html create mode 100644 beta_16_ua.html create mode 100644 beta_16_vi.html create mode 100644 beta_16_zh-cn.html create mode 100644 beta_16_zh-tw.html create mode 100644 beta_17_al.html create mode 100644 beta_17_ar.html create mode 100644 beta_17_de.html create mode 100644 beta_17_en.html create mode 100644 beta_17_es.html create mode 100644 beta_17_fa.html create mode 100644 beta_17_fi.html create mode 100644 beta_17_fr.html create mode 100644 beta_17_gr.html create mode 100644 beta_17_hu.html create mode 100644 beta_17_id.html create mode 100644 beta_17_ie.html create mode 100644 beta_17_it.html create mode 100644 beta_17_ja.html create mode 100644 beta_17_ko.html create mode 100644 beta_17_pl.html create mode 100644 beta_17_pt-br.html create mode 100644 beta_17_ro.html create mode 100644 beta_17_ru.html create mode 100644 beta_17_th.html create mode 100644 beta_17_tr.html create mode 100644 beta_17_ua.html create mode 100644 beta_17_vi.html create mode 100644 beta_17_zh-cn.html create mode 100644 beta_17_zh-tw.html create mode 100644 beta_18_al.html create mode 100644 beta_18_ar.html create mode 100644 beta_18_de.html create mode 100644 beta_18_en.html create mode 100644 beta_18_es.html create mode 100644 beta_18_fa.html create mode 100644 beta_18_fi.html create mode 100644 beta_18_fr.html create mode 100644 beta_18_gr.html create mode 100644 beta_18_hu.html create mode 100644 beta_18_id.html create mode 100644 beta_18_ie.html create mode 100644 beta_18_it.html create mode 100644 beta_18_ja.html create mode 100644 beta_18_ko.html create mode 100644 beta_18_pl.html create mode 100644 beta_18_pt-br.html create mode 100644 beta_18_ro.html create mode 100644 beta_18_ru.html create mode 100644 beta_18_th.html create mode 100644 beta_18_tr.html create mode 100644 beta_18_ua.html create mode 100644 beta_18_vi.html create mode 100644 beta_18_zh-cn.html create mode 100644 beta_18_zh-tw.html create mode 100644 beta_19_al.html create mode 100644 beta_19_ar.html create mode 100644 beta_19_de.html create mode 100644 beta_19_en.html create mode 100644 beta_19_es.html create mode 100644 beta_19_fa.html create mode 100644 beta_19_fi.html create mode 100644 beta_19_fr.html create mode 100644 beta_19_gr.html create mode 100644 beta_19_hu.html create mode 100644 beta_19_id.html create mode 100644 beta_19_ie.html create mode 100644 beta_19_it.html create mode 100644 beta_19_ja.html create mode 100644 beta_19_ko.html create mode 100644 beta_19_pl.html create mode 100644 beta_19_pt-br.html create mode 100644 beta_19_ro.html create mode 100644 beta_19_ru.html create mode 100644 beta_19_th.html create mode 100644 beta_19_tr.html create mode 100644 beta_19_ua.html create mode 100644 beta_19_vi.html create mode 100644 beta_19_zh-cn.html create mode 100644 beta_19_zh-tw.html create mode 100644 beta_20_al.html create mode 100644 beta_20_ar.html create mode 100644 beta_20_de.html create mode 100644 beta_20_en.html create mode 100644 beta_20_es.html create mode 100644 beta_20_fa.html create mode 100644 beta_20_fi.html create mode 100644 beta_20_fr.html create mode 100644 beta_20_gr.html create mode 100644 beta_20_hu.html create mode 100644 beta_20_id.html create mode 100644 beta_20_ie.html create mode 100644 beta_20_it.html create mode 100644 beta_20_ja.html create mode 100644 beta_20_ko.html create mode 100644 beta_20_pl.html create mode 100644 beta_20_pt-br.html create mode 100644 beta_20_ro.html create mode 100644 beta_20_ru.html create mode 100644 beta_20_th.html create mode 100644 beta_20_tr.html create mode 100644 beta_20_ua.html create mode 100644 beta_20_vi.html create mode 100644 beta_20_zh-cn.html create mode 100644 beta_20_zh-tw.html create mode 100644 beta_21_al.html create mode 100644 beta_21_ar.html create mode 100644 beta_21_de.html create mode 100644 beta_21_en.html create mode 100644 beta_21_es.html create mode 100644 beta_21_fa.html create mode 100644 beta_21_fi.html create mode 100644 beta_21_fr.html create mode 100644 beta_21_gr.html create mode 100644 beta_21_hu.html create mode 100644 beta_21_id.html create mode 100644 beta_21_ie.html create mode 100644 beta_21_it.html create mode 100644 beta_21_ja.html create mode 100644 beta_21_ko.html create mode 100644 beta_21_pl.html create mode 100644 beta_21_pt-br.html create mode 100644 beta_21_ro.html create mode 100644 beta_21_ru.html create mode 100644 beta_21_th.html create mode 100644 beta_21_tr.html create mode 100644 beta_21_ua.html create mode 100644 beta_21_vi.html create mode 100644 beta_21_zh-cn.html create mode 100644 beta_21_zh-tw.html create mode 100644 beta_23_al.html create mode 100644 beta_23_ar.html create mode 100644 beta_23_de.html create mode 100644 beta_23_en.html create mode 100644 beta_23_es.html create mode 100644 beta_23_fa.html create mode 100644 beta_23_fr.html create mode 100644 beta_23_gr.html create mode 100644 beta_23_hu.html create mode 100644 beta_23_ie.html create mode 100644 beta_23_it.html create mode 100644 beta_23_ja.html create mode 100644 beta_23_ko.html create mode 100644 beta_23_pl.html create mode 100644 beta_23_pt-br.html create mode 100644 beta_23_ro.html create mode 100644 beta_23_ru.html create mode 100644 beta_23_th.html create mode 100644 beta_23_tr.html create mode 100644 beta_23_ua.html create mode 100644 beta_23_vi.html create mode 100644 beta_23_zh-cn.html create mode 100644 beta_23_zh-tw.html create mode 100644 beta_24_al.html create mode 100644 beta_24_ar.html create mode 100644 beta_24_de.html create mode 100644 beta_24_en.html create mode 100644 beta_24_es.html create mode 100644 beta_24_fa.html create mode 100644 beta_24_fr.html create mode 100644 beta_24_gr.html create mode 100644 beta_24_hu.html create mode 100644 beta_24_ie.html create mode 100644 beta_24_it.html create mode 100644 beta_24_ja.html create mode 100644 beta_24_ko.html create mode 100644 beta_24_pl.html create mode 100644 beta_24_pt-br.html create mode 100644 beta_24_ro.html create mode 100644 beta_24_ru.html create mode 100644 beta_24_th.html create mode 100644 beta_24_tr.html create mode 100644 beta_24_ua.html create mode 100644 beta_24_vi.html create mode 100644 beta_24_zh-cn.html create mode 100644 beta_24_zh-tw.html create mode 100644 beta_25_al.html create mode 100644 beta_25_ar.html create mode 100644 beta_25_de.html create mode 100644 beta_25_en.html create mode 100644 beta_25_es.html create mode 100644 beta_25_fa.html create mode 100644 beta_25_fr.html create mode 100644 beta_25_gr.html create mode 100644 beta_25_hu.html create mode 100644 beta_25_ie.html create mode 100644 beta_25_it.html create mode 100644 beta_25_ja.html create mode 100644 beta_25_ko.html create mode 100644 beta_25_pl.html create mode 100644 beta_25_pt-br.html create mode 100644 beta_25_ro.html create mode 100644 beta_25_ru.html create mode 100644 beta_25_th.html create mode 100644 beta_25_tr.html create mode 100644 beta_25_ua.html create mode 100644 beta_25_vi.html create mode 100644 beta_25_zh-cn.html create mode 100644 beta_25_zh-tw.html create mode 100644 beta_26_al.html create mode 100644 beta_26_ar.html create mode 100644 beta_26_de.html create mode 100644 beta_26_en.html create mode 100644 beta_26_es.html create mode 100644 beta_26_fa.html create mode 100644 beta_26_fr.html create mode 100644 beta_26_gr.html create mode 100644 beta_26_hu.html create mode 100644 beta_26_ie.html create mode 100644 beta_26_it.html create mode 100644 beta_26_ja.html create mode 100644 beta_26_ko.html create mode 100644 beta_26_pl.html create mode 100644 beta_26_pt-br.html create mode 100644 beta_26_ro.html create mode 100644 beta_26_ru.html create mode 100644 beta_26_th.html create mode 100644 beta_26_tr.html create mode 100644 beta_26_ua.html create mode 100644 beta_26_vi.html create mode 100644 beta_26_zh-cn.html create mode 100644 beta_26_zh-tw.html create mode 100644 beta_27_al.html create mode 100644 beta_27_ar.html create mode 100644 beta_27_de.html create mode 100644 beta_27_en.html create mode 100644 beta_27_es.html create mode 100644 beta_27_fa.html create mode 100644 beta_27_fr.html create mode 100644 beta_27_gr.html create mode 100644 beta_27_hu.html create mode 100644 beta_27_ie.html create mode 100644 beta_27_it.html create mode 100644 beta_27_ja.html create mode 100644 beta_27_ko.html create mode 100644 beta_27_pl.html create mode 100644 beta_27_pt-br.html create mode 100644 beta_27_ro.html create mode 100644 beta_27_ru.html create mode 100644 beta_27_th.html create mode 100644 beta_27_tr.html create mode 100644 beta_27_ua.html create mode 100644 beta_27_vi.html create mode 100644 beta_27_zh-cn.html create mode 100644 beta_27_zh-tw.html create mode 100644 beta_28_al.html create mode 100644 beta_28_ar.html create mode 100644 beta_28_de.html create mode 100644 beta_28_en.html create mode 100644 beta_28_es.html create mode 100644 beta_28_fa.html create mode 100644 beta_28_fr.html create mode 100644 beta_28_gr.html create mode 100644 beta_28_hu.html create mode 100644 beta_28_ie.html create mode 100644 beta_28_it.html create mode 100644 beta_28_ja.html create mode 100644 beta_28_ko.html create mode 100644 beta_28_pl.html create mode 100644 beta_28_pt-br.html create mode 100644 beta_28_ro.html create mode 100644 beta_28_ru.html create mode 100644 beta_28_th.html create mode 100644 beta_28_tr.html create mode 100644 beta_28_ua.html create mode 100644 beta_28_vi.html create mode 100644 beta_28_zh-cn.html create mode 100644 beta_28_zh-tw.html create mode 100644 beta_29_al.html create mode 100644 beta_29_ar.html create mode 100644 beta_29_de.html create mode 100644 beta_29_en.html create mode 100644 beta_29_es.html create mode 100644 beta_29_fa.html create mode 100644 beta_29_fr.html create mode 100644 beta_29_gr.html create mode 100644 beta_29_hu.html create mode 100644 beta_29_ie.html create mode 100644 beta_29_it.html create mode 100644 beta_29_ja.html create mode 100644 beta_29_ko.html create mode 100644 beta_29_pl.html create mode 100644 beta_29_pt-br.html create mode 100644 beta_29_ro.html create mode 100644 beta_29_ru.html create mode 100644 beta_29_th.html create mode 100644 beta_29_tr.html create mode 100644 beta_29_ua.html create mode 100644 beta_29_vi.html create mode 100644 beta_29_zh-cn.html create mode 100644 beta_29_zh-tw.html create mode 100644 beta_30_al.html create mode 100644 beta_30_ar.html create mode 100644 beta_30_de.html create mode 100644 beta_30_en.html create mode 100644 beta_30_es.html create mode 100644 beta_30_fa.html create mode 100644 beta_30_fr.html create mode 100644 beta_30_gr.html create mode 100644 beta_30_hu.html create mode 100644 beta_30_ie.html create mode 100644 beta_30_it.html create mode 100644 beta_30_ja.html create mode 100644 beta_30_ko.html create mode 100644 beta_30_pl.html create mode 100644 beta_30_pt-br.html create mode 100644 beta_30_ro.html create mode 100644 beta_30_ru.html create mode 100644 beta_30_th.html create mode 100644 beta_30_tr.html create mode 100644 beta_30_ua.html create mode 100644 beta_30_vi.html create mode 100644 beta_30_zh-cn.html create mode 100644 beta_30_zh-tw.html create mode 100644 beta_31_al.html create mode 100644 beta_31_ar.html create mode 100644 beta_31_de.html create mode 100644 beta_31_en.html create mode 100644 beta_31_es.html create mode 100644 beta_31_fa.html create mode 100644 beta_31_fr.html create mode 100644 beta_31_gr.html create mode 100644 beta_31_hu.html create mode 100644 beta_31_ie.html create mode 100644 beta_31_it.html create mode 100644 beta_31_ja.html create mode 100644 beta_31_ko.html create mode 100644 beta_31_pl.html create mode 100644 beta_31_pt-br.html create mode 100644 beta_31_ro.html create mode 100644 beta_31_ru.html create mode 100644 beta_31_th.html create mode 100644 beta_31_tr.html create mode 100644 beta_31_ua.html create mode 100644 beta_31_vi.html create mode 100644 beta_31_zh-cn.html create mode 100644 beta_31_zh-tw.html create mode 100644 beta_33_ar.html create mode 100644 beta_33_de.html create mode 100644 beta_33_en.html create mode 100644 beta_33_es.html create mode 100644 beta_33_fa.html create mode 100644 beta_33_fr.html create mode 100644 beta_33_gr.html create mode 100644 beta_33_hu.html create mode 100644 beta_33_ie.html create mode 100644 beta_33_it.html create mode 100644 beta_33_ja.html create mode 100644 beta_33_ko.html create mode 100644 beta_33_pl.html create mode 100644 beta_33_pt-br.html create mode 100644 beta_33_ro.html create mode 100644 beta_33_ru.html create mode 100644 beta_33_th.html create mode 100644 beta_33_tr.html create mode 100644 beta_33_ua.html create mode 100644 beta_33_vi.html create mode 100644 beta_33_zh-cn.html create mode 100644 beta_33_zh-tw.html create mode 100644 beta_34_ar.html create mode 100644 beta_34_en.html create mode 100644 beta_34_es.html create mode 100644 beta_34_fa.html create mode 100644 beta_34_fr.html create mode 100644 beta_34_gr.html create mode 100644 beta_34_hu.html create mode 100644 beta_34_ie.html create mode 100644 beta_34_it.html create mode 100644 beta_34_ja.html create mode 100644 beta_34_ko.html create mode 100644 beta_34_pl.html create mode 100644 beta_34_pt-br.html create mode 100644 beta_34_ro.html create mode 100644 beta_34_ru.html create mode 100644 beta_34_th.html create mode 100644 beta_34_tr.html create mode 100644 beta_34_ua.html create mode 100644 beta_34_vi.html create mode 100644 beta_34_zh-cn.html create mode 100644 beta_34_zh-tw.html create mode 100644 beta_35_ar.html create mode 100644 beta_35_en.html create mode 100644 beta_35_es.html create mode 100644 beta_35_fa.html create mode 100644 beta_35_fr.html create mode 100644 beta_35_gr.html create mode 100644 beta_35_hu.html create mode 100644 beta_35_ie.html create mode 100644 beta_35_it.html create mode 100644 beta_35_ja.html create mode 100644 beta_35_ko.html create mode 100644 beta_35_pl.html create mode 100644 beta_35_pt-br.html create mode 100644 beta_35_ro.html create mode 100644 beta_35_ru.html create mode 100644 beta_35_th.html create mode 100644 beta_35_tr.html create mode 100644 beta_35_ua.html create mode 100644 beta_35_vi.html create mode 100644 beta_35_zh-cn.html create mode 100644 beta_35_zh-tw.html create mode 100644 beta_36_ar.html create mode 100644 beta_36_en.html create mode 100644 beta_36_es.html create mode 100644 beta_36_fa.html create mode 100644 beta_36_fr.html create mode 100644 beta_36_gr.html create mode 100644 beta_36_hu.html create mode 100644 beta_36_ie.html create mode 100644 beta_36_it.html create mode 100644 beta_36_ja.html create mode 100644 beta_36_ko.html create mode 100644 beta_36_pl.html create mode 100644 beta_36_pt-br.html create mode 100644 beta_36_ro.html create mode 100644 beta_36_ru.html create mode 100644 beta_36_th.html create mode 100644 beta_36_tr.html create mode 100644 beta_36_ua.html create mode 100644 beta_36_vi.html create mode 100644 beta_36_zh-cn.html create mode 100644 beta_36_zh-tw.html create mode 100644 beta_37_ar.html create mode 100644 beta_37_en.html create mode 100644 beta_37_es.html create mode 100644 beta_37_fa.html create mode 100644 beta_37_fr.html create mode 100644 beta_37_gr.html create mode 100644 beta_37_hu.html create mode 100644 beta_37_ie.html create mode 100644 beta_37_it.html create mode 100644 beta_37_ja.html create mode 100644 beta_37_ko.html create mode 100644 beta_37_pl.html create mode 100644 beta_37_pt-br.html create mode 100644 beta_37_ro.html create mode 100644 beta_37_ru.html create mode 100644 beta_37_th.html create mode 100644 beta_37_tr.html create mode 100644 beta_37_ua.html create mode 100644 beta_37_vi.html create mode 100644 beta_37_zh-cn.html create mode 100644 beta_37_zh-tw.html create mode 100644 beta_38_ar.html create mode 100644 beta_38_en.html create mode 100644 beta_38_es.html create mode 100644 beta_38_fa.html create mode 100644 beta_38_fr.html create mode 100644 beta_38_gr.html create mode 100644 beta_38_hu.html create mode 100644 beta_38_ie.html create mode 100644 beta_38_it.html create mode 100644 beta_38_ja.html create mode 100644 beta_38_ko.html create mode 100644 beta_38_pl.html create mode 100644 beta_38_pt-br.html create mode 100644 beta_38_ro.html create mode 100644 beta_38_ru.html create mode 100644 beta_38_th.html create mode 100644 beta_38_tr.html create mode 100644 beta_38_ua.html create mode 100644 beta_38_vi.html create mode 100644 beta_38_zh-cn.html create mode 100644 beta_38_zh-tw.html create mode 100644 beta_39_ar.html create mode 100644 beta_39_en.html create mode 100644 beta_39_es.html create mode 100644 beta_39_fa.html create mode 100644 beta_39_fr.html create mode 100644 beta_39_gr.html create mode 100644 beta_39_hu.html create mode 100644 beta_39_ie.html create mode 100644 beta_39_it.html create mode 100644 beta_39_ja.html create mode 100644 beta_39_ko.html create mode 100644 beta_39_pl.html create mode 100644 beta_39_pt-br.html create mode 100644 beta_39_ro.html create mode 100644 beta_39_ru.html create mode 100644 beta_39_th.html create mode 100644 beta_39_tr.html create mode 100644 beta_39_ua.html create mode 100644 beta_39_vi.html create mode 100644 beta_39_zh-cn.html create mode 100644 beta_39_zh-tw.html create mode 100644 beta_40_ar.html create mode 100644 beta_40_en.html create mode 100644 beta_40_es.html create mode 100644 beta_40_fa.html create mode 100644 beta_40_fr.html create mode 100644 beta_40_gr.html create mode 100644 beta_40_hu.html create mode 100644 beta_40_ie.html create mode 100644 beta_40_it.html create mode 100644 beta_40_ja.html create mode 100644 beta_40_ko.html create mode 100644 beta_40_pl.html create mode 100644 beta_40_pt-br.html create mode 100644 beta_40_ro.html create mode 100644 beta_40_ru.html create mode 100644 beta_40_th.html create mode 100644 beta_40_tr.html create mode 100644 beta_40_ua.html create mode 100644 beta_40_vi.html create mode 100644 beta_40_zh-cn.html create mode 100644 beta_40_zh-tw.html create mode 100644 beta_41_ar.html create mode 100644 beta_41_en.html create mode 100644 beta_41_es.html create mode 100644 beta_41_fa.html create mode 100644 beta_41_fr.html create mode 100644 beta_41_gr.html create mode 100644 beta_41_hu.html create mode 100644 beta_41_ie.html create mode 100644 beta_41_it.html create mode 100644 beta_41_ja.html create mode 100644 beta_41_ko.html create mode 100644 beta_41_pl.html create mode 100644 beta_41_pt-br.html create mode 100644 beta_41_ro.html create mode 100644 beta_41_ru.html create mode 100644 beta_41_th.html create mode 100644 beta_41_tr.html create mode 100644 beta_41_ua.html create mode 100644 beta_41_vi.html create mode 100644 beta_41_zh-cn.html create mode 100644 beta_41_zh-tw.html create mode 100644 beta_43_ar.html create mode 100644 beta_43_de.html create mode 100644 beta_43_en.html create mode 100644 beta_43_es.html create mode 100644 beta_43_fa.html create mode 100644 beta_43_fr.html create mode 100644 beta_43_gr.html create mode 100644 beta_43_hu.html create mode 100644 beta_43_ie.html create mode 100644 beta_43_it.html create mode 100644 beta_43_ja.html create mode 100644 beta_43_ko.html create mode 100644 beta_43_pl.html create mode 100644 beta_43_pt-br.html create mode 100644 beta_43_ro.html create mode 100644 beta_43_ru.html create mode 100644 beta_43_th.html create mode 100644 beta_43_tr.html create mode 100644 beta_43_ua.html create mode 100644 beta_43_vi.html create mode 100644 beta_43_zh-cn.html create mode 100644 beta_43_zh-tw.html create mode 100644 beta_44_ar.html create mode 100644 beta_44_de.html create mode 100644 beta_44_en.html create mode 100644 beta_44_es.html create mode 100644 beta_44_fa.html create mode 100644 beta_44_fr.html create mode 100644 beta_44_gr.html create mode 100644 beta_44_hu.html create mode 100644 beta_44_ie.html create mode 100644 beta_44_it.html create mode 100644 beta_44_ja.html create mode 100644 beta_44_ko.html create mode 100644 beta_44_pl.html create mode 100644 beta_44_pt-br.html create mode 100644 beta_44_ro.html create mode 100644 beta_44_ru.html create mode 100644 beta_44_th.html create mode 100644 beta_44_tr.html create mode 100644 beta_44_ua.html create mode 100644 beta_44_vi.html create mode 100644 beta_44_zh-cn.html create mode 100644 beta_44_zh-tw.html create mode 100644 beta_45_ar.html create mode 100644 beta_45_de.html create mode 100644 beta_45_en.html create mode 100644 beta_45_es.html create mode 100644 beta_45_fa.html create mode 100644 beta_45_fr.html create mode 100644 beta_45_gr.html create mode 100644 beta_45_hu.html create mode 100644 beta_45_ie.html create mode 100644 beta_45_it.html create mode 100644 beta_45_ja.html create mode 100644 beta_45_ko.html create mode 100644 beta_45_pl.html create mode 100644 beta_45_pt-br.html create mode 100644 beta_45_ro.html create mode 100644 beta_45_ru.html create mode 100644 beta_45_th.html create mode 100644 beta_45_tr.html create mode 100644 beta_45_ua.html create mode 100644 beta_45_vi.html create mode 100644 beta_45_zh-cn.html create mode 100644 beta_45_zh-tw.html create mode 100644 beta_46_ar.html create mode 100644 beta_46_de.html create mode 100644 beta_46_en.html create mode 100644 beta_46_es.html create mode 100644 beta_46_fa.html create mode 100644 beta_46_fr.html create mode 100644 beta_46_gr.html create mode 100644 beta_46_hu.html create mode 100644 beta_46_ie.html create mode 100644 beta_46_it.html create mode 100644 beta_46_ja.html create mode 100644 beta_46_ko.html create mode 100644 beta_46_pl.html create mode 100644 beta_46_pt-br.html create mode 100644 beta_46_ro.html create mode 100644 beta_46_ru.html create mode 100644 beta_46_th.html create mode 100644 beta_46_tr.html create mode 100644 beta_46_ua.html create mode 100644 beta_46_vi.html create mode 100644 beta_46_zh-cn.html create mode 100644 beta_46_zh-tw.html create mode 100644 beta_47_ar.html create mode 100644 beta_47_de.html create mode 100644 beta_47_en.html create mode 100644 beta_47_es.html create mode 100644 beta_47_fa.html create mode 100644 beta_47_fr.html create mode 100644 beta_47_gr.html create mode 100644 beta_47_hu.html create mode 100644 beta_47_ie.html create mode 100644 beta_47_it.html create mode 100644 beta_47_ja.html create mode 100644 beta_47_ko.html create mode 100644 beta_47_pl.html create mode 100644 beta_47_pt-br.html create mode 100644 beta_47_ro.html create mode 100644 beta_47_ru.html create mode 100644 beta_47_th.html create mode 100644 beta_47_tr.html create mode 100644 beta_47_ua.html create mode 100644 beta_47_vi.html create mode 100644 beta_47_zh-cn.html create mode 100644 beta_47_zh-tw.html create mode 100644 beta_48_ar.html create mode 100644 beta_48_de.html create mode 100644 beta_48_en.html create mode 100644 beta_48_es.html create mode 100644 beta_48_fa.html create mode 100644 beta_48_fr.html create mode 100644 beta_48_gr.html create mode 100644 beta_48_hu.html create mode 100644 beta_48_ie.html create mode 100644 beta_48_it.html create mode 100644 beta_48_ja.html create mode 100644 beta_48_ko.html create mode 100644 beta_48_pl.html create mode 100644 beta_48_pt-br.html create mode 100644 beta_48_ro.html create mode 100644 beta_48_ru.html create mode 100644 beta_48_th.html create mode 100644 beta_48_tr.html create mode 100644 beta_48_ua.html create mode 100644 beta_48_vi.html create mode 100644 beta_48_zh-cn.html create mode 100644 beta_48_zh-tw.html create mode 100644 beta_49_ar.html create mode 100644 beta_49_de.html create mode 100644 beta_49_en.html create mode 100644 beta_49_es.html create mode 100644 beta_49_fa.html create mode 100644 beta_49_fr.html create mode 100644 beta_49_gr.html create mode 100644 beta_49_hu.html create mode 100644 beta_49_ie.html create mode 100644 beta_49_it.html create mode 100644 beta_49_ja.html create mode 100644 beta_49_ko.html create mode 100644 beta_49_pl.html create mode 100644 beta_49_pt-br.html create mode 100644 beta_49_ro.html create mode 100644 beta_49_ru.html create mode 100644 beta_49_th.html create mode 100644 beta_49_tr.html create mode 100644 beta_49_ua.html create mode 100644 beta_49_vi.html create mode 100644 beta_49_zh-cn.html create mode 100644 beta_49_zh-tw.html create mode 100644 beta_50_ar.html create mode 100644 beta_50_de.html create mode 100644 beta_50_en.html create mode 100644 beta_50_es.html create mode 100644 beta_50_fa.html create mode 100644 beta_50_fr.html create mode 100644 beta_50_gr.html create mode 100644 beta_50_hu.html create mode 100644 beta_50_ie.html create mode 100644 beta_50_it.html create mode 100644 beta_50_ja.html create mode 100644 beta_50_ko.html create mode 100644 beta_50_pl.html create mode 100644 beta_50_pt-br.html create mode 100644 beta_50_ro.html create mode 100644 beta_50_ru.html create mode 100644 beta_50_th.html create mode 100644 beta_50_tr.html create mode 100644 beta_50_ua.html create mode 100644 beta_50_vi.html create mode 100644 beta_50_zh-cn.html create mode 100644 beta_50_zh-tw.html create mode 100644 beta_51_ar.html create mode 100644 beta_51_de.html create mode 100644 beta_51_en.html create mode 100644 beta_51_es.html create mode 100644 beta_51_fa.html create mode 100644 beta_51_fr.html create mode 100644 beta_51_gr.html create mode 100644 beta_51_hu.html create mode 100644 beta_51_ie.html create mode 100644 beta_51_it.html create mode 100644 beta_51_ja.html create mode 100644 beta_51_ko.html create mode 100644 beta_51_pl.html create mode 100644 beta_51_pt-br.html create mode 100644 beta_51_ro.html create mode 100644 beta_51_ru.html create mode 100644 beta_51_th.html create mode 100644 beta_51_tr.html create mode 100644 beta_51_ua.html create mode 100644 beta_51_vi.html create mode 100644 beta_51_zh-cn.html create mode 100644 beta_51_zh-tw.html create mode 100644 beta_52_ar.html create mode 100644 beta_52_de.html create mode 100644 beta_52_en.html create mode 100644 beta_52_es.html create mode 100644 beta_52_fa.html create mode 100644 beta_52_fr.html create mode 100644 beta_52_gr.html create mode 100644 beta_52_hu.html create mode 100644 beta_52_ie.html create mode 100644 beta_52_it.html create mode 100644 beta_52_ja.html create mode 100644 beta_52_ko.html create mode 100644 beta_52_pl.html create mode 100644 beta_52_pt-br.html create mode 100644 beta_52_ro.html create mode 100644 beta_52_ru.html create mode 100644 beta_52_th.html create mode 100644 beta_52_tr.html create mode 100644 beta_52_ua.html create mode 100644 beta_52_vi.html create mode 100644 beta_52_zh-cn.html create mode 100644 beta_52_zh-tw.html create mode 100644 beta_53_ar.html create mode 100644 beta_53_de.html create mode 100644 beta_53_en.html create mode 100644 beta_53_es.html create mode 100644 beta_53_fa.html create mode 100644 beta_53_fr.html create mode 100644 beta_53_gr.html create mode 100644 beta_53_hu.html create mode 100644 beta_53_ie.html create mode 100644 beta_53_it.html create mode 100644 beta_53_ja.html create mode 100644 beta_53_ko.html create mode 100644 beta_53_pl.html create mode 100644 beta_53_pt-br.html create mode 100644 beta_53_ro.html create mode 100644 beta_53_ru.html create mode 100644 beta_53_th.html create mode 100644 beta_53_tr.html create mode 100644 beta_53_ua.html create mode 100644 beta_53_vi.html create mode 100644 beta_53_zh-cn.html create mode 100644 beta_53_zh-tw.html create mode 100644 beta_54_ar.html create mode 100644 beta_54_de.html create mode 100644 beta_54_en.html create mode 100644 beta_54_es.html create mode 100644 beta_54_fa.html create mode 100644 beta_54_fr.html create mode 100644 beta_54_gr.html create mode 100644 beta_54_hu.html create mode 100644 beta_54_ie.html create mode 100644 beta_54_it.html create mode 100644 beta_54_ja.html create mode 100644 beta_54_ko.html create mode 100644 beta_54_pl.html create mode 100644 beta_54_pt-br.html create mode 100644 beta_54_ro.html create mode 100644 beta_54_ru.html create mode 100644 beta_54_th.html create mode 100644 beta_54_tr.html create mode 100644 beta_54_ua.html create mode 100644 beta_54_vi.html create mode 100644 beta_54_zh-cn.html create mode 100644 beta_54_zh-tw.html create mode 100644 beta_55_ar.html create mode 100644 beta_55_de.html create mode 100644 beta_55_en.html create mode 100644 beta_55_es.html create mode 100644 beta_55_fa.html create mode 100644 beta_55_fr.html create mode 100644 beta_55_gr.html create mode 100644 beta_55_hu.html create mode 100644 beta_55_ie.html create mode 100644 beta_55_it.html create mode 100644 beta_55_ja.html create mode 100644 beta_55_ko.html create mode 100644 beta_55_pl.html create mode 100644 beta_55_pt-br.html create mode 100644 beta_55_ro.html create mode 100644 beta_55_ru.html create mode 100644 beta_55_th.html create mode 100644 beta_55_tr.html create mode 100644 beta_55_ua.html create mode 100644 beta_55_vi.html create mode 100644 beta_55_zh-cn.html create mode 100644 beta_55_zh-tw.html create mode 100644 beta_56_ar.html create mode 100644 beta_56_de.html create mode 100644 beta_56_en.html create mode 100644 beta_56_es.html create mode 100644 beta_56_fa.html create mode 100644 beta_56_fr.html create mode 100644 beta_56_gr.html create mode 100644 beta_56_hu.html create mode 100644 beta_56_ie.html create mode 100644 beta_56_it.html create mode 100644 beta_56_ja.html create mode 100644 beta_56_ko.html create mode 100644 beta_56_pl.html create mode 100644 beta_56_pt-br.html create mode 100644 beta_56_ro.html create mode 100644 beta_56_ru.html create mode 100644 beta_56_th.html create mode 100644 beta_56_tr.html create mode 100644 beta_56_ua.html create mode 100644 beta_56_vi.html create mode 100644 beta_56_zh-cn.html create mode 100644 beta_56_zh-tw.html create mode 100644 beta_57_ar.html create mode 100644 beta_57_de.html create mode 100644 beta_57_en.html create mode 100644 beta_57_es.html create mode 100644 beta_57_fa.html create mode 100644 beta_57_fr.html create mode 100644 beta_57_gr.html create mode 100644 beta_57_hu.html create mode 100644 beta_57_ie.html create mode 100644 beta_57_it.html create mode 100644 beta_57_ja.html create mode 100644 beta_57_ko.html create mode 100644 beta_57_pl.html create mode 100644 beta_57_pt-br.html create mode 100644 beta_57_ro.html create mode 100644 beta_57_ru.html create mode 100644 beta_57_th.html create mode 100644 beta_57_tr.html create mode 100644 beta_57_ua.html create mode 100644 beta_57_vi.html create mode 100644 beta_57_zh-cn.html create mode 100644 beta_57_zh-tw.html create mode 100644 beta_59_ar.html create mode 100644 beta_59_de.html create mode 100644 beta_59_en.html create mode 100644 beta_59_es.html create mode 100644 beta_59_fa.html create mode 100644 beta_59_fr.html create mode 100644 beta_59_hu.html create mode 100644 beta_59_ie.html create mode 100644 beta_59_it.html create mode 100644 beta_59_ja.html create mode 100644 beta_59_ko.html create mode 100644 beta_59_pl.html create mode 100644 beta_59_pt-br.html create mode 100644 beta_59_ro.html create mode 100644 beta_59_ru.html create mode 100644 beta_59_th.html create mode 100644 beta_59_tr.html create mode 100644 beta_59_ua.html create mode 100644 beta_59_vi.html create mode 100644 beta_59_zh-cn.html create mode 100644 beta_59_zh-tw.html create mode 100644 beta_60_ar.html create mode 100644 beta_60_de.html create mode 100644 beta_60_en.html create mode 100644 beta_60_es.html create mode 100644 beta_60_fa.html create mode 100644 beta_60_fr.html create mode 100644 beta_60_hu.html create mode 100644 beta_60_ie.html create mode 100644 beta_60_it.html create mode 100644 beta_60_ja.html create mode 100644 beta_60_ko.html create mode 100644 beta_60_pl.html create mode 100644 beta_60_pt-br.html create mode 100644 beta_60_ro.html create mode 100644 beta_60_ru.html create mode 100644 beta_60_th.html create mode 100644 beta_60_tr.html create mode 100644 beta_60_ua.html create mode 100644 beta_60_vi.html create mode 100644 beta_60_zh-cn.html create mode 100644 beta_60_zh-tw.html create mode 100644 beta_61_ar.html create mode 100644 beta_61_de.html create mode 100644 beta_61_en.html create mode 100644 beta_61_es.html create mode 100644 beta_61_fa.html create mode 100644 beta_61_fr.html create mode 100644 beta_61_hu.html create mode 100644 beta_61_ie.html create mode 100644 beta_61_it.html create mode 100644 beta_61_ja.html create mode 100644 beta_61_ko.html create mode 100644 beta_61_pl.html create mode 100644 beta_61_pt-br.html create mode 100644 beta_61_ro.html create mode 100644 beta_61_ru.html create mode 100644 beta_61_th.html create mode 100644 beta_61_tr.html create mode 100644 beta_61_ua.html create mode 100644 beta_61_vi.html create mode 100644 beta_61_zh-cn.html create mode 100644 beta_61_zh-tw.html create mode 100644 beta_62_ar.html create mode 100644 beta_62_de.html create mode 100644 beta_62_en.html create mode 100644 beta_62_es.html create mode 100644 beta_62_fa.html create mode 100644 beta_62_fr.html create mode 100644 beta_62_hu.html create mode 100644 beta_62_ie.html create mode 100644 beta_62_it.html create mode 100644 beta_62_ja.html create mode 100644 beta_62_ko.html create mode 100644 beta_62_pl.html create mode 100644 beta_62_pt-br.html create mode 100644 beta_62_ro.html create mode 100644 beta_62_ru.html create mode 100644 beta_62_th.html create mode 100644 beta_62_tr.html create mode 100644 beta_62_ua.html create mode 100644 beta_62_vi.html create mode 100644 beta_62_zh-cn.html create mode 100644 beta_62_zh-tw.html create mode 100644 beta_63_ar.html create mode 100644 beta_63_de.html create mode 100644 beta_63_en.html create mode 100644 beta_63_es.html create mode 100644 beta_63_fa.html create mode 100644 beta_63_fr.html create mode 100644 beta_63_hu.html create mode 100644 beta_63_ie.html create mode 100644 beta_63_it.html create mode 100644 beta_63_ja.html create mode 100644 beta_63_ko.html create mode 100644 beta_63_pl.html create mode 100644 beta_63_pt-br.html create mode 100644 beta_63_ro.html create mode 100644 beta_63_ru.html create mode 100644 beta_63_th.html create mode 100644 beta_63_tr.html create mode 100644 beta_63_ua.html create mode 100644 beta_63_vi.html create mode 100644 beta_63_zh-cn.html create mode 100644 beta_63_zh-tw.html create mode 100644 beta_64_ar.html create mode 100644 beta_64_de.html create mode 100644 beta_64_en.html create mode 100644 beta_64_es.html create mode 100644 beta_64_fa.html create mode 100644 beta_64_fr.html create mode 100644 beta_64_hu.html create mode 100644 beta_64_ie.html create mode 100644 beta_64_it.html create mode 100644 beta_64_ja.html create mode 100644 beta_64_ko.html create mode 100644 beta_64_pl.html create mode 100644 beta_64_pt-br.html create mode 100644 beta_64_ro.html create mode 100644 beta_64_ru.html create mode 100644 beta_64_th.html create mode 100644 beta_64_tr.html create mode 100644 beta_64_ua.html create mode 100644 beta_64_vi.html create mode 100644 beta_64_zh-cn.html create mode 100644 beta_64_zh-tw.html create mode 100644 beta_65_ar.html create mode 100644 beta_65_de.html create mode 100644 beta_65_en.html create mode 100644 beta_65_es.html create mode 100644 beta_65_fa.html create mode 100644 beta_65_fr.html create mode 100644 beta_65_hu.html create mode 100644 beta_65_ie.html create mode 100644 beta_65_it.html create mode 100644 beta_65_ja.html create mode 100644 beta_65_ko.html create mode 100644 beta_65_pl.html create mode 100644 beta_65_pt-br.html create mode 100644 beta_65_ro.html create mode 100644 beta_65_ru.html create mode 100644 beta_65_th.html create mode 100644 beta_65_tr.html create mode 100644 beta_65_ua.html create mode 100644 beta_65_vi.html create mode 100644 beta_65_zh-cn.html create mode 100644 beta_65_zh-tw.html create mode 100644 beta_66_ar.html create mode 100644 beta_66_de.html create mode 100644 beta_66_en.html create mode 100644 beta_66_es.html create mode 100644 beta_66_fa.html create mode 100644 beta_66_fr.html create mode 100644 beta_66_hu.html create mode 100644 beta_66_ie.html create mode 100644 beta_66_it.html create mode 100644 beta_66_ja.html create mode 100644 beta_66_ko.html create mode 100644 beta_66_pl.html create mode 100644 beta_66_pt-br.html create mode 100644 beta_66_ro.html create mode 100644 beta_66_ru.html create mode 100644 beta_66_th.html create mode 100644 beta_66_tr.html create mode 100644 beta_66_ua.html create mode 100644 beta_66_vi.html create mode 100644 beta_66_zh-cn.html create mode 100644 beta_66_zh-tw.html create mode 100644 beta_67_ar.html create mode 100644 beta_67_de.html create mode 100644 beta_67_en.html create mode 100644 beta_67_es.html create mode 100644 beta_67_fa.html create mode 100644 beta_67_fr.html create mode 100644 beta_67_hu.html create mode 100644 beta_67_ie.html create mode 100644 beta_67_it.html create mode 100644 beta_67_ja.html create mode 100644 beta_67_ko.html create mode 100644 beta_67_pl.html create mode 100644 beta_67_pt-br.html create mode 100644 beta_67_ro.html create mode 100644 beta_67_ru.html create mode 100644 beta_67_th.html create mode 100644 beta_67_tr.html create mode 100644 beta_67_ua.html create mode 100644 beta_67_vi.html create mode 100644 beta_67_zh-cn.html create mode 100644 beta_67_zh-tw.html create mode 100644 beta_68_ar.html create mode 100644 beta_68_de.html create mode 100644 beta_68_en.html create mode 100644 beta_68_es.html create mode 100644 beta_68_fa.html create mode 100644 beta_68_fr.html create mode 100644 beta_68_hu.html create mode 100644 beta_68_ie.html create mode 100644 beta_68_it.html create mode 100644 beta_68_ja.html create mode 100644 beta_68_ko.html create mode 100644 beta_68_pl.html create mode 100644 beta_68_pt-br.html create mode 100644 beta_68_ro.html create mode 100644 beta_68_ru.html create mode 100644 beta_68_th.html create mode 100644 beta_68_tr.html create mode 100644 beta_68_ua.html create mode 100644 beta_68_vi.html create mode 100644 beta_68_zh-cn.html create mode 100644 beta_68_zh-tw.html create mode 100644 beta_69_ar.html create mode 100644 beta_69_de.html create mode 100644 beta_69_en.html create mode 100644 beta_69_es.html create mode 100644 beta_69_fa.html create mode 100644 beta_69_fr.html create mode 100644 beta_69_hu.html create mode 100644 beta_69_ie.html create mode 100644 beta_69_it.html create mode 100644 beta_69_ja.html create mode 100644 beta_69_ko.html create mode 100644 beta_69_pl.html create mode 100644 beta_69_pt-br.html create mode 100644 beta_69_ro.html create mode 100644 beta_69_ru.html create mode 100644 beta_69_th.html create mode 100644 beta_69_tr.html create mode 100644 beta_69_ua.html create mode 100644 beta_69_vi.html create mode 100644 beta_69_zh-cn.html create mode 100644 beta_69_zh-tw.html create mode 100644 beta_70_ar.html create mode 100644 beta_70_de.html create mode 100644 beta_70_en.html create mode 100644 beta_70_es.html create mode 100644 beta_70_fa.html create mode 100644 beta_70_fr.html create mode 100644 beta_70_hu.html create mode 100644 beta_70_ie.html create mode 100644 beta_70_it.html create mode 100644 beta_70_ja.html create mode 100644 beta_70_ko.html create mode 100644 beta_70_pl.html create mode 100644 beta_70_pt-br.html create mode 100644 beta_70_ro.html create mode 100644 beta_70_ru.html create mode 100644 beta_70_th.html create mode 100644 beta_70_tr.html create mode 100644 beta_70_ua.html create mode 100644 beta_70_vi.html create mode 100644 beta_70_zh-cn.html create mode 100644 beta_70_zh-tw.html create mode 100644 beta_71_ar.html create mode 100644 beta_71_de.html create mode 100644 beta_71_en.html create mode 100644 beta_71_es.html create mode 100644 beta_71_fa.html create mode 100644 beta_71_fr.html create mode 100644 beta_71_hu.html create mode 100644 beta_71_ie.html create mode 100644 beta_71_it.html create mode 100644 beta_71_ja.html create mode 100644 beta_71_ko.html create mode 100644 beta_71_pl.html create mode 100644 beta_71_pt-br.html create mode 100644 beta_71_ro.html create mode 100644 beta_71_ru.html create mode 100644 beta_71_th.html create mode 100644 beta_71_tr.html create mode 100644 beta_71_ua.html create mode 100644 beta_71_vi.html create mode 100644 beta_71_zh-cn.html create mode 100644 beta_71_zh-tw.html create mode 100644 beta_72_ar.html create mode 100644 beta_72_de.html create mode 100644 beta_72_en.html create mode 100644 beta_72_es.html create mode 100644 beta_72_fa.html create mode 100644 beta_72_fr.html create mode 100644 beta_72_hu.html create mode 100644 beta_72_ie.html create mode 100644 beta_72_it.html create mode 100644 beta_72_ja.html create mode 100644 beta_72_ko.html create mode 100644 beta_72_pl.html create mode 100644 beta_72_pt-br.html create mode 100644 beta_72_ro.html create mode 100644 beta_72_ru.html create mode 100644 beta_72_th.html create mode 100644 beta_72_tr.html create mode 100644 beta_72_ua.html create mode 100644 beta_72_vi.html create mode 100644 beta_72_zh-cn.html create mode 100644 beta_72_zh-tw.html create mode 100644 beta_74_ar.html create mode 100644 beta_74_en.html create mode 100644 beta_74_es.html create mode 100644 beta_74_fa.html create mode 100644 beta_74_fr.html create mode 100644 beta_74_hu.html create mode 100644 beta_74_ie.html create mode 100644 beta_74_it.html create mode 100644 beta_74_ja.html create mode 100644 beta_74_ko.html create mode 100644 beta_74_pl.html create mode 100644 beta_74_pt-br.html create mode 100644 beta_74_ro.html create mode 100644 beta_74_ru.html create mode 100644 beta_74_th.html create mode 100644 beta_74_tr.html create mode 100644 beta_74_ua.html create mode 100644 beta_74_vi.html create mode 100644 beta_74_zh-cn.html create mode 100644 beta_74_zh-tw.html create mode 100644 beta_75_ar.html create mode 100644 beta_75_en.html create mode 100644 beta_75_es.html create mode 100644 beta_75_fa.html create mode 100644 beta_75_fr.html create mode 100644 beta_75_hu.html create mode 100644 beta_75_ie.html create mode 100644 beta_75_it.html create mode 100644 beta_75_ja.html create mode 100644 beta_75_ko.html create mode 100644 beta_75_pl.html create mode 100644 beta_75_pt-br.html create mode 100644 beta_75_ro.html create mode 100644 beta_75_ru.html create mode 100644 beta_75_th.html create mode 100644 beta_75_tr.html create mode 100644 beta_75_ua.html create mode 100644 beta_75_vi.html create mode 100644 beta_75_zh-cn.html create mode 100644 beta_75_zh-tw.html create mode 100644 beta_76_ar.html create mode 100644 beta_76_en.html create mode 100644 beta_76_es.html create mode 100644 beta_76_fa.html create mode 100644 beta_76_fr.html create mode 100644 beta_76_hu.html create mode 100644 beta_76_ie.html create mode 100644 beta_76_it.html create mode 100644 beta_76_ja.html create mode 100644 beta_76_ko.html create mode 100644 beta_76_pl.html create mode 100644 beta_76_pt-br.html create mode 100644 beta_76_ro.html create mode 100644 beta_76_ru.html create mode 100644 beta_76_th.html create mode 100644 beta_76_tr.html create mode 100644 beta_76_ua.html create mode 100644 beta_76_vi.html create mode 100644 beta_76_zh-cn.html create mode 100644 beta_76_zh-tw.html create mode 100644 beta_77_ar.html create mode 100644 beta_77_en.html create mode 100644 beta_77_es.html create mode 100644 beta_77_fa.html create mode 100644 beta_77_fr.html create mode 100644 beta_77_hu.html create mode 100644 beta_77_ie.html create mode 100644 beta_77_it.html create mode 100644 beta_77_ja.html create mode 100644 beta_77_ko.html create mode 100644 beta_77_pl.html create mode 100644 beta_77_pt-br.html create mode 100644 beta_77_ro.html create mode 100644 beta_77_ru.html create mode 100644 beta_77_th.html create mode 100644 beta_77_tr.html create mode 100644 beta_77_ua.html create mode 100644 beta_77_vi.html create mode 100644 beta_77_zh-cn.html create mode 100644 beta_77_zh-tw.html create mode 100644 beta_78_ar.html create mode 100644 beta_78_en.html create mode 100644 beta_78_es.html create mode 100644 beta_78_fa.html create mode 100644 beta_78_fr.html create mode 100644 beta_78_hu.html create mode 100644 beta_78_ie.html create mode 100644 beta_78_it.html create mode 100644 beta_78_ja.html create mode 100644 beta_78_ko.html create mode 100644 beta_78_pl.html create mode 100644 beta_78_pt-br.html create mode 100644 beta_78_ro.html create mode 100644 beta_78_ru.html create mode 100644 beta_78_th.html create mode 100644 beta_78_tr.html create mode 100644 beta_78_ua.html create mode 100644 beta_78_vi.html create mode 100644 beta_78_zh-cn.html create mode 100644 beta_78_zh-tw.html create mode 100644 beta_79_ar.html create mode 100644 beta_79_en.html create mode 100644 beta_79_es.html create mode 100644 beta_79_fa.html create mode 100644 beta_79_fr.html create mode 100644 beta_79_hu.html create mode 100644 beta_79_ie.html create mode 100644 beta_79_it.html create mode 100644 beta_79_ja.html create mode 100644 beta_79_ko.html create mode 100644 beta_79_pl.html create mode 100644 beta_79_pt-br.html create mode 100644 beta_79_ro.html create mode 100644 beta_79_ru.html create mode 100644 beta_79_th.html create mode 100644 beta_79_tr.html create mode 100644 beta_79_ua.html create mode 100644 beta_79_vi.html create mode 100644 beta_79_zh-cn.html create mode 100644 beta_79_zh-tw.html create mode 100644 beta_80_ar.html create mode 100644 beta_80_en.html create mode 100644 beta_80_es.html create mode 100644 beta_80_fa.html create mode 100644 beta_80_fr.html create mode 100644 beta_80_hu.html create mode 100644 beta_80_ie.html create mode 100644 beta_80_it.html create mode 100644 beta_80_ja.html create mode 100644 beta_80_ko.html create mode 100644 beta_80_pl.html create mode 100644 beta_80_pt-br.html create mode 100644 beta_80_ro.html create mode 100644 beta_80_ru.html create mode 100644 beta_80_th.html create mode 100644 beta_80_tr.html create mode 100644 beta_80_ua.html create mode 100644 beta_80_vi.html create mode 100644 beta_80_zh-cn.html create mode 100644 beta_80_zh-tw.html create mode 100644 beta_81_ar.html create mode 100644 beta_81_en.html create mode 100644 beta_81_es.html create mode 100644 beta_81_fa.html create mode 100644 beta_81_fr.html create mode 100644 beta_81_hu.html create mode 100644 beta_81_ie.html create mode 100644 beta_81_it.html create mode 100644 beta_81_ja.html create mode 100644 beta_81_ko.html create mode 100644 beta_81_pl.html create mode 100644 beta_81_pt-br.html create mode 100644 beta_81_ro.html create mode 100644 beta_81_ru.html create mode 100644 beta_81_th.html create mode 100644 beta_81_tr.html create mode 100644 beta_81_ua.html create mode 100644 beta_81_vi.html create mode 100644 beta_81_zh-cn.html create mode 100644 beta_81_zh-tw.html create mode 100644 beta_82_ar.html create mode 100644 beta_82_en.html create mode 100644 beta_82_es.html create mode 100644 beta_82_fa.html create mode 100644 beta_82_fr.html create mode 100644 beta_82_hu.html create mode 100644 beta_82_ie.html create mode 100644 beta_82_it.html create mode 100644 beta_82_ja.html create mode 100644 beta_82_ko.html create mode 100644 beta_82_pl.html create mode 100644 beta_82_pt-br.html create mode 100644 beta_82_ro.html create mode 100644 beta_82_ru.html create mode 100644 beta_82_th.html create mode 100644 beta_82_tr.html create mode 100644 beta_82_ua.html create mode 100644 beta_82_vi.html create mode 100644 beta_82_zh-cn.html create mode 100644 beta_82_zh-tw.html create mode 100644 beta_83_ar.html create mode 100644 beta_83_en.html create mode 100644 beta_83_es.html create mode 100644 beta_83_fa.html create mode 100644 beta_83_fr.html create mode 100644 beta_83_hu.html create mode 100644 beta_83_ie.html create mode 100644 beta_83_it.html create mode 100644 beta_83_ja.html create mode 100644 beta_83_ko.html create mode 100644 beta_83_pl.html create mode 100644 beta_83_pt-br.html create mode 100644 beta_83_ro.html create mode 100644 beta_83_ru.html create mode 100644 beta_83_th.html create mode 100644 beta_83_tr.html create mode 100644 beta_83_ua.html create mode 100644 beta_83_vi.html create mode 100644 beta_83_zh-cn.html create mode 100644 beta_83_zh-tw.html create mode 100644 beta_84_ar.html create mode 100644 beta_84_en.html create mode 100644 beta_84_es.html create mode 100644 beta_84_fa.html create mode 100644 beta_84_fr.html create mode 100644 beta_84_hu.html create mode 100644 beta_84_ie.html create mode 100644 beta_84_it.html create mode 100644 beta_84_ja.html create mode 100644 beta_84_ko.html create mode 100644 beta_84_pl.html create mode 100644 beta_84_pt-br.html create mode 100644 beta_84_ro.html create mode 100644 beta_84_ru.html create mode 100644 beta_84_th.html create mode 100644 beta_84_tr.html create mode 100644 beta_84_ua.html create mode 100644 beta_84_vi.html create mode 100644 beta_84_zh-cn.html create mode 100644 beta_84_zh-tw.html create mode 100644 beta_85_ar.html create mode 100644 beta_85_en.html create mode 100644 beta_85_es.html create mode 100644 beta_85_fa.html create mode 100644 beta_85_fr.html create mode 100644 beta_85_hu.html create mode 100644 beta_85_ie.html create mode 100644 beta_85_it.html create mode 100644 beta_85_ja.html create mode 100644 beta_85_ko.html create mode 100644 beta_85_pl.html create mode 100644 beta_85_pt-br.html create mode 100644 beta_85_ro.html create mode 100644 beta_85_ru.html create mode 100644 beta_85_th.html create mode 100644 beta_85_tr.html create mode 100644 beta_85_ua.html create mode 100644 beta_85_vi.html create mode 100644 beta_85_zh-cn.html create mode 100644 beta_85_zh-tw.html create mode 100644 beta_86_ar.html create mode 100644 beta_86_en.html create mode 100644 beta_86_es.html create mode 100644 beta_86_fa.html create mode 100644 beta_86_fr.html create mode 100644 beta_86_hu.html create mode 100644 beta_86_ie.html create mode 100644 beta_86_it.html create mode 100644 beta_86_ja.html create mode 100644 beta_86_ko.html create mode 100644 beta_86_pl.html create mode 100644 beta_86_pt-br.html create mode 100644 beta_86_ro.html create mode 100644 beta_86_ru.html create mode 100644 beta_86_th.html create mode 100644 beta_86_tr.html create mode 100644 beta_86_ua.html create mode 100644 beta_86_vi.html create mode 100644 beta_86_zh-cn.html create mode 100644 beta_86_zh-tw.html create mode 100644 beta_87_ar.html create mode 100644 beta_87_en.html create mode 100644 beta_87_es.html create mode 100644 beta_87_fa.html create mode 100644 beta_87_fr.html create mode 100644 beta_87_hu.html create mode 100644 beta_87_ie.html create mode 100644 beta_87_it.html create mode 100644 beta_87_ja.html create mode 100644 beta_87_ko.html create mode 100644 beta_87_pl.html create mode 100644 beta_87_pt-br.html create mode 100644 beta_87_ro.html create mode 100644 beta_87_ru.html create mode 100644 beta_87_th.html create mode 100644 beta_87_tr.html create mode 100644 beta_87_ua.html create mode 100644 beta_87_vi.html create mode 100644 beta_87_zh-cn.html create mode 100644 beta_87_zh-tw.html create mode 100644 beta_88_ar.html create mode 100644 beta_88_en.html create mode 100644 beta_88_es.html create mode 100644 beta_88_fa.html create mode 100644 beta_88_fr.html create mode 100644 beta_88_hu.html create mode 100644 beta_88_ie.html create mode 100644 beta_88_ja.html create mode 100644 beta_88_ko.html create mode 100644 beta_88_pl.html create mode 100644 beta_88_pt-br.html create mode 100644 beta_88_ro.html create mode 100644 beta_88_ru.html create mode 100644 beta_88_th.html create mode 100644 beta_88_tr.html create mode 100644 beta_88_ua.html create mode 100644 beta_88_vi.html create mode 100644 beta_88_zh-cn.html create mode 100644 beta_88_zh-tw.html create mode 100644 beta_90_ar.html create mode 100644 beta_90_en.html create mode 100644 beta_90_es.html create mode 100644 beta_90_fa.html create mode 100644 beta_90_fr.html create mode 100644 beta_90_hu.html create mode 100644 beta_90_ie.html create mode 100644 beta_90_ko.html create mode 100644 beta_90_pl.html create mode 100644 beta_90_pt-br.html create mode 100644 beta_90_ro.html create mode 100644 beta_90_ru.html create mode 100644 beta_90_th.html create mode 100644 beta_90_tr.html create mode 100644 beta_90_ua.html create mode 100644 beta_90_vi.html create mode 100644 beta_90_zh-cn.html create mode 100644 beta_91_ar.html create mode 100644 beta_91_en.html create mode 100644 beta_91_es.html create mode 100644 beta_91_fa.html create mode 100644 beta_91_fr.html create mode 100644 beta_91_hu.html create mode 100644 beta_91_ie.html create mode 100644 beta_91_ko.html create mode 100644 beta_91_pl.html create mode 100644 beta_91_pt-br.html create mode 100644 beta_91_ro.html create mode 100644 beta_91_ru.html create mode 100644 beta_91_th.html create mode 100644 beta_91_tr.html create mode 100644 beta_91_ua.html create mode 100644 beta_91_vi.html create mode 100644 beta_91_zh-cn.html create mode 100644 beta_92_ar.html create mode 100644 beta_92_en.html create mode 100644 beta_92_es.html create mode 100644 beta_92_fa.html create mode 100644 beta_92_fr.html create mode 100644 beta_92_hu.html create mode 100644 beta_92_ie.html create mode 100644 beta_92_ko.html create mode 100644 beta_92_pl.html create mode 100644 beta_92_pt-br.html create mode 100644 beta_92_ro.html create mode 100644 beta_92_ru.html create mode 100644 beta_92_th.html create mode 100644 beta_92_tr.html create mode 100644 beta_92_ua.html create mode 100644 beta_92_vi.html create mode 100644 beta_92_zh-cn.html create mode 100644 beta_93_ar.html create mode 100644 beta_93_en.html create mode 100644 beta_93_es.html create mode 100644 beta_93_fa.html create mode 100644 beta_93_fr.html create mode 100644 beta_93_hu.html create mode 100644 beta_93_ie.html create mode 100644 beta_93_ko.html create mode 100644 beta_93_pl.html create mode 100644 beta_93_pt-br.html create mode 100644 beta_93_ro.html create mode 100644 beta_93_ru.html create mode 100644 beta_93_th.html create mode 100644 beta_93_tr.html create mode 100644 beta_93_ua.html create mode 100644 beta_93_vi.html create mode 100644 beta_93_zh-cn.html create mode 100644 beta_94_ar.html create mode 100644 beta_94_en.html create mode 100644 beta_94_es.html create mode 100644 beta_94_fa.html create mode 100644 beta_94_fr.html create mode 100644 beta_94_hu.html create mode 100644 beta_94_ie.html create mode 100644 beta_94_ko.html create mode 100644 beta_94_pl.html create mode 100644 beta_94_pt-br.html create mode 100644 beta_94_ro.html create mode 100644 beta_94_ru.html create mode 100644 beta_94_th.html create mode 100644 beta_94_tr.html create mode 100644 beta_94_ua.html create mode 100644 beta_94_vi.html create mode 100644 beta_94_zh-cn.html create mode 100644 beta_95_ar.html create mode 100644 beta_95_en.html create mode 100644 beta_95_es.html create mode 100644 beta_95_fa.html create mode 100644 beta_95_fr.html create mode 100644 beta_95_hu.html create mode 100644 beta_95_ie.html create mode 100644 beta_95_ko.html create mode 100644 beta_95_pl.html create mode 100644 beta_95_pt-br.html create mode 100644 beta_95_ro.html create mode 100644 beta_95_ru.html create mode 100644 beta_95_th.html create mode 100644 beta_95_tr.html create mode 100644 beta_95_ua.html create mode 100644 beta_95_vi.html create mode 100644 beta_95_zh-cn.html create mode 100644 beta_96_ar.html create mode 100644 beta_96_en.html create mode 100644 beta_96_es.html create mode 100644 beta_96_fa.html create mode 100644 beta_96_fr.html create mode 100644 beta_96_hu.html create mode 100644 beta_96_ie.html create mode 100644 beta_96_ko.html create mode 100644 beta_96_pl.html create mode 100644 beta_96_pt-br.html create mode 100644 beta_96_ro.html create mode 100644 beta_96_ru.html create mode 100644 beta_96_th.html create mode 100644 beta_96_tr.html create mode 100644 beta_96_ua.html create mode 100644 beta_96_vi.html create mode 100644 beta_96_zh-cn.html create mode 100644 beta_97_ar.html create mode 100644 beta_97_en.html create mode 100644 beta_97_es.html create mode 100644 beta_97_fa.html create mode 100644 beta_97_fr.html create mode 100644 beta_97_hu.html create mode 100644 beta_97_ie.html create mode 100644 beta_97_ko.html create mode 100644 beta_97_pl.html create mode 100644 beta_97_pt-br.html create mode 100644 beta_97_ro.html create mode 100644 beta_97_ru.html create mode 100644 beta_97_th.html create mode 100644 beta_97_tr.html create mode 100644 beta_97_ua.html create mode 100644 beta_97_vi.html create mode 100644 beta_97_zh-cn.html create mode 100644 beta_98_ar.html create mode 100644 beta_98_en.html create mode 100644 beta_98_es.html create mode 100644 beta_98_fa.html create mode 100644 beta_98_fr.html create mode 100644 beta_98_hu.html create mode 100644 beta_98_ie.html create mode 100644 beta_98_ko.html create mode 100644 beta_98_pl.html create mode 100644 beta_98_pt-br.html create mode 100644 beta_98_ro.html create mode 100644 beta_98_ru.html create mode 100644 beta_98_th.html create mode 100644 beta_98_tr.html create mode 100644 beta_98_ua.html create mode 100644 beta_98_vi.html create mode 100644 beta_98_zh-cn.html create mode 100644 beta_99_ar.html create mode 100644 beta_99_en.html create mode 100644 beta_99_es.html create mode 100644 beta_99_fa.html create mode 100644 beta_99_fr.html create mode 100644 beta_99_hu.html create mode 100644 beta_99_ie.html create mode 100644 beta_99_ko.html create mode 100644 beta_99_pl.html create mode 100644 beta_99_pt-br.html create mode 100644 beta_99_ro.html create mode 100644 beta_99_ru.html create mode 100644 beta_99_th.html create mode 100644 beta_99_tr.html create mode 100644 beta_99_ua.html create mode 100644 beta_99_vi.html create mode 100644 beta_99_zh-cn.html create mode 100644 beta_chapter_10_ar.html create mode 100644 beta_chapter_10_de.html create mode 100644 beta_chapter_10_en.html create mode 100644 beta_chapter_10_es.html create mode 100644 beta_chapter_10_fa.html create mode 100644 beta_chapter_10_fr.html create mode 100644 beta_chapter_10_gr.html create mode 100644 beta_chapter_10_hu.html create mode 100644 beta_chapter_10_ie.html create mode 100644 beta_chapter_10_ja.html create mode 100644 beta_chapter_10_ko.html create mode 100644 beta_chapter_10_pl.html create mode 100644 beta_chapter_10_pt-br.html create mode 100644 beta_chapter_10_ro.html create mode 100644 beta_chapter_10_ru.html create mode 100644 beta_chapter_10_th.html create mode 100644 beta_chapter_10_tr.html create mode 100644 beta_chapter_10_ua.html create mode 100644 beta_chapter_10_vi.html create mode 100644 beta_chapter_10_zh-cn.html create mode 100644 beta_chapter_1_al.html create mode 100644 beta_chapter_1_ar.html create mode 100644 beta_chapter_1_de.html create mode 100644 beta_chapter_1_en.html create mode 100644 beta_chapter_1_es.html create mode 100644 beta_chapter_1_fa.html create mode 100644 beta_chapter_1_fi.html create mode 100644 beta_chapter_1_fr.html create mode 100644 beta_chapter_1_gr.html create mode 100644 beta_chapter_1_hu.html create mode 100644 beta_chapter_1_id.html create mode 100644 beta_chapter_1_ie.html create mode 100644 beta_chapter_1_it.html create mode 100644 beta_chapter_1_ja.html create mode 100644 beta_chapter_1_ko.html create mode 100644 beta_chapter_1_ne.html create mode 100644 beta_chapter_1_pl.html create mode 100644 beta_chapter_1_pt-br.html create mode 100644 beta_chapter_1_ro.html create mode 100644 beta_chapter_1_ru.html create mode 100644 beta_chapter_1_th.html create mode 100644 beta_chapter_1_tr.html create mode 100644 beta_chapter_1_ua.html create mode 100644 beta_chapter_1_vi.html create mode 100644 beta_chapter_1_zh-cn.html create mode 100644 beta_chapter_1_zh-tw.html create mode 100644 beta_chapter_2_al.html create mode 100644 beta_chapter_2_ar.html create mode 100644 beta_chapter_2_de.html create mode 100644 beta_chapter_2_en.html create mode 100644 beta_chapter_2_es.html create mode 100644 beta_chapter_2_fa.html create mode 100644 beta_chapter_2_fi.html create mode 100644 beta_chapter_2_fr.html create mode 100644 beta_chapter_2_gr.html create mode 100644 beta_chapter_2_hu.html create mode 100644 beta_chapter_2_id.html create mode 100644 beta_chapter_2_ie.html create mode 100644 beta_chapter_2_it.html create mode 100644 beta_chapter_2_ja.html create mode 100644 beta_chapter_2_ko.html create mode 100644 beta_chapter_2_pl.html create mode 100644 beta_chapter_2_pt-br.html create mode 100644 beta_chapter_2_ro.html create mode 100644 beta_chapter_2_ru.html create mode 100644 beta_chapter_2_th.html create mode 100644 beta_chapter_2_tr.html create mode 100644 beta_chapter_2_ua.html create mode 100644 beta_chapter_2_vi.html create mode 100644 beta_chapter_2_zh-cn.html create mode 100644 beta_chapter_2_zh-tw.html create mode 100644 beta_chapter_3_al.html create mode 100644 beta_chapter_3_ar.html create mode 100644 beta_chapter_3_de.html create mode 100644 beta_chapter_3_en.html create mode 100644 beta_chapter_3_es.html create mode 100644 beta_chapter_3_fa.html create mode 100644 beta_chapter_3_fr.html create mode 100644 beta_chapter_3_gr.html create mode 100644 beta_chapter_3_hu.html create mode 100644 beta_chapter_3_ie.html create mode 100644 beta_chapter_3_it.html create mode 100644 beta_chapter_3_ja.html create mode 100644 beta_chapter_3_ko.html create mode 100644 beta_chapter_3_pl.html create mode 100644 beta_chapter_3_pt-br.html create mode 100644 beta_chapter_3_ro.html create mode 100644 beta_chapter_3_ru.html create mode 100644 beta_chapter_3_th.html create mode 100644 beta_chapter_3_tr.html create mode 100644 beta_chapter_3_ua.html create mode 100644 beta_chapter_3_vi.html create mode 100644 beta_chapter_3_zh-cn.html create mode 100644 beta_chapter_3_zh-tw.html create mode 100644 beta_chapter_4_ar.html create mode 100644 beta_chapter_4_de.html create mode 100644 beta_chapter_4_en.html create mode 100644 beta_chapter_4_es.html create mode 100644 beta_chapter_4_fa.html create mode 100644 beta_chapter_4_fr.html create mode 100644 beta_chapter_4_gr.html create mode 100644 beta_chapter_4_hu.html create mode 100644 beta_chapter_4_ie.html create mode 100644 beta_chapter_4_it.html create mode 100644 beta_chapter_4_ja.html create mode 100644 beta_chapter_4_ko.html create mode 100644 beta_chapter_4_pl.html create mode 100644 beta_chapter_4_pt-br.html create mode 100644 beta_chapter_4_ro.html create mode 100644 beta_chapter_4_ru.html create mode 100644 beta_chapter_4_th.html create mode 100644 beta_chapter_4_tr.html create mode 100644 beta_chapter_4_ua.html create mode 100644 beta_chapter_4_vi.html create mode 100644 beta_chapter_4_zh-cn.html create mode 100644 beta_chapter_4_zh-tw.html create mode 100644 beta_chapter_5_ar.html create mode 100644 beta_chapter_5_de.html create mode 100644 beta_chapter_5_en.html create mode 100644 beta_chapter_5_es.html create mode 100644 beta_chapter_5_fa.html create mode 100644 beta_chapter_5_fr.html create mode 100644 beta_chapter_5_gr.html create mode 100644 beta_chapter_5_hu.html create mode 100644 beta_chapter_5_ie.html create mode 100644 beta_chapter_5_it.html create mode 100644 beta_chapter_5_ja.html create mode 100644 beta_chapter_5_ko.html create mode 100644 beta_chapter_5_pl.html create mode 100644 beta_chapter_5_pt-br.html create mode 100644 beta_chapter_5_ro.html create mode 100644 beta_chapter_5_ru.html create mode 100644 beta_chapter_5_th.html create mode 100644 beta_chapter_5_tr.html create mode 100644 beta_chapter_5_ua.html create mode 100644 beta_chapter_5_vi.html create mode 100644 beta_chapter_5_zh-cn.html create mode 100644 beta_chapter_5_zh-tw.html create mode 100644 beta_chapter_6_ar.html create mode 100644 beta_chapter_6_de.html create mode 100644 beta_chapter_6_en.html create mode 100644 beta_chapter_6_es.html create mode 100644 beta_chapter_6_fa.html create mode 100644 beta_chapter_6_fr.html create mode 100644 beta_chapter_6_hu.html create mode 100644 beta_chapter_6_ie.html create mode 100644 beta_chapter_6_it.html create mode 100644 beta_chapter_6_ja.html create mode 100644 beta_chapter_6_ko.html create mode 100644 beta_chapter_6_pl.html create mode 100644 beta_chapter_6_pt-br.html create mode 100644 beta_chapter_6_ro.html create mode 100644 beta_chapter_6_ru.html create mode 100644 beta_chapter_6_th.html create mode 100644 beta_chapter_6_tr.html create mode 100644 beta_chapter_6_ua.html create mode 100644 beta_chapter_6_vi.html create mode 100644 beta_chapter_6_zh-cn.html create mode 100644 beta_chapter_6_zh-tw.html create mode 100644 beta_chapter_7_ar.html create mode 100644 beta_chapter_7_en.html create mode 100644 beta_chapter_7_es.html create mode 100644 beta_chapter_7_fa.html create mode 100644 beta_chapter_7_fr.html create mode 100644 beta_chapter_7_hu.html create mode 100644 beta_chapter_7_ie.html create mode 100644 beta_chapter_7_it.html create mode 100644 beta_chapter_7_ja.html create mode 100644 beta_chapter_7_ko.html create mode 100644 beta_chapter_7_pl.html create mode 100644 beta_chapter_7_pt-br.html create mode 100644 beta_chapter_7_ro.html create mode 100644 beta_chapter_7_ru.html create mode 100644 beta_chapter_7_th.html create mode 100644 beta_chapter_7_tr.html create mode 100644 beta_chapter_7_ua.html create mode 100644 beta_chapter_7_vi.html create mode 100644 beta_chapter_7_zh-cn.html create mode 100644 beta_chapter_7_zh-tw.html create mode 100644 beta_chapter_8_ar.html create mode 100644 beta_chapter_8_en.html create mode 100644 beta_chapter_8_es.html create mode 100644 beta_chapter_8_fa.html create mode 100644 beta_chapter_8_fr.html create mode 100644 beta_chapter_8_hu.html create mode 100644 beta_chapter_8_ie.html create mode 100644 beta_chapter_8_ko.html create mode 100644 beta_chapter_8_pl.html create mode 100644 beta_chapter_8_pt-br.html create mode 100644 beta_chapter_8_ro.html create mode 100644 beta_chapter_8_ru.html create mode 100644 beta_chapter_8_th.html create mode 100644 beta_chapter_8_tr.html create mode 100644 beta_chapter_8_ua.html create mode 100644 beta_chapter_8_vi.html create mode 100644 beta_chapter_8_zh-cn.html create mode 100644 beta_chapter_9_ar.html create mode 100644 beta_chapter_9_de.html create mode 100644 beta_chapter_9_en.html create mode 100644 beta_chapter_9_es.html create mode 100644 beta_chapter_9_fa.html create mode 100644 beta_chapter_9_fr.html create mode 100644 beta_chapter_9_hu.html create mode 100644 beta_chapter_9_ie.html create mode 100644 beta_chapter_9_ko.html create mode 100644 beta_chapter_9_pl.html create mode 100644 beta_chapter_9_pt-br.html create mode 100644 beta_chapter_9_ro.html create mode 100644 beta_chapter_9_ru.html create mode 100644 beta_chapter_9_th.html create mode 100644 beta_chapter_9_tr.html create mode 100644 beta_chapter_9_ua.html create mode 100644 beta_chapter_9_vi.html create mode 100644 beta_chapter_9_zh-cn.html create mode 100644 beta_index.html create mode 100644 chapter_10_al.html create mode 100644 chapter_10_ar.html create mode 100644 chapter_10_de.html create mode 100644 chapter_10_en.html create mode 100644 chapter_10_es.html create mode 100644 chapter_10_fa.html create mode 100644 chapter_10_fi.html create mode 100644 chapter_10_fr.html create mode 100644 chapter_10_gr.html create mode 100644 chapter_10_hu.html create mode 100644 chapter_10_id.html create mode 100644 chapter_10_ie.html create mode 100644 chapter_10_it.html create mode 100644 chapter_10_ja.html create mode 100644 chapter_10_ko.html create mode 100644 chapter_10_ne.html create mode 100644 chapter_10_pl.html create mode 100644 chapter_10_pt-br.html create mode 100644 chapter_10_ro.html create mode 100644 chapter_10_ru.html create mode 100644 chapter_10_th.html create mode 100644 chapter_10_tr.html create mode 100644 chapter_10_ua.html create mode 100644 chapter_10_vi.html create mode 100644 chapter_10_zh-cn.html create mode 100644 chapter_10_zh-tw.html create mode 100644 chapter_1_al.html create mode 100644 chapter_1_ar.html create mode 100644 chapter_1_de.html create mode 100644 chapter_1_en.html create mode 100644 chapter_1_es.html create mode 100644 chapter_1_fa.html create mode 100644 chapter_1_fi.html create mode 100644 chapter_1_fr.html create mode 100644 chapter_1_gr.html create mode 100644 chapter_1_hu.html create mode 100644 chapter_1_id.html create mode 100644 chapter_1_ie.html create mode 100644 chapter_1_it.html create mode 100644 chapter_1_ja.html create mode 100644 chapter_1_ko.html create mode 100644 chapter_1_ne.html create mode 100644 chapter_1_pl.html create mode 100644 chapter_1_pt-br.html create mode 100644 chapter_1_ro.html create mode 100644 chapter_1_ru.html create mode 100644 chapter_1_th.html create mode 100644 chapter_1_tr.html create mode 100644 chapter_1_ua.html create mode 100644 chapter_1_vi.html create mode 100644 chapter_1_zh-cn.html create mode 100644 chapter_1_zh-tw.html create mode 100644 chapter_2_al.html create mode 100644 chapter_2_ar.html create mode 100644 chapter_2_de.html create mode 100644 chapter_2_en.html create mode 100644 chapter_2_es.html create mode 100644 chapter_2_fa.html create mode 100644 chapter_2_fi.html create mode 100644 chapter_2_fr.html create mode 100644 chapter_2_gr.html create mode 100644 chapter_2_hu.html create mode 100644 chapter_2_id.html create mode 100644 chapter_2_ie.html create mode 100644 chapter_2_it.html create mode 100644 chapter_2_ja.html create mode 100644 chapter_2_ko.html create mode 100644 chapter_2_ne.html create mode 100644 chapter_2_pl.html create mode 100644 chapter_2_pt-br.html create mode 100644 chapter_2_ro.html create mode 100644 chapter_2_ru.html create mode 100644 chapter_2_th.html create mode 100644 chapter_2_tr.html create mode 100644 chapter_2_ua.html create mode 100644 chapter_2_vi.html create mode 100644 chapter_2_zh-cn.html create mode 100644 chapter_2_zh-tw.html create mode 100644 chapter_3_al.html create mode 100644 chapter_3_ar.html create mode 100644 chapter_3_de.html create mode 100644 chapter_3_en.html create mode 100644 chapter_3_es.html create mode 100644 chapter_3_fa.html create mode 100644 chapter_3_fi.html create mode 100644 chapter_3_fr.html create mode 100644 chapter_3_gr.html create mode 100644 chapter_3_hu.html create mode 100644 chapter_3_id.html create mode 100644 chapter_3_ie.html create mode 100644 chapter_3_it.html create mode 100644 chapter_3_ja.html create mode 100644 chapter_3_ko.html create mode 100644 chapter_3_ne.html create mode 100644 chapter_3_pl.html create mode 100644 chapter_3_pt-br.html create mode 100644 chapter_3_ro.html create mode 100644 chapter_3_ru.html create mode 100644 chapter_3_th.html create mode 100644 chapter_3_tr.html create mode 100644 chapter_3_ua.html create mode 100644 chapter_3_vi.html create mode 100644 chapter_3_zh-cn.html create mode 100644 chapter_3_zh-tw.html create mode 100644 chapter_4_al.html create mode 100644 chapter_4_ar.html create mode 100644 chapter_4_de.html create mode 100644 chapter_4_en.html create mode 100644 chapter_4_es.html create mode 100644 chapter_4_fa.html create mode 100644 chapter_4_fi.html create mode 100644 chapter_4_fr.html create mode 100644 chapter_4_gr.html create mode 100644 chapter_4_hu.html create mode 100644 chapter_4_id.html create mode 100644 chapter_4_ie.html create mode 100644 chapter_4_it.html create mode 100644 chapter_4_ja.html create mode 100644 chapter_4_ko.html create mode 100644 chapter_4_ne.html create mode 100644 chapter_4_pl.html create mode 100644 chapter_4_pt-br.html create mode 100644 chapter_4_ro.html create mode 100644 chapter_4_ru.html create mode 100644 chapter_4_th.html create mode 100644 chapter_4_tr.html create mode 100644 chapter_4_ua.html create mode 100644 chapter_4_vi.html create mode 100644 chapter_4_zh-cn.html create mode 100644 chapter_4_zh-tw.html create mode 100644 chapter_5_al.html create mode 100644 chapter_5_ar.html create mode 100644 chapter_5_de.html create mode 100644 chapter_5_en.html create mode 100644 chapter_5_es.html create mode 100644 chapter_5_fa.html create mode 100644 chapter_5_fi.html create mode 100644 chapter_5_fr.html create mode 100644 chapter_5_gr.html create mode 100644 chapter_5_hu.html create mode 100644 chapter_5_id.html create mode 100644 chapter_5_ie.html create mode 100644 chapter_5_it.html create mode 100644 chapter_5_ja.html create mode 100644 chapter_5_ko.html create mode 100644 chapter_5_ne.html create mode 100644 chapter_5_pl.html create mode 100644 chapter_5_pt-br.html create mode 100644 chapter_5_ro.html create mode 100644 chapter_5_ru.html create mode 100644 chapter_5_th.html create mode 100644 chapter_5_tr.html create mode 100644 chapter_5_ua.html create mode 100644 chapter_5_vi.html create mode 100644 chapter_5_zh-cn.html create mode 100644 chapter_5_zh-tw.html create mode 100644 chapter_6_al.html create mode 100644 chapter_6_ar.html create mode 100644 chapter_6_de.html create mode 100644 chapter_6_en.html create mode 100644 chapter_6_es.html create mode 100644 chapter_6_fa.html create mode 100644 chapter_6_fi.html create mode 100644 chapter_6_fr.html create mode 100644 chapter_6_gr.html create mode 100644 chapter_6_hu.html create mode 100644 chapter_6_id.html create mode 100644 chapter_6_ie.html create mode 100644 chapter_6_it.html create mode 100644 chapter_6_ja.html create mode 100644 chapter_6_ko.html create mode 100644 chapter_6_ne.html create mode 100644 chapter_6_pl.html create mode 100644 chapter_6_pt-br.html create mode 100644 chapter_6_ro.html create mode 100644 chapter_6_ru.html create mode 100644 chapter_6_th.html create mode 100644 chapter_6_tr.html create mode 100644 chapter_6_ua.html create mode 100644 chapter_6_vi.html create mode 100644 chapter_6_zh-cn.html create mode 100644 chapter_6_zh-tw.html create mode 100644 chapter_7_al.html create mode 100644 chapter_7_ar.html create mode 100644 chapter_7_de.html create mode 100644 chapter_7_en.html create mode 100644 chapter_7_es.html create mode 100644 chapter_7_fa.html create mode 100644 chapter_7_fi.html create mode 100644 chapter_7_fr.html create mode 100644 chapter_7_gr.html create mode 100644 chapter_7_hu.html create mode 100644 chapter_7_id.html create mode 100644 chapter_7_ie.html create mode 100644 chapter_7_it.html create mode 100644 chapter_7_ja.html create mode 100644 chapter_7_ko.html create mode 100644 chapter_7_ne.html create mode 100644 chapter_7_pl.html create mode 100644 chapter_7_pt-br.html create mode 100644 chapter_7_ro.html create mode 100644 chapter_7_ru.html create mode 100644 chapter_7_th.html create mode 100644 chapter_7_tr.html create mode 100644 chapter_7_ua.html create mode 100644 chapter_7_vi.html create mode 100644 chapter_7_zh-cn.html create mode 100644 chapter_7_zh-tw.html create mode 100644 chapter_8_al.html create mode 100644 chapter_8_ar.html create mode 100644 chapter_8_de.html create mode 100644 chapter_8_en.html create mode 100644 chapter_8_es.html create mode 100644 chapter_8_fa.html create mode 100644 chapter_8_fi.html create mode 100644 chapter_8_fr.html create mode 100644 chapter_8_gr.html create mode 100644 chapter_8_hu.html create mode 100644 chapter_8_id.html create mode 100644 chapter_8_ie.html create mode 100644 chapter_8_it.html create mode 100644 chapter_8_ja.html create mode 100644 chapter_8_ko.html create mode 100644 chapter_8_ne.html create mode 100644 chapter_8_pl.html create mode 100644 chapter_8_pt-br.html create mode 100644 chapter_8_ro.html create mode 100644 chapter_8_ru.html create mode 100644 chapter_8_th.html create mode 100644 chapter_8_tr.html create mode 100644 chapter_8_ua.html create mode 100644 chapter_8_vi.html create mode 100644 chapter_8_zh-cn.html create mode 100644 chapter_8_zh-tw.html create mode 100644 chapter_9_al.html create mode 100644 chapter_9_ar.html create mode 100644 chapter_9_de.html create mode 100644 chapter_9_en.html create mode 100644 chapter_9_es.html create mode 100644 chapter_9_fa.html create mode 100644 chapter_9_fi.html create mode 100644 chapter_9_fr.html create mode 100644 chapter_9_gr.html create mode 100644 chapter_9_hu.html create mode 100644 chapter_9_id.html create mode 100644 chapter_9_ie.html create mode 100644 chapter_9_it.html create mode 100644 chapter_9_ja.html create mode 100644 chapter_9_ko.html create mode 100644 chapter_9_ne.html create mode 100644 chapter_9_pl.html create mode 100644 chapter_9_pt-br.html create mode 100644 chapter_9_ro.html create mode 100644 chapter_9_ru.html create mode 100644 chapter_9_th.html create mode 100644 chapter_9_tr.html create mode 100644 chapter_9_ua.html create mode 100644 chapter_9_vi.html create mode 100644 chapter_9_zh-cn.html create mode 100644 chapter_9_zh-tw.html rename docs/cover.jpg => cover.jpg (100%) rename docs/favicon-16x16.png => favicon-16x16.png (100%) rename docs/favicon-32x32.png => favicon-32x32.png (100%) rename docs/favicon.ico => favicon.ico (100%) rename docs/ferris.png => ferris.png (100%) rename docs/ferris_lofi.png => ferris_lofi.png (100%) create mode 100644 index.html rename docs/intro.png => intro.png (100%) rename docs/site.webmanifest => site.webmanifest (100%) rename docs/sitemap.xml => sitemap.xml (100%) rename docs/social.jpg => social.jpg (100%) rename docs/tour.css => tour.css (100%) rename docs/tour.js => tour.js (100%) create mode 100644 webassembly/00_en_c.html create mode 100644 webassembly/00_es.html create mode 100644 webassembly/00_fr.html create mode 100644 webassembly/00_fr_c.html create mode 100644 webassembly/00_ie.html create mode 100644 webassembly/00_ja.html create mode 100644 webassembly/00_pt-br.html create mode 100644 webassembly/00_ro.html create mode 100644 webassembly/02_en.html create mode 100644 webassembly/02_en_c.html create mode 100644 webassembly/02_es.html create mode 100644 webassembly/02_fr.html create mode 100644 webassembly/02_fr_c.html create mode 100644 webassembly/02_ie.html create mode 100644 webassembly/02_ja.html create mode 100644 webassembly/02_pt-br.html create mode 100644 webassembly/02_ro.html create mode 100644 webassembly/03_en.html create mode 100644 webassembly/03_en_c.html create mode 100644 webassembly/03_es.html create mode 100644 webassembly/03_fr.html create mode 100644 webassembly/03_fr_c.html create mode 100644 webassembly/03_ie.html create mode 100644 webassembly/03_ja.html create mode 100644 webassembly/03_pt-br.html create mode 100644 webassembly/03_ro.html create mode 100644 webassembly/04_en.html create mode 100644 webassembly/04_en_c.html create mode 100644 webassembly/04_es.html create mode 100644 webassembly/04_fr.html create mode 100644 webassembly/04_fr_c.html create mode 100644 webassembly/04_ie.html create mode 100644 webassembly/04_ja.html create mode 100644 webassembly/04_pt-br.html create mode 100644 webassembly/04_ro.html create mode 100644 webassembly/05_en.html create mode 100644 webassembly/05_en_c.html create mode 100644 webassembly/05_es.html create mode 100644 webassembly/05_fr.html create mode 100644 webassembly/05_fr_c.html create mode 100644 webassembly/05_ie.html create mode 100644 webassembly/05_ja.html create mode 100644 webassembly/05_pt-br.html create mode 100644 webassembly/05_ro.html create mode 100644 webassembly/06_en.html create mode 100644 webassembly/06_en_c.html create mode 100644 webassembly/06_es.html create mode 100644 webassembly/06_fr.html create mode 100644 webassembly/06_fr_c.html create mode 100644 webassembly/06_ie.html create mode 100644 webassembly/06_ja.html create mode 100644 webassembly/06_pt-br.html create mode 100644 webassembly/06_ro.html create mode 100644 webassembly/07_en.html create mode 100644 webassembly/07_en_c.html create mode 100644 webassembly/07_es.html create mode 100644 webassembly/07_fr.html create mode 100644 webassembly/07_fr_c.html create mode 100644 webassembly/07_ie.html create mode 100644 webassembly/07_ja.html create mode 100644 webassembly/07_pt-br.html create mode 100644 webassembly/07_ro.html create mode 100644 webassembly/09_en.html create mode 100644 webassembly/09_en_c.html create mode 100644 webassembly/09_es.html create mode 100644 webassembly/09_fr.html create mode 100644 webassembly/09_fr_c.html create mode 100644 webassembly/09_ie.html create mode 100644 webassembly/09_ja.html create mode 100644 webassembly/09_pt-br.html create mode 100644 webassembly/09_ro.html create mode 100644 webassembly/10_en.html create mode 100644 webassembly/10_en_c.html create mode 100644 webassembly/10_es.html create mode 100644 webassembly/10_fr.html create mode 100644 webassembly/10_fr_c.html create mode 100644 webassembly/10_ie.html create mode 100644 webassembly/10_ja.html create mode 100644 webassembly/10_pt-br.html create mode 100644 webassembly/10_ro.html create mode 100644 webassembly/11_en.html create mode 100644 webassembly/11_en_c.html create mode 100644 webassembly/11_es.html create mode 100644 webassembly/11_fr.html create mode 100644 webassembly/11_fr_c.html create mode 100644 webassembly/11_ie.html create mode 100644 webassembly/11_ja.html create mode 100644 webassembly/11_pt-br.html create mode 100644 webassembly/11_ro.html create mode 100644 webassembly/12_en.html create mode 100644 webassembly/12_en_c.html create mode 100644 webassembly/12_es.html create mode 100644 webassembly/12_fr.html create mode 100644 webassembly/12_fr_c.html create mode 100644 webassembly/12_ie.html create mode 100644 webassembly/12_ja.html create mode 100644 webassembly/12_pt-br.html create mode 100644 webassembly/12_ro.html create mode 100644 webassembly/13_en.html create mode 100644 webassembly/13_en_c.html create mode 100644 webassembly/13_es.html create mode 100644 webassembly/13_fr.html create mode 100644 webassembly/13_fr_c.html create mode 100644 webassembly/13_ie.html create mode 100644 webassembly/13_ja.html create mode 100644 webassembly/13_pt-br.html create mode 100644 webassembly/13_ro.html create mode 100644 webassembly/14_en.html create mode 100644 webassembly/14_en_c.html create mode 100644 webassembly/14_es.html create mode 100644 webassembly/14_fr.html create mode 100644 webassembly/14_fr_c.html create mode 100644 webassembly/14_ie.html create mode 100644 webassembly/14_ja.html create mode 100644 webassembly/14_pt-br.html create mode 100644 webassembly/14_ro.html create mode 100644 webassembly/15_en.html create mode 100644 webassembly/15_en_c.html create mode 100644 webassembly/15_es.html create mode 100644 webassembly/15_fr.html create mode 100644 webassembly/15_fr_c.html create mode 100644 webassembly/15_ie.html create mode 100644 webassembly/15_ja.html create mode 100644 webassembly/15_pt-br.html create mode 100644 webassembly/15_ro.html create mode 100644 webassembly/16_en.html create mode 100644 webassembly/16_en_c.html create mode 100644 webassembly/16_es.html create mode 100644 webassembly/16_fr.html create mode 100644 webassembly/16_fr_c.html create mode 100644 webassembly/16_ie.html create mode 100644 webassembly/16_ja.html create mode 100644 webassembly/16_pt-br.html create mode 100644 webassembly/16_ro.html create mode 100644 webassembly/17_en.html create mode 100644 webassembly/17_en_c.html create mode 100644 webassembly/17_es.html create mode 100644 webassembly/17_fr.html create mode 100644 webassembly/17_fr_c.html create mode 100644 webassembly/17_ie.html create mode 100644 webassembly/17_ja.html create mode 100644 webassembly/17_pt-br.html create mode 100644 webassembly/17_ro.html create mode 100644 webassembly/19_en.html create mode 100644 webassembly/19_en_c.html create mode 100644 webassembly/19_es.html create mode 100644 webassembly/19_fr.html create mode 100644 webassembly/19_fr_c.html create mode 100644 webassembly/19_ie.html create mode 100644 webassembly/19_ja.html create mode 100644 webassembly/19_pt-br.html create mode 100644 webassembly/19_ro.html create mode 100644 webassembly/20_en.html create mode 100644 webassembly/20_en_c.html create mode 100644 webassembly/20_es.html create mode 100644 webassembly/20_fr.html create mode 100644 webassembly/20_fr_c.html create mode 100644 webassembly/20_ie.html create mode 100644 webassembly/20_ja.html create mode 100644 webassembly/20_pt-br.html create mode 100644 webassembly/20_ro.html create mode 100644 webassembly/21_en.html create mode 100644 webassembly/21_en_c.html create mode 100644 webassembly/21_es.html create mode 100644 webassembly/21_fr.html create mode 100644 webassembly/21_fr_c.html create mode 100644 webassembly/21_ie.html create mode 100644 webassembly/21_ja.html create mode 100644 webassembly/21_pt-br.html create mode 100644 webassembly/21_ro.html create mode 100644 webassembly/22_en.html create mode 100644 webassembly/22_en_c.html create mode 100644 webassembly/22_es.html create mode 100644 webassembly/22_fr.html create mode 100644 webassembly/22_fr_c.html create mode 100644 webassembly/22_ie.html create mode 100644 webassembly/22_ja.html create mode 100644 webassembly/22_pt-br.html create mode 100644 webassembly/22_ro.html create mode 100644 webassembly/23_en.html create mode 100644 webassembly/23_en_c.html create mode 100644 webassembly/23_es.html create mode 100644 webassembly/23_fr.html create mode 100644 webassembly/23_fr_c.html create mode 100644 webassembly/23_ie.html create mode 100644 webassembly/23_ja.html create mode 100644 webassembly/23_pt-br.html create mode 100644 webassembly/23_ro.html create mode 100644 webassembly/24_en.html create mode 100644 webassembly/24_en_c.html create mode 100644 webassembly/24_es.html create mode 100644 webassembly/24_fr.html create mode 100644 webassembly/24_fr_c.html create mode 100644 webassembly/24_ie.html create mode 100644 webassembly/24_ja.html create mode 100644 webassembly/24_pt-br.html create mode 100644 webassembly/24_ro.html create mode 100644 webassembly/25_en.html create mode 100644 webassembly/25_en_c.html create mode 100644 webassembly/25_es.html create mode 100644 webassembly/25_fr.html create mode 100644 webassembly/25_fr_c.html create mode 100644 webassembly/25_ie.html create mode 100644 webassembly/25_ja.html create mode 100644 webassembly/25_pt-br.html create mode 100644 webassembly/25_ro.html create mode 100644 webassembly/26_en.html create mode 100644 webassembly/26_en_c.html create mode 100644 webassembly/26_es.html create mode 100644 webassembly/26_fr.html create mode 100644 webassembly/26_fr_c.html create mode 100644 webassembly/26_ie.html create mode 100644 webassembly/26_ja.html create mode 100644 webassembly/26_pt-br.html create mode 100644 webassembly/26_ro.html create mode 100644 webassembly/27_en.html create mode 100644 webassembly/27_en_c.html create mode 100644 webassembly/27_es.html create mode 100644 webassembly/27_fr.html create mode 100644 webassembly/27_fr_c.html create mode 100644 webassembly/27_ie.html create mode 100644 webassembly/27_ja.html create mode 100644 webassembly/27_pt-br.html create mode 100644 webassembly/27_ro.html create mode 100644 webassembly/TOC_en.html create mode 100644 webassembly/TOC_en_c.html create mode 100644 webassembly/TOC_es.html create mode 100644 webassembly/TOC_fr.html create mode 100644 webassembly/TOC_fr_c.html create mode 100644 webassembly/TOC_ie.html create mode 100644 webassembly/TOC_ja.html create mode 100644 webassembly/TOC_pt-br.html create mode 100644 webassembly/TOC_ro.html create mode 100644 webassembly/beta_00_en_c.html create mode 100644 webassembly/beta_00_es.html create mode 100644 webassembly/beta_00_fr.html create mode 100644 webassembly/beta_00_fr_c.html create mode 100644 webassembly/beta_00_ie.html create mode 100644 webassembly/beta_00_ja.html create mode 100644 webassembly/beta_00_pt-br.html create mode 100644 webassembly/beta_00_ro.html create mode 100644 webassembly/beta_02_en.html create mode 100644 webassembly/beta_02_en_c.html create mode 100644 webassembly/beta_02_es.html create mode 100644 webassembly/beta_02_fr.html create mode 100644 webassembly/beta_02_fr_c.html create mode 100644 webassembly/beta_02_ie.html create mode 100644 webassembly/beta_02_ja.html create mode 100644 webassembly/beta_02_pt-br.html create mode 100644 webassembly/beta_02_ro.html create mode 100644 webassembly/beta_03_en.html create mode 100644 webassembly/beta_03_en_c.html create mode 100644 webassembly/beta_03_es.html create mode 100644 webassembly/beta_03_fr.html create mode 100644 webassembly/beta_03_fr_c.html create mode 100644 webassembly/beta_03_ie.html create mode 100644 webassembly/beta_03_ja.html create mode 100644 webassembly/beta_03_pt-br.html create mode 100644 webassembly/beta_03_ro.html create mode 100644 webassembly/beta_04_en.html create mode 100644 webassembly/beta_04_en_c.html create mode 100644 webassembly/beta_04_fr.html create mode 100644 webassembly/beta_04_fr_c.html create mode 100644 webassembly/beta_04_ie.html create mode 100644 webassembly/beta_04_ja.html create mode 100644 webassembly/beta_04_pt-br.html create mode 100644 webassembly/beta_04_ro.html create mode 100644 webassembly/beta_05_en.html create mode 100644 webassembly/beta_05_en_c.html create mode 100644 webassembly/beta_05_fr.html create mode 100644 webassembly/beta_05_fr_c.html create mode 100644 webassembly/beta_05_ie.html create mode 100644 webassembly/beta_05_ja.html create mode 100644 webassembly/beta_05_pt-br.html create mode 100644 webassembly/beta_05_ro.html create mode 100644 webassembly/beta_06_en.html create mode 100644 webassembly/beta_06_en_c.html create mode 100644 webassembly/beta_06_fr.html create mode 100644 webassembly/beta_06_fr_c.html create mode 100644 webassembly/beta_06_ie.html create mode 100644 webassembly/beta_06_ja.html create mode 100644 webassembly/beta_06_pt-br.html create mode 100644 webassembly/beta_06_ro.html create mode 100644 webassembly/beta_07_en.html create mode 100644 webassembly/beta_07_en_c.html create mode 100644 webassembly/beta_07_fr.html create mode 100644 webassembly/beta_07_fr_c.html create mode 100644 webassembly/beta_07_ja.html create mode 100644 webassembly/beta_07_pt-br.html create mode 100644 webassembly/beta_07_ro.html create mode 100644 webassembly/beta_09_en.html create mode 100644 webassembly/beta_09_en_c.html create mode 100644 webassembly/beta_09_fr.html create mode 100644 webassembly/beta_09_fr_c.html create mode 100644 webassembly/beta_09_ja.html create mode 100644 webassembly/beta_09_pt-br.html create mode 100644 webassembly/beta_09_ro.html create mode 100644 webassembly/beta_10_en.html create mode 100644 webassembly/beta_10_en_c.html create mode 100644 webassembly/beta_10_fr.html create mode 100644 webassembly/beta_10_fr_c.html create mode 100644 webassembly/beta_10_ja.html create mode 100644 webassembly/beta_10_pt-br.html create mode 100644 webassembly/beta_10_ro.html create mode 100644 webassembly/beta_11_en.html create mode 100644 webassembly/beta_11_en_c.html create mode 100644 webassembly/beta_11_fr.html create mode 100644 webassembly/beta_11_fr_c.html create mode 100644 webassembly/beta_11_ja.html create mode 100644 webassembly/beta_11_pt-br.html create mode 100644 webassembly/beta_11_ro.html create mode 100644 webassembly/beta_12_en.html create mode 100644 webassembly/beta_12_en_c.html create mode 100644 webassembly/beta_12_fr.html create mode 100644 webassembly/beta_12_fr_c.html create mode 100644 webassembly/beta_12_ja.html create mode 100644 webassembly/beta_12_pt-br.html create mode 100644 webassembly/beta_12_ro.html create mode 100644 webassembly/beta_13_en.html create mode 100644 webassembly/beta_13_en_c.html create mode 100644 webassembly/beta_13_fr.html create mode 100644 webassembly/beta_13_fr_c.html create mode 100644 webassembly/beta_13_ja.html create mode 100644 webassembly/beta_13_pt-br.html create mode 100644 webassembly/beta_13_ro.html create mode 100644 webassembly/beta_14_en.html create mode 100644 webassembly/beta_14_en_c.html create mode 100644 webassembly/beta_14_fr.html create mode 100644 webassembly/beta_14_fr_c.html create mode 100644 webassembly/beta_14_ja.html create mode 100644 webassembly/beta_14_pt-br.html create mode 100644 webassembly/beta_14_ro.html create mode 100644 webassembly/beta_15_en.html create mode 100644 webassembly/beta_15_en_c.html create mode 100644 webassembly/beta_15_fr.html create mode 100644 webassembly/beta_15_fr_c.html create mode 100644 webassembly/beta_15_ja.html create mode 100644 webassembly/beta_15_pt-br.html create mode 100644 webassembly/beta_15_ro.html create mode 100644 webassembly/beta_16_en.html create mode 100644 webassembly/beta_16_en_c.html create mode 100644 webassembly/beta_16_fr.html create mode 100644 webassembly/beta_16_fr_c.html create mode 100644 webassembly/beta_16_ja.html create mode 100644 webassembly/beta_16_pt-br.html create mode 100644 webassembly/beta_16_ro.html create mode 100644 webassembly/beta_17_en.html create mode 100644 webassembly/beta_17_en_c.html create mode 100644 webassembly/beta_17_fr.html create mode 100644 webassembly/beta_17_fr_c.html create mode 100644 webassembly/beta_17_ja.html create mode 100644 webassembly/beta_17_pt-br.html create mode 100644 webassembly/beta_17_ro.html create mode 100644 webassembly/beta_19_en.html create mode 100644 webassembly/beta_19_fr.html create mode 100644 webassembly/beta_19_ja.html create mode 100644 webassembly/beta_19_pt-br.html create mode 100644 webassembly/beta_19_ro.html create mode 100644 webassembly/beta_20_en.html create mode 100644 webassembly/beta_20_fr.html create mode 100644 webassembly/beta_20_ja.html create mode 100644 webassembly/beta_20_pt-br.html create mode 100644 webassembly/beta_20_ro.html create mode 100644 webassembly/beta_21_en.html create mode 100644 webassembly/beta_21_fr.html create mode 100644 webassembly/beta_21_ja.html create mode 100644 webassembly/beta_21_pt-br.html create mode 100644 webassembly/beta_21_ro.html create mode 100644 webassembly/beta_22_en.html create mode 100644 webassembly/beta_22_fr.html create mode 100644 webassembly/beta_22_ja.html create mode 100644 webassembly/beta_22_pt-br.html create mode 100644 webassembly/beta_22_ro.html create mode 100644 webassembly/beta_23_en.html create mode 100644 webassembly/beta_23_fr.html create mode 100644 webassembly/beta_23_ja.html create mode 100644 webassembly/beta_23_pt-br.html create mode 100644 webassembly/beta_23_ro.html create mode 100644 webassembly/beta_24_en.html create mode 100644 webassembly/beta_24_fr.html create mode 100644 webassembly/beta_24_ja.html create mode 100644 webassembly/beta_24_pt-br.html create mode 100644 webassembly/beta_24_ro.html create mode 100644 webassembly/beta_25_en.html create mode 100644 webassembly/beta_25_fr.html create mode 100644 webassembly/beta_25_ja.html create mode 100644 webassembly/beta_25_pt-br.html create mode 100644 webassembly/beta_25_ro.html create mode 100644 webassembly/beta_26_en.html create mode 100644 webassembly/beta_26_fr.html create mode 100644 webassembly/beta_26_ja.html create mode 100644 webassembly/beta_26_pt-br.html create mode 100644 webassembly/beta_26_ro.html create mode 100644 webassembly/beta_27_en.html create mode 100644 webassembly/beta_27_fr.html create mode 100644 webassembly/beta_27_ja.html create mode 100644 webassembly/beta_27_pt-br.html create mode 100644 webassembly/beta_27_ro.html create mode 100644 webassembly/beta_chapter_1_en.html create mode 100644 webassembly/beta_chapter_1_en_c.html create mode 100644 webassembly/beta_chapter_1_es.html create mode 100644 webassembly/beta_chapter_1_fr.html create mode 100644 webassembly/beta_chapter_1_fr_c.html create mode 100644 webassembly/beta_chapter_1_ie.html create mode 100644 webassembly/beta_chapter_1_ja.html create mode 100644 webassembly/beta_chapter_1_pt-br.html create mode 100644 webassembly/beta_chapter_1_ro.html create mode 100644 webassembly/beta_chapter_2_en.html create mode 100644 webassembly/beta_chapter_2_en_c.html create mode 100644 webassembly/beta_chapter_2_fr.html create mode 100644 webassembly/beta_chapter_2_fr_c.html create mode 100644 webassembly/beta_chapter_2_ja.html create mode 100644 webassembly/beta_chapter_2_pt-br.html create mode 100644 webassembly/beta_chapter_2_ro.html create mode 100644 webassembly/beta_chapter_3_en.html create mode 100644 webassembly/beta_chapter_3_fr.html create mode 100644 webassembly/beta_chapter_3_ja.html create mode 100644 webassembly/beta_chapter_3_pt-br.html create mode 100644 webassembly/beta_chapter_3_ro.html create mode 100644 webassembly/beta_index.html create mode 100644 webassembly/chapter_1_en.html create mode 100644 webassembly/chapter_1_en_c.html create mode 100644 webassembly/chapter_1_es.html create mode 100644 webassembly/chapter_1_fr.html create mode 100644 webassembly/chapter_1_fr_c.html create mode 100644 webassembly/chapter_1_ie.html create mode 100644 webassembly/chapter_1_ja.html create mode 100644 webassembly/chapter_1_pt-br.html create mode 100644 webassembly/chapter_1_ro.html create mode 100644 webassembly/chapter_2_en.html create mode 100644 webassembly/chapter_2_en_c.html create mode 100644 webassembly/chapter_2_es.html create mode 100644 webassembly/chapter_2_fr.html create mode 100644 webassembly/chapter_2_fr_c.html create mode 100644 webassembly/chapter_2_ie.html create mode 100644 webassembly/chapter_2_ja.html create mode 100644 webassembly/chapter_2_pt-br.html create mode 100644 webassembly/chapter_2_ro.html create mode 100644 webassembly/chapter_3_en.html create mode 100644 webassembly/chapter_3_en_c.html create mode 100644 webassembly/chapter_3_es.html create mode 100644 webassembly/chapter_3_fr.html create mode 100644 webassembly/chapter_3_fr_c.html create mode 100644 webassembly/chapter_3_ie.html create mode 100644 webassembly/chapter_3_ja.html create mode 100644 webassembly/chapter_3_pt-br.html create mode 100644 webassembly/chapter_3_ro.html rename {docs/webassembly => webassembly}/ferris.png (100%) create mode 100644 webassembly/index.html rename {docs/webassembly => webassembly}/tour.css (100%) diff --git a/00_al.html b/00_al.html new file mode 100644 index 000000000..3af518e5f --- /dev/null +++ b/00_al.html @@ -0,0 +1,75 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Welcome to the Tour of Rust

+

Happy 3 Year Anniversary 🎉

+

Welcome to the Tour of Rust. This is meant to be a step by step guide through the features of the Rust programming language. Rust is often considered a language with a steep learning curve, but I hope I can convince you there's a lot to explore before we even get to complex parts.

+

You can also find this guide in these languages:

+ +

If you have suggestions on content or would like to contribute to translations, check out Tour of Rust's github repository.

+

You can navigate through the tour with keyboard ⬅️ and ➡️.

+

In this classic example we show Rust's support for Unicode strings.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_ar.html b/00_ar.html new file mode 100644 index 000000000..bf64b994b --- /dev/null +++ b/00_ar.html @@ -0,0 +1,75 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مرحبا بالعالم!

+

Welcome to the Tour of Rust

+

عيد ميلاد سعيد للسنة 1 🎉

+

مرحبا بكم في دورة تعلم لغة رست (Rust). سيكون هذا المحتوى دليل خطوة بخطوة لتعلم ميزات لغة رست (Rust). رست في العادة هي لغة ذات منحى تعلم حاد (أي ستجد بعض الصعوبة في البداية ثم سيصبح الأمر أسهل فأسهل), ولكني آمل أن أستطيع إقناعك بوجود الكثير من المعلومات والمفاهيم يمكنك استكشافها قبل التطرق للأجزاء المعقدة.

+

يمكنك أيضًا تصفح هذا الدليل بهذه اللغات:

+ +

إذا كانت لديك اقتراحات بشأن المحتوى أو ترغب في المساهمة في الترجمات، فاطلع على Tour of Rust's github repository.

+

يمكنك التنقل في الدورة بإستخدام لوحة المفاتيح ➡️ و ⬅️.

+

في هذا المثال الكلاسيكي نعرض كيف تدعم Rust لسلاسل النصية ذات الرمز الموحد (Unicode strings).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/00_de.html b/00_de.html new file mode 100644 index 000000000..c032f5a02 --- /dev/null +++ b/00_de.html @@ -0,0 +1,77 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hallo,

+

Willkommen auf der Tour durch Rust. Hier werden die Features +aus der Programmiersprache Rust Schritt für Schritt eingeführt. Rust wird oft +mit einer steilen Lernkurve in Verbindung gebracht - allerdings gibt es schon +zu Beginn viele spannende Besonderheiten zu entdecken, die hoffentlich dein Interesse +wecken werden!

+

In diesem klassischen Beispiel sehen wir Rust's Unterstützung +von Unicode Strings.

+

Du kannst mittels der rechten ➡️ und linken ⬅️ Pfeiltaste durch die Tour navigieren.

+

Wenn du dieses Projekt mit Übersetzungen +(wie diese hier) oder anderweitig unterstützen willst, wirf einen Blick auf die +Github Repository.

+

Translations:

+ +
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_es.html b/00_es.html new file mode 100644 index 000000000..58ef62cb3 --- /dev/null +++ b/00_es.html @@ -0,0 +1,77 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hola,

+

Bienvenido al Tour de Rust. Esta es una guía paso a +paso de las características del lenguaje de programación Rust. Rust está considerado +como un lenguaje que hay que ir aprendiendo poco a poco, por lo que hay mucho que explorar +antes de llegar a las partes complejas.

Puedes encontrar esta +guía en los siguientes idiomas:

+ +

Puedes navegar por el curso usando ⬅️ y ➡️

+

En este clásico ejemplo te mostramos el uso de cadenas unicode con Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/00_fa.html b/00_fa.html new file mode 100644 index 000000000..7cc5a75d5 --- /dev/null +++ b/00_fa.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

سلام,

+

به تور راست خوش آمدی . قراره با هم یه راهنمای مرحله به مرحله برای زبان برنامه نویسی راست رو تجربه کنیم .راست معمولا به عنوان یک زبان با پروسه یادگیری سخت در نظر گرفته میشه . ولی میشه خیلی چیز ها یاد گرفت قبل اینکه به بخش های سخت برسیم.

+

راستی این آموزش به زبان های دیگه هم موجوده:

+ +

می تونی توی تور بگردی با ⬅️ و ➡️

+

ما با یک مثال کلاسیک قابلیت راست در unicode string رو بررسی می کنیم.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_fi.html b/00_fi.html new file mode 100644 index 000000000..4db81dbd5 --- /dev/null +++ b/00_fi.html @@ -0,0 +1,82 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Tervetuloa Rustin ympäriajoon

+

Tervetuloa,

+

Tervetuloa Rustin ympäriajoon. Tämä on johdatus Rustin ominaisuuksiin +askel askeleelta. +Rustin opettelun sanotaan kestävän jonkin aikaa, +ja Rustissa onkin paljon tutkittavaa jo ennen kuin pääsemme +monimutkaisiin asioihin.

+

Tämä opas on saatavilla myös näillä kielillä:

+ +

Jos haluat ehdottaa muutoksia sisältöön tai haluat auttaa +käännöksissä, ohjeet löytyvät Tour of Rust -repositorysta +Githubista.

+

Ohjesivuilla voi liikkua näppäimillä ⬅️ ja ➡️.

+

Oheisessa perinteisessä esimerkissä esittelemme Rustin tukea Unicode-merkkijonoille.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_fr.html b/00_fr.html new file mode 100644 index 000000000..48b02ba64 --- /dev/null +++ b/00_fr.html @@ -0,0 +1,77 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bonjour,

+

Bienvenue au Tour de Rust. Celui-ci a pour but de te guider pas à +pas au travers des fonctionnalités du langage de programmation Rust. Rust est souvent +considéré comme difficile et il y a beaucoup à explorer avant d'aborder +les choses complexes.

+

Tu peux trouver ce guide dans les langues suivantes:

+ +

Tu peux naviguer au fil du site avec ⬅️ et ➡️

+

Dans cet exemple classique nous te montrons le support des caractères unicode par Rust.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_gr.html b/00_gr.html new file mode 100644 index 000000000..692c227ae --- /dev/null +++ b/00_gr.html @@ -0,0 +1,70 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Γεια,

+

Καλώς ήρθατε στην Ξενάγηση στη Rust. Αυτή σκοπεύει να είναι ένας βήμα-προς-βήμα οδηγός προς τις ικανότητες της προγραμματιστικής γλώσσας Rust. Η Rust θεωρείται συχνά μία γλώσσα με απότομη καμπύλη εκμάθησης, αλλά ελπίζω ότι μπορώ να σας πείσω ότι υπάρχουν πολλά πράγματα να εξερευνήσει κανείς προτού πάμε καν στα περίπλοκα τμήματα.

+

Αυτός ο οδηγός υπάρχει επίσης και στις παρακάτω γλώσσες:

+ +

Αν έχετε να προτείνετε κάτι σχετικό με το περιεχόμενο ή θα θέλατε να βοηθήσετε με τις μεταφράσεις, μπορείτε να απευθυνθείτε στο αποθετήριο της Ξενάγησης στο GitHub. +Μπορείτε να περιηγηθείτε στην ξενάγηση με τα βελάκια ⬅️ και ➡️ του πληκτρολογίου σας. +Σ' αυτό το κλασικό παράδειγμα δείχνουμε την υποστήριξη της Rust για συμβολοσειρές Unicode.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/00_hu.html b/00_hu.html new file mode 100644 index 000000000..ec28e97b3 --- /dev/null +++ b/00_hu.html @@ -0,0 +1,76 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Helló,

+

Üdvözöllek a Rust-túrán. Ez egy olyan lépésekre bontott leírás, aminek segítségével +megismerheted a Rust képességeit. Sokan úgy tartják a Rust egy nehezen megtanulható nyelv, +de reményeim szerint meg tudlak győzni, hogy épp elég érdekes dolgot lehet felfedezni benne +azelőtt, hogy a bonyolult részekhez érnénk.

+

Ez a leírás a következő nyelveken érhető el:

+ +

Ha bármilyen hozzáfűznivalód van vagy a fordításban szeretnél segíteni, +keresd fel a Rust-túra github oldalát.

+

A túrán való navigációhoz használhatod a ⬅️ és +➡️ billenytűket is.

+

Ebben a klasszikus példában a Rust Unicode támogatását mutatjuk be.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/00_id.html b/00_id.html new file mode 100644 index 000000000..72b2e9bab --- /dev/null +++ b/00_id.html @@ -0,0 +1,71 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Halo,

+

Selamat datang di Rust Tur. Ini dimaksudkan sebagai panduan secara bertahap dari fitur bahasa pemprograman Rust. Rust sering dianggap sebagai bahasa yang sukar untuk dipelajari, tetapi saya harap saya dapat meyakinkaan anda bahwa ada banyak hal yang perlu dijelajahi sebelum kita sampai ke bagian yang rumit.

+

Kamu juga dapat menemukan panduan ini dalam bahasa-bahasa ini:

+ +

Kamu juga dapat menggunakan keyboard untuk bernavigasi ⬅️ and ➡️.

+

Di dalam contoh klasik ini kita akan menunjukkan dukungan Rust untuk Unicode strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/00_ie.html b/00_ie.html new file mode 100644 index 000000000..5427ac324 --- /dev/null +++ b/00_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salute,

+

Benevenit al Tur de Rust. Li tur intente esser un guide explicat passu a passu al caracteristicas trovat in li lingue de programmation Rust. On considera Rust un lingue complex con un scarp curve de aprension, ma yo espera convicter te que hay multcos a explorar e aprender ante que veni li complexitá.

In ti-ci exemple on vide li exemple classic de programmation quel monstra li subtention de strings (catenes) unicode in Rust.

Translations:

Si tu have suggestiones pri contenete o vole contribuer un traduction, ples visitar li repositoria github del Tur de Rust.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_it.html b/00_it.html new file mode 100644 index 000000000..346935e1f --- /dev/null +++ b/00_it.html @@ -0,0 +1,74 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Benvenuto al Tour di Rust

+

Felice primo anniversario! 🎉

+

Benvenuto al Tour di Rust. Questa vuole essere una guida passo-passo attraverso le caratteristiche del linguaggio di programmazione Rust. Rust è spesso considerato un linguaggio con una curva di apprendimento ripida, ma spero che ti saprò guidare perchè c'è molto da esplorare prima di arrivare alle parti più complesse.

+

Puoi trovare questa guida anche in altre lingue:

+ +

Puoi navigare nel tour usando anche i tasti della tastiera ⬅️ e ➡️.

+

In questo classico esempio, mostriamo il supporto di Rust per le stringhe Unicode.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_ja.html b/00_ja.html new file mode 100644 index 000000000..29d479dce --- /dev/null +++ b/00_ja.html @@ -0,0 +1,75 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

こんにちは、

+

Rust ツアーへようこそ。 +これはプログラミング言語 Rust の機能を段階的にガイドすることを目的としています。 +Rust は学習曲線が急な言語だと見なされることが多いですが、 +複雑な事項に進む前に探ることがたくさんあると納得していただければと思います。

+

このガイドは以下の言語で見ることができます。

+ +

キーボードの ⬅️➡️ でツアーをナビゲートできます。

+

この古典的な例では、Rust が Unicode 文字列をサポートしていることを示します。

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_ko.html b/00_ko.html new file mode 100644 index 000000000..c26a177c5 --- /dev/null +++ b/00_ko.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

안녕하세요,

+

Tour of Rust에 오신 것을 환영합니다. 이 가이드는 Rust 프로그래밍 언어의 기능들을 차근차근 배우기 위해 만들어졌습니다. Rust는 종종 가파른 학습 곡선을 가진 언어로 여겨지곤 하지만, 복잡한 부분까지 가기 전에도 둘러볼 것은 많다는 것을 확신시켜 드릴 수 있으면 좋겠습니다.

+

이 가이드는 다음의 언어로도 보실 수 있습니다:

+ +

내용에 대한 제안 사항이 있거나 번역에 기여하고 싶으신 경우, Tour of Rust의 github 저장소를 확인하세요.

+

키보드의 ⬅️ 키와 ➡️ 키로 여행을 다닐 수 있습니다.

+

이 고전적인 예제에서는 Rust의 유니코드 문자열 지원을 보실 수 있습니다.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_ne.html b/00_ne.html new file mode 100644 index 000000000..11ffb5339 --- /dev/null +++ b/00_ne.html @@ -0,0 +1,80 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hallo,

+

Welkom bij de "Tour door de Rust-taal". Dit is ontworpen als een +stapsgewijze handleiding van de kenmerken van de Rust-taal. Rust +wordt vaak beschouwd als een moeilijke taal om te leren, maar we +hopen dat, tegen de tijd dat we bij de lastigere delen komen, we +je kunnen overtuigen dat er veel te ontdekken valt.

+

Ook kun je deze handleiding lezen in de volgende talen:

+ +

Als u suggesties heeft met betrekking tot +de inhoud of wilt bijdragen aan de vertaling, + kunt u terecht op de github repository van de Tour.

+

U kunt door de tour navigeren met behulp van de toetsen ⬅️ en +➡️.

+

In dit klassieke voorbeeld laten we zien dat Rust Unicode-karakters ondersteunt.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_pl.html b/00_pl.html new file mode 100644 index 000000000..6f9294cdc --- /dev/null +++ b/00_pl.html @@ -0,0 +1,69 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Witaj,

+

Witaj w Przewodniku po Języku Rust. Przewodnik ten ma za zadanie oprowadzić Cię krok po kroku po języku programowania Rust i jego rozmaitych funkcjach. Pomimo, że Rust jest uważany za język trudny do nauczenia się od zera, to jednak mam nadzieję, że przekonam Cię, że wcale nie jest on taki straszny jak go malują, i że nie zniechęcisz się zbyt szybko (przynajmniej dopóki nie dojdziemy to bardziej zaawansowanych tematów).

+

Ten przewodnik jest również dostępny w następujących językach:

+ +

Jeśli masz jakiekolwiek sugestie dotyczące treści lub chcesz przyłożyć się do tłumaczenia na kolejne języki, sprawdź repozytorium Przewodnika na githubie.

+

Używaj strzałek na klawiaturze ⬅️ ➡️ do poruszania się po kolejnych rozdziałach Przewodnika.

+

W pierwszym przykładzie pokazujemy wsparcie Rusta dla ciągów znaków Unicode.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_pt-br.html b/00_pt-br.html new file mode 100644 index 000000000..3534addf3 --- /dev/null +++ b/00_pt-br.html @@ -0,0 +1,71 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Olá,

+

Bem-vindo ao Tour por Rust. Este é um guia passo-a-passo pelas características da linguagem de programação Rust. Como ela é considerada uma linguagem com uma curva de aprendizado elevada espero convencê-lo que há muito a explorar antes de chegar às partes complexas.

+

Você pode ver este guia nestes idiomas:

+ +

Você pode navegar pelo curso usando ⬅️ e ➡️

+

Neste exemplo clássico mostramos o suporte de strings Unicode em Rust.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_ro.html b/00_ro.html new file mode 100644 index 000000000..54d4e713c --- /dev/null +++ b/00_ro.html @@ -0,0 +1,80 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salut,

+

Bun venit la Turul limbajului Rust. Acesta a fost conceput pentru a fi un +ghid pas cu pas al caracteristicilor limbajului Rust. +Rust este deseori considerat un limbaj greu de învățat, dar noi sperăm că, până +ajungem la părțile dificile, vă vom putea convinge că sunt multe lucruri de +explorat.

+

De asemenea, puteți citi acest ghid și în următoarele limbi:

+ +

Dacă aveți sugestii în legătură cu conținutul sau doriți să contribuiți la +traducere, puteți intra pe +repository-ul github al +Turului.

+

Puteți naviga prin tur folosind tastele ⬅️ și +➡️.

+

În acest exemplu clasic arătăm că Rust suportă caractere Unicode.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_ru.html b/00_ru.html new file mode 100644 index 000000000..874a6156d --- /dev/null +++ b/00_ru.html @@ -0,0 +1,74 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Привет,

+

Добро пожаловать в Тур по Rust. Это пошаговое руководство +по возможностям языка программирования Rust. Rust часто ассоциируется как язык, +который сложен в обучении, я надеюсь, что смогу объяснить многое до того, как +мы перейдём к более сложным частям.

+

Тур доступен на таких языках:

+ +

В этом классическом примере мы показываем поддержку Юникод-строк в Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/00_th.html b/00_th.html new file mode 100644 index 000000000..a97ddc53b --- /dev/null +++ b/00_th.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

สวัสดี,

+

ยินดีต้อนรับสู่ Tour of Rust ที่ซึ่งให้คำแนะนำว่าภาษา Rust มีฟีเจอร์อะไรบ้าง ทีละขั้นทีละตอน ซึ่ง Rust มักถูกมองว่าเป็นภาษาที่เรียนรู้ค่อนข้างยาก แต่ฉันหวังว่าฉันจะโน้มน้าวคุณ ว่ามันมีอะไรที่น่าค้นหาอีกเยอะ ก่อนที่จะไปถึงส่วนที่ซับซ้อนในช่วงท้าย

+

เลือกอ่านภาษาที่คุณถนัดได้เลย:

+ +

หากคุณมีข้อเสนอแนะเกี่ยวกับเนื้อหาหรือต้องการมีส่วนร่วมในการแปลโปรดดูที่ github repository ของ Tour of Rust

+

คุณสามารถสำรวจ tour ด้วยการใช้คียบอร์ด ⬅️ and ➡️

+

ในตัวอย่างนี้เราแสดงให้เห็นว่า Rust ใช้ Unicode strings

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_tr.html b/00_tr.html new file mode 100644 index 000000000..dbc846bdb --- /dev/null +++ b/00_tr.html @@ -0,0 +1,69 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Merhaba ,

+

Rust Turuna Hoş Geldiniz. Bu turun Rust programlama dili özelliklerinin adım adım anlatıldığı bir rehber olması amaçlanmıştır. Rust, genellikle dik öğrenme eğrisine sahip bir dil olarak kabul edilir. Ancak ben sizi daha karmaşık bölümlere gelmeden önce Rust'ın keşfedilecek pek çok şeyi olduğuna ikna edebileceğimi umuyorum.

+

Bu rehberi aşağıdaki dillerde okuyabilirsiniz:

+ +

İçeriğe dair önerileriniz varsa yahut çevirilere katkıda bulunmak istiyorsanız, Rust Turu'nun Github deposuna göz atabilirsiniz.

+

Tur süresince klavyenizin ⬅️ ve ➡️ tuşlarını kullanabilirsiniz. +Bu klasik örnek Rust'ın Unicode dizgilerini desteklediğini gösterir.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_ua.html b/00_ua.html new file mode 100644 index 000000000..4cd7b3f80 --- /dev/null +++ b/00_ua.html @@ -0,0 +1,70 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Привіт,

+

Ласкаво просимо до Tour of Rust. Це путівник, який крок за кроком проведе вас можливостями, що пропонує мова програмування Rust. Rust часто сприймається як мова з досить крутою кривою навчання, але ми сподіваємося, що зможемо переконати вас в тому, що він вартий вивчення навіть ще до того, як перейдемо до більш складних його аспектів.

+

Також ви можете знайти путівник іншими мовами:

+ +

Якщо у вас є пропозиції щодо контенту чи ви хотіли б долучитися до перекладу, зверніть увагу на github репозиторій Tour of Rust

+

Ви можете переходити між сторінками сайту використовуючи клавіші ⬅️ і ➡️.

+

В цьому класичному прикладі ми хочемо показати підтримку Unicode рядків у Rust.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/00_vi.html b/00_vi.html new file mode 100644 index 000000000..862c06ccf --- /dev/null +++ b/00_vi.html @@ -0,0 +1,74 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Welcome to the Tour of Rust

+

Chúc mừng sinh nhật 1 tuổi 🎉

+

Chào mừng tới với Tour of Rust. Đây là hướng dẫn từng bước về các tính năng của ngôn ngữ lập trình Rust. Rust thường được coi là một ngôn ngữ có đường cong học tập khó khăn, nhưng tôi hy vọng tôi có thể thuyết phục bạn có rằng rất nhiều điều để khám phá trước khi chúng ta đi đến những phần phức tạp.

+

Bạn cũng có thể đọc bài hướng dẫn này bằng những ngôn ngữ sau:

+ +

Nếu bạn có đề xuất nội dung hoặc muốn đóng góp vào bản dịch, hãy truy cập vào repository github của Tour of Rust.

+

Bạn có thể điều hướng qua bàn phím bằng nút ⬅️ và nút ➡️.

+

Trong ví dụ đơn giản này, chúng ta hãy xem sự hỗ trợ của Rust cho các chuỗi Unicode.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/00_zh-cn.html b/00_zh-cn.html new file mode 100644 index 000000000..63d4b38ae --- /dev/null +++ b/00_zh-cn.html @@ -0,0 +1,71 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

你好,

+

欢迎来到 Rust 语言之旅。本教程旨在循序渐进地介绍 Rust 编程语言的特性。大家通常认为 Rust 是一门学习曲线陡峭的语言。我希望在此说明,在我们开始学习复杂的部分之前,还有很多东西需要探索。

+

你可以通过以下这些语言来阅读本教程:

+ +

你可以使用 ⬅️➡️ 浏览整个教程。

+

在这个经典的例子中,我们展示了 Rust 对 Unicode 字符串的支持。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/00_zh-tw.html b/00_zh-tw.html new file mode 100644 index 000000000..fd51e5150 --- /dev/null +++ b/00_zh-tw.html @@ -0,0 +1,71 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

您好,

+

歡迎來到 Rust 語言之旅!這裡將會逐步介紹 Rust 語言的功能和特性。Rust 語言常常被認為是很難學的語言。

+

在接觸到複雜的部份之前,希望我能夠讓您有興趣探索更多

+

本教程提供以下的語言版本:

+ +

如果你對內容有任何意見,或希望貢獻於翻譯,可以到 Tour of Rust 的 github 源代碼庫.

+

你可以用鍵盤的 ⬅️➡️ 鍵來翻頁。

+

在以下的經典例子中,展示了 Rust 對 Unicode 字串的支援。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_al.html b/02_al.html new file mode 100644 index 000000000..c42bfafae --- /dev/null +++ b/02_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sheshi i Lojërave Rust

+

Ky tur përdor një mjet kodimi ndërveprues nga Rust Playground.

+

Është një mënyrë e shkëlqyer për të luajtur me Rust dhe për t'u treguar të tjerëve kreativitetin tuaj + dhe te maresh pjese ne sfida!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_ar.html b/02_ar.html new file mode 100644 index 000000000..abbf8bb4e --- /dev/null +++ b/02_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

أداة أرضية تشغيل رست (The Rust Playground)

+

سيتم إستخدام في هذه الدروة أداة تفاعلية من Rust Playground.

+

إنها طريقة رائعة لتشغيل وتطبيق Rust وإظهار إبداعاتك وتحدياتك للآخرين!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_de.html b/02_de.html new file mode 100644 index 000000000..58d596169 --- /dev/null +++ b/02_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Der Rust Playground

+

Diese Tour macht sich das interaktive Coding Tool vom Rust Playground zunutze.

+

Beispiele in Rust lassen sich so spielend leicht testen. Hierbei sind deiner Kreativität auch keine Grenzen +gesetzt. Ändere Codeschnipsel, teste Funktionen, lass deiner Fantasie freien Lauf!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_en.html b/02_en.html new file mode 100644 index 000000000..f97634556 --- /dev/null +++ b/02_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

This tour uses an interactive coding tool from Rust Playground.

+

It's a great way to play around with Rust and show others your creativity and challenges!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_es.html b/02_es.html new file mode 100644 index 000000000..48725009f --- /dev/null +++ b/02_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Familiarízate con Rust

+

En el tour usaremos la siguiente herramienta de programación interactiva: https://play.rust-lang.org

+

De esta manera podrás empezar a trabajar con Rust y demostrar tu creatividad y aptitudes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_fa.html b/02_fa.html new file mode 100644 index 000000000..93cf23a05 --- /dev/null +++ b/02_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

This tour uses an interactive coding tool from Rust Playground.

+

It's a great way to play around with Rust and show others your creativity and challenges!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_fi.html b/02_fi.html new file mode 100644 index 000000000..05be5abe9 --- /dev/null +++ b/02_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust-leikkikenttä

+

Tämä opas käyttää Rust-leikkikenttää Rust Playground tapana ajaa suoraan Rust-ohjelmia.

+

Se on loistava työkalu testata Rustia, näyttää muille luovuutesi ja vastata ohjelmointihaasteisiin.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_fr.html b/02_fr.html new file mode 100644 index 000000000..72f69c84b --- /dev/null +++ b/02_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Le terrain de jeu de Rust

+

Ce tour utilise l'outil de code interactif Rust Playground

+

C'est un excellent moyen d'expérimenter avec Rust et de montrer aux autres ta créativité et tes challenges!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_gr.html b/02_gr.html new file mode 100644 index 000000000..c6c24b930 --- /dev/null +++ b/02_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Η Παιδική Χαρά της Rust

+

Αυτή η ξενάγηση χρησιμοποιεί το διαδραστικό προγραμματιστικό εργαλείο από την Παιδική Χαρά της Rust.

+

Είναι ένας εξαίρετος τρόπος να παίξετε με τη Rust και να δείξετε στους άλλους τη δημιουργικότητα και τις προκλήσεις σας!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_hu.html b/02_hu.html new file mode 100644 index 000000000..565942985 --- /dev/null +++ b/02_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A Rust Homokozó

+

Ez a bemutató egy interaktív programozó eszközt használ a Rust +Homokozóból.

+

Remek arra, hogy kipróbálhass dolgokat, kihívásokat oldj meg és, hogy bemutathasd a +kreativitásod.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_id.html b/02_id.html new file mode 100644 index 000000000..7d174beee --- /dev/null +++ b/02_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

Tur ini menggunakan sarana interaktif dari Rust Playground.

+

Sarana bagus untuk bermain-main dengan Rust dan menunjukkan kepada orang lain kreativitas kamu dan tantangan!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_ie.html b/02_ie.html new file mode 100644 index 000000000..a0b69388d --- /dev/null +++ b/02_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Li Lud-terren Rust

+

Ti-ci tur usa un instrument interactiv por codar quel trova se a https://play.rust-lang.org

It es un bonissim metode por luder con Rust e monstrar li altres tui creativitá e defís!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_it.html b/02_it.html new file mode 100644 index 000000000..fd2612c78 --- /dev/null +++ b/02_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Il Rust Playground

+

Questo tour usa uno strumento interattivo di coding, il Rust Playground.

+

E' molto comodo per esplorare Rust e mostrare ad altri la tua creatività e le sfide che affronti, senza dover installare nulla !

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_ja.html b/02_ja.html new file mode 100644 index 000000000..16c7e3384 --- /dev/null +++ b/02_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Playground

+

このツアーでは、Rust Playground のインタラクティブなコーディングツールを使用します。

+

Rust で遊んで、あなたの創造性と挑戦を他の人に見せるのに最適な方法です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_ko.html b/02_ko.html new file mode 100644 index 000000000..ab3dd4e9e --- /dev/null +++ b/02_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 놀이터

+

Rust 놀이터와 같은 대화형 코딩 도구를 이용해서 여행을 합시다.

+

Rust를 갖고 놀며 다른 사람에게 여러분의 창의성과 도전을 보여줄 수 있는 아주 훌륭한 방법입니다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_ne.html b/02_ne.html new file mode 100644 index 000000000..fecb7801e --- /dev/null +++ b/02_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Playground

+

In deze cursus zult u een interactief hulpprogramma gebruiken om code te schrijven Rust Playground. +Het is een goede manier om met Rust te spelen en anderen uw creativiteit en uitdagingen te laten zien!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_pl.html b/02_pl.html new file mode 100644 index 000000000..6ce0dae62 --- /dev/null +++ b/02_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Piaskownica Rusta

+

Niniejszy Przewodnik korzysta z interaktywnego narządzia Rust Playground, zwanego po polsku Piaskownicą Rusta.

+

Piaskownica jest świetnym sposobem na zabawę z kodem i testowanie czegokolwiek co przyjdzie nam akurat do głowy. Jest ona także dobrym sposobem na dzielenie się swoimi problemami i osiągnięciami przy nauce Rusta z innymi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_pt-br.html b/02_pt-br.html new file mode 100644 index 000000000..95cd1068a --- /dev/null +++ b/02_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O Playground do Rust

+

Este tour usa a ferramenta de codificação interativa Rust Playground

+

É uma boa maneira de brincar com Rust e mostrar aos outros a sua criatividade e desafios!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_ro.html b/02_ro.html new file mode 100644 index 000000000..98c96a5ed --- /dev/null +++ b/02_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Playground

+

În acest curs veți folosi un utilitar interactiv pentru scrierea codului Rust Playground.

+

E o modalitate bună de a vă juca cu Rust și a arăta altora creativitatea și provocările dumneavoastră!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_ru.html b/02_ru.html new file mode 100644 index 000000000..8eaf229bb --- /dev/null +++ b/02_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

В туре используется интерактивный компилятор Rust Playground

+

Это хороший способ попробовать язык, показать креативность и ваши решения проблем!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_th.html b/02_th.html new file mode 100644 index 000000000..57f8757b8 --- /dev/null +++ b/02_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

ทัวร์นี้ ใช้เครื่องมือที่พร้อมให้คุณทดลองเขียนโค้ดไปพร้อมกันจาก Rust Playground

+

มันเป็นวิธีที่ดีมากที่จะเล่นกับ Rust และเอาไปอวดให้คนอื่นเห็นว่าคุณมี ความคิดสร้างสรรค์อย่างไร และท้าทายเขาด้วยในเวลาเดียวกัน!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_tr.html b/02_tr.html new file mode 100644 index 000000000..decb930f9 --- /dev/null +++ b/02_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Oyun Alanı

+

Tur boyunca Rust oyun alanındaki etkileşimli kodlama aracı kullanılıyor.

+

Bu araç Rust ile oynamak ve ürettiklerinizi başkalarıyla paylaşmak için harika bir olanaktır!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_ua.html b/02_ua.html new file mode 100644 index 000000000..aadecdc9f --- /dev/null +++ b/02_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

Також цей путівник використовує інтерактивний інструмент для програмування Rust Playground.

+

Це чудовий спосіб трохи погратися з Rust'ом, а також показати ваші здібності та креативнісить!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_vi.html b/02_vi.html new file mode 100644 index 000000000..f2e80ee5a --- /dev/null +++ b/02_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sân chơi của bạn

+

Bài học của chúng ta sử dụng một công cụ mã hóa tương tác từ RustPlayground.

+

Đó là một cách tuyệt vời để chơi với Rust và cho người khác thấy sự sáng tạo và thách thức của bạn!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_zh-cn.html b/02_zh-cn.html new file mode 100644 index 000000000..6b1795728 --- /dev/null +++ b/02_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 练习场

+

本教程使用的是来自 Rust 练习场 的交互代码工具。

+

这是一个玩转 Rust 并且向别人展示你的创造和挑战的最好工具。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/02_zh-tw.html b/02_zh-tw.html new file mode 100644 index 000000000..04d43a6d8 --- /dev/null +++ b/02_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground (Rust 語言遊樂場)

+

本旅程我們會使用這個互動的編程工具 Rust Playground. +使用這工具是一個很好的方法去試驗您的 Rust 程序,和展示你的創作及挑戰給其他人看。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_al.html b/03_al.html new file mode 100644 index 000000000..2b62af3e2 --- /dev/null +++ b/03_al.html @@ -0,0 +1,55 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variablat

+

Variablat deklarohen duke përdorur fjalën kyçe let.

+

Kur caktoni një vlerë, Rust do të jetë në gjendje të konkludojë llojin e variabiles tuaj + 99% te rasteve.

+

Nëse nuk mundet, mund të shtoni llojin në deklaratën tuaj të variabiles.

+

Vini re se si mund t'i caktojmë të njëjtit emër variabël shumë herë. Kjo është + quhet variabël

+

hijezimi dhe lloji mund të ndryshohet për referenca të mëvonshme për këtë + emer.

+

Emrat e variabilave jane sa here ne snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ar.html b/03_ar.html new file mode 100644 index 000000000..ed98b8aab --- /dev/null +++ b/03_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المتغيرات

+

يتم التعريف بمتغير جديد بإستعمال الكلمة المفتاحية let.

+

عندما يتم تعيين قيمة للمتغير، فإن رست (Rust) يمكنها أن تستنتج نوع المتغير بنسة 99%.

+

أما إذا لم تتمكن اللغة من إستنتاج نوع المتغير فإنه يتوجب عليك حينها إضافة نوع المتغبر الذي قمت بتعريفه به.

+

لاحظ في المثال المقابل كيف يمكنك تعريف نفس اسم المتغير عدة مرات. وهذا ما يسمى بتظليل المتغير (variable shadowing) - من الظل -، والنوع يمكن تغييره في المراجع اللاحقة (subsequent references) لذلك الاسم.

+

أسماء معرفات المتغيرات دائما تكون بطريقة الثعبان snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_de.html b/03_de.html new file mode 100644 index 000000000..1772de786 --- /dev/null +++ b/03_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variablen

+

Variablen werden mit dem Schlüsselwort let deklariert.

Im Regelfall sollte man Rust die Entscheidung überlassen, um welchen Datentypen es sich handelt. In Sonderfällen kann der Typ explizit angegeben werden.

Huch, was ist denn bei dem Beispiel los? Die Variable x wird mehrmals deklariert?

Das ist kein Fehler - Rust erlaubt sogenanntes variable shadowing (Variable überschatten). Bei Neudeklaration "verfällt" die vorige Deklaration und wir können mit der Variable arbeiten, als ob es sie davor noch nie gegeben hätte. Der Datentyp darf sich dabei auch ändern.

Variablennamen werden ebenfalls in snake_case geschrieben.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_en.html b/03_en.html new file mode 100644 index 000000000..37f429ee9 --- /dev/null +++ b/03_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

Variables are declared using the let keyword.

+

When assigning a value, Rust will be able to infer the type of your variable 99% of +the time. If it cannot you may add the type to your variable declaration.

+

Notice how we can assign to the same variable name multiple times. This is called variable +shadowing and the type can be changed for subsequent references to that name.

+

Variable names are always in snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_es.html b/03_es.html new file mode 100644 index 000000000..9f3324b71 --- /dev/null +++ b/03_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

Las variables se declaran usando la palabra reservada let.

+

Al asignar un valor, Rust podrá deducir el tipo de la variable el 99% de las veces. +Si no puede, tú mismo podrás especificar el tipo al declarar una variable.

+

Fíjate en cómo podemos declarar variables con el mismo nombre varias veces. Esto se llama +sombreado (shadowing) de variables y se puede modificar el tipo para futuras referencias a ese nombre.

+

Los nombres de las variables se escriben siempre en snake_case

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_fa.html b/03_fa.html new file mode 100644 index 000000000..118a9bbb7 --- /dev/null +++ b/03_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

Variables are declared using the let keyword.

+

When assigning a value, Rust will be able to infer the type of your variable 99% of +the time. If it cannot you may add the type to your variable declaration.

+

Notice how we can assign to the same variable name multiple times. This is called variable +shadowing and the type can be changed for subsequent references to that name.

+

Variable names are always in snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_fi.html b/03_fi.html new file mode 100644 index 000000000..ab532329c --- /dev/null +++ b/03_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Muuttujat

+

Muuttujat esitellään let -avainsanalla.

+

Kun muuttujaan asetetaan arvo, Rust osaa päätellä 99% ajasta muuttujan tyypin. Jos se ei kykene siihen, voit lisätä tyypin muuttujan esittelyyn.

+

Huomaa, että vaimme sijoittaa samannimiseen muuttujaan monta kertaa. Sitä kutsutaan muuttujan varjostamiseksi, ja muuttujan tyyppi voi muuttua myöhemmillä viittauksilla samaan nimeen.

+

Muuttujan nimet kirjoitetaan aina "snake_case", pienillä kirjaimilla ja sanoja erottaa alaviiva.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_fr.html b/03_fr.html new file mode 100644 index 000000000..df4873d39 --- /dev/null +++ b/03_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

Les variables sont déclarées en utilisant le mot clé let.

+

Lorsqu'on assignera une valeur, Rust sera capable d'inférer le type de la variable (99% du +temps). Si pour quelques raisons que ce soit cela n'est pas possible, on peut toujours ajouter le type +à la déclaration de la variable.

+

Remarque comment on peut déclarer la même variable plusieurs fois. Ceci est appelé shadowing +et le type peut être modifié pour les prochaines références à ce nom de variable.

+

Les nom de variables sont toujours en snake_case

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_gr.html b/03_gr.html new file mode 100644 index 000000000..36ecfea35 --- /dev/null +++ b/03_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μεταβλητές

+

Οι μεταβλητές δηλώνονται με τη λέξη-κλειδί let.

+

Όταν αναθέτουμε σε μία μεταβλητή, η Rust θα μπορέσει να συμπεράνει τον τύπο τις στο 99% των περιπτώσεων. Αν δεν μπορεί, μπορείτε να προσθέσετε τον τύπο στη δήλωση της μεταβλητής.

+

Προσέξτε ότι μπορούμε να αναθέσουμε στο ίδιο όνομα μεταβλητής πολλές φορές. Αυτό αποκαλείται επισκίαση μεταβλητής, και μπορούμε έτσι ν' αλλάξουμε τον τύπο δεδομένων για μετέπειτα αναφορές σ' αυτό το όνομα.

+

Τα ονόματα μεταβλητών είναι πάντα σε φιδο_πεζά.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_hu.html b/03_hu.html new file mode 100644 index 000000000..ec8f601cf --- /dev/null +++ b/03_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Változók

+

A változókat a let kulcsszóval hozzuk létre.

+

Amikor egy változóhoz hozzárendelünk, a Rust az esetek 99%-ban képes lesz kitalálni, mi is a +típusa. Ha ez mégse sikerül neki, akkor a változó deklarációjában ezt te magad is megteheted.

+

Figyeld meg, hogy ugyanahhoz a változónévhez többször is hozzárendelhetünk értékeket. Ezt +változó-árnyékolásnak nevezzük, a változó típusa is megváltozhat ilyenkor.

+

A változóneveket mindig 'kígyó_módon' adjuk meg.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_id.html b/03_id.html new file mode 100644 index 000000000..53086fba7 --- /dev/null +++ b/03_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variabel

+

Variabel dideklaraskan menggunakan kata kunci let.

+

Ketika memberikan nilai kepada variabel, Rust hampir selalu dapat menggambil kesimpulan terhadap tipe data dari sebuah variabel. Jika tidak, kamu dapat menambahkan tipe data pada deklarasi variabel kamu.

+

Perhatikan, kita dapat menetapkan nilai kepada variabel yang sama berkali-kali. Ini dinamakan variable shadowing, serta tipe data dapat dirubah untuk referensi selanjutnya dari nama tersebut.

+

Nama variabel selalu menggunakan snake_scase.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ie.html b/03_ie.html new file mode 100644 index 000000000..b7007da21 --- /dev/null +++ b/03_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

On declara variabiles con li clave-parol let.

Quande on assigna un valore, Rust va posser inferer li tip del variabile con un certitá de 99%. Si it ne posse, tu posse adjunter li tip al declaration por li variabile.

A notar es qualmen noi posse assignar li sam nómine por un variabile plu quam un vez. Ti-ci metode es nominat variable shadowing ("variabil-ombration") in quel li tip va posser changear se por referenties sequent por ti nómine.

Nómines por variabiles sempre usa snake_case (minuscules con infra-strecs)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_it.html b/03_it.html new file mode 100644 index 000000000..dcb688f42 --- /dev/null +++ b/03_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variabili

+

Le variabili sono dichiarate usando la parola chiave let .

+

Quando assegni un valore, Rust riesce a capire il tipo della tua variabile nel 99% dei casi. +Se non dovesse riuscire, puoi aggiungere esplicitamente il tipo alla dichiarazione della variabile.

+

Nota come possiamo assegnare lo stesso nome variabile più volte: questo viene chiamato variable +shadowing ed il tipo può anche cambiare da una assegnazione all'altra dello stesso nome, perchè ogni volta è una nuova variabile.

+

I nomi delle variabili sono sempre in formato snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ja.html b/03_ja.html new file mode 100644 index 000000000..bf8736bb4 --- /dev/null +++ b/03_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

変数

+

変数は let キーワードを使用して宣言します。

+

値を割り当てる際、Rust は 99% のケースで変数の型を推論できます。それができない場合、変数宣言に型を追加できます。

+

同じ変数名に複数回割り当てできることに注目してください。 +これは変数のシャドウイングと呼ばれるもので、型を変更して後でその名前で参照できます。

+

変数名にはスネークケース snake_case を使用します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ko.html b/03_ko.html new file mode 100644 index 000000000..5661b09e2 --- /dev/null +++ b/03_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

변수

+

변수는 let 키워드를 사용해 선언됩니다.

+

값을 할당할 때, Rust는 99% 확률로 여러분의 변수의 자료형을 유추할 수 있습니다. +유추가 불가능한 경우, 여러분의 변수 선언에 자료형을 추가해도 됩니다.

+

동일한 이름의 변수에 여러번 값을 할당할 수 있다는걸 알아차리셨나요?

+

이는 변수 숨김(variable shadowing)이라 불리며, 자료형도 변경할 수 있습니다.

+

변수 이름은 언제나 snake_case 형태로 짓습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ne.html b/03_ne.html new file mode 100644 index 000000000..5d64d2f01 --- /dev/null +++ b/03_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variabile

+

Variabelen worden gedeclareerd met het sleutelwoord let. +Wanneer u een waarde aan een variabele toewijst, kan Rust in 99% van de gevallen het gegevenstype afleiden. Als dat niet lukt, kunt u het gegevenstype toevoegen aan de declaratie van de variabele. +Merk op hoe we dezelfde variabelnaam (dezelfde identificator) meerdere keren kunnen gebruiken. Dit fenomeen wordt "variable shadowing" genoemd, en het gegevenstype kan veranderen voor latere verwijzingen naar die variabelnaam. +Variabelnamen worden altijd geschreven in de vorm van snake_case (ex: my_first_variable).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_pl.html b/03_pl.html new file mode 100644 index 000000000..4429a39d9 --- /dev/null +++ b/03_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zmienne

+

Zmienne są w Ruscie deklarowane przy użyciu słowa kluczowego let.

+

Podczas przypisywania wartości zmiennej, w 99% przypadków Rust będzie w stanie domyśleć się jakiego powinna być ona typu. +W przypadku kiedy automatyczne wykrycie typu się nie uda, możesz zawsze dodać typ ręcznie, dopisując go przy deklaracji zmiennej.

+

Zauważ, że jesteśmy w stanie dokonać przypisania do tej samej zmiennej wielokrotnie. Taki manewr jest nazywany przyćmiewaniem zmiennej (ang. variable shadowing), i można w ramach niego dokonać również zmiany typu zmiennej.

+

Nazwy zmiennych są zawsze zapisywane małymi_literami_z_podkreślnikami_zamiast_spacji, czyli inaczej mówiąc stylem snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_pt-br.html b/03_pt-br.html new file mode 100644 index 000000000..5968d9119 --- /dev/null +++ b/03_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variáveis

+

Variáveis são declaradas usando a palavra-chave let.

+

Quando atribuimos um valor, o Rust poderá inferir o tipo da sua variável em 99% dos casos.

+

Se não for possível, você poderá especificar o tipo ao declarar a variável.

+

Veja que podemos atribuir valores à mesma variável várias vezes. Isto é chamado sobreamento de variáveis (shadowing) e podemos mudar o seu tipo para referências futuras a esse nome.

+

Os nomes das variáveis são sempre em snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ro.html b/03_ro.html new file mode 100644 index 000000000..9e56c1c1d --- /dev/null +++ b/03_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variabile

+

Variabilele sunt declarate folosind cuvântul cheie let.

+

Atunci când dați unei variabile o valoare, Rust este capabil să deducă tipul acesteia în 99% +din cazuri. Dacă acesta nu poate, puteți adăuga tipul de date la declararea variabilei.

+

Observați cum putem să folosim același nume de variabilă (același identificator) de mai multe ori. Acest fenomen se numește variable +shadowing (punere în umbră) și tipul de date se poate schimba pentru referințe ulterioare la acel nume de variabilă.

+

Numele de variabile sunt mereu scrise sub formă snake_case (ex: my_first_variable).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ru.html b/03_ru.html new file mode 100644 index 000000000..c9c117e79 --- /dev/null +++ b/03_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Переменные (Variables)

+

Переменные объявляются с помощью ключевого слова let.

+

Когда переменной присваивается значение, Rust может вывести её тип в 99% случаях. Когда он не может вывести тип, вы можете добавить тип в объявление переменной.

+

Заметьте, что мы можем присвоить значение одной и той же переменной несколько раз. Это называется сокрытие переменной (variable shadowing), её тип может быть изменен в последующих присваиваниях.

+

Имена переменных пишутся всегда в нотации: snake_case

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_th.html b/03_th.html new file mode 100644 index 000000000..b64948668 --- /dev/null +++ b/03_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ตัวแปร

+

การประกาศตัวแปร ใช้คียเวิร์ด let

+

ปกติแล้ว Rust จะสามารถอนุมาน type ของตัวแปรที่คุณกำหนดค่าลงไปได้ถึง 99% แต่ถ้าหากมันทำไม่ได้ ก็เพียงแค่เพิ่มการประกาศ type ลงไปด้วยแค่นั้น

+

สังเกตดูจะพบว่าเราสามารถ กำหนดค่าให้ตัวแปรชื่อเดิมซ้ำๆ ได้หลายครั้ง สิ่งนี้เราเรียกว่าการทำ shadow ให้ตัวแปร และยังสามารถเปลี่ยน type ของตัวแปรชื่อนั้นได้อีกด้วย

+

และชื่อตัวแปรจะใช้ snake_case เสมอนะ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_tr.html b/03_tr.html new file mode 100644 index 000000000..3e327d9dc --- /dev/null +++ b/03_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Değişkenler

+

Değişkenler let anahtar sözcüğü kullanılarak bildirilir.

+

Bir değişkene değer atadığınızda bu değişkenin türü %99 olasılıkla Rust tarafından bilinir. Eğer tür otomatik olarak çıkarsanamamışsa değişken türünü kendiniz de bildirebilirsiniz.

+

Aynı değişken adını tekrar tekrar atayabildiğimize dikkat edin. Buna, değişken gölgeleme denir ve bu isme her başvurulduğunda değişkenin türü de değiştirilebilir.

+

Değişken isimleri kelimelerin alt_tire ile birbirine bağlandığı lover_snake_case biçiminde seçilmelidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_ua.html b/03_ua.html new file mode 100644 index 000000000..db3997dd0 --- /dev/null +++ b/03_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Змінні

+

Змінні оголошуються за допомогою ключового слова let. +Коли ми присвоюємо значення змінній, Rust в 99% випадків має змогу вивести її тип. В іншому разі ви маєте додати тип до оголошення.

+

Зверніть увагу, що ми можемо присвоїти значення змінній з одним і тим же ім'ям декалька разів. Це називається "приховування змінної" і тип може бути змінений для наступних посилась на це ім'я.

+

Імена змінних завжди мають бути в snake_case реєстрі.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_vi.html b/03_vi.html new file mode 100644 index 000000000..a395a9f91 --- /dev/null +++ b/03_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Biến

+

Các biến được khai báo bằng từ khóa let.

+

Khi gán vào biến một giá trị, Rust sẽ có thể suy ra kiểu của biến biến trong hầu hết các trường hợp. Nếu không, bạn có thể thêm kiểu vào khai báo biến của mình.

+

Lưu ý rằng đây là cách mà chúng ta gán giá trị vào cùng một tên biến nhiều lần. Điều này được gọi là đổ bóng biến và kiểu có thể được thay đổi cho các lần tham chiếu tiếp theo đến tên biến đó.

+

Tên biến luôn tuân theo snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_zh-cn.html b/03_zh-cn.html new file mode 100644 index 000000000..67fcbdf4b --- /dev/null +++ b/03_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

变量

+

变量使用 let 关键字来声明。

+

在赋值时,Rust 能够在 99% 的情况下自动推断其类型。如果不能,你也可以手动将类型添加到变量声明中。

+

你也许注意到了,我们可以对同一个变量名进行多次赋值。这就是所谓的变量隐藏,可以更改变量类型以实现对该变量名的后续使用。

+

变量名总是遵循 蛇形命名法 (snake_case)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/03_zh-tw.html b/03_zh-tw.html new file mode 100644 index 000000000..ade327e22 --- /dev/null +++ b/03_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

變量 (Variables)

+

變量是通過 let 關鍵字來宣告。 +當賦予一個值,在 99% 的情況下 Rust 能夠自行判斷變量的類型。如果不能自行判斷,您就要在 宣告變量是指明變量的類型。 +留意,我們可以用同一個變量名稱重覆宣告變量,這稱為變量遮蔽。 變量遮蔽容許使用同一個變量名稱,但不同的類型宣告。 +變量的命名是用snake_case啊!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_al.html b/04_al.html new file mode 100644 index 000000000..39719ab9d --- /dev/null +++ b/04_al.html @@ -0,0 +1,56 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ndryshimi i variabilava

+

Rust kujdeset shumë për variablat që mund të modifikohen. vlerat

+

ndahen në dy lloje:

+
    +
  • mutable/e ndryshueshme - kompajleri do të lejojë që variabila të shkruhet dhe +te lexohet.

  • +
  • immutable/e pa nryshueshme - kompajleri do të lejojë vetëm leximin e ndryshores

    +

    Vlerat e ndryshueshme shënohen me një fjalë kyçe mut.

    +

    Ne do të kemi më shumë për të thënë më vonë për këtë koncept, por tani për tani vetëm mbani një sy +jashtë për këtë fjalë kyçe.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ar.html b/04_ar.html new file mode 100644 index 000000000..56c43be26 --- /dev/null +++ b/04_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تغيير قيم المتغيرات

+

يهتم رست (Rust) كثيرا بكيفية تعديل قيم المتغيرات. وهنا تنقسم القيم الى صنفين:

+
    +
  • قيم قابلة للتغيير (mutable) - في هذه الحالة يسمح المترجم (compiler) بأن يكون المتغير قابل للكتابة (أي التعديل) والقراءة منه.

  • +
  • قيم غير قابلة للتغيير (immutable) - وهنا المترجم (compiler) يسمح فقط بأن يكون المتغير قابل للقراءة فقط.

  • +
+

ويتم الإشارة إلى أن القيم قابلة للتغيير بالكلمة المفتاحية mut تضاف أثناء تعريف المتغير.

+

سيكون لدينا المزيد لنقوله حول هذا المفهوم لاحقًا، ولكن في الوقت الحالي ألق نظرة فقط على هذه الكلمة المفتاحية.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_de.html b/04_de.html new file mode 100644 index 000000000..ad26ee32b --- /dev/null +++ b/04_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variablenwerte ändern

+

Rust sorgt sich sehr darum, welche Variablen verändert werden können +und welche nicht. Daher gibt es die folgende Unterscheidung:

+
    +
  • mutable (veränderlich) - der Speicherort der Variable kann beschrieben und gelesen werden
  • +
  • immutable (unveränderlich) - der Compiler lässt nur das Lesen des Speicherortes zu
  • +
+

Variablen, die verändert werden können, werden mit einem extra mut (Abkürzung für mutable) +Schlüsselwort gekennzeichnet.

+

Auf dieses Konzept wird im späteren Verlauf noch mehr eingegangen, für jetzt ist es wichtig +zu wissen, dass "mutable" die Veränderbarkeit einer Variablen bestimmt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_en.html b/04_en.html new file mode 100644 index 000000000..72db5bde0 --- /dev/null +++ b/04_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Changing Variables

+

Rust cares a great deal about what variables are modifiable. Values +fall into two types:

+
    +
  • mutable - the compiler will allow the variable to be written to and read from.
  • +
  • immutable - the compiler will only allow the variable to be read from.
  • +
+

Mutable values are denoted with a mut keyword.

+

We will have more to say on this concept later, but for now just keep an eye out for this keyword.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_es.html b/04_es.html new file mode 100644 index 000000000..fcec9325c --- /dev/null +++ b/04_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificar Variables

+

En Rust es importante tener en cuenta qué valores se modifican. +Los valores se dividen en dos tipos:

+
    +
  • mutables - la ubicación en memoria puede ser escrita y leída
  • +
  • inmutables - la ubicación en memoria sólo puede ser leída
  • +
+

Los valores mutables siempre se denotan con la palabra reservada mut.

+

Hay mucho más que explicar aún sobre este concepto, pero de momento solo presta atención a la palabra reservada.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_fa.html b/04_fa.html new file mode 100644 index 000000000..351e99e3a --- /dev/null +++ b/04_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Changing Variables

+

Rust cares a great deal about what variables are modifiable. Values +fall into two types:

+
    +
  • mutable - the compiler will allow the variable to be written to and read from.
  • +
  • immutable - the compiler will only allow the variable to be read from.
  • +
+

Mutable values are denoted with a mut keyword.

+

We will have more to say on this concept later, but for now just keep an eye out for this keyword.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_fi.html b/04_fi.html new file mode 100644 index 000000000..d4fc79ec4 --- /dev/null +++ b/04_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Muuttumattomat muuttujat

+

Rustissa on tärkeää tietää, mitkä muuttujat ovat muuttuvia. muuttujat kuuluvat kahteen ryhmään:

+
    +
  • mutable - kääntäjä sallii muuttujaan kirjoittamisen ja lukemisen.
  • +
  • immutable - kääntäjä saallii vain muuttujan arvon lukemisen.
  • +
+

Mutable-arvot merkitään mut -avainsanalla.

+

Kerromme tästä enemmän myöhemmin, mutta siihen asti pidä silmällä tätä avainsanaa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_fr.html b/04_fr.html new file mode 100644 index 000000000..0dde5396f --- /dev/null +++ b/04_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modification des variables

+

Rust prend très au sérieux le fait de savoir si une variable est modifiable ou non. +Les variables peuvent être de deux types:

+
    +
  • mutable - la variable peut être modifiée et sa valeur lue
  • +
  • immutable - seule la valeur de la variable peut être lue
  • +
+

Les variables modifiables sont préfixées du mot clé mut.

+

Nous aurons plus à dire à ce sujet par la suite.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_gr.html b/04_gr.html new file mode 100644 index 000000000..326180e74 --- /dev/null +++ b/04_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Αλλαγή μεταβλητών

+

Η Rust νοιάζεται πάρα πολύ για το ποιες μεταβλητές μπορούν να αλλάξουν τιμή αργότερα. Οι τιμές χωρίζονται σε δύο τύπους:

+
    +
  • Ελεύθερα μεταβαλλόμενες - Ο μεταφραστής θα μας επιτρέψει να τη γράφουμε και να τη διαβάζουμε.
  • +
  • Τοπικά σταθερές - Ο μεταφραστής, μετά την αρχικοποίηση, θα επιτρέπει μόνο την ανάγνωση της μεταβλητής.
  • +
+

Οι ελεύθερα μεταβαλλόμενες τιμές δηλώνονται με τη λέξη κλειδί mut.

+

Θα αναφερθούμε εκτενέστερα σ' αυτήν την έννοια αργότερα, αλλά προς το παρόν έχετε το νου σας σ' αυτήν τη λέξη-κλειδί.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_hu.html b/04_hu.html new file mode 100644 index 000000000..b4160d34a --- /dev/null +++ b/04_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Változók megváltoztatása

+

A Rust nagy figyelmet fordít afelé, hogy mely változókat lehet megváltoztatni. Minden érték +kétféle kategóriába esik:

+
    +
  • megváltoztatható - a fordító megengedi, hogy az ilyen változókba való írást és a belőlük +való olvasást is.
  • +
  • megváltoztathatatlan - a fordító csak a változóból való olvasást engedi.
  • +
+

A megváltoztatható értékek a mut ("mutable", "megváltoztatható") kulcsszóval vannak jelölve.

+

A későbbiekben több szó is lesz majd erről a kulcsszóról, de egyelőre csak tartsd észben, hogy +létezik.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_id.html b/04_id.html new file mode 100644 index 000000000..1fd7be383 --- /dev/null +++ b/04_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Merubah Variabel

+

Rust sangat peduli apakah variabel dapat dimodifikasi atau tidak. Nilai terdiri dari dua tipe:

+
    +
  • mutable - kompiler akan memperbolehkan variabel untuk dibaca dan di tulis.
  • +
  • immutable - kompiler hanya memperbolehkan variabel untuk dibaca.
  • +
+

Nilai yang dapat mungkin di rubah dilambangkan dengan kata kunci mut.

+

Kita akan berbicara lebih banyak tentang konsep ini nanti, untuk sekarang kita hanya memperhatikan kata kunci ini.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ie.html b/04_ie.html new file mode 100644 index 000000000..f59572aa1 --- /dev/null +++ b/04_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Changear valores

+

Rust sucia se mult pri li valores queles es modificat. Valores possede du tipes:

  • mutabil - li loc in memorie posse esser inscrit e leet
  • ínmutabil - li loc in memorie posse esser solmen leet

On denota sempre li valores mutabil con li clave-parol mut

Pri to noi va parlar plu con detallies, ma por li momente ples solmen atenter pri ti-ci parol-clave quel monstra que un cose es modificabil

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_it.html b/04_it.html new file mode 100644 index 000000000..837b89040 --- /dev/null +++ b/04_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificare le Variabili

+

In Rust c'è una attenzione molto alta su cosa può cambiare valore. Le variabili infatti +possono dividersi in due categorie:

+
    +
  • mutabile - il compilatore permette di leggere e scrivere il contenuto della variabile
  • +
  • immutabile - il compilatore permette solo di leggere il contenuto della variabile.
  • +
+

I valori mutabili sono contraddistinti dalla parola chiave mut .

+

Approfondiremo questo concetto più avanti, ma per ora ricordati questa parola chiave.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ja.html b/04_ja.html new file mode 100644 index 000000000..020b0de42 --- /dev/null +++ b/04_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

変数の変更

+

Rustは変数の変更についてとても配慮しています。値は 2 種類に分類されます。

+
    +
  • 可変 - コンパイラは変数の書き込みと読み込みを許可します。
  • +
  • 不変 - コンパイラは変数の読み込みだけを許可します。
  • +
+

可変値は mut キーワードで表します。

+

この概念については後で詳しく説明しますが、今のところはこのキーワードに注意してください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ko.html b/04_ko.html new file mode 100644 index 000000000..6a7856f31 --- /dev/null +++ b/04_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

변수의 값 변경하기

+

Rust는 어떤 변수가 변경 가능한지에 대해 굉장히 주의합니다. 값에는 다음의 두 가지가 있습니다:

+
    +
  • 변경 가능(mutable) - 컴파일러가 변수에 값이 씌어지고 읽혀지는 것을 허용함
  • +
  • 변경 불가(immutable) - 컴파일러가 변수의 값이 읽히는 것만 허용함
  • +
+

변경 가능(mutable)한 값은 mut 키워드로 표시합니다.

+

이 개념에 대해서는 나중에 더 얘기하겠지만, 일단은 이 키워드를 눈여겨 봅시다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ne.html b/04_ne.html new file mode 100644 index 000000000..82804c12e --- /dev/null +++ b/04_ne.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificarea variabilelor

+

De programmeertaal Rust hecht veel waarde aan welke variabelen kunnen worden gewijzigd. Variabelen vallen in twee categorieën:

+
    +
  • wijzigbaar (mutable) - de compiler staat de gebruiker toe om de waarde van dit type variabele te wijzigen en te lezen.
  • +
  • onveranderlijk (immutable) - de compiler staat de gebruiker alleen toe om de waarde van deze variabele te lezen. +Wijzigbare waarden worden gedeclareerd met behulp van het sleutelwoord mut. +We zullen later meer praten over dit concept, maar voor nu, wees gewoon opmerkzaam op dit sleutelwoord.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_pl.html b/04_pl.html new file mode 100644 index 000000000..587fa484e --- /dev/null +++ b/04_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zmienianie Zmiennych

+

Rust skupia się mocno na tym jakie zmienne są mutowalne, czyli inaczej mówiąc zmienialne. Zmienne w Ruscie możemy podzielić na dwie grupy:

+
    +
  • mutowalne - kompilator pozwoli nam zarówno odczytywać jak i zapisywać dane do zmiennej
  • +
  • niemutowalne - kompilator pozwoli nam tylko odczytywać wartość zmiennej
  • +
+

Mutowalne zmienne muszą być opatrzone dodatkowym słowem kluczowym mut.

+

Póki co nie będziemy wchodzić głębiej w temat mutowalnych i niemutowalnych zmiennych, miej jednak oko na powyższe nowe słowo kluczowe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_pt-br.html b/04_pt-br.html new file mode 100644 index 000000000..bfed3b585 --- /dev/null +++ b/04_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificando valores

+

Em Rust é importante levar em consideração quais valores serão alterados. Os valores se dividem em dois tipos:

+
    +
  • mutáveis - o compilador permitirá que a variável seja lida e gravada.
  • +
  • imutáveis - o compilador permitirá apenas a leitura da variável.
  • +
+

Valores mutáveis são marcados com a palavra-chave mut.

+

Temos muito a explicar ainda sobre este conceito, mas por enquanto apenas preste atenção nesta palavra-chave.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ro.html b/04_ro.html new file mode 100644 index 000000000..4907fb660 --- /dev/null +++ b/04_ro.html @@ -0,0 +1,54 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificarea variabilelor

+

Limbajul Rust ține foarte mult la ce variabile pot fi modificate. Variabilele +fac parte din două categorii:

+
    +
  • mutabile (mutable) - compilatorul va lăsa utilizatorul să modifice și să citească valoarea acestui tip de variabile.
  • +
  • imutabile (immutable) - compilatorul va lăsa utilizatorul doar să citească valoarea acestei variabile.
  • +
+

Valorile mutabile sunt declarate cu ajutorul cuvântului cheie mut.

+

O să revenim pentru a vorbi mai multe despre acest concept, dar deocamdată doar fiți atenți la acest cuvânt cheie.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ru.html b/04_ru.html new file mode 100644 index 000000000..421d94231 --- /dev/null +++ b/04_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Изменение переменных

+

Rust уделяет много внимания тому, значения каких переменных можно изменять. Значение переменных бывают двух типов:

+
    +
  • mutable (изменяемые) - компилятор позволит писать в такую переменную новые значение и считывать значения из нее
  • +
  • immutable (не изменяемые) - компилятор позволит только читать значения из этой переменной
  • +
+

Изменяемые (Mutable) значения всегда помечены с помощью ключевого слова mut.

+

Мы поговорим об этой концепции, сейчас просто следите за этим ключевым словом.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_th.html b/04_th.html new file mode 100644 index 000000000..733414695 --- /dev/null +++ b/04_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การเปลี่ยนแปลงค่าในตัวแปร

+

Rust ให้ความใส่ใจเป็นอย่างยิ่งในเรื่องการแก้ไขค่าในตัวแปร จึงแบ่งประเภทการประกาศเป็นสองแบบ:

+
    +
  • mutable - แบบเปลี่ยนแปลงค่าได้ แบบนี้คอมไพเลอร์จะอนุญาตให้เขียนและอ่านค่าในตัวแปรได้
  • +
  • immutable - แบบเปลี่ยนแปลงค่าไม่ได้ แบบนี้คอมไพเลอร์จะอนุญาตให้อ่านค่าในตัวแปรได้เท่านั้น
  • +
+

ตัวแปรที่เปลี่ยนค่าได้ จะมีคีเวิร์ด mut

+

เราจะคุยเรื่องนี้กันอีกในภายหลัง แต่ตอนนี้แค่จับตาดูมันไว้ก่อนก็พอ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_tr.html b/04_tr.html new file mode 100644 index 000000000..7434bbd93 --- /dev/null +++ b/04_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Değişkenlerin Değiştirilmesi

+

Rust hangi değişkenlerin değiştirilebilir olduğuna çok dikkat eder. İki tür değişken vardır:

+
    +
  • mutable - Derleyici bu tür değişkenlerin hem yazılmasına hem okunmasına izin verir.
  • +
  • immutable - Derleyici bu tür değişkenlerin sadece okunmasına izin verir. +Değişebilir değerler mut anahtar sözcüğü ile belirtilir.
  • +
+

İleride bu kavrama daha fazla değineceğiz. Ancak şu an için bu anahtar sözcüğe dikkat etmeniz yeterlidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_ua.html b/04_ua.html new file mode 100644 index 000000000..3ee058cb0 --- /dev/null +++ b/04_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Змінюваність змінних

+

Rust дуже уважно слідкує за тими змінними, значення яких може змінюватися. Значення змінних поділяються на два типи:

+
    +
  • mutable (змінювані) - компілятор дозволить записувати значення в змінну і читати його звідти.
  • +
  • immutable (незмінювані) - компілятор дозволить тільки читати значення зі змінної. +Змінювані значення позначаються ключовим словом mut. +Пізніше ми розкажемо більше про цю концепцію, та на зараз ви маєте просто знати про існування цього ключового слова.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_vi.html b/04_vi.html new file mode 100644 index 000000000..f61979362 --- /dev/null +++ b/04_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thay đổi biến

+

Rust để ý rất kỹ tới khi nào biến có thể thay đổi giá trị được. Chúng ta có hai trường hợp sau:

+
    +
  • mutable(có thể thay đổi được) - trình biên dịch sẽ cho phép biến được ghi vào và đọc từ đó.
  • +
  • immutable(không thể thay đổi được) - trình biên dịch sẽ chỉ cho phép biến được đọc từ đó.
  • +
+

Các giá trị có thể thay đổi được biểu thị bằng từ khóa mut.

+

Còn nhiều điều để nói về vấn đề này lắm đấy, tuy nhiên trước tiên thì hãy để ý tới những từ khóa này đã.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_zh-cn.html b/04_zh-cn.html new file mode 100644 index 000000000..9b1d2a0b0 --- /dev/null +++ b/04_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

修改变量

+

Rust 非常关心哪些变量是可修改的。值分为两种类型:

+
    +
  • 可变的 - 编译器允许对变量进行读取和写入。
  • +
  • 不可变的 - 编译器只允许对变量进行读取。
  • +
+

可变值用 mut 关键字表示。

+

关于这个概念,我们之后还会有更多的内容,但是眼下请谨记这个关键字即可。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/04_zh-tw.html b/04_zh-tw.html new file mode 100644 index 000000000..2f2b0cc61 --- /dev/null +++ b/04_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

改變變數的值

+

Rust 語言非常看重變量的可改變性,變量的可改變性分為以下兩種:

+
    +
  • 可改變 (mutable) - 編譯器容許此變量被寫入和讀取。
  • +
  • 不可改變 (immutable) - 編譯器只容許此變量被讀取
  • +
+

可改變的變量用 mut 關鍵字來標明。 +稍後我們將在這個概念上有更多的探討,但是現在暫時將它放在一旁吧。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_al.html b/05_al.html new file mode 100644 index 000000000..8136d7c26 --- /dev/null +++ b/05_al.html @@ -0,0 +1,68 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipet Bazike

+

Rust ka një sërë llojesh të njohura:

+
    +
  • booleans - bool për paraqitjen e vërtetë/false

  • +
  • numra të plotë të panënshkruar - u8 u16 u32 u64 u128 për përfaqësim +numra të plotë jonegativë

  • +
  • numra të plotë të nënshkruar - i8 i16 i32 i64 i128 për përfaqësimin e numrave të plotë

  • +
  • Numrat e plotë të madhësisë së treguesit - usize isize për paraqitjen e indekseve

    +

    dhe madhësive të gjërave në kujtesë

  • +
  • pikë lundruese - f32 f64

  • +
  • karaktere - char për përfaqësimin e një karakteri të vetëm Unicode

  • +
  • tuple - (vlera, vlera, ...) për kalimin e sekuencave fikse të vlerave në +rafte

  • +
  • vargje - [vlera, vlera, ...] një koleksion elementësh të ngjashëm me fikse +gjatësia e njohur në kohën e përpilimit

  • +
  • slices - një koleksion elementësh të ngjashëm me gjatësi të njohur në kohën e ekzekutimit

  • +
  • str (prerja e vargut) - tekst me një gjatësi të njohur në kohën e ekzekutimit

    +

    Teksti mund të jetë më kompleks se sa jeni mësuar në gjuhë të tjera;

    +

    meqenëse Rust është një gjuhë programimi e sistemit, ajo kujdeset për kujtesën

    +

    çështje me të cilat mund të mos jeni mësuar. Ne do të hyjmë në këtë në detaje më vonë.

    +

    Llojet numerike mund të specifikohen në mënyrë eksplicite duke i bashkangjitur tipit në fund +të numrit (p.sh. "13u32", "2u8").

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ar.html b/05_ar.html new file mode 100644 index 000000000..eb9096d6e --- /dev/null +++ b/05_ar.html @@ -0,0 +1,64 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الأنواع الأساسية

+

رست (Rust) لديها مجموعة متنوعة من الأنواع المألوفة:

+
    +
  • القيم المنطقية (booleans) - bool من أجل تمثيل قيمة صحيح أو خطأ
  • +
  • الأعداد الصحيحة بدون إشارة (unsigned integers) - يرمز لها بـ u8 u16 u32 u64 u128 وتمثل كل الأعداد الغير سالبة (الأعداد الموجبة).
  • +
  • الأعداد الصحيحة بإشارة (signed integers) - يرمز لها بـ i8 i16 i32 i64 i128 وتمثل كل الأعداد.
  • +
  • الأعداد الصحيحة بحجم المؤشر (pointer-sized integers) - يرمز لها بـ isize usize وهي لتمثيل الفهارس وأحجام الأشياء في الذاكرة، وللفهم أكثر فإن size هنا تتغير عند ترجمة البرنامج (compiling) حسب بنية النظام فهي تأخذ قيمة 32 بت (usize = u32) في البرامج الموجه للحواسب x86 و تأخذ قيمة 64 بت (usize = u64) في البرامج الموجهة للحواسب x86_64، إذن usize تضمن حجز الحجم الكافي في الذاكرة لأي مؤشر حسب بنية البيانات.
  • +
  • الأعداد العشرية (floating point) - يرمز لها بـ f32 f64 تمثل كل الأعداد التي تملك قسمًا عشريًا إضافةً إلى القسم الصحيح.
  • +
  • الصفوف (tuples) - تكتب بهذا الشكل (value, value, ...) هي مجموعة متسلسة ثابة من القيم بأنواع مختلفة والتي تمرر الى المكدس (Stack).
  • +
  • المصفوفات (arrays) - تكتب بهذا الشكل [value, value, ...] هي مجموعة متسلسة من العناصر متشابهة الأنواع وبطول ثابت ومعلوم أثناء الترجمة (compile time).
  • +
  • الشرائح (slices) - هو مفهوم يعبر عن مجموعة متسلسة من العناصر متشابهة الأنواع وبطول ثابت ومعلوم أثناء تشغيل البرنامج (runtime).
  • +
  • الشرائح النصية (string slice) - يرمز لها بـ str وهي نص (كل حرف يمثل شريحة) بطول معلوم أثناء تشغيل البرنامج (runtime).
  • +
+

قد يكون النص في لغة رست (Rust) أكثر تعقيدًا مما اعتدت عليه في اللغات الأخرى؛ نظرا لأن رست (Rust) هي لغة برمجة أنظمة، فهو يهتم بمشاكل الذاكرة التي قد لا تكون معتادًا عليها. وسنتناول هذا بالتفصيل لاحقًا.

+

وكمعلومة إضافية فإنه بالإمكان تحديد نوع المتغير عندما يكون من الانواع الرقمية (Numeric types) عن طريق إضافة النوع في نهاية قيمة العدد (مثال: 13u32, 2u8).

+

معلومات أخرى:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_de.html b/05_de.html new file mode 100644 index 000000000..3b7e330b5 --- /dev/null +++ b/05_de.html @@ -0,0 +1,65 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basistypen

+

Rust besitzt eine vielzahl an bekannten Datentypen

+
    +
  • booleans - bool für true/false bzw. wahr/falsch Werte
  • +
  • unsigned integers - u8 u32 u64 für positive Ganzzahlen (inkl. 0 für die Mathematiker)
  • +
  • signed integers - i8 i32 i64 für vorzeichenbehaftete Ganzzahlen
  • +
  • pointer sized integers - usize isize für Indizes und Größen im Speicher
  • +
  • floating point - f32 f64 für Dezimalzahlen
  • +
  • tuple - (Wert, Wert, ...) um festgelegte Sequenzen von Werten auf dem Stack zu speichern
  • +
  • arrays - [Wert, Wert, ...]eine Kollektion von ähnlichen Elementen mit zur Compile-Zeit festgelegter Länge
  • +
  • slices - eine Kollektion von ähnlichen Elementen mit Länge bekannt zur Laufzeit
  • +
  • str (string slice) - Text mit zur Laufzeit bekannter Länge
  • +
+

Wir sehen schon, dass es einiges zum Anpacken geben wird!

+

Eine Warnung vorweg: Text wird etwas komplexer sein als du es vielleicht von anderen +Programmiersprachen gewohnt bist, da Rust eine Systemprogrammiersprache ist und daher mehr +auf effektives Speichermanagement fokussiert. Keine Panik auf der Titanic aber, wir werden unser +Bestes geben, dich darauf vorzubereiten!

+

Noch ein Hinweis: Numerische Datentypen können auch nach dem Zahlenliteral spezifiziert werden +(z.B. 13u32)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_en.html b/05_en.html new file mode 100644 index 000000000..b350b2075 --- /dev/null +++ b/05_en.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Types

+

Rust has a variety of familiar types:

+
    +
  • booleans - bool for representing true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 for representing nonnegative whole numbers
  • +
  • signed integers - i8 i16 i32 i64 i128 for representing whole numbers
  • +
  • pointer sized integers - usize isize for representing indexes +and sizes of things in memory
  • +
  • floating point - f32 f64
  • +
  • characters - char for representing a single Unicode character
  • +
  • tuple - (value, value, ...) for passing fixed sequences of values on the stack
  • +
  • arrays - [value, value, ...] a collection of similar elements with fixed length known at compile time
  • +
  • slices - a collection of similar elements with length known at runtime
  • +
  • str(string slice) - text with a length known at runtime
  • +
+

Text might be more complex than you are used to in other languages; +since Rust is a system programming language, it cares about memory +issues you might not be used to. We will be going into this in detail later.

+

Numeric types can be explicitly specified by appending the type to the end of the number (e.g. 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_es.html b/05_es.html new file mode 100644 index 000000000..5adbc53f8 --- /dev/null +++ b/05_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipos Básicos

+

Rust tiene una variedad de tipos que puede que te resulten familiares:

+
    +
  • booleanos - bool para representar verdadero/falso.
  • +
  • números enteros sin signo - u8 u32 u64 u128 para representar números enteros positivos.
  • +
  • números enteros con signo - i8 i32 i64 i128 para representar números enteros positivos y negativos.
  • +
  • números enteros de tamaño de puntero - usize isize se usan para representar índices y tamaños de elementos en memoria.
  • +
  • números en coma flotante - f32 f64.
  • +
  • En relación a textos - str char.
  • +
  • tuplas - (valor,valor,...) para pasar secuencias fijas de valores en la pila.
  • +
  • slices - &[T] para referenciar “vistas” en secuencias de valores en la memoria.
  • +
+

Profundizaremos en algunos más adelante.

+

Advertencia: los formatos de texto pueden ser más complejos de lo que estás acostumbrado en otros lenguajes, ya que Rust es un lenguaje de programación de sistemas, está orientado a gestionar los problemas de la memoria, algo a lo que puedes no estar acostumbrado. Entraremos en detalles sobre los textos más tarde.

+

Observa cómo los tipos numéricos pueden especificarse explícitamente añadiendo el tipo al final del número (por ejemplo, 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_fa.html b/05_fa.html new file mode 100644 index 000000000..97137fbc6 --- /dev/null +++ b/05_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Types

+

Rust has a variety of familiar types:

+
    +
  • booleans - bool for representing true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 for representing positive whole numbers
  • +
  • signed integers - i8 i16 i32 i64 i128 for representing positive/negative whole numbers
  • +
  • pointer sized integers - usize isize for representing indexes +and sizes of things in memory
  • +
  • floating point - f32 f64
  • +
  • tuple - (value, value, ...) for passing fixed sequences of values on the stack
  • +
  • arrays - [value, value, ...] a collection of similar elements with fixed length known at compile time
  • +
  • slices - a collection of similar elements with length known at runtime
  • +
  • str(string slice) - text with a length known at runtime
  • +
+

Text might be more complex than you are used to in other languages; +since Rust is a system programming language, it cares about memory +issues you might not be used to. We will be going into this in detail later.

+

Numeric types can be explicitly specified by appending the type to the end of the number (e.g. 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_fi.html b/05_fi.html new file mode 100644 index 000000000..a3e86907b --- /dev/null +++ b/05_fi.html @@ -0,0 +1,61 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Perustietotyypit

+

Rustissa on paljon tuttuja tietotyyppejä:

+
    +
  • totuusarvot - bool joka edustaa tilaa totta/ei-totta, true/false
  • +
  • etumerkittömät kokonaisluvut - u8 u16 u32 u64 u128, joihin voi sijoittaa vain positiivisia kokonaislukuja
  • +
  • etumerkilliset kokonaisluvut - i8 i16 i32 i64 i128, joihin voi voi sijoittaa myös negatiivisia kokonaislukuja
  • +
  • osoittimen kokoiset kokonaisluvut - usize isize, joilla voi osoittaa muistissa olevia yksiköitä tai säilöä suurimman mahdollisen taulukon indeksin
  • +
  • liukuluvut - f32 f64
  • +
  • tuple - (value, value, ...), jolla voi välittää ryhmän arvoja pinossa
  • +
  • taulukko - [value, value, ...] ryhmä samanlaisia elementtejä, joiden tarkka koko on tunnettu käännösaikana
  • +
  • viipale - ryhmä samanlaisia elementtejä, joiden koko on tunnettu käännösaikana
  • +
  • str(merkkijonoviipale) - tekstiä, jonka pituus on tunnettu käännösaikana
  • +
+

Merkkijonojen käsittely voi olla monimutkaisempaa kuin mihin olet tottunut muissa ohjelmointikielissä; +Koska Rust on systeemiohjelmointikieli, se pitää huolta muistin käytöstä enemmän kuin mihin olet ehkä tottunut. Palaamme tähän yksityiskohtaan myöhemmin.

+

Numeerinen tyyppi voidaan tarvittaessa tarkentaa lisäämällä tyyppi numeron perään (esimerkiksi 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_fr.html b/05_fr.html new file mode 100644 index 000000000..e2ed7c8b7 --- /dev/null +++ b/05_fr.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Types primitifs

+

Rust possède une variété de types primitifs dont certains te seront certainement famillier:

+
    +
  • booléens - bool pour représenter vrai/faux
  • +
  • entiers non signés - u8 u32 u64 u128 pour représenter les entiers positifs
  • +
  • entiers signés - i8 i32 i64 i128 pour représenter les entiers positifs et négatifs
  • +
  • entiers de taille de pointeur - usize isize pour représenter les indices +et tailles des éléments en mémoire
  • +
  • nombre réel à virgule flottante - f32 f64 pour représenter notamment les nombres rationnels
  • +
  • tuple - (valeur, valeur, ...) pour passer une séquence finie de valeurs sur la pile
  • +
  • tableaux - [valeur, valeur, ...] une collection d'éléments de même type dont la taille est +fixe (déterminée à la compilation)
  • +
  • slices - similaire aux tableaux à l'exception que la taille est redimensionable
  • +
  • chaîne de caractères - str pour représenter une suite de caractères
  • +
+

Les chaînes de caractères peuvent être plus complexes comparées aux autres langages de programmation, +étant donné que Rust est un langage de programmation système, il est sensible aux problèmes +de mémoire que tu n'es peut-être pas habitué à traiter. Nous reviendrons sur ce sujet un peu plus tard.

+

Les types numériques peuvent être explicitement spécifiés en ajoutant le type après +le nombre (ex. 13u32, 2u8)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_gr.html b/05_gr.html new file mode 100644 index 000000000..608682c2b --- /dev/null +++ b/05_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Βασικοί τύποι

+

Η Rust έχει μία ποικιλία γνωστών τύπων:

+
    +
  • Λογικές μεταβλητές - bool για την εκπροσώπηση τιμών «αληθές» ή «ψευδές»
  • +
  • Απροσήμαστους ακεραίους - u8 u16 u32 u64 u128 για την εκπροσώπηση μη-αρνητικών ακεραίων τιμών
  • +
  • Προσημασμένους ακεραίους - i8 i16 i32 i64 i128 Για την εκπροσώπηση ακεραίων τιμών γενικότερα
  • +
  • Ακεραίους μεγέθους δείκτη - usize isize για την εκπροσώπηση δεικτών και του μεγέθους πραγμάτων στη μνήμη
  • +
  • Κινητής υποδιαστολής - f32 f64
  • +
  • Πολλάδες - (τιμή, τιμή, ...) για τη μετάδοση συγκεκριμένων ακολουθιών τιμών στη στοίβα
  • +
  • Πίνακες - [τιμή, τιμή, ...] συλλογές ομοειδών στοιχείων με σταθερό μήκος γνωστό την ώρα της μετάφρασης
  • +
  • φέτες - Συλλογές ομοειδών στοιχείων με αυθαίρετο μήκος γνωστό την ώρα που τρέχει το πρόγραμμα
  • +
  • str(φέτα συμβολοσειράς) - Κείμενο με μήκος γνωστό την ώρα που τρέχει το πρόγραμμα
  • +
+

Ο χειρισμός του κειμένου μπορεί να 'ναι πιο πολύπλοκος απ' όσο έχετε ίσως συνηθίσει σε άλλες γλώσσες· καθώς η Rust είναι γλώσσα προγραμματισμού συστημάτων, νοιάζεται για θέματα μνήμης που μπορεί να μην έχετε συνηθίσει. Θα το αναλύσουμε αυτό λεπτομερέστερα αργότερα.

+

Ο ακριβής τύπος μίας αριθμητικής τιμής μπορεί να οριστεί ρητά επιθέτοντας τον τύπο στο τέλος της, πχ 13u32 ή 2u8 ή 1.0f64.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_hu.html b/05_hu.html new file mode 100644 index 000000000..10a2d988d --- /dev/null +++ b/05_hu.html @@ -0,0 +1,72 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Alapvető típusok

+

A Rust sokféle, valószínűleg már ismert típust különböztet meg:

+
    +
  • boolean - bool igaz és hamis értékekhez
  • +
  • előjel nélküli egészek - u8 u16 u32 u64 u128 nemnegatív egész +számok kifejezésére
  • +
  • előjeles egészek - i8 i16 i32 i64 i128 egész számok kifejezésére
  • +
  • mutató méretű egészek - usize isize tömbök indexeinek és a memóriában +tárolt dolgok méretének tárolására
  • +
  • lebegőpontos törtek - f32 f64
  • +
  • tuple-k [1] - (érték, érték, ...) meghatározott hosszú és típusú +értékek a veremben való eltárolására szánt gyűjtemény
  • +
  • tömbök - [érték, érték, ...] ugyanolyan típusú értékek fordításkor is +ismert hosszal rendelkező gyűjteménye
  • +
  • szeletek - ugyanolyan típusú értékek futáskor ismert hosszal rendelkező +gyűjteménye
  • +
  • str (szöveg szelet) - szöveg, melynek a hosszát csak futáskor ismerjük
  • +
+

A szövegek kezelése kicsit bonyultabb, mint ahogy azt más nyelvekben megszokhattad. Mivel a Rust +egy alacsony-szintű programozási nyelv, így fontosnak tartja az olyan memória-hibák elkerülését +is, amikre esetleg eddig nem is gondoltál. De erről majd később.

+

A számértékek típusait explicit módon is meg lehet adni azzal, hogy a szám végére illesztjük +annak típusát (pl.: 13u32, 2u8).

+

[1]: A tuple magyar megfelelője az ú.n. "rendezett n-es", ám mivel ez borzasztó hülyén néz +ki programozós kontextusban és a tuple annyira elterjedt kfiejezés, hogy a kedves olvasó +valószínűleg eddig is ismerte már, így ebben a könyvben fordítatlanul fogom hagyni. -- A +fordító

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_id.html b/05_id.html new file mode 100644 index 000000000..d29239837 --- /dev/null +++ b/05_id.html @@ -0,0 +1,63 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipe Data Dasar

+

Rust mempunyai berbagai jenis tipe data:

+
    +
  • booleans - bool untuk menyatakan true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 untuk menyatakan integer positif
  • +
  • signed integers - i8 i16 i32 i64 i128 untuk menyatakan integer positif/negatif
  • +
  • pointer sized integers - usize isize untuk menyatakan index dan ukuran dari hal-hal di memori
  • +
  • floating point - f32 f64
  • +
  • tuple - (value, value, ...) untuk mewakili urutan nilai yang bersifat tetap pada stack
  • +
  • arrays - [value, value, ...] koleksi dari elemen serupa dengan lebar yang di diketahui saat waktu kompilasi
  • +
  • slices - koleksi dari elemen serupa dengan lebar yang diketahui pada saat program berjalan
  • +
  • str(string slice) - teks dengan lebar yang diketahui saat program berjalan
  • +
+

Teks mungkin lebih kompleks dari yang bahasa pemprograman lain; +Karena rust adalah system programming language, maka rust peduli pada +masalah memory yang kamu mungkin belum terbiasa. Kita akan membahas hal ini +secara rinci nanti.

+

Tipe data numerik dapat secara explisit ditetapkan dengan menambahkan tipe di akhir angka (contoh 13u32, 2u8)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ie.html b/05_ie.html new file mode 100644 index 000000000..183dcca11 --- /dev/null +++ b/05_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic tipes

+

Rust possede un varietá de tipes familiari

  • booleanes - bool por representar true/false (ver/fals)
  • unsigned integers (integrales ínsignat) - u8u32u64u128 por representar integrales positiv
  • signed integers (integrales signat) - i8i32i64i128 por representar integrales sive positiv sive negativ
  • pointer sized integers (integrales con puntator-mesurat grandore) - usizeisize por representar indexes e grandores de coses in memorie
  • floating point (punctu flottant) - f32f64
  • con relation a textu - strchar
  • tuple - (value, value,...) por passar fixat sequenties de valore sur li stack (li cumul)
  • slices (tranches) - &[T] por referer visus ad-in sequenties de valores in memorie

Noi va parlar pri alcunes ex ili plu detalliatmen plu tard.

Un avise in prim: textu va posser esser plu complicat quam tui experientie con altri lingues, pro que Rust es un lingue de programmation por sistemas quel orienta se pri problemas de memorie con quel fórsan tu ne ha experientie. Noi va parlar plu detalliatmen pri textu plu tard.

Nota qualmen on posse explicitmen specificar tipes numeric per afixar li tip directmen pos li numeró (p.e. 13u32)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_it.html b/05_it.html new file mode 100644 index 000000000..4cfc4761a --- /dev/null +++ b/05_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipi di dato basilari

+

Rust ha molti tipi familiari:

+
    +
  • booleani - bool per rappresentare stati true/false
  • +
  • interi senza segno - u8 u16 u32 u64 u128 per rappresentare numeri interi positivi
  • +
  • interi con segno - i8 i16 i32 i64 i128 per rappresentare numeri interi
  • +
  • interi di dimensione puntatore - usize isize per rappresentare indici e dimensioni di cose in memoria
  • +
  • numeri a virgola mobile - f32 f64
  • +
  • tuple - (valore, valore, ...) per passare sequenze di valori sullo stack
  • +
  • array - [valore, valore, ...] un elenco a lunghezza fissa di elementi dello stesso tipo
  • +
  • slice - un elenco a lunghezza variabile di elementi dello stesso tipo
  • +
  • str(string slice) - stringa di testo con lunghezza conosciuta
  • +
+

La gestione del testo potrebbe essere più complessa di quella in cui sei abituato in altri linguaggi; +dato che Rust è un linguaggio di programmazione di sistema, gestisce problemi di memoria a cui potresti +non essere abituato. Approfondiremo questo aspetto più avanti.

+

Per i numeri, il tipo può essere esplicitato aggiungendo un suffisso al numero stesso, per esempio 13u32 o 2u8.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ja.html b/05_ja.html new file mode 100644 index 000000000..e96c3d2db --- /dev/null +++ b/05_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本的な型

+

Rustにはよく知られた様々な型があります。

+
    +
  • ブール型 - bool は true または false を表します
  • +
  • 符号なし整数型 - u8 u32 u64 u128 は正の整数を表します
  • +
  • 符号付き整数型 - i8 i32 i64 i128 は正と負の整数を表します
  • +
  • ポインタサイズ整数型 - usize isize はメモリ内のインデックスとサイズを表します
  • +
  • 浮動小数点数型 - f32 f64
  • +
  • タプル型 - (value, value, ...) スタック上の固定された値の組を渡すために使用されます
  • +
  • 配列型 - コンパイル時に長さが決まる同じ要素のコレクション
  • +
  • スライス型 - 実行時に長さが決まる同じ要素のコレクション
  • +
  • str(string slice) - 実行時に長さが決まるテキスト
  • +
+

Rust はシステムプログラミング言語であるため、他の言語よりも複雑かもしれません。あまり意識しなかったようなメモリの問題を扱います。 +これについては後ほど詳しく説明します。

+

数値型は、数値の最後に型を付加することで明示的に指定できます。(例: 13u32, 2u8

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ko.html b/05_ko.html new file mode 100644 index 000000000..d5721eb82 --- /dev/null +++ b/05_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

기본 자료형

+

Rust에는 다양하지만 익숙한 자료형들이 있습니다:

+
    +
  • 부울 값 - 참/거짓 값을 나타내는 bool
  • +
  • 부호가 없는 정수형 - 양의 정수를 나타내는 u8 u16 u32 u64 u128
  • +
  • 부호가 있는 정수형 - 양/음의 정수를 나타내는 i8 i16 i32 i64 i128
  • +
  • 포인터 사이즈 정수 - 메모리에 있는 값들의 인덱스와 크기를 나타내는 usize isize
  • +
  • 부동 소수점 - f32 f64
  • +
  • 튜플(tuple) - stack에 있는 값들의 고정된 순서를 전달하기 위한 (값, 값, ...)
  • +
  • 배열(array) - 컴파일 타임에 정해진 길이를 갖는 유사한 원소들의 모음(collection)인 [값, 값, ...]
  • +
  • 슬라이스(slice) - 런타임에 길이가 정해지는 유사한 원소들의 collection
  • +
  • str(문자열 slice) - 런타임에 길이가 정해지는 텍스트
  • +
+

텍스트는 다른 익숙한 언어에서보다 복잡한데, 이는 Rust가 시스템 프로그래밍 언어이며 +여러분이 지금까지 익숙하지 않았을 메모리 문제에 신경쓰기 때문입니다. +이에 대해서는 나중에 더 자세히 다루겠습니다.

+

숫자형 자료형들은 숫자 뒤에 자료형 이름을 붙여 명시적으로 지정할 수 있습니다 (예: 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ne.html b/05_ne.html new file mode 100644 index 000000000..920b6d9ef --- /dev/null +++ b/05_ne.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basisdatatypes

+

Rust heeft een verscheidenheid aan datatypes die u bekend zullen voorkomen:

+
    +
  • booleaanse variabele - bool om waar en onwaar te vertegenwoordigen

  • +
  • ongesigneerde gehele getallen - u8 u16 u32 u64 u128 om natuurlijke getallen voor te stellen

  • +
  • getallen met teken - i8 i16 i32 i64 i128 om gehele getallen voor te stellen

  • +
  • gehele getallen van de grootte van een pointer - usize isize om indexen

    +

    en geheugengrootte voor te stellen

  • +
  • komma getallen - f32 f64 om reële getallen voor te stellen

  • +
  • tupel - (waarde, waarde, ...) voor het doorgeven van vaste sequenties van waarden op de stack

  • +
  • array - [waarde, waarde, ...] een verzameling van elementen van hetzelfde type; de grootte van de verzameling is vast en wordt alleen bij compilatie bekend.

  • +
  • slice - een deel van een verzameling elementen van hetzelfde type; de grootte van het deel wordt pas tijdens de uitvoering bekend

  • +
  • str (reeks van tekens) - tekst van bekende lengte tijdens uitvoering +De syntaxis kan complexer zijn in Rust in vergelijking met andere programmeertalen waaraan u gewend bent; +gezien het feit dat Rust een systeemprogrammeertaal is, geeft het om geheugenkwesties waar u mogelijk +niet aan gewend bent. We zullen hier later dieper op ingaan. +Numerieke types kunnen expliciet worden gespecificeerd door het type aan het einde van het nummer toe te voegen (bijv. 13u32, 2u8).

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_pl.html b/05_pl.html new file mode 100644 index 000000000..16ee18812 --- /dev/null +++ b/05_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Podstawowe Typy

+

W Ruscie mamy do dyspozycji całą gamę popularnych typów:

+
    +
  • boolowski typ logiczny - bool, służący przedstawianiu wartości prawda/fałsz (ang. true/false)
  • +
  • liczby całkowite bez znaku (ang. unsigned integers) - u8 u16 u32 u64 u128, przedstawiające nieujemne liczby całkowite
  • +
  • liczby całkowite ze znakiem (ang. signed integers) - i8 i16 i32 i64 i128, przedstawiające liczby całkowite
  • +
  • liczby całkowite wielkości wskaźnika (ang. pointer size numbers) - usize isize, używane do przedstawiania indeksów oraz wielkości rozmaitych rzeczy w pamięci
  • +
  • liczby zmiennoprzecinkowe (ang. floating point numbers) - f32 f64
  • +
  • krotki (ang. tuple) - (wartość, wartość, ...) służące do zapisywania sekwencji o stałej długości na stosie
  • +
  • tablice (ang. array) - [wartość, wartość, ...] kolekcja podobnych elementów, której długość jest stała i znana na etapie kompilacji
  • +
  • typ slice - kolekcja podobnych elementów której długość jest znana na etapie wykonywania programu
  • +
  • str (ang. string slice) - tekst którego długość jest znana na etapie wykonywania programu
  • +
+

Sprawa reprezentowania tekstu może sprawić więcej problemu w Ruscie niż w innych językach; ze względu na bycie językiem systemów, Rust przykłada dużą wagę do kwestii zarządzania pamięcią które mogą być Ci obce. Przyjrzymy się tej kwestii w późniejszych rozdziałach.

+

Typy liczbowe mogą być wyraźnie zaznaczone poprzez dopisanie odpowiedniego oznaczenia na końcu danej liczby (np. 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_pt-br.html b/05_pt-br.html new file mode 100644 index 000000000..37088f7f8 --- /dev/null +++ b/05_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipos básicos

+

Rust tem uma variedade tipos que lhe serão familiares:

+
    +
  • booleanos - bool para representar verdadeiro/falso
  • +
  • números inteiros sem sinal - u8 u32 u64 u128 para representar números inteiros não negativos
  • +
  • números inteiros com sinal - i8 i32 i64 i128 para representar números inteiros positivos e negativos
  • +
  • ponteiros de números inteiros - usize isize para representar índices e o comprimento de coleções em memória
  • +
  • números de ponto flutuante - f32 f64
  • +
  • tuplas - (value, value, ...) para passar sequências de valores fixas para a pilha
  • +
  • matriz - uma coleção de elementos similares com comprimento fixo conhecidos em tempo de compilação
  • +
  • slices - uma coleção de elementos similares com comprimento conhecido em tempo de execução
  • +
  • str (string slice) - texto com comprimento conhecido em tempo de execução
  • +
+

Formatos de texto podem ser mais complexos do que você está acostumado com outras linguagens. Uma vez que o Rust é uma linguagem de programação de sistemas, ele cuida do gerenciamento de memória de uma maneira que pode não estar familiarizado. Entraremos em detalhes mais adiante.

+

Tipos numéricos podem ser especificados explicitamente adicionando o tipo ao final do número (por exemplo: 13u32, 2u8)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ro.html b/05_ro.html new file mode 100644 index 000000000..5888d5bbc --- /dev/null +++ b/05_ro.html @@ -0,0 +1,64 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipuri de date de bază

+

Rust are o varietate de tipuri de date familiare dumneavoastră:

+
    +
  • variabilă booleană - bool pentru a reprezenta adevărat și fals
  • +
  • numere întregi fără semn - u8 u16 u32 u64 u128 pentru a reprezenta numere naturale
  • +
  • numere întregi cu semn - i8 i16 i32 i64 i128 pentru a reprezentare numere întregi
  • +
  • numere întregi de dimensiunea unui pointer - usize isize pentru a reprezenta indici +și dimensiunea datelor în memorie
  • +
  • numere cu virgulă mobilă - f32 f64 pentru a reprezenta numere reale
  • +
  • caractere - char pentru reprezentarea unui singur caracter Unicode
  • +
  • tuplu - (valoare, valoare, ...) pentru trecerea unor secvențe fixe de valori pe stivă
  • +
  • tablou - [valoare, valoare, ...] o colecție de elemente de același tip; dimensiunea colecției este fixă și devine cunoscută doar în momentul compilării
  • +
  • parte (slice) - o parte dintr-o colecție de elemente de același tip; dimensiunea părții devine cunoscută doar în timpul rulării
  • +
  • str (string slice) - text de lungime cunoscută în timpul rulării
  • +
+

Sintaxa s-ar putea să fie mai complexă în Rust față de alte limbaje de programare cu care sunteți obișnuiți; +având în vedere că Rust este un limbaj de programare pentru sisteme, îi pasă de problemele +de memorie cu care s-ar putea să nu fiți obișnuiți. O să aprofundăm aceste lucruri mai târziu.

+

Tipurile numerice pot fi specificate explicit prin adăugarea tipului la finalul numărului (ex: 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ru.html b/05_ru.html new file mode 100644 index 000000000..662a4c2e0 --- /dev/null +++ b/05_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Базовые типы (Basic Types)

+

В Rust много знакомых типов:

+
    +
  • булевый - bool представляет true/false
  • +
  • без знаковые целочисленные - u8 u16 u32 u64 u128 представляют только положительные числа
  • +
  • знаковые целочисленные - i8 i16 i32 i64 i128 представляют положительные и отрицательные числа
  • +
  • целочисленные для размеров указателей - usize, isize для представления индексов и размеров элементов в памяти
  • +
  • числа с плавающей точкой - f32 f64
  • +
  • кортежи - (значение,значение,...) представляют фиксированную последовательность из разных типов значений, размещаются на стеке
  • +
  • массивы - [значение, значение, ...] представляют последовательность элементов одного типа, имеющий фиксированный размер известный на стадии компиляции.
  • +
  • срезы (slices) - коллекция одинаковых элементов с длиной, известной во время выполнения
  • +
  • строковый срез str ( string slice ) - текст с размером определяемым во время выполнения
  • +
+

Справедливое предупреждение: на других языках текст может быть сложнее, чем вы привыкли. Rust - язык системного программирования, ориентированный на решение проблем памяти, с которыми вы, возможно, не сталкивались. Мы поговорим о текстовых данных позже.

+

Числовые типы могут быть явно объявлены с указанным типом, если явно добавить тип у числа (пример: 13u32, 2u8)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_th.html b/05_th.html new file mode 100644 index 000000000..e893bd82e --- /dev/null +++ b/05_th.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Types พื้นฐาน

+

Rust มี type ที่เราคุ้นเคยอยู่หลายตัว:

+
    +
  • booleans - bool สำหรับค่า true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 สำหรับตัวเลขทั้งหมดที่มีค่าเป็นบวก
  • +
  • signed integers - i8 i16 i32 i64 i128 สำหรับตัวเลขทั้งหมด
  • +
  • pointer sized integers - usize isize สำหรับค่าดัชนี(index) และขนาดของ ของในหน่วยความจำ
  • +
  • floating point - f32 f64
  • +
  • tuple - (value, value, ...) สำหรับส่งของตามลำดับบน stack
  • +
  • arrays - [value, value, ...] กลุ่มข้อมูลประเภทเดียวกันที่รู้ขนาดที่แน่นอนตั้งแต่ compile time
  • +
  • slices - กลุ่มข้อมูลประเภทเดียวกันที่รู้ขนาดที่แน่นอนเมื่อตอน runtime
  • +
  • str(string slice) - ข้อความ ที่รู้ขนาดที่แน่นอนเมื่อตอน runtime
  • +
+

เรื่องประเภทข้อมูลแบบข้อความ อาจจะมีความซับซ้อนมากกว่าที่คุณเคยรู้ในภาษาอื่น; เนื่องจากว่า Rust เป็นภาษา system programming language +จึงให้ความสำคัญกับปัญหาในเรื่องหน่วยความจำที่คุณอาจจะยังไม่คุ้นเคย ซึ่งเราจะลงในรายละเอียดเพิ่มเติมกันภายหลัง

+

ตัวแปรประเภทตัวเลขทั้งหลาย สามารถระบุความชัดเจนให้มันได้ด้วยการเติมประเภทต่อท้ายตัวเลข (เช่น 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_tr.html b/05_tr.html new file mode 100644 index 000000000..455ca874c --- /dev/null +++ b/05_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Temel Türler

+

Rust'ta aşina olduğunuz pek çok tür yer almaktadır:

+
    +
  • Mantıksal veri türü - bool sadece true/false olabilecek bir değeri temsil eder.
  • +
  • İşaretsiz tam sayılar - u8 u32 u64 u128 bit boyutlu (0/+) tam sayı değerlerini temsil eder.
  • +
  • İşaretli tam sayılar - i8 i32 i64 i128 bit boyutlu (-/+) işaretli tam sayı değerlerini temsil eder.
  • +
  • İşaretçi boyutlu tam sayılar - usize isize işaretçi boyutunda işaretsiz ve işaretli tam sayı türlerini temsil eder.
  • +
  • Kayan noktalı sayılar - f32 f64 32 bit ve 64 bit boyutlarında kayan noktalı sayıları temsil eder.
  • +
  • Çokuzlular - (değer, değer, ...) stack üzerinde depolanan aynı veya farklı tür öğelerin sabit boyutlu listesini tutar.
  • +
  • Diziler - [değer, değer, ...] değerleri derleme zamanında bilinen aynı veri türündeki öğelerin sabit boyutlu listesini tutar.
  • +
  • Dilimler - &[1..4] boyutu çalışma zamanında bilinen öğelerin listesini tutar.
  • +
  • Dizge dilimleri - str boyutu çalışma zamanında bilinen metin parçalarını temsil eder.
  • +
+

Metinlerle çalışmak size diğer dillerde alışık olduğunuzdan daha karmaşık gelebilir. Rust bir sistem programlama dili olduğundan, aşina olmadığınız bellek sorunlarını önemser. Daha sonra bu konuya ayrıntılarıyla değineceğiz.

+

Sayısal türleri bildirirken tür bildirimini sayının hemen sonuna ekleyerek 13u32, 2u8 şeklinde açıkça belirtebilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_ua.html b/05_ua.html new file mode 100644 index 000000000..c4d0e0db4 --- /dev/null +++ b/05_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Базові типи

+

Rust має декілька звичних типів:

+
    +
  • булевий тип - bool для представлення true/false
  • +
  • беззнакові цілочисельні - u8 u16 u32 u64 u128 для представлення цілих додатних чисел
  • +
  • цілочисельні зі знаком - i8 i16 i32 i64 i128 для представлення цілих чисел
  • +
  • вказівник розміром з ціле число - usize isize для преставлення індексів та розміри елементів у пам'яті
  • +
  • числа з рухомою комою - f32 f64
  • +
  • кортежі - (value, value, ...) для передачі фіксованих послідовностей значень різних типів, розміщених на стеку
  • +
  • масиви - [value, value, ...] колекція елементів одного типу фіксованої довжини, яка відома на етапі компіляції
  • +
  • зрізи (slices) - колекція елементів одного типу з довжиною що буде визначена під час виконання програми
  • +
  • str(рядковий зріз) (string slice) - текст довжини, що буде відома під час виконання програми.
  • +
+

Текст може бути більш складний, ніж ви звикли його бачити в інших мовах. Оскільки Rust - мова для системного програмування, що вирішує проблеми за памяттю, про які ви раніше не турбувалися. Але про це ми поговоримо трохи згодом.

+

Чисельні типи можуть бути явно вказані шляхом додавання типу прямо до числа (т. 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_vi.html b/05_vi.html new file mode 100644 index 000000000..c07f751dd --- /dev/null +++ b/05_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Những kiểu biến cơ bản

+

Rust có rất nhiều kiểu biến thông dụng:

+
    +
  • booleans - bool để biểu diễn true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 để biểu diễn các số nguyên không âm
  • +
  • signed integers - i8 i16 i32 i64 i128 để biểu diễn các số nguyên
  • +
  • pointer sized integers - usize isize để biểu diễn các chỉ mục và kích thước của mọi thứ trong bộ nhớ
  • +
  • floating point(Số dấy phẩy động, dấu chấm động) - f32 f64
  • +
  • tuple - (value, value, ...) for passing fixed sequences of values on the stack
  • +
  • arrays (mảng)- [value, value, ...] tập hợp các phần tử tương tự có độ dài cố định được biết đến tại thời điểm biên dịch
  • +
  • slices - tập hợp các phần tử tương tự với độ dài đã biết trong thời gian chạy
  • +
  • str(string slice) - một chuỗi có độ dài đã biết trong thời gian chạy
  • +
+

Text có thể phức tạp hơn so với những ngôn ngữ khác bạn quen dùng, +vì Rust là một ngôn ngữ lập trình hệ thống, nó quan tâm đến bộ nhớ +những vấn đề bạn có thể không quen. Chúng ta sẽ đi vào chi tiết điều này sau.

+

Các loại số học có thể được chỉ định rõ ràng bằng cách thêm loại vào cuối (ví dụ: 13u32,2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_zh-cn.html b/05_zh-cn.html new file mode 100644 index 000000000..b3b61ac4e --- /dev/null +++ b/05_zh-cn.html @@ -0,0 +1,61 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本类型

+

Rust 有多种常见的类型:

+
    +
  • 布尔型 - bool 表示 true 或 false
  • +
  • 无符号整型- u8 u32 u64 u128 表示非负整数
  • +
  • 有符号整型 - i8 i32 i64 i128 表示整数
  • +
  • 指针大小的整数 - usize isize 表示内存中内容的索引和大小
  • +
  • 浮点数 - f32 f64
  • +
  • 元组(tuple) - (value, value, ...) 用于在栈上传递固定序列的值
  • +
  • 数组 - 在编译时已知的具有固定长度的相同元素的集合
  • +
  • 切片(slice) - 在运行时已知长度的相同元素的集合
  • +
  • str(string slice) - 在运行时已知长度的文本
  • +
+

文本可能比你在其他语言中学到的更复杂,因为 Rust 是一种系统编程语言,它关心的是你可能不太习惯的内存问题。 +我们之后将详细讨论这个问题。

+

另外,你也可以通过将类型附加到数字的末尾来明确指定数字类型(如 13u322u8

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/05_zh-tw.html b/05_zh-tw.html new file mode 100644 index 000000000..8bdb07045 --- /dev/null +++ b/05_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本類型 (Primitive types)

+

Rust 具有多種常見的類型:

+
    +
  • (布林值)booleans - bool 來表達 true/false
  • +
  • (無符號整數) unsigned integers - u8 u16 u32 u64 u128 來表達正整數
  • +
  • (有符號整數) signed integers - i8 i16 i32 i64 i128 來表達正負整數
  • +
  • (指針大小的整數) pointer sized integers - usize isize 來表達索引或記憶體內的東西大小
  • +
  • (浮點) floating point - f32 f64
  • +
  • (元組) tuple - (value, value, ...) 用於在傳遞多個固定的值
  • +
  • (陣列) array - [value, value, ...] 在編譯時已知具有固定長度的相似元素的集合
  • +
  • (片段) slices - 在運行時已知長度的相似元素的集合
  • +
  • str(字串片段 string slice) - 在運行時已知長度的字串 +在 Rust 裡面,文字處理可能比您在其他程式語言中所理解到的複雜 +Rust 是一個系統程式語言 (system programming language),所以它所關注的記憶體問題 +對於您可能是前所未見。我們遲一點會深入了解。 +數字類型可以在後邊這樣明確標明它的類型: 13u32, 2u8
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_al.html b/06_al.html new file mode 100644 index 000000000..ccf3ace29 --- /dev/null +++ b/06_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konvertimi i tipit bazë

+

Ndryshku kërkon qartësi kur bëhet fjalë për llojet numerike. Një nuk mund

+

përdorni një u8 për një u32 rastësisht pa

+

gabim.

+

Fatmirësisht Rust i bën konvertimet e tipit numerik shumë të lehtë me fjalë kyçen + as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_ar.html b/06_ar.html new file mode 100644 index 000000000..e908aeb26 --- /dev/null +++ b/06_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تحويل الأنواع الأساسية

+

يطلب رست (Rust) منك أن تكون واضحا عندما تتعامل مع الأنواع الرقمية. بحيث لا يمكنك إستخدام نوع u8 لمتغير من نوع u32 بدون ظهور أخطاء.

+

طبعا من حسن الحظ، فإن رست (Rust) يبسط جدا تحويل الأنواع الرقمية عن طريق الكلمة المفتاحية as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_de.html b/06_de.html new file mode 100644 index 000000000..051fdf320 --- /dev/null +++ b/06_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basistypen konvertieren

+

Rust fordert explizite Konvertierungen, wenn es um Zahlentypen geht. +Ein u8 (8-bit unsigned integer) kann nicht mit einem u32 locker aus dem Handgelenk +zusammengerechnet werden ohne das Programm zum Absturz zu bringen.

+

Glücklicherweise ist auf die Konvertierung mit dem as Schlüsselwort Verlass.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_en.html b/06_en.html new file mode 100644 index 000000000..76c84d966 --- /dev/null +++ b/06_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Type Conversion

+

Rust requires explicitness when it comes to numeric types. One cannot +use a u8 for a u32 casually without +error.

+

Luckily Rust makes numeric type conversions very easy with the as keyword.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_es.html b/06_es.html new file mode 100644 index 000000000..4e22d461f --- /dev/null +++ b/06_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversión de Tipos Básica

+

Rust requiere ser explícito cuando se trata de tipos numéricos. No se puede usar un u8 cuando necesitemos un u32 sin que se produzca un error.

+

Por suerte, Rust hace que las conversiones de tipos numéricos sean muy fáciles con la palabra reservada as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_fa.html b/06_fa.html new file mode 100644 index 000000000..38a236dbf --- /dev/null +++ b/06_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Type Conversion

+

Rust requires explicitness when it comes to numeric types. One cannot +use a u8 for a u32 casually without +error.

+

Luckily Rust makes numeric type conversions very easy with the as keyword.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_fi.html b/06_fi.html new file mode 100644 index 000000000..0b4b9fbe9 --- /dev/null +++ b/06_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Perustietotyypin muunnokset

+

Rust vaatii kaikkien muunnosten merkitsemistä, kun numeerisia tietotyyppejä muunnetaan toiseksi. Tyyppiä u8 ei voi käyttää tyypin u32 sijaan aiheuttamatta virheilmoitusta.

+

Onneksi Rust tekee muunnoksen numeerisista tyypeistä toiseksi hyvin helpoksi avainsanalla as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_fr.html b/06_fr.html new file mode 100644 index 000000000..b6d23cc4f --- /dev/null +++ b/06_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversion des types primitifs

+

Avec Rust, l'utilisation des types est stricte. On ne peut pas +utiliser une variable de type u8 et la faire passer pour une variable de type u32.

+

Heureusement, Rust rend la conversion de type très facile grâce au mot clé as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_gr.html b/06_gr.html new file mode 100644 index 000000000..81420222d --- /dev/null +++ b/06_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Βασική μετατροπή τύπων

+

Η Rust ζητάει σαφήνεια σε ό,τι αφορά αριθμητικούς τύπους. Δεν μπορεί κανείς να χρησιμοποιήσει ένα u8 αντί για ένα u32 ελεύθερα χωρίς λάθος.

+

Ευτυχώς η Rust κάνει τη μετατροπή αριθμητικών τύπων πολύ εύκολη με τη λέξη-κλειδί as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_hu.html b/06_hu.html new file mode 100644 index 000000000..4e431954f --- /dev/null +++ b/06_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Egyszerű típusok közötti átalakítás

+

A Rust a számtípusok használatakor meglehetősen szigorú. Például nem használhatsz u8-t olyan +helyen, ami u32-t vár anélkül, hogy hibát dobna.

+

Szerencsére a típusok közötti átalakítás nagyon egyszerű az as kulcsszó használatával.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_id.html b/06_id.html new file mode 100644 index 000000000..18be63c32 --- /dev/null +++ b/06_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Type Conversion

+

Rust mengharuskan kejelasan untuk tipe data numerik. Kamu tidak bisa +menggunnakan u8 untuk tipe data u32 tanpa sebuah error.

+

Untungnya, Rust membuat koversi tipe data numerik mudah dengan kata kunci +as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_ie.html b/06_ie.html new file mode 100644 index 000000000..4be5dd411 --- /dev/null +++ b/06_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversion de basic tipes

+

Rust exige explicitá quande it acte se pri tipes numeric. On ne posse usar un u8 hasardalmen por un u32 sin un erra.

Felicimen, conversiones de tipes numeric es facil in Rust con li clave-parol as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_it.html b/06_it.html new file mode 100644 index 000000000..1038a4312 --- /dev/null +++ b/06_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversioni tra tipi di dato

+

Rust richiede di essere esplicito nel gestire i tipi numerici. Ad esempio non puoi
+usare un u8 al posto di u32 a caso, senza incappare in errori del compilatore. +Fortunatamente, Rust rende molto facili le conversioni del tipi numerici grazie alla parola chiave as .

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_ja.html b/06_ja.html new file mode 100644 index 000000000..4e72f0f67 --- /dev/null +++ b/06_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本型の変換

+

Rust で数値型を扱う際、型を明示する必要があります。u8u32 を混ぜるとエラーになります。

+

幸い、Rust は as キーワードで数値型を簡単に変換できます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_ko.html b/06_ko.html new file mode 100644 index 000000000..a51b90e65 --- /dev/null +++ b/06_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

기본 자료형 변환

+

Rust에서는 숫자형 자료형을 쓸 때 명시적으로 써야 합니다. 생각 없이 u8u32에 쓴다거나 하면 오류가 발생합니다.

+

다행히도 Rust에서는 as 키워드를 사용해 숫자형 자료형을 매우 쉽게 변환할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_ne.html b/06_ne.html new file mode 100644 index 000000000..f1e262eed --- /dev/null +++ b/06_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Type conversies

+

Rust vereist duidelijkheid als het gaat om numerieke types. +Je kunt niet zomaar een u8 gebruiken voor een u32 zonder +een foutmelding te krijgen. +Gelukkig kan Rust de conversie van het ene numerieke type +naar het andere heel gemakkelijk doen met het sleutelwoord as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_pl.html b/06_pl.html new file mode 100644 index 000000000..d17ae8769 --- /dev/null +++ b/06_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Podstawowe Konwersje Typów

+

Kiedy przychodzi do typów liczbowych, Rust wymaga od nas precyzyjnego wyrażenia co chcemy osiągnąć. Nie jest dozwolone przykładowo przypisanie liczby o typie u8 zmiennej o typie u32. +Na szczęście Rust umożliwia nam konwersję pomiędzy rozmaitymi typami liczbowymi z użyciem słowa kluczowego as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_pt-br.html b/06_pt-br.html new file mode 100644 index 000000000..3abc92fc6 --- /dev/null +++ b/06_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversão de tipos básica

+

O Rust requer que sejamos explícitos quando se trata de tipos numéricos. Não podemos usar um u8 como um u32 sem que se produza um erro.

+

Por sorte, o Rust faz com que as conversões de tipos numéricos sejam muito simples usando a plavra-chave as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_ro.html b/06_ro.html new file mode 100644 index 000000000..bb8bcffeb --- /dev/null +++ b/06_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversia tipurilor de bază

+

Rust necesită claritate atunci când vine vorba de tipurile numerice. Nu puteți +folosi un u8 pentru un u32 în mod neglijent fără +apariția unei erori.

+

Din fericire, Rust poate face conversia de la un tip numeric la altul, foarte ușor, folosind cuvântul cheie as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_ru.html b/06_ru.html new file mode 100644 index 000000000..1601cb399 --- /dev/null +++ b/06_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Преобразование базовых типов (Type Conversion)

+

Rust требует полной ясности при работе с числами. Нельзя использовать тип u8, работая с типом u32: это ошибка.

+

К счастью, в Rust есть ключевое слово as, позволяющее очень легко преобразовывать типы.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_th.html b/06_th.html new file mode 100644 index 000000000..eb34a33f7 --- /dev/null +++ b/06_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การแปลงประเภทของตัวแปรแบบพื้นฐาน

+

Rust ต้องการความชัดเจนเมื่อเป็นเรื่องที่เกียวกับตัวแปรประเภทตัวเลข ทำให้ไม่สามารถใช้ u8 แทน u32 กันตามใจได้ โดยไม่มีข้อผิดพลาดเกิดขึ้น

+

แต่โชคดีที่ Rust มีวิธีแปลงค่าตัวเลขที่ง่ายมากๆด้วยการใช้คีย์เวิร์ด as

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_tr.html b/06_tr.html new file mode 100644 index 000000000..e505734cd --- /dev/null +++ b/06_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Temel Türleri Dönüştürmek

+

Rust türlerle çalışırken katı olmayı seçtiğinden, sayısal türler söz konusu olduğunda bu dönüşümlerin açıkça yapılmasını bekler. u8 türündeki bir değeri u32 türünden bir değerle tür dönüşümü yapmadan sorunsuzca toplayamazsınız.

+

Neyse ki sayısal tür dönüşümleri as anahtar kelimesiyle oldukça kolaylaştırır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_ua.html b/06_ua.html new file mode 100644 index 000000000..1806bfe7b --- /dev/null +++ b/06_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Перетворення базових типів (Type Conversion)

+

Rust вимагає явності, коли справа стосуєсться чисельних типів. Спроба призначити типу u8 значення типу u32 призведе до помилки.

+

На щастя для легкого перетворення чисельних типів Rust має ключове слово as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_vi.html b/06_vi.html new file mode 100644 index 000000000..272a6ecd0 --- /dev/null +++ b/06_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuyển đổi loại cơ bản

+

Rust yêu cầu sự rõ ràng khi nói đến các kiểu số. Chúng ta không thể sử dụng u8 chou32 một cách ngẫu nhiên mà không phát sinh lỗi.

+

May mắn thay, Rust làm cho việc chuyển đổi kiểu số trở nên rất dễ dàng với từ khóa as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_zh-cn.html b/06_zh-cn.html new file mode 100644 index 000000000..360a8daa1 --- /dev/null +++ b/06_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本类型转换

+

当涉及到数字类型时,Rust 要求明确。一个人不能想当然地把“u8”用在“u32”上而不出错。

+

幸运的是,使用 as 关键字,Rust 使数字类型转换非常容易。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/06_zh-tw.html b/06_zh-tw.html new file mode 100644 index 000000000..434f172fa --- /dev/null +++ b/06_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本的數據類型轉換

+

當用到數字類型(numeric types),Rust 要求明確指出哪一個類型。 您不可以把 u32u8 混著來使用。 +幸運地 Rust 有 as 這個關鍵字來讓數字類型轉換變得容易。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_al.html b/07_al.html new file mode 100644 index 000000000..976a41a50 --- /dev/null +++ b/07_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstantet

+

Konstantet na lejojnë të specifikojmë një vlerë të përbashkët që përdoret gjatë gjithë kohës +nd kodin tone shumë herë me efikasitet. Në vend të kopjimit të vlerave si variablat

+

aty ku përdoren, konstantet zëvendësojnë drejtpërdrejt identifikuesin e tekstit ku + ata

+

përdoren me vlerën e tyre në kohën e përpilimit.

+

Ndryshe nga variablat, konstantet duhet të kenë gjithmonë lloje eksplicite.

+

Emrat konstant janë gjithmonë ne SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ar.html b/07_ar.html new file mode 100644 index 000000000..5e29abc0a --- /dev/null +++ b/07_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الثوابت (Constants)

+

تسمح لنا الثوابت بتعيين قيمة مشتركة ثابتة يتم استخدامها في الكود الخاص بنا عدة مرات بكفاءة. وذلك عوض نسخ القيم لما يتم استخدام المتغيرات، بحيث تحدث عملية استبدال للمعرف النصي للثابت بقيمته أثناء الترحمة (compile time) مباشرة.

+

على عكس المتغيرات، فإنه يجب إضافة نوع الثابت دائمًا عند تعريفه.

+

أسماء معرفات الثوابت دائما تكون بطريقة الثعبان كبيرة الأحرف SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_de.html b/07_de.html new file mode 100644 index 000000000..ed532d7b9 --- /dev/null +++ b/07_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstanten

+

Konstanten (const) erlauben uns einen Wert in der Kompilierzeit zu setzen, die in unserem Code eingesetzt +werden. Kompilierzeit ist hier das Stichwort: anstelle von Variablen sitzen dann an Orten, an denen +Konstanten eingestetzt werden, die Werte selbst.

+

Anders als bei Variablen muss bei Konstanten der Datentyp explizit angeben werden.

+

Die Namensgebung erfolgt generell in SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_en.html b/07_en.html new file mode 100644 index 000000000..e56cd9e52 --- /dev/null +++ b/07_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constants

+

Constants allow us to specify a common value that's used throughout +our code many times efficiently. Instead of copying values like variables +where they are used, constants directly replace the text identifier where they +are used with their value at compile time.

+

Unlike variables, constants must always have explicit types.

+

Constant names are always in SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_es.html b/07_es.html new file mode 100644 index 000000000..80f162d42 --- /dev/null +++ b/07_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constantes

+

Las constantes nos permiten especificar un valor común que se utiliza muchas veces a lo largo de nuestro código de manera eficiente. En vez de copiar valores como variables en el lugar donde se usan, las constantes reemplazan directamente el identificador de texto (donde se haya usado) por su valor en tiempo de compilación.

+

A diferencia de las variables, el tipo de las constantes se debe especificar explícitamente.

+

Los nombres de las constantes se escriben siempre en SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_fa.html b/07_fa.html new file mode 100644 index 000000000..60391fc02 --- /dev/null +++ b/07_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constants

+

Constants allow us to specify a common value that's used throughout +our code many times efficiently. Instead of copying values like variables +where they are used, constants directly replace the text identifier where they +are used with their value at compile time.

+

Unlike variables, constants must always have explicit types.

+

Constant names are always in SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_fi.html b/07_fi.html new file mode 100644 index 000000000..93556c15f --- /dev/null +++ b/07_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vakiot

+

Vakioilla voimme kuvata yhteisiä lukuja, joita käytetään tehokkaasti monessa paikassa koodia. Muuttujat varaavat tilaa suorituksen aikana, mutta vakiot suoraan korvaavat vakion käytön vakion arvolla jo käännösaikana.

+

Vakioiden tyyppi on aina annettava, päinvastoin kuin muuttujan tyyppi.

+

Vakioiden nimet ovat aina SCREAMING_SNAKE_CASE, kaikki kirjaimet isolla ja sanat erotettuna alaviivalla.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_fr.html b/07_fr.html new file mode 100644 index 000000000..89a991c57 --- /dev/null +++ b/07_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constantes

+

Les constantes permettent de spécifier une valeur qui sera utilisée +à plusieurs endroits du code et de manière efficiente. A la différence des variables, +rust remplace le nom des constantes par leur valeur lors de la compilation.

+

Le type des constantes doit être explicitement déclaré, ce qui n'est pas le cas pour +les variables.

+

Les noms de constantes sont toujours de la forme SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_gr.html b/07_gr.html new file mode 100644 index 000000000..6fe768317 --- /dev/null +++ b/07_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Σταθερές

+

Οι σταθερές μας επιτρέπουν να ορίσουμε μία συνήθη τιμή η οποία χρησιμοποιείται διαμέσω του κώδικά μας αποδοτικά. Αντί να αντιγράφονται τιμές όπως μεταβλητές εκεί όπου χρησιμοποιούνται, οι σταθερές αντικαθιστούν άμεσα το όνομα της μεταβλητής όπου χρησιμοποιούνται με την τιμή τους την ώρα της μετάφρασης.

+

Σε αντίθεση με τις μεταβλητές, οι τύποι δεδομένων των σταθερών πρέπει πάντοτε να δηλώνονται ρητά.

+

Τα ονόματα των σταθερών είναι πάντοτε γραμμένα με ΦΙΔΟ_ΚΕΦΑΛΑΙΑ.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_hu.html b/07_hu.html new file mode 100644 index 000000000..5fc963345 --- /dev/null +++ b/07_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstansok

+

A konstansok lehetővé teszik nekünk, hogy elnevezhessünk gyakran használt értékeket. Ahelyett, +hogy változók értékeit kézzel másolgatnánk oda, ahol azokat használjuk, a fordító lecseréli +helyettünk a konstansok nevét a megfelelő értékre.

+

A változókkal ellentétben a konstansoknak mindig explicit módon meg kell adnunk a típusát.

+

A konstansok neveit mindig ORDÍTÓ_KÍGYÓ_MÓDON adjuk meg.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_id.html b/07_id.html new file mode 100644 index 000000000..724dcc8b0 --- /dev/null +++ b/07_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstanta

+

Konstanta memperbolehkan kita untuk menentukan nilai yang serupa untuk +digunakan berkali-kali di sepanjang kode kita. Konstanta tidak menyalin +nilai seperti variabel biasa, tetapi konstanta secara langsung mengganti +teks pengidentifikasi dimana konstanta digunakan dengan nilai yang disimpan +oleh konstanta pada saat kompilasi.

+

Tidak seperti variabel, konstanta harus selalu mempunyai tipe data secara +explisit.

+

Nama konstanta selalu menggunakan HURUF_BESAR_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ie.html b/07_ie.html new file mode 100644 index 000000000..8ec701bd1 --- /dev/null +++ b/07_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constantes

+

Constantes possibilisa li specification de valores comun quel noi usa tra nor code con un eficientie mult vezes plu grand. Vice copiar valores quam variabiles chascun vez ú ili es usat, constantes remplazza li textu-identificator directmen con lor valore in li locs ú on usa les.

In contraste a variabiles, constantes deve sempre posseder un tip explicit

Nómines de constantes es sempre in SCREAMING_SNAKE_CASE (majuscules con infra-strecs)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_it.html b/07_it.html new file mode 100644 index 000000000..d09bb3985 --- /dev/null +++ b/07_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Costanti

+

Le costanti ci permettono di specificare un valore comune che verrà usato in più parti del codice +molte volte, in maniera efficiente, perchè il compilatore inserisce direttamente il valore della costante nel codice.

+

A differenza delle variabili, le costanti devono sempre avere il tipo esplicitato. +I nomi delle costanti sono sempre scritti nello stile MAIUSCOLO_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ja.html b/07_ja.html new file mode 100644 index 000000000..a059d1eda --- /dev/null +++ b/07_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

定数

+

定数を使用すると、コード全体で何度も使用される共通の値を効率的に指定できます。 +定数は、変数のように値が使われる場所でコピーするのではなく、コンパイル時に値が使われる場所の識別子を直接置き換えます。

+

変数とは異なり、定数は明示的な型指定が必要です。

+

定数名には大文字のスネークケース SCREAMING_SNAKE_CASE を使用します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ko.html b/07_ko.html new file mode 100644 index 000000000..d2b4cf3e4 --- /dev/null +++ b/07_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

상수

+

상수는 우리의 코드 내에서 여러번 사용되는 공통 값을 효과적으로 지정할 수 있게 해줍니다. +사용될 때 값이 복사되는 변수와 달리, 상수는 컴파일 타임에 텍스트 지정자를 직접 값으로 대체합니다.

+

변수와 달리, 상수는 반드시 명시적으로 자료형을 지정해야 합니다.

+

상수의 이름은 언제나 SCREAMING_SNAKE_CASE 형태로 짓습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ne.html b/07_ne.html new file mode 100644 index 000000000..ef25592fd --- /dev/null +++ b/07_ne.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constante

+

Constanten stellen ons in staat om op een efficiënte manier een waarde te specificeren die vaak in onze code wordt gebruikt. +In plaats van waarden te kopiëren, vervangen constanten op het moment van compilatie direct, +waar ze worden gebruikt, de tekstidentificator door zijn waarde. +In tegenstelling tot variabelen moet het type bij de declaratie expliciet aan +constanten worden opgegeven. De namen van constanten worden altijd geschreven in de vorm van +SCREAMING_SNAKE_CASE (bijv. MYFIRSTCONSTANT).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_pl.html b/07_pl.html new file mode 100644 index 000000000..d9bffbb97 --- /dev/null +++ b/07_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stałe

+

Stałe (ang. constants) pozwalają nam zdefiniować popularne wartości które mają być dostępne z wielu miejsc w naszym kodzie. Zamiast kopiować wartości, tak jakby to zwykle miało miejsce w przypadku normalnych zmiennych, w przypadku stałych kompilator już na etapie budowania naszego programu przekopiuje wartość stałej w każde miejsce gdzie została ona użyta.

+

W przeciwieństwie do zmiennych, stałe muszą zawsze mieć wyraźnie określony typ - nie ma tu miejsca na domysły ze strony kompilatora.

+

Nazwy stałych są zawsze pisane w stylu SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_pt-br.html b/07_pt-br.html new file mode 100644 index 000000000..538de4fb4 --- /dev/null +++ b/07_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constantes

+

As constantes nos permitem especificar um valor comum que pode ser usado muitas vezes por todo o nosso código de maneira eficiente. Ao invés de copiar os valores como variáveis onde serão utilizadas, as constantes substituirão o identificador de texto pelo seu valor onde quer que estejam sendo usadas em tempo de compilação.

+

Diferentemente das variáveis, o tipo das constantes devem ser sempre declarados.

+

Os nomes das constantes são sempre em SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ro.html b/07_ro.html new file mode 100644 index 000000000..2634fd024 --- /dev/null +++ b/07_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constante

+

Constantele ne permit să specificăm o valoare folosită uzual de-a lungul +codului nostru în mod eficient. În loc să copieze valori, constantele înlocuiesc direct, +acolo unde sunt utilizate, identificatorul de text cu valoarea sa, la momentul compilării.

+

Spre deosebire de variabile, constantelor trebuie să li se specifice explicit tipul la declarare.

+

Numele constantelor sunt mereu scrise în format SCREAMING_SNAKE_CASE (ex: MY_FIRST_CONSTANT).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ru.html b/07_ru.html new file mode 100644 index 000000000..0f0f809f9 --- /dev/null +++ b/07_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Константы (Constants)

+

Константы (ключевое слово const) позволяют указать общее значение, которое можно продуктивно использовать много раз в коде. Вместо копирования значения, как в случае переменных, константа напрямую заменяет текстовый идентификатор в месте ее использования на значение константы во время компиляции.

+

В отличие от переменных, константы всегда должны иметь явно объявленный тип.

+

Имена констант всегда пишутся в верхнем регистре SCREAMING_SNAKE_CASE

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_th.html b/07_th.html new file mode 100644 index 000000000..241c0042b --- /dev/null +++ b/07_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ค่าคงที่

+

ค่าคงที่ช่วยให้เรากำหนดค่ากลางที่ใช้ร่วมกันบ่อยๆ ได้อย่างมีประสิทธิภาพ แทนที่จะคัดลอกค่าไปใช้แบบที่ตัวแปรทำ ค่าคงที่จะใช้วิธีแทนที่ค่าไปในข้อความเลยตรงๆ ตั้งแต่ตอน compile time

+

สิ่งที่ไม่เหมือนกับตัวแปรคือ ค่าคงที่จะต้องระบุ type เสมอ

+

การตั้งชื่อค่าคงที่จะอยู่ในรูปแบบ SCREAMING_SNAKE_CASE เสมอ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_tr.html b/07_tr.html new file mode 100644 index 000000000..35e402b07 --- /dev/null +++ b/07_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sabitler

+

Sabitler, kodumuzun çeşitli yerlerinde verimli şekilde kullanabilen değerleri tanımlamamıza izin verirler. Derleme sırasında sabitlerin adları tuttukları değerle değiştirildiğinden, bellekte kalıcı bir adresleri bulunmaz. Bu nedenle aynı sabite yapılan farklı başvuruların aynı hafıza adresine erişeceği garanti edilmez.

+

Değişkenlerin aksine sabitler tür açıklamaları yapılarak bildirilmeli ve daima tüm harflerin büyük olarak yazıldığı SCREAMING_SNAKE_CASE biçiminde ifade edilmelidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_ua.html b/07_ua.html new file mode 100644 index 000000000..f736f5394 --- /dev/null +++ b/07_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Константи

+

Константи дозволяють нам вказувати значення, які будуть ефективно використані в багатьох місцях і багато разів. Замість копіювання значень в місці їх використання, як, наприклад, для змінних, константні значення будут підставлені замість текстових ідентифікаторів змінних під час компіляції.

+

На відміну від змінних, тип констант завжди має бути вказаний явно.

+

Константи мають бути іменовані в SCREAMING_SNAKE_CASE реєстрі.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_vi.html b/07_vi.html new file mode 100644 index 000000000..6b4d38922 --- /dev/null +++ b/07_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hằng

+

Kiểu hằng(hay hằng số) cho phép chúng ta chỉ định một giá trị chung được sử dụng nhiều lần trong code của chúng ta một cách hiệu quả. Thay vì phải sao chép các giá trị tới những nơi chúng ta muốn nhiều lần, hằng số thay thế trực tiếp mã định danh nơi chúng được sử dụng bằng giá trị của chúng tại thời điểm biên dịch.

+

Không như biến, hằng số phải được khai báo kiểu một cách rõ ràng.

+

Khi khai báo hằng, chúng ta nên đặt tên chúng viết HOA tất cả các kí tự.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_zh-cn.html b/07_zh-cn.html new file mode 100644 index 000000000..7031d3fe7 --- /dev/null +++ b/07_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

常量

+

常量允许我们高效地指定一个在代码中会被多次使用的公共值。不同于像变量一样在使用的时候会被复制,常量会在编译期间直接用它们的值来替换变量的文本标识符。

+

不同于变量,常量必须始终具有显式的类型。

+

常量名总是遵循 全大写蛇形命名法(SCREAMING_SNAKE_CASE)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/07_zh-tw.html b/07_zh-tw.html new file mode 100644 index 000000000..1be758c89 --- /dev/null +++ b/07_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

常數 (Constant)

+

常數(Constant)讓我們可以定義一些常用的值,在程式中有效地重覆使用。 +跟變數不同,常數的值不會在運行的時候把值複製到使用的地方。 編譯器會在編譯時直接以字串取代的方法把值取代常數。 +跟變數不同,常數的數據類型是必須指明的。

+

常數通常是以 SCREAMING_SNAKE_CASE 命名的。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_al.html b/08_al.html new file mode 100644 index 000000000..1ccd017d8 --- /dev/null +++ b/08_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vargjet

+

Një array/varg është një përmbledhje me gjatësi fikse të elementeve të të dhënave të gjitha të te njëjta + lloji.

+

Lloji i të dhënave për një array është [T;N] ku T është lloji i elementeve dhe N + është gjatësia fikse e njohur në kohën e përpilimit.

+

Elementet individuale mund të merren me operatorin [x] ku x është a + indeksi usize (duke filluar nga 0) i elementit që dëshironi.

+

Koleksionet me gjatësi dinamike, të quajtura shpesh vargje dinamike ose të ndryshueshme, janë + prezantuar në një kapitull të mëvonshëm rreth Vektorëve.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ar.html b/08_ar.html new file mode 100644 index 000000000..c1bb085cf --- /dev/null +++ b/08_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المصفوفات (Arrays)

+

المصفوفة (array) هي مجموعة ثابتة الطول من عناصر البيانات كلها لها نفس النوع.

+

نوع البيانات للـ مصفوفة (array) يكتب بهذا الشكل [T;N] حيث T هو نوع العناصر و N يمثل الطول الثابت والمعلوم أثناء ترجمة البرنامج (compile-time).

+

يمكن إستخراج عناصر بشكل فردي عن طريق كتابة عامل بهذا الشكل [x] وتمثل x عدد من نوع usize (عدد صحيح موجب) يشير إلى ترتيب العنصر في فهرس (index) المصفوفة ويبدأ من 0.

+

أما بالنسبة للمجموعات ذات الأطوال المتغيرة فتسمى غالبا بالمصفوفات المتغير (variable arrays) أو الديناميكية (dynamic arrays)، سيتم التطرق إليها لاحقا في فصل يتحدث حول Vectors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_de.html b/08_de.html new file mode 100644 index 000000000..09508fe9f --- /dev/null +++ b/08_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Ein Array ist eine Kollektion von Datenelementen vom selben Datentyp mit festgelegter Länge.

+

Der Datentyp eines Arrays wird [T;N] geschrieben. T ist der Datentyp der Arrayelemente und N ist die festgelegte Länge dieser zur Compile-Zeit.

+

Einzelne Elemente können mit dem [x] Operator abgerufen werden, in welchem x den usize Index (beginnend bei 0) des gesuchten Elementes darstellt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_en.html b/08_en.html new file mode 100644 index 000000000..6937dd1f7 --- /dev/null +++ b/08_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

An array is a fixed length collection of data elements all of the same type.

+

The data type for an array is [T;N] where T is the elements' type, and N is the fixed length known at compile-time.

+

Individual elements can be retrieved with the [x] operator where x is a usize index (starting at 0) of the element you want.

+

Collections with a dynamic length, often called dynamic or variable arrays, are introduced in a later chapter about Vectors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_es.html b/08_es.html new file mode 100644 index 000000000..c310dea9b --- /dev/null +++ b/08_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Un array es una colección de longitud fija de elementos de datos del mismo tipo.

+

El tipo de datos para un array es [T;N] siendo T el tipo del elemento, y N la longitud fija conocida en tiempo de compilación.

+

Los elementos individuales se pueden recuperar con el operador [x], siendo x un índice de tipo usize (empezando por 0) del elemento que quieras.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_fa.html b/08_fa.html new file mode 100644 index 000000000..da124fa2e --- /dev/null +++ b/08_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

An array is a fixed length collection of data elements all of the same type.

+

The data type for an array is [T;N] where T is the elements' type, and N is the fixed length known at compile-time.

+

Individual elements can be retrieved with the [x] operator where x is a usize index (starting at 0) of the element you want.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_fi.html b/08_fi.html new file mode 100644 index 000000000..7f4544296 --- /dev/null +++ b/08_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Taulukot

+

Taulukko on kiinteän mittainen kokoelma elementtejä, jotka ovat kaikki samaa tyyppiä.

+

Taulukon tyyppi on [T;N] missä T on elementtien tyyppi, ja N on taulukon kiinteä pituus, joka tiedetään käännösaikana.

+

Yksittäisiin elementteihin pääsee käsiksi operaattorilla [x], missä x on usize-tyyppinen indeksi taulukon haluttuun elementtiin (alkaen indeksistä 0).

+

Vaihtuvanmittaiset kokoelmat, dynaamisesti kasvavat taulukot, esitellään myöhemmin kappaleessa vektoreista.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_fr.html b/08_fr.html new file mode 100644 index 000000000..957f06fe3 --- /dev/null +++ b/08_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tableaux

+

Un tableau est une collection de taille fixe (celle-ci doit être +connue à la compilation) contenant des éléments du même type.

+

Le type d'un tableau est [T;N] où T est le type de l'élément +et N est la taille du tableau.

+

Chaque élément du tableau peut être récupéré avec la syntaxe [x]x est +l'index de type usize (commençant à 0) de l'élément à récupérer.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_gr.html b/08_gr.html new file mode 100644 index 000000000..609d1972d --- /dev/null +++ b/08_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Πίνακες

+

Ένας πίνακας είναι μία συλλογή δεδομένων που έχουν όλα τον ίδιο τύπο, με πάγιο μήκος.

+

Ο τύπος δεδομένων ενός πίνακα είναι [T;N], όπου T ο τύπος των στοιχείων, και N το πάγιο μήκος του πίνακα γνωστό την ώρα της μετάφρασης.

+

Μεμονωμένα στοιχεία μπορούν να προσπελαστούν με τον τελεστή [x] όπου x είναι ένας αύξων αριθμός usize που δηλώνει το ποιο στοιχείο θέλουμε, ξεκινώντας απ' το 0.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_hu.html b/08_hu.html new file mode 100644 index 000000000..f0c834299 --- /dev/null +++ b/08_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tömbök

+

Egy tömb egy olyan azonos típusú elemeket tartalmazó csoport, aminek a hossza (elemeinek +száma) megváltoztathatatlan.

+

A tömbök típusa [T;N], ahol T az elemek típusa és N pedig a hossza, amit fordításkor már +tudnunk kell.

+

Egyes elemek elérhetőek a [x] operátorral, ahol x egy usize indexe +(0-val kezdődő sorszáma) annak az elemnek, amit szeretnél.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_id.html b/08_id.html new file mode 100644 index 000000000..066a60e85 --- /dev/null +++ b/08_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Sebuah array adalah koleksi dari elemen data yang mempunyai tipe data yang sama dan panjang yang tetap.

+

Tipe data untuk array adalah [T;N] dimana T adalah tipe data elemen dan N adalah panjang array yang diketahui pada saat kompilasi.

+

Setiap elemen dapat diambil dengan menggunakan operator [x] dimana x adalah indeks usize (dimulai dari 0) dengan elemen yang kamu mau.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ie.html b/08_ie.html new file mode 100644 index 000000000..271afafad --- /dev/null +++ b/08_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Un array (un arangeament o un tabló) es un colection de longore fixat con data-elementes con li sam tip.

+

Li tip de data por un array es [T;N] ú T es li tip del elementes, e N es li longore fixat quel on save quande on compila.

+

Singul elementes posse esser retrovat con li operator [x] ú x es un index de usize (comensant con 0) del element quel +on desira accesser.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_it.html b/08_it.html new file mode 100644 index 000000000..c372790ef --- /dev/null +++ b/08_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Array

+

Un array è una lista di lunghezza fissa di dati, tutti dello stesso tipo.

+

Il tipo dati per un array è [T;N] dove T è il tipo degli elementi, e N è la lunghezza fissa, nota a tempo di compilazione.

+

Ogni elemento può essere recuperato con l'operatore [x] dove x è l'indice usize (partendo da 0) dell'elemento che ti serve.

+

Le collezioni a lunghezza dinamica, spesso chiamati array dinamici o array variabili, saranno introdotte in un capitolo successivo quando parleremo dei Vettori

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ja.html b/08_ja.html new file mode 100644 index 000000000..a058672d2 --- /dev/null +++ b/08_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

配列

+

配列は、データ要素がすべて同じ型の固定長コレクションです。

+

配列のデータ型は [T;N] であり、T は要素の型、N はコンパイル時に決まる固定長です。

+

個々の要素は [x] 演算子によって取得できます。ここで x は取り出そうとする要素の usize 型のインデックス(0 始まり)です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ko.html b/08_ko.html new file mode 100644 index 000000000..c5b83b287 --- /dev/null +++ b/08_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

배열

+

배열(array)은 고정된 길이로 된 모두 같은 자료형의 자료를 가진 collection입니다.

+

array의 자료형은 [T;N]로 표현하며, 여기서 T는 원소의 자료형, N은 컴파일 타임에 주어지는 고정된 길이입니다.

+

각각의 원소는 [x] 연산자로 가져올 수 있는데, 여기서 x는 여러분이 원하는 원소의 (0에서부터 시작하는) usize 형의 인덱스입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ne.html b/08_ne.html new file mode 100644 index 000000000..35ca39e0e --- /dev/null +++ b/08_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Een array is een verzameling van een vaste grootte van elementen die gegevens van hetzelfde type bevatten. +Het gegevenstype voor een array wordt geschreven als [T;N], waar T het type van de elementen vertegenwoordigt, en N de vaste grootte die bekend is bij compilatie. +Individuele elementen kunnen worden benaderd met behulp van de operator [x], waarbij x een usize-index (beginnend bij 0) is van het element dat u wilt benaderen. +Verzamelingen met een dynamische grootte, vaak aangeduid als dynamische arrays of vectoren, zullen aan u worden gepresenteerd in een later hoofdstuk genaamd Vectoren.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_pl.html b/08_pl.html new file mode 100644 index 000000000..f93b267c1 --- /dev/null +++ b/08_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tablice

+

Tablica to kolekcja o stałej długości której wszystkie elementy są tego samego typu.

+

Typ danych dla danej tablicy to [T;N], gdzie T to typ elementów tablicy, a N to stała długość tej tablicy znana na etapie kompilacji.

+

Poszczególne elementy mogą pobrane z tablicy z wykorzystaniem operatora [x], gdzie x to indeks elementu który chcemy odczytać. Typ indeksu x to usize (zaczyna się od 0).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_pt-br.html b/08_pt-br.html new file mode 100644 index 000000000..230ff5ff1 --- /dev/null +++ b/08_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Uma array é uma coleção de tamanho fixo de elementos, cujos valores são todos do mesmo tipo.

+

O tipo de dado para uma array é [T;N], onde T é o tipo dos valores e N é o comprimento fixo conhecido em tempo de compilação.

+

Os elementos podem ser recuperados individualmente com o operador [x], onde x é o índice do tipo usize (começando de 0) do elemento que deseja recuperar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ro.html b/08_ro.html new file mode 100644 index 000000000..44175126d --- /dev/null +++ b/08_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tablouri

+

Un tablou este o colecție de dimensiune fixă de elemente care conțin date de același tip.

+

Tipul de date pentru un tablou este scris sub forma [T;N], unde T reprezintă tipul elementelor, iar N reprezintă dimensiunea fixă cunoscută la momentul compilării.

+

Elemente individuale pot fi accesate cu ajutorul operatorului [x], unde x este un index usize (începând cu 0) al elementului pe care doriți să-l accesați.

+

Colecțiile cu dimensiune dinamică, deseori numite tablouri dinamice sau variabile, vă vor fi prezentate într-un capitol viitor numit Vectori.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ru.html b/08_ru.html new file mode 100644 index 000000000..8da4f6a96 --- /dev/null +++ b/08_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Массивы (Arrays)

+

Массив - это коллекция с фиксированным количеством элементов данных одинакового типа.

+

Тип данных массив объявляется как [T; N], где T - тип элементов и N - количество элементов в массиве, заранее известное при компиляции.

+

Получить доступ к элементам массива можно с помощью оператора [x], где x является индексом типа usize (массив всегда начинается с 0 индекса) для желаемого элемента.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_th.html b/08_th.html new file mode 100644 index 000000000..4b6c1aa95 --- /dev/null +++ b/08_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

array คือกลุ่มของข้อมูลที่มี type เดียวกัน และมีขนาดที่แน่นอน

+

ชนิดข้อมูลสำหรับ array คือ [T;N] โดย T คือ type ของสมาชิก และ N คือขนาดที่ถูกกำหนดให้รับรู้ตั้งแต่ compile-time

+

การดึงข้อมูลแต่ละตัวออกมา ทำได้ด้วยการใช้ตัวดำเนินการ(operator) [x] โดยที่ x คือ usize index (เริ่มต้นที่เลข 0) ที่คุณต้องการ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_tr.html b/08_tr.html new file mode 100644 index 000000000..441edabef --- /dev/null +++ b/08_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Diziler

+

Dizi, aynı tür öğelerden oluşan, sabit boyutlu bir koleksiyon türüdür.

+

Dizinin veri türü [T; N] olarak temsil edilir. T burada öğenin türünü gösterirken, N derleme zamanında bilinen sabit uzunluğunu ifade eder.

+

Dizinleri usize türünde ve 0'dan başlayan dizi öğelerine erişmek için dizi[x] söz dizimi kullanılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_ua.html b/08_ua.html new file mode 100644 index 000000000..d5d3c07f1 --- /dev/null +++ b/08_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Масиви

+

Масив - це колекція фіксованої довжини, де усі елементи представляють один і той же тип даних.

+

Тип даних масив позначається як [T;N], де Т - тип даних елемента, а N - фіксована довжина, що відома під час компіляції.

+

Кожен окремий елемент можна отримати за допомогою оператора [x], де x - індекс типу usize (починається з 0), який вказує на бажаний елемент.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_vi.html b/08_vi.html new file mode 100644 index 000000000..9ee2125a8 --- /dev/null +++ b/08_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mảng

+

Một Mảng là một tập hợp độ dài cố định của tất cả các phần tử dữ liệu cùng kiểu.

+

Kiểu dữ liệu cho một mảng[T; N] trong đó T là kiểu của các phần tử và N là độ dài cố định đã biết tại thời điểm biên dịch.

+

Các phần tử riêng lẻ có thể được truy xuất bằng toán tử [x] trong đó x là chỉ số usize (bắt đầu từ 0) của phần tử bạn muốn.

+

Các tập hợp có độ dài động, thường được gọi là mảng động hoặc mảng biến, được giới thiệu trong chương sau về Vectơ.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_zh-cn.html b/08_zh-cn.html new file mode 100644 index 000000000..0a3f25336 --- /dev/null +++ b/08_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

数组

+

数组是所有相同类型数据元素的固定长度集合。

+

一个数组的数据类型是 [T;N],其中 T 是元素的类型,N 是编译时已知的固定长度。

+

可以使用 [x] 运算符提取单个元素,其中 x 是所需元素的 usize 索引(从 0 开始)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/08_zh-tw.html b/08_zh-tw.html new file mode 100644 index 000000000..521f80c3b --- /dev/null +++ b/08_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

陣列 (Array)

+

陣列(Array) 是一個固定長度的數據集。裡面只會放著同一種類型的值。 +陣列 類型是以 [T;N] 來宣告。T 是數據元件的類型,而 N 是在編譯時已經知道的陣列長度。

+

陣列 中的數據元件可以透過[x] 來提取。 x 是一個由零開始計的 usize 類索引。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_al.html b/09_al.html new file mode 100644 index 000000000..d3da00c8d --- /dev/null +++ b/09_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funksionet

+

Një funksion ka zero ose më shumë parametra.

+

Në këtë shembull, funksioni add merr dy argumente të tipit i32 + (numër i plotë i nënshkruar me gjatësi 32-bit).

+

Nëse thjesht dëshironi të ktheni një shprehje, mund të hiqni fjalën kyçe "kthim". + dhe pikëpresjes në fund, siç bëmë në funksionin zbris.

+

Emrat e funksioneve janë gjithmonë në snake_case.

+

Këshillë: nëse përcaktoni një funksion, të dhënat që ai pranon quhen parametra. + Nëse e thërrisni atë funksion dhe i kaloni të dhëna, atëherë ai quhet argumente.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_ar.html b/09_ar.html new file mode 100644 index 000000000..3eb8e64f6 --- /dev/null +++ b/09_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الدوال (Functions)

+

تُعرَّف الدوال باستخدام الكلمة المفتاحية fn ويمكن أن تحمل صفر أو عدة معلمات (parameters) وهي التي تكون محاطة بالأقواس.

+

في هذا المثال، الدالة add تأخذ وسيطتين (arguments) من نوع i32 (عدد صحيح بإشارة ذو طول 32 بت).

+

إذا اردت إرجاع عبارة (expression)، يمكنك الإستغناء عن الكلمة المفتاحية return و الفاصلة المنقوطة (semicolon) في آخر السطر، كما هو مبين في المثال مع الدالة subtract.

+

أسماء معرفات الدوال دائما تكون بطريقة الثعبان snake_case.

+

تلميح: إذا قمت بتعريف دالة، فإن البيانات التي تقبلها تدعى بـالمعلمات(parameters). وإذا قمت بإستدعاءالدالة ومررت لها بيانات فإنها حينئذ تدعى بالوسيطات (arguments). إذا المعلمة هي المتغير المدرج داخل الأقواس في تعريف الدالة. أما الوسيطة هي القيمة التي يتم إرسالها إلى الدالة عند استدعائها.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_de.html b/09_de.html new file mode 100644 index 000000000..a5ea013a8 --- /dev/null +++ b/09_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funktionen

+

Eine Funktion kann eine beliebige (nicht-negative) Anzahl an Argumenten bzw. Parametern aufnehmen.

+

In diesem Beispiel verlangt die Funktion add zwei Parameter vom Typ i32 (32 Bit Ganzzahl). Wenn du lediglich einen Ausdruck zurückgibst, kannst du das return Schlüsselwort und das Semikolon am Ende weglassen, wie wir es bei der subtract Funktion getan haben.

+

Funktionsnamen sollten im snake_case Format vergeben werden.

+

Hinweis: Wenn man eine Funktion deklariert, dann spricht man bei den Daten, die die Funktion aktzeptiert, von Parametern. Ruft man die Funktion dann auf und übergibt ihr Daten, dann spricht man von Argumenten.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_en.html b/09_en.html new file mode 100644 index 000000000..438234d13 --- /dev/null +++ b/09_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functions

+

A function has zero or more parameters.

+

In this example, the add function takes two arguments of type i32 (signed integer of 32-bit length).

+

If you just want to return an expression, you can drop the return keyword and the semicolon at the end, as we did in the subtract function.

+

Function names are always in snake_case.

+

Hint: if you define a function, the data it accepts are called parameters. If you call that function and pass data to it, then it's called arguments.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_es.html b/09_es.html new file mode 100644 index 000000000..624b16769 --- /dev/null +++ b/09_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funciones

+

Una función tiene cero o más parámetros.

+

En este ejemplo, "add" recibe dos argumentos de tipo i32 (entero de 32 bits).

+

Los nombres de las funciones se escriben siempre en snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_fa.html b/09_fa.html new file mode 100644 index 000000000..a73f4d5a8 --- /dev/null +++ b/09_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functions

+

A function has zero or more parameters.

+

In this example, add takes two arguments of type i32 (signed integer of 32-bit +length).

+

Function names are always in snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_fi.html b/09_fi.html new file mode 100644 index 000000000..aa386ede3 --- /dev/null +++ b/09_fi.html @@ -0,0 +1,51 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funktiot

+

Fuktiolla on nolla tai enemmän parametreja.

+

Tässä erimerkissä, funktio add saa kaksi parametriä, joiden tyyppi on i32 (etumerkillinen 32-bittinen kokonaisluku).

+

Jos haluat palauttaa vain lausekkeen arvon funktion lopussa, voit jättää pois return-avainsanan ja puolipisteen, kuten subtract-funktiossa.

+

Funktion nimet ovat aina snake_case.

+

Huomaa: Kun määrittelet funktion, sen saamia tietoja sanotaan parametreiksi. Kun kutsut funktiota ja annat sille tietoja, niitä sanotaan argumenteiksi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_fr.html b/09_fr.html new file mode 100644 index 000000000..44d086e1e --- /dev/null +++ b/09_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fonctions

+

Une fonction peut posséder 0 à plusieurs paramètres.

+

Dans cet exemple, la fonction add accepte 2 arguments de type i32 (entier +de longueur 32-bit).

+

Les noms de fonctions sont toujours de la forme snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_gr.html b/09_gr.html new file mode 100644 index 000000000..b6447b4fb --- /dev/null +++ b/09_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Συναρτήσεις

+

Μία συνάρτηση μπορεί να έχει μηδέν ή περισσότερες παραμέτρους.

+

Σ' αυτό το παράδειγμα, η συνάρτηση add δέχεται δύο ορίσματα τύπου i32, ήτοι προσημασμένους 32bitους ακεραίους.

+

Τα ονόματα των συναρτήσεων είναι πάντοτε σε φιδο_πεζά.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_hu.html b/09_hu.html new file mode 100644 index 000000000..1f2ed2c59 --- /dev/null +++ b/09_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Függvények

+

A függvényeknek nulla vagy több paraméterük van.

+

Ebben a példában az add két i32 (32 bit hosszú előjeles szám) paramétert vár.

+

A függvények nevei mindig kígyó_módon vannak megadva.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_id.html b/09_id.html new file mode 100644 index 000000000..f2c1f6365 --- /dev/null +++ b/09_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fungsi

+

Sebuah fungsi memepunyai parameter dengan jumlah nol atau lebih.

+

Di dalam contoh ini, add membutuhkan dua argumen dengan tipe data i32 (signed integer dengan panjang 32-bit).

+

Nama fungsi selalu menggunakan snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_ie.html b/09_ie.html new file mode 100644 index 000000000..682cdc528 --- /dev/null +++ b/09_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functiones

+

Un function posse prender null o plu argumentes.

In ti-ci exemple, adddir prende du parametres del tip i32 (integer (númere integrale) del longore 32-bit).

Nómines de functiones es sempre in snake_case (minuscules con infra-strecs)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_it.html b/09_it.html new file mode 100644 index 000000000..1188f2828 --- /dev/null +++ b/09_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funzioni

+

Una funzione può avere zero o più parametri.

+

In questo esempio, la funzione add richiede due argomenti di tipo i32 (interi con segno di 32-bit).

+

Se vuoi solo ritornare una espressione, puoi tralasciare la parola chiave return e il punto-e-virgola alla fine, come abbiamo fatto nella funzione subtract .

+

I nomi delle funzioni sono sempre in snake_case.

+

Chiarimento: quando definisci una funzione, i dati che accetta si chiamano parametri. Quando chiami la funzione passandogli dei dati, allora li chiameremo argomenti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_ja.html b/09_ja.html new file mode 100644 index 000000000..6a0cf3189 --- /dev/null +++ b/09_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数

+

関数には 0 個以上の引数があります。

+

この例では、add は i32 型(32 ビット長の整数)の引数を 2 つ取ります。

+

関数名にはスネークケース snake_case を使用します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_ko.html b/09_ko.html new file mode 100644 index 000000000..1c43f5af6 --- /dev/null +++ b/09_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

함수

+

함수는 0개 또는 그 이상의 인자를 가집니다.

+

이 예제에서 add 함수는 i32 (32비트 길이의 부호가 있는 정수형) 자료형의 인자 2개를 받습니다.

+

함수의 이름은 언제나 snake_case 형태로 짓습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_ne.html b/09_ne.html new file mode 100644 index 000000000..04c623011 --- /dev/null +++ b/09_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functies

+

Een functie kan nul of meer parameters accepteren. +In dit voorbeeld accepteert de functie add twee parameters van het type i32 (een getal met teken van 32 bits). +Bij het retourneren van een expressie kunnen het sleutelwoord 'return' en de puntkomma aan het einde worden weggelaten, zoals gedaan is in de functie subtract. +De namen van functies worden altijd geschreven in de vorm van snake_case. +Hint: als u een functie definieert, worden de gegevens die het accepteert formele parameters genoemd. Als u een functie aanroept en gegevens doorgeeft, worden ze actuele parameters genoemd.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_pl.html b/09_pl.html new file mode 100644 index 000000000..26324a7a0 --- /dev/null +++ b/09_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funkcje

+

Funkcja posiada zero lub więcej parametrów.

+

W naszym przykładzie, add bierze dwa argumenty typu i32 (liczby całkowitej ze znakiem, o długości 32 bitów).

+

Nazwy funkcji są zawsze zapisywane stylem snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_pt-br.html b/09_pt-br.html new file mode 100644 index 000000000..a569cf962 --- /dev/null +++ b/09_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funções

+

Uma função pode receber zero ou mais parâmetros.

+

Neste exemplo, add recebe dois parâmetros do tipo i32 (número inteiro de 32 bits).

+

Os nomes das funções são sempre em snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_ro.html b/09_ro.html new file mode 100644 index 000000000..aa5f387b4 --- /dev/null +++ b/09_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funcții

+

O funcție admite zero sau mai mulți parametri.

+

În acest exemplu, funcția add admite doi parametri de tip i32 (număr întreg cu semn cu dimensiune de 32 de biți).

+

La returnarea unei expresii se poate omite cuvântul cheie return și simbolul punct-virgulă de la final, așa cum s-a procedat în funcția subtract.

+

Numele funcțiilor sunt mereu scrise în format snake_case.

+

Sfat: dacă definiți o funcție, datele pe care le admite se numesc parametrii formali. Dacă apelați o funcție și îi transmiteți niște date, atunci ele se numesc parametrii actuali.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_ru.html b/09_ru.html new file mode 100644 index 000000000..51c35e09f --- /dev/null +++ b/09_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Функции (Functions)

+

Функция может принимать ноль или больше аргументов.

+

В этом примере функция add принимает два аргумента типа i32 +(целочисленное длиной 32 бита).

+

Имена функций всегда пишутся в нотации snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_th.html b/09_th.html new file mode 100644 index 000000000..eac0c85bb --- /dev/null +++ b/09_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functions

+

ฟังก์ชัน มีพารามิเตอร์ได้ศูนย์ตัวหรือมากกว่านั้น

+

ในตัวอย่างนี้ ฟังก์ชัน add รับอากิวเมนต์ประเภท i32 (signed integer of 32-bit +length)

+

ชื่อฟังก์ชันจะเป็น snake_case เสมอ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_tr.html b/09_tr.html new file mode 100644 index 000000000..26fb51b19 --- /dev/null +++ b/09_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

İşlevler

+

Bir işlev herhangi bir sayıda parametreye sahip olabilir.

+

Bu örnekte, ekle işlevi, i32 yani 32 bit tam sayı türünde iki parametre kabul eder.

+

İşlev isimleri her zaman snake_case biçiminde tercih edilmelidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_ua.html b/09_ua.html new file mode 100644 index 000000000..a741131ad --- /dev/null +++ b/09_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Функції

+

Функції можуть не мають жодного, мати один або більше аргументів.

+

В цьому прикладі функція add приймає два аргументи типу i32 (цілочисельний зі знаком довжини в 32 біти).

+

Функції мають бути іменовані snake_case реєстрі.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_vi.html b/09_vi.html new file mode 100644 index 000000000..07e48f857 --- /dev/null +++ b/09_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hàm

+

Một hàm có thể không có hoặc có nhiều tham số.

+

Trong ví dụ này, hàm add nhận hai đối số kiểu i32 (số nguyên có dấu có độ dài 32 bit).

+

Nếu bạn chỉ muốn trả về một biểu thức, bạn có thể bỏ từ khóa return và dấu chấm phẩy ở cuối, như chúng ta đã làm trong hàm subtract.

+

Tên hàm luôn ở dạng snake_case..

+

Mẹo: nếu bạn định nghĩa một hàm, dữ liệu mà nó chấp nhận được gọi là tham số. Nếu bạn gọi hàm đó và truyền dữ liệu cho nó, thì nó được gọi là các đối số.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_zh-cn.html b/09_zh-cn.html new file mode 100644 index 000000000..dca76aa2a --- /dev/null +++ b/09_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

函数

+

函数可以有 0 个或者多个参数。

+

在这个例子中,add 接受类型为 i32(32 位长度的整数)的两个参数。

+

函数名总是遵循 蛇形命名法 (snake_case)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/09_zh-tw.html b/09_zh-tw.html new file mode 100644 index 000000000..3fc263fad --- /dev/null +++ b/09_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

函數 (Functions)

+

函數(Functions)的參數數量可以從沒有到多個都可以 +在這個例子中, add 有兩個 i32 類型的參數 (有符號的 32-bit 整數) +函數的名字通常是使用 snake_case 來命名。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_al.html b/100_al.html new file mode 100644 index 000000000..7e511641b --- /dev/null +++ b/100_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_ar.html b/100_ar.html new file mode 100644 index 000000000..54d0c7416 --- /dev/null +++ b/100_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

عد المراجع (Referencing Counting)

+

Rc هو مؤشر ذكي (smart pointer) ينقل البيانات من المكدس (stack) إلى الكومة (heap). فهو يسمح لنا باستنساخ (clone) مؤشرات ذكية أخرى من نوع Rc تتمتع جميعها بالقدرة على استعارة غير قابلة للتغيير للبيانات التي تم وضعها في الكومة.

+

فقط عندما يتم إسقاط (drop) المؤشر الذكي (smart pointer) الأخير، فإنه يتم إلغاء تخصيص (deallocated) البيانات الموجودة في الكومة (heap).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_de.html b/100_de.html new file mode 100644 index 000000000..e9f1eb410 --- /dev/null +++ b/100_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_en.html b/100_en.html new file mode 100644 index 000000000..834113710 --- /dev/null +++ b/100_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_es.html b/100_es.html new file mode 100644 index 000000000..1454fb766 --- /dev/null +++ b/100_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rc (Referencing Counting)

+

Rc es un puntero inteligente que mueve los datos de la pila al montículo. Nos permite clonar otros punteros inteligentes Rc que tienen la capacidad de tomar prestados de forma inmutable los datos que se colocaron en el montículo.

+

Sólo cuando se libera (drop) el último puntero inteligente, los datos en el montículo se liberan.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_fa.html b/100_fa.html new file mode 100644 index 000000000..5bd2286e8 --- /dev/null +++ b/100_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_fi.html b/100_fi.html new file mode 100644 index 000000000..ae556275d --- /dev/null +++ b/100_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_fr.html b/100_fr.html new file mode 100644 index 000000000..d28e40955 --- /dev/null +++ b/100_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-propriétaire

+

Rc (en anglais Reference Counting) est un pointeur intelligent qui +déplace les données de la pile vers le tas. Celui-ci peut être cloné +et permet d'emprunter immuablement les données se trouvant sur le tas.

+

Ce n'est que lorsque le dernier pointeur intelligent est déalloué que les +données du tas sont désallouées.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_gr.html b/100_gr.html new file mode 100644 index 000000000..a504fe96f --- /dev/null +++ b/100_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_hu.html b/100_hu.html new file mode 100644 index 000000000..1987da98a --- /dev/null +++ b/100_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciaszámlálás

+

Az Rc egy olyan okos mutató, ami a veremből a kupacmemóriára mozgat adatot. Lehetővé teszi +számunkra, hogy további Rc mutatókat klónozzunk belőle, amik a kupacra mozgatott adatunkat +képesek - módosítást nem megengedő módon - kölcsönvenni.

+

Amikor az utolsó okos mutató is drop-ol, a kupacmemóriában lévő adat felszabadításra kerül.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_id.html b/100_id.html new file mode 100644 index 000000000..7f1f76607 --- /dev/null +++ b/100_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_ie.html b/100_ie.html new file mode 100644 index 000000000..f9162b311 --- /dev/null +++ b/100_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Numerotar Referenties

+

Rc es un puntator inteligent quel move data del stack til li heap. Con it noi posse clonar altri +puntatores Rc queles possede li habilitá de ínmutabilmen pruntar li data plazzar sur li heap. +Li dealocation del data sur li heap eveni solmen pos que li ultim puntator inteligent cade.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_it.html b/100_it.html new file mode 100644 index 000000000..1703e22a0 --- /dev/null +++ b/100_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_ja.html b/100_ja.html new file mode 100644 index 000000000..9accecbd5 --- /dev/null +++ b/100_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_ko.html b/100_ko.html new file mode 100644 index 000000000..bf81d4284 --- /dev/null +++ b/100_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조 카운팅

+

Rc는 stack에 있는 데이터를 heap으로 옮겨주는 smart pointer입니다. +이는 heap에 놓인 데이터를 immutable하게 대여하는 기능을 가진 다른 Rc smart pointer들을 복제할 수 있게 해줍니다.

+

마지막 smart pointer가 drop 될 때에만 heap에 있는 데이터가 할당 해제됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_ne.html b/100_ne.html new file mode 100644 index 000000000..9a500a940 --- /dev/null +++ b/100_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_pl.html b/100_pl.html new file mode 100644 index 000000000..0ab54801e --- /dev/null +++ b/100_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_pt-br.html b/100_pt-br.html new file mode 100644 index 000000000..8aa398d7d --- /dev/null +++ b/100_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Contando referências

+

O Rc é um ponteiro inteligente que move os dados da pilha para a heap. Ele nos permite clonar outros ponteiros inteligentes Rc que têm a capacidade de imutavelmente tomar emprestado os dados que foram colocados na heap.

+

Somente quando o último ponteiro inteligente é descartado que os dados na heap são desalocados.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_ro.html b/100_ro.html new file mode 100644 index 000000000..a446d9a7b --- /dev/null +++ b/100_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Numărarea referențierilor

+

Rc este un pointer inteligent ce mută date de pe stivă pe heap. Acesta ne permite +să clonăm alți pointeri inteligenți Rc care au abilitatea de a împrumuta drept imutabile datele +ce au fost mutate pe heap.

+

Datele de pe heap sunt dezalocate numai atunci când ultimul pointer inteligent este abandonat.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_ru.html b/100_ru.html new file mode 100644 index 000000000..117b7170e --- /dev/null +++ b/100_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Подсчет ссылок (Referencing Counting)

+

Тип Rc является умным указателем, который перемещает данные из стека в кучу. Он также позволяет клонировать другие умные указатели Rc, которые имеют возможность неизменного заимствования данных, помещенных в кучу.

+

Как только последний умный указатель удален, данные внутри умного указателя освобождаются в куче.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_th.html b/100_th.html new file mode 100644 index 000000000..6ae57b5a2 --- /dev/null +++ b/100_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Counting

+

Rc เป็น smart pointer ที่ย้ายข้อมูลจาก stack ไปอยู่ใน heap มันช่วยให้เราโคลน smart pointer Rc ตัวอื่นๆ โดยทุกตัวจะสามารถ ยืมโดยไม่เปลี่ยนแปลง ข้อมูลที่อยู่ใน heap ได้

+

เมื่อ smart pointer ตัวสุดท้ายถูก drop เท่านั้นจึงจะคืนหน่วยความจำใน heap

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_tr.html b/100_tr.html new file mode 100644 index 000000000..1ef8dd2ca --- /dev/null +++ b/100_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referans Sayımı

+

Rc, verileri yığından öbeğe taşıyan akıllı bir işaretçidir. Ve bu işaretçi gerektiğinde, öbek üzerinde bulunan verileri ödünç alma yeteneğine sahip, diğer Rc akıllı işaretçilerini klonlamamızı sağlar.

+

Öbek üzerindeki veriler, yalnızca son akıllı işaretçi düşürüldüğünde serbest bırakılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_ua.html b/100_ua.html new file mode 100644 index 000000000..ee3c9a26c --- /dev/null +++ b/100_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Лічильник посилань

+

Rc - це розумний покажчик, який переміщує дані зі стеку в купу. Він дозволяє нам +клонувати інші розумні вказівники Rc, які мають можливість незмінно запозичувати дані, +які було поміщено на купу не змінюючи їх.

+

Тільки коли останній розумний покажчик буде скинуто, дані будуть викинуті з купи.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_vi.html b/100_vi.html new file mode 100644 index 000000000..fc8636e98 --- /dev/null +++ b/100_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đếm tham chiếu

+

Rc là một con trỏ thông minh di chuyển dữ liệu từ stack lên heap. Nó cho phép chúng ta sao chép các con trỏ thông minh Rc khác mà tất cả đều có khả năng mượn dữ liệu được đặt trên heap một cách bất biến.

+

Chỉ khi con trỏ thông minh cuối cùng bị drop thì dữ liệu trên heap mới được deallocate.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_zh-cn.html b/100_zh-cn.html new file mode 100644 index 000000000..10326d88b --- /dev/null +++ b/100_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

引用计数

+

Rc 是一个能将数据从栈移动到智能指针。 它允许我们克隆其他Rc智能指针,这些指针都具有不可改变地借用放在堆上的数据的能力。

+

只有当最后一个智能指针被删除时,堆上的数据才会被释放。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/100_zh-tw.html b/100_zh-tw.html new file mode 100644 index 000000000..0f66af10e --- /dev/null +++ b/100_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_al.html b/101_al.html new file mode 100644 index 000000000..8cc449295 --- /dev/null +++ b/101_al.html @@ -0,0 +1,52 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_ar.html b/101_ar.html new file mode 100644 index 000000000..b3a9887ba --- /dev/null +++ b/101_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مشاركة الوصول (Sharing Access)

+

RefCell عبارة عن هيكل بيانات في شكل حاوية (container data structure) يتم الاحتفاظ به عادةً بواسطة مؤشرات ذكية التي تستوعب البيانات وتتيح لنا استعارة مراجع قابلة للتغيير وغير قابلة للتغيير (mutable and immutable references) إلى ما بداخلها. وهو يمنع إساءة استخدام الاستعارة (borrowing) من خلال فرض قواعد أمان ذاكرة (memory safety rules) الخاصة برست (Rust) في وقت التشغيل (runtime) عندما تطلب استعارة البيانات عن طريق:

+

مرجع واحد فقط قابل للتغيير أو عدة مراجع غير قابلة للتغيير، ولكن ليس كليهما!

+

إذا انتهكت هذه القواعد، فسوف يصدر RefCell رسالة ذعر (panic).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_de.html b/101_de.html new file mode 100644 index 000000000..c7e396d40 --- /dev/null +++ b/101_de.html @@ -0,0 +1,52 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_en.html b/101_en.html new file mode 100644 index 000000000..20468c66c --- /dev/null +++ b/101_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_es.html b/101_es.html new file mode 100644 index 000000000..ca12c4ad4 --- /dev/null +++ b/101_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Acceso Compartido

+

RefCell es una estructura de datos de tipo contenedor comúnmente compuesta por punteros inteligentes que toma datos y nos permite tomar prestadas referencias mutables e inmutables de lo que hay dentro. Evita que se abuse de los préstamos haciendo cumplir las reglas de seguridad de la memoria de Rust en tiempo de ejecución cuando pides prestado los datos del interior:

+

Sólo permite una referencia mutable o múltiples referencias inmutables, ¡pero no ambas!

+

Si incumples estas reglas, RefCell entrará en pánico.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_fa.html b/101_fa.html new file mode 100644 index 000000000..0332922ef --- /dev/null +++ b/101_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_fi.html b/101_fi.html new file mode 100644 index 000000000..c86f25303 --- /dev/null +++ b/101_fi.html @@ -0,0 +1,52 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_fr.html b/101_fr.html new file mode 100644 index 000000000..59a499315 --- /dev/null +++ b/101_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partage d'accès

+

RefCell est une structure de données couramment détenue par des pointeurs +intelligents et qui contient des données. RefCellnous permet d'emprunter +des références mutables et immuables vers ces données. Il empêche d'abuser +de la fonctionnalité d'emprunt (en anglais borrowing) de Rust en appliquant +des règles de sécurité liées à la mémoire lors de l'exécution:

+

Une seule référence mutable OU plusieurs références immuables, mais pas les deux!

+

Si vous violez ces règles, RefCell paniquera.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_gr.html b/101_gr.html new file mode 100644 index 000000000..eb1bc911a --- /dev/null +++ b/101_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_hu.html b/101_hu.html new file mode 100644 index 000000000..07102b43c --- /dev/null +++ b/101_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hozzáférés Megosztása

+

A RefCell egy olyan adatstruktúra, ami képes kölcsönadni mind meg nem változtatható, mind +pedig megváltoztatható módon az általa birtokolt adatot. Gyakran használják egyéb okos mutatók +megvalósításakor. Az egyszerű referenciákkal szemben nem fordítási, hanem futásidőben ellenőrzi +a Rust kölcsönvételi szabályait, így segít megakadályozni azok megkerülését:

+

Egyszerre csak egy megváltoztatható VAGY akármennyi meg nem változtatható referencia lehet, de +sosem lehet egyszerre mindkettő!

+

Ha megsértjük ezt a szabályt, a RefCell pánikol.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_id.html b/101_id.html new file mode 100644 index 000000000..5c025856d --- /dev/null +++ b/101_id.html @@ -0,0 +1,52 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_ie.html b/101_ie.html new file mode 100644 index 000000000..daec15ab2 --- /dev/null +++ b/101_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Accesse Junt

+

RefCell es un data-structura scatullesc quel es tenet per puntatores inteligent e prende data por que noi mey +pruntar referenties mutabil e ínmutabil al contenete intern. Ti-ci puntator inteligent preveni pruntation abuset +per li validation del regules de Rust pri securitá de memorie durant li functionament del programma quande tu +peti pruntar li data intern. +Sive un mutabil referentie sive multiplic ínmutabil referenties, ma ne ambi! +Con un violation de ti regules RefCell va far un panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_it.html b/101_it.html new file mode 100644 index 000000000..0eebe0061 --- /dev/null +++ b/101_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_ja.html b/101_ja.html new file mode 100644 index 000000000..af0800df9 --- /dev/null +++ b/101_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_ko.html b/101_ko.html new file mode 100644 index 000000000..1efa5e1fe --- /dev/null +++ b/101_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

접근 공유하기

+

RefCell은 보통 smart pointer가 보유하는 컨테이너 데이터 구조로서, +데이터를 가져오거나 안에 있는 것에 대한 mutable 또는 immutable한 참조를 대여할 수 있게 해줍니다. +데이터를 대여할 때, Rust는 런타임에 다음의 메모리 안전 규칙을 적용하여 남용을 방지합니다:

+

단 하나의 mutable한 참조 또는 여러개의 immutable한 참조만 허용하며, 둘 다는 안됨!.

+

이 규칙을 어기면 RefCell은 panic을 일으킵니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_ne.html b/101_ne.html new file mode 100644 index 000000000..88c586f8f --- /dev/null +++ b/101_ne.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_pl.html b/101_pl.html new file mode 100644 index 000000000..e99170ff0 --- /dev/null +++ b/101_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_pt-br.html b/101_pt-br.html new file mode 100644 index 000000000..e8378ba07 --- /dev/null +++ b/101_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Compartilhando acesso

+

O RefCell é uma estrutura de dados contêiner comumente mantida por ponteiros inteligentes que obtém dados e nos permite emprestar referências mutáveis e imutáveis para o que está lá dentro. Ele evita o abuso do empréstimo aplicando as regras de segurança de memória do Rust em tempo de execução quando você pede emprestado os dados que estão dentro:

+

Apenas uma referência mutável OU várias referências imutáveis, mas não ambas!

+

Se você violar essas regras, o RefCell retornará um panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_ro.html b/101_ro.html new file mode 100644 index 000000000..ebda927ef --- /dev/null +++ b/101_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partajarea accesului

+

RefCell este o structură de date de tip container, întâlnită de obicei la pointerii inteligenți, ce ia date și ne permite să împrumutăm referințe mutabile și +imutabile a ce se află în acesta. Previne abuzul împrumutului +prin consolidarea regulilor de siguranță ale limbajului Rust atunci când la rulare ceri să împrumuți: +O singură referință mutabilă SAU mai multe referințe imutabile, dar nu ambele!

+

Încălcarea acestor reguli va face ca RefCell să se panicheze.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_ru.html b/101_ru.html new file mode 100644 index 000000000..4d895d407 --- /dev/null +++ b/101_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Разделяемый доступ (Sharing Access)

+

Тип RefCell является контейнерной структурой данных, которая обычно поддерживает другие умные указатели. Она принимает данные и позволяет заимствовать изменяемые и неизменяемые ссылки на то, что находится внутри неё. Это предотвращает злоупотребление заимствованиями, обеспечивая соблюдение Rust правил безопасности памяти во время выполнения, когда вы просите заимствовать данные в случае:

+

только одна изменяемая ссылка ИЛИ несколько неизменяемых ссылок, но не обе одновременно!

+

При нарушении данного правила RefCell тип вызывает панику.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_th.html b/101_th.html new file mode 100644 index 000000000..1e001bd0d --- /dev/null +++ b/101_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Access

+

RefCell เป็นโครงสร้างข้อมูลแบบคอนเทนเนอร์ ที่ถูกถือไว้โดย smart pointer โดยมันจะรับข้อมูลเข้ามา และยอมให้เรายืม การอ้างอิง ของที่อยู่ในนั้นไม่ว่าจะเป็นอะไร ทั้งแบบยืมโดยไม่เปลี่ยนแปลงอะไร และยืมโดยยอมให้เปลี่ยนแปลงได้ +และมีการป้องกันการยืมไม่ให้ถูกละเมิด ด้วยการบังคับใช้กฎรักษาความปลอดภัยในหน่วยความจำของ Rust ตอน runtime เมื่อคุณขอยืมข้อมูล:

+

การยืมเลือกได้เพียงอย่างเดียว คือ ยืมแบบเปลี่ยนแปลงค่าได้ หนึ่งตัว หรือยืมแบบเปลี่ยนค่าไม่ได้ หลายตัว จะทำทั้งสอบแบบในเวลาเดียวกันไม่ได้

+

หากคุณละเมิดกฎของ RefCall จะทำให้เกิด panic

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_tr.html b/101_tr.html new file mode 100644 index 000000000..02169acd1 --- /dev/null +++ b/101_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Erişim Paylaşımı

+

RefCell, kapsadığı verilere değişmez veya değişken referanslar ödünç almamızı sağlayan ve genellikle akıllı işaretçiler tarafından tutulan kapsayıcı bir veri yapsıdır. Bu veri yapısının biricik özelliği, bellekle ilgili güvenlik kurallarını çalışma zamanında uygulamak ve borçlanma sisteminin kötüye kullanılmasını önlemektir. Bu yapıyla ilgili bilinmesi gereken tek kural aşağıda yer almaktadır:

+

Ya sadece bir tane değişken referansınız, YA DA çok sayıda değişmez referansınız olabilir. İkisinin birden olmasına izin verilmez!

+

Bu kuralın ihlali RefCell özelliğinin panik üretmesine ve programın durdurulmasına sebep olur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_ua.html b/101_ua.html new file mode 100644 index 000000000..5c5ea4a0a --- /dev/null +++ b/101_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Спільний доступ

+

RefCell - це контейнерна структура даних, яка зазвичай утримується розумними покажчиками, яка приймає дані і дозволяє нам +змінювати змінні та незмінні посилання на те, що знаходиться всередині. Це запобігає зловживанню +запозиченнями, використовуючи правила безпеки пам'яті Rust, коли ви робите запит запозичити +дані всередині:

+

**Тільки одного змінюваного посилання АБО декількох незмінних посилань, але не обох видів одночасно! **.

+

Якщо ви порушите ці правила, RefCell впаде у паніку.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_vi.html b/101_vi.html new file mode 100644 index 000000000..b09cc298f --- /dev/null +++ b/101_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chia sẻ quyền truy cập

+

RefCell là một cấu trúc dữ liệu vùng chứa thường được giữ bởi các con trỏ thông minh mà sẽ lấy dữ liệu và cho phép chúng ta mượn các tham chiếu bất biến và khả biến cho những gì bên trong. Nó ngăn không cho việc vay mượn bị lạm dụng bằng cách thực thi các quy tắc an toàn bộ nhớ của Rust trong thời gian chạy khi bạn yêu cầu mượn dữ liệu trong:

+

Chỉ một tham chiếu khả biến HOẶC nhiều tham chiếu bất biến, nhưng không phải cả hai!

+

Nếu bạn vi phạm các quy tắc này RefCell sẽ hoảng hốt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_zh-cn.html b/101_zh-cn.html new file mode 100644 index 000000000..a4af1f9ae --- /dev/null +++ b/101_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

共享访问

+

RefCell 是一个容器数据结构,通常由智能指针拥有,它接收数据并让我们借用可变或不可变引用来访问内部内容。 当您要求借用数据时,它通过在运行时强制执行 Rust 的内存安全规则来防止借用被滥用

+

只有一个可变引用或多个不可变引用,但不能同时有!

+

如果你违反了这些规则,RefCell 将会panic。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/101_zh-tw.html b/101_zh-tw.html new file mode 100644 index 000000000..e728ad449 --- /dev/null +++ b/101_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_al.html b/102_al.html new file mode 100644 index 000000000..2c3f3ba09 --- /dev/null +++ b/102_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_ar.html b/102_ar.html new file mode 100644 index 000000000..04e88abb1 --- /dev/null +++ b/102_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المشاركة عبر الخيوط (Sharing Across Threads)

+

Mutex عبارة عن هيكل بيانات في شكل حاوية (container data structure) يتم الاحتفاظ به عادةً بواسطة مؤشرات ذكية تستوعب البيانات وتتيح لنا استعارة مراجع قابلة للتغيير وغير قابلة للتغيير (mutable and immutable references) للبيانات الموجودة بداخلها. وهو يمنع إساءة استخدام الاستعارة (borrowing) من خلال جعل نظام التشغيل يقيد حق الوصول للبيانات إلا لخيط وحدة معالجة مركزية (one CPU thread) واحد ، مما يؤدي إلى منع الخيوط (threads) الأخرى من الوصول إلى تلك البيانات حتى ينتهي الخيط الأصلي ذو الإستعارة المقفلة (locked borrow).

+

بالرغم من أن موضوع تعدد الخيوط (Multithreading) خارج مواضيع دورة تعلم راست هذه، ولكن Mutex هو جزء أساسي في تنسيق الخيوط العديدة لوحدة المعالجة المركزية التي تصل إلى نفس البيانات.

+

يوجد مؤشر ذكي خاص Arc وهو مطابق لـ Rc باستثناء أنه يستخدم زيادة عن طريق خيط آمن (thread-safe) عند عد المراجع. غالبًا ما يتم استخدامه للحصول على العديد من المراجع إلى نفس Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_de.html b/102_de.html new file mode 100644 index 000000000..7e6b8c511 --- /dev/null +++ b/102_de.html @@ -0,0 +1,54 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_en.html b/102_en.html new file mode 100644 index 000000000..391f0ffa7 --- /dev/null +++ b/102_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_es.html b/102_es.html new file mode 100644 index 000000000..191b0e807 --- /dev/null +++ b/102_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Compartir Datos Entre Hilos

+

Mutex es una estructura de datos de tipo contenedor comúnmente compuesta por punteros inteligentes que toma los datos y nos permite tomar prestadas referencias mutables e inmutables de los datos que contiene. Así se evita el abuso del préstamo al hacer que el sistema operativo restrinja sólo un hilo de la CPU en el momento de acceder a los datos, bloqueando otros hilos hasta que el original termine con los datos prestados.

+

Los multihilos están fuera del alcance del Tour de Rust, pero Mutex es una parte fundamental de la coordinación de múltiples hilos de CPU que acceden a los mismos datos.

+

Existe un puntero inteligente especial Arc que es idéntico al Rc excepto porque usa un incremento de referencia con seguridad de hilo. A menudo se utiliza para tener muchas referencias al mismo Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_fa.html b/102_fa.html new file mode 100644 index 000000000..97ae6a5b5 --- /dev/null +++ b/102_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_fi.html b/102_fi.html new file mode 100644 index 000000000..fe6c1dbef --- /dev/null +++ b/102_fi.html @@ -0,0 +1,54 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_fr.html b/102_fr.html new file mode 100644 index 000000000..7b431717e --- /dev/null +++ b/102_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partage entre threads

+

Mutex est une structure de données (couramment détenue par des pointeurs +intelligents) pouvant contenir des données et nous permet d'emprunter des +références mutable ou immuables vers les données qu'elle contient. Mutex +restreint l'accès aux données à un seul thread CPU, bloquant les autres +threads jusqu'à ce que le thread d'origine ait terminé et déverrouillé les +données.

+

Le multithreading dépasse le cadre de Tour of Rust, mais Mutex est un +élément fondamental de la programmation concurrentielle avec Rust.

+

Il existe un pointeur intelligent spécial Arc qui est identique à Rc +mais pour les threads. La particularité de Arc est qu'il est thread-safe, +Rust gardera en mémoire le nombre de références existantes vers une donnée +même dans une application utilisant plusieurs threads. Il est souvent utilisé +pour avoir plusieurs références vers un même Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_gr.html b/102_gr.html new file mode 100644 index 000000000..e493ecfa5 --- /dev/null +++ b/102_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_hu.html b/102_hu.html new file mode 100644 index 000000000..fb32eb558 --- /dev/null +++ b/102_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Megosztás Szálak Között

+

A RefCell egy olyan adatstruktúra, ami képes kölcsönadni mind meg nem változtatható, mind +pedig megváltoztatható módon az általa birtokolt adatot. Gyakran használják egyéb okos mutatók +megvalósításakor. Egy időben csak egy programszál számára enged hozzáférést a benne tárolt +adathoz, így segíti a Rust memóriahasználati szabályainak betartását többszálú környezetben. Ha +más szál is megpróbál hozzáférni a tárolt adathoz, miközben az kölcsön van adva, a második szál +blokkolásra kerül.

+

A többszálúság túlmutat a Rust-túra anyagán, de a Mutex az adatok több szálból történő +elérésének egyik alapvető részét képzi.

+

Van egy különleges okos mutató, az Arc, ami hasonló az Rc-hez, kivéve, hogy többszálú +környezetben is biztonságosan használható. Gyakran használják, hogy több helyen hivatkozzanak +ugyan arra a Mutex-re.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_id.html b/102_id.html new file mode 100644 index 000000000..b330faaf3 --- /dev/null +++ b/102_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_ie.html b/102_ie.html new file mode 100644 index 000000000..bdbc9c7b8 --- /dev/null +++ b/102_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partiprender trans Files (Threads)

+

Mutex es un data-structura scatullesc quel es frequentmen tenet per puntatores inteligent e prende data por que noi +mey pruntar mutabil e ínmutabil al contenete intern. Con to li pruntation ne es abuset per restrictiones del OS quande +solmen un fil posse accesser li data, bloccante li altri files til quande li fil original ha finit con li pruntation +original. Multifilation es plu complex por nor libre, ma Mutex es un parte fundamental del gerentie de multiplic +CPU-files por accesse al sam data. +Hay un puntator inteligent special nominat Arc quel es identic a Rc except in qualmen it usa fil-secur incrementation +del númere de referenties. Con it on posse haver mult referenties al sam Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_it.html b/102_it.html new file mode 100644 index 000000000..6ab862f49 --- /dev/null +++ b/102_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_ja.html b/102_ja.html new file mode 100644 index 000000000..1034732ca --- /dev/null +++ b/102_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_ko.html b/102_ko.html new file mode 100644 index 000000000..1881ae8f6 --- /dev/null +++ b/102_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

쓰레드 간에 공유하기

+

Mutex는 보통 smart pointer가 보유하는 컨테이너 데이터 구조로서, +데이터를 가져오거나 내부 데이터에 대한 mutable 또는 immutable한 참조를 대여할 수 있게 해줍니다. +이는 잠긴 대여를 통해 운영체제가 동시에 오직 하나의 CPU만 데이터에 접근 가능하도록 하고, +원래 쓰레드가 끝날 때까지 다른 쓰레드들을 막음으로써 대여가 남용되는 것을 방지합니다.

+

멀티쓰레드는 Tour of Rust의 범위를 벗어나지만, Mutex는 +여러 개의 CPU 쓰레드가 같은 데이터에 접근하는 것을 조율하는 근본적인 부분입니다.

+

특별한 smart pointer인 Arc도 있는데, 쓰레드-안전성을 가진 참조 카운트 증가 방식을 사용한다는 것을 제외하고는 Rc와 동일합니다. +이는 동일한 Mutex에 다수의 참조를 가질 때 종종 사용되곤 합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_ne.html b/102_ne.html new file mode 100644 index 000000000..9008b2a9b --- /dev/null +++ b/102_ne.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_pl.html b/102_pl.html new file mode 100644 index 000000000..1b18ef6f2 --- /dev/null +++ b/102_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_pt-br.html b/102_pt-br.html new file mode 100644 index 000000000..88287a8e2 --- /dev/null +++ b/102_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Compartilhando entre threads

+

O Mutex é uma estrutura de dados contêiner comumente mantida por ponteiros inteligentes que recebe os dados e nos permite emprestar referências mutáveis e imutáveis aos dados que estão dentro. Isso evita o abuso do empréstimo fazendo com que o sistema operacional restrinja o acesso aos dados a apenas uma thread de CPU por vez, bloqueando as outras threads até que a thread original seja concluída com seu empréstimo bloqueado.

+

O multithreading está além do escopo do Tour por Rust, mas Mutex é uma parte fundamental da orquestração de várias threads de CPU acessando os mesmos dados.

+

Há um ponteiro inteligente especial Arc que é idêntico aoRc, exceto pelo uso de incrementos thread-safe de contagens de referência. Frequentemente é usado para ter muitas referências ao mesmo Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_ro.html b/102_ro.html new file mode 100644 index 000000000..2b91d2f4f --- /dev/null +++ b/102_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partajarea între thread-uri

+

Mutex este o structură de date de tip container, întâlnită de obicei la pointerii inteligenți, ce ia date și ne permite să împrumutăm referințe mutabile și +imutabile la datele ce se află înăuntru. Abuzul împrumutului este prevenit prin restricționarea procesorului, astfel încât un singur thread are acces la +date la un moment dat, blocând celelalte thread-uri până ce thread-ul original a terminat împrumutul său blocat. +Multithreading-ul depășește scopul Turului limbajului Rust, dar Mutex este o parte fundamentală a gestionării +mai multor thread-uri ce accesează date simultan.

+

Există un pointer inteligent special numit Arc, identic lui Rc, cu excepția că folosește o incrementare a numărului de referințe sigură din punct de vedere al thread-urilor. +Este des întâlnită folosirea mai multor referințe pentru același Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_ru.html b/102_ru.html new file mode 100644 index 000000000..1495e2c3a --- /dev/null +++ b/102_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Разделение данных между потоками (Sharing Across Threads)

+

Mutex является контейнерной структурой данных, которая обычно содержится в других умных указателях, которые уже внутри содержат данные и позволяет создавать изменяемые и неизменяемые ссылки на данные внутри. Это предотвращает злоупотребление заимствованием, поскольку операционная система ограничивает одновременный доступ к данным только одному потоку ЦП, блокируя другие потоки до тех пор, пока исходный поток не завершит работу с заблокированным заимствованием.

+

Многопоточное программирование выходит за рамки Tour of Rust, но тип Mutex является фундаментальной частью управления несколькими потоками ЦП, обращающихся к одним и тем же данным.

+

Существует специальный, умный указатель Arc, который идентичен Rc, за исключением того, что использует потоко-безопасное увеличение количества ссылок. +Часто используется много ссылок на один и тот же Mutex объект.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_th.html b/102_th.html new file mode 100644 index 000000000..ac651cedc --- /dev/null +++ b/102_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Across Threads

+

Mutex เป็นโครงสร้างข้อมูลแบบคอนเทนเนอร์ ที่ถูกถือไว้โดย smart pointer โดยมันจะรับข้อมูลเข้ามา และยอมให้เรายืม การอ้างอิง ข้อมูลที่อยู่ในนั้น ทั้งแบบยืมโดยไม่เปลี่ยนแปลงอะไร และยืมโดยยอมให้เปลี่ยนแปลงได้ +โดยป้องกันการยืมไปใช้ในทางที่ผิดด้วยการให้ระบบปฏิบัติการ จำกัดการเข้าถึงได้เพียง CPU เดียวในช่วงเวลาหนึ่ง และกันไม่ให้เธรดอื่นเข้าถึงได้จนกว่าเธรดเดิมจะทำงานเสร็จแล้วค่อยปลดล็อกการยืม

+

มัลติเธรดอยู่นอกเหนือขอบเขตของ Tour of Rust แต่ Mutex เป็นส่วนพื้นฐานของการควบคุม เธรดหลายตัวของ CPU ในการเข้าถึงข้อมูลเดียวกัน

+

มี smart pointer พิเศษอีกตัวที่เหมือนกับ Rc แต่ต่างกันที่ มันใช้เพิ่มจำนวนตัวอ้างอิงแบบ thread-safe ซึ่งจะใช้บ่อยเมื่อมีการอ้างถึงหลายๆตัวไปที่ Mutex เดียวกัน

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_tr.html b/102_tr.html new file mode 100644 index 000000000..deef0c416 --- /dev/null +++ b/102_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

İş Parçacıkları Arasında Paylaşım

+

Mutex, kapsadığı verilere değişmez veya değişken referansları ödünç alabilmemizi sağlayan ve genellikle akıllı işaretçiler tarafından tutulan kapsayıcı bir veri yapsıdır. Mutex'in biricik özelliği, veri erişimini tek bir CPU iş parçacığıyla kısıtlayarak, asıl iş parçacığının çalışmasını beklemek, bu bekleme sırasında diğer iş parçacıklarını engellemek ve beklemenin sonunda verilere erişimin kilidini açmaktır.

+

Eşzamanlılık konusu, bu turun kapsamı dışında kaldığından daha fazla detaya girmek yerine Mutex'in, aynı verilere erişen çok sayıda CPU iş parçacığını kontrol eden bir kilitleme düzeneği olduğunu bilmeniz şu an için yeterlidir.

+

Referansların iş parçacığı açısından güvenli şekilde sayılması haricinde, Rc ile aynı özelliklere sahip Arc adında bir akıllı işaretçimiz daha vardır. Bu işaretçi genellikle aynı Mutex kilidine birden fazla referansla erişirken kullanılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_ua.html b/102_ua.html new file mode 100644 index 000000000..aed245f73 --- /dev/null +++ b/102_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Спільне доступ до даних у різних потоках

+

Mutex - це контейнерна структура даних, яку зазвичай утримують розумні вказівники, що приймає дані і дозволяє нам замінювати змінювані +та незмінні посилання на дані всередині. Це запобігає зловживанню запозиченням +коли операційна система обмежує лише одному потоку процесора доступ до даних, +блокуючи інші потоки, доки початковий потік не завершить роботу із заблокованим запозичення.

+

Багатопоточність виходить за рамки Tour of Rust, але Mutex є фундаментальною частиною організації +декількох потоків процесора, які отримують доступ до одних і тих самих даних.

+

Існує спеціальний розумний покажчик Arc, який ідентичний Rc, за винятком того, що використовує безпечне для потоків інкрементування лічильників посилань. +Його часто використовують для того, щоб мати багато посилань на один і той самий Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_vi.html b/102_vi.html new file mode 100644 index 000000000..bb80513f6 --- /dev/null +++ b/102_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chia sẻ qua các luồng

+

Mutex là một cấu trúc dữ liệu vùng chứa thường được giữ bởi các con trỏ thông minh lấy dữ liệu và cho phép chúng ta mượn các tham chiếu có thể thay đổi và bất biến đến dữ liệu bên trong. Điều này ngăn không cho việc vay mượn bị lạm dụng bằng cách hệ điều hành chỉ hạn chế một luồng CPU tại một thời điểm để có quyền truy cập vào dữ liệu, chặn các luồng khác cho đến khi luồng gốc đó được thực hiện với phần mượn bị khóa của nó.

+

Đa luồng nằm ngoài phạm vi của Tour of Rust, nhưng Mutex là một phần cơ bản của việc sắp xếp nhiều luồng CPU truy cập vào cùng một dữ liệu.

+

Có một con trỏ thông minh đặc biệt Arc giống hệt vớiRc ngoại trừ việc sử dụng cách tăng số lượng tham chiếu một cách an toàn cho luồng.

+

Nó thường được sử dụng để có nhiều tham chiếu đến cùng một Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_zh-cn.html b/102_zh-cn.html new file mode 100644 index 000000000..a647cdc52 --- /dev/null +++ b/102_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

线程间共享

+

Mutex 是一种容器数据结构,通常由智能指针持有,它接收数据并让我们借用对其中数据的可变和不可变引用。 这可以防止借用被滥用,因为操作系统一次只限制一个 CPU 线程访问数据,阻塞其他线程,直到原线程完成其锁定的借用。

+

多线程超出了 Rust 之旅的范围,但 Mutex 是协调多个 CPU 线程访问相同数据的基本部分。

+

有一个特殊的智能指针 Arc,它与 Rc 相同,除了使用线程安全的引用计数递增。 它通常用于对同一个 Mutex 进行多次引用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/102_zh-tw.html b/102_zh-tw.html new file mode 100644 index 000000000..284d840b7 --- /dev/null +++ b/102_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_al.html b/103_al.html new file mode 100644 index 000000000..4de748698 --- /dev/null +++ b/103_al.html @@ -0,0 +1,56 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ar.html b/103_ar.html new file mode 100644 index 000000000..6b84948b3 --- /dev/null +++ b/103_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الجمع بين المؤشرات الذكية (Combining Smart Pointers)

+

قد تبدو المؤشرات الذكية محدودة، لكنها يمكن أن تشكل توليفات قوية جدًا.

+

Rc<Vec<Foo>> - تسمح باستنساخ (clone) عدة مؤشرات ذكية يمكنها استعارة نفس المتجهة (vector) الخاصة بهياكل البيانات غير القابلة للتغيير في الكومة (heap).

+

Rc<RefCell<Foo>> - تسمح لعدة مؤشرات ذكية باستعارة نفس الهيكل (struct) Foo بشكل قابل للتغيير/غير قابل للتغيير

+

Arc<Mutex<Foo>> - تسمح لعدة مؤشرات ذكية بالقدرة على الاستعارة المفقلة بشكل مؤقت وتكون قابلة للتغيير/غير قابلة للتغيير بطريقة حصرية لخيط وحدة المعالجة المركزية (CPU thread).

+

تفاصيل الذاكرة:

+
    +
  • ستلاحظ مبحثا يحتوي على العديد من هذه التوليفات. استخدام نوع بيانات غير قابل للتغيير (من المحتمل أن يكون مملوكًا لعدة مؤشرات ذكية) لتعديل البيانات الداخلية. يُشار إلى هذا في رست (Rust) باسم نمط "التغير الداخلي (interior mutability)". إنه نمط يتيح لنا إخضاع قواعد استخدام الذاكرة في وقت التشغيل (runtime) بنفس مستوى الأمان الذي توفره عمليات التحقق أثناء وقت الترجمة (compile-time) في رست (Rust).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_de.html b/103_de.html new file mode 100644 index 000000000..51c1549b1 --- /dev/null +++ b/103_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_en.html b/103_en.html new file mode 100644 index 000000000..537902e4e --- /dev/null +++ b/103_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_es.html b/103_es.html new file mode 100644 index 000000000..a5e1b4453 --- /dev/null +++ b/103_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combinación de Punteros Inteligentes

+

A simple vista, los punteros inteligentes pueden parecer limitados, pero disponen de algunas combinaciones muy eficaces.

+

Rc<Vec<Foo>> - Permite la clonación de múltiples punteros inteligentes que pueden tomar prestado el mismo vector de estructuras de datos inmutables en el montículo.

+

Rc<RefCell<Foo>> - Permite a varios punteros inteligentes la capacidad de tomar prestada mutablemente/immutablemente la misma estructura Foo.

+

Arc<Mutex<Foo>> - Permite a múltiples punteros inteligentes la capacidad de bloquear préstamos temporales mutables/inmutables en un hilo de CPU de manera exclusiva.

+

Detalle de la memoria:

+
    +
  • Muchas de estas combinaciones siguen un mismo patrón. El uso de un tipo de datos inmutables (posiblemente propiedad de múltiples punteros inteligentes) para modificar los datos internos. En Rust, esto se conoce como el patrón de "mutabilidad interior". Es un patrón que nos permite saltarnos las reglas de uso de la memoria en tiempo de ejecución con el mismo nivel de seguridad que las comprobaciones en tiempo de compilación de Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_fa.html b/103_fa.html new file mode 100644 index 000000000..5d8befd50 --- /dev/null +++ b/103_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of a immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_fi.html b/103_fi.html new file mode 100644 index 000000000..04749f497 --- /dev/null +++ b/103_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_fr.html b/103_fr.html new file mode 100644 index 000000000..262e8fec8 --- /dev/null +++ b/103_fr.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Utilisation avancée des pointeurs intelligents

+

Les pointeurs intelligents peuvent sembler limités, mais ils peuvent +être utilisés de manière très puissante avec les structures que nous +venons de voir.

+

Rc<Vec<Foo>> - Permet de cloner plusieurs pointeurs intelligents pouvant +emprunter le même vecteur de données immuables. Pour rappel Rc place les +données sur le tas.

+

Rc<RefCell<Foo>> - Permet à plusieurs pointeurs intelligents d'emprunter +mutuellement ou immuablement la même structure Foo.

+

Arc<Mutex<Foo>> - Permet à un pointeur intelligent de verrouiller +temporairement une donnée (celle-ci ne pourra plus être emprunté mutablement +ou immuablement) de manière exclusive à un thread du CPU (les autres threads +n'y auront pas accès).

+

Détail de la mémoire:

+
    +
  • Vous remarquerez un thème commun avec plusieurs de ces utilisations: +l'utilisation d'un type de données immuable (possiblement emprunté par +plusieurs pointeurs intelligents) pour modifier les données internes. +C'est ce qu'on appelle la "mutabilité intérieure" (en anglais interior +mutability) de Rust. C'est un modèle qui nous permet de contourner les +règles d'utilisation de la mémoire à l'exécution mais en gardant le même +niveau de sécurité que Rust nous offre lors de la compilation.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_gr.html b/103_gr.html new file mode 100644 index 000000000..d543bd8eb --- /dev/null +++ b/103_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_hu.html b/103_hu.html new file mode 100644 index 000000000..6cbc1db40 --- /dev/null +++ b/103_hu.html @@ -0,0 +1,66 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Okos Mutatók Kombinálása

+

Bár az okos mutatók képességei meglehetősen korlátozottnak tűnhetnek, létezik néhány +kifejezetten hasznos kombinációjuk:

+
    +
  • Rc<Vec<Foo>> - Lehetővé teszi több okos mutató klónozását, amik képesek egy, a kupacon lévő +vektort meg nem változtatható módon kölcsönkérni.
  • +
  • Rc<RefCell<Foo>> - Lehetővé teszi több okos mutató számára ugyan annak az adatnak az +elérését mint megváltoztatható, mind pedig meg nem változtatható módon.
  • +
  • Arc<Mutex<Foo>> - Lehetővé teszi több okos mutató létrehozását, melyen keresztül egyazon +adat zárolható és többszálú környezetben is biztonságosan kölcsönkérhető. Több programszál is +képes ugyan azt az adatot kölcsönkérni, de egy időben mindig csak egy hozzáférést enged meg a +program. A többi szál várakozni fog, amíg az adat zárolva van.
  • +
+

Hogyan érinti ez a memóriát:

+
    +
  • Több ilyen kombinációnál is észrevehetted, hogy meg nem változtatható adattípuson (amit akár +több okos mutató is birtokol) keresztül lehetséges adatok megváltoztatása. Ezt a mintát "belső +megváltoztathatóság" néven ismerjük Rust-ban. Ez segít kicsit rugalmasabbá tenni a memória +felhasználásával kapcsolatos szabályokat a Rust fordítási idejű ellenőrzéseihez hasonló +biztonságossággal.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_id.html b/103_id.html new file mode 100644 index 000000000..e7c6fd779 --- /dev/null +++ b/103_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ie.html b/103_ie.html new file mode 100644 index 000000000..6d875e517 --- /dev/null +++ b/103_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combinar Puntatores Inteligent

+

Smart pointers sembla liminat, ma junt ili crea combinationes tre potent. +Rc<Vec<Foo>> - Clonada de multiplic smart pointers queles posse pruntar li sam vector de ínmutabil data-structuras sur li heap. +Rc<RefCell<Foo>> - Multiplic smart pointers possent pruntar mutabilmen/ínmutabilmen li sam struct Foo +Arc<Mutex<Foo>> - Multiplic smart pointers possent cluder temporari mutabil/ínmutabil pruntas in un maniere exclusiv in un fil del CPU. +Detallies pri memorie:

+
    +
  • Tu va har remarcat un tema comun con ti-ci combinationes, a saver li usation de un data-tip ínmutabil (fórsan possedet per multiplic puntatores inteligent) por modificar +data intern. On nomina it li mustre de "mutabilitá intern" in Rust. Con ti mustre noi posse circumear li regules pri usation de memorie durant li execution del programma +con un nivelle de securitá tam secur quam ti durant li compilation.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_it.html b/103_it.html new file mode 100644 index 000000000..d490335d2 --- /dev/null +++ b/103_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ja.html b/103_ja.html new file mode 100644 index 000000000..2ed6c7793 --- /dev/null +++ b/103_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ko.html b/103_ko.html new file mode 100644 index 000000000..c2c2aa799 --- /dev/null +++ b/103_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스마트 포인터 조합하기

+

smart pointer는 한계가 있는 것처럼 보이지만, 조합해서 사용하면 매우 강력해질 수 있습니다.

+

Rc<Vec<Foo>> - heap에 있는 immutable한 데이터 구조의 동일한 vector를 대여할 수 있는 복수의 smart pointer를 복제할 수 있게 해줍니다.

+

Rc<RefCell<Foo>> - 복수의 smart pointer가 동일한 Foo struct를 mutable/immutable하게 대여할 수 있게 해줍니다.

+

Arc<Mutex<Foo>> - 복수의 smart pointer가 임시의 mutable/immutable한 대여를 CPU 쓰레드 독점 방식으로 잠글 수 있게 해줍니다.

+

메모리 상세:

+
    +
  • 이런 조합이 많이 포함된 주제를 확인할 수 있을겁니다. 내부 데이터를 변경하기 위해 immutable한 데이터 유형(복수의 smart pointer가 소유할 수 있음)을 사용합니다. 이를 Rust에서는 "내부 가변성" 패턴이라고 합니다. 이는 Rust의 컴파일 타임 체크와 동일 수준의 안전성으로 런타임의 메모리 사용 규칙을 변경할 수 있는 패턴입니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ne.html b/103_ne.html new file mode 100644 index 000000000..d20215948 --- /dev/null +++ b/103_ne.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_pl.html b/103_pl.html new file mode 100644 index 000000000..4153e321a --- /dev/null +++ b/103_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of a immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_pt-br.html b/103_pt-br.html new file mode 100644 index 000000000..59f715ed7 --- /dev/null +++ b/103_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combinando ponteiros inteligentes

+

Os ponteiros inteligentes podem parecer limitados, mas eles podem fazer algumas combinações muito poderosas.

+

Rc<Vec<Foo>> - permite a clonagem de vários ponteiros inteligentes que podem pegar emprestado o mesmo vetor de estruturas de dados imutáveis na heap.

+

Rc<RefCell<Foo>> - permite a múltiplos ponteiros inteligentes a capacidade de emprestar mutável/imutavelmente a mesma estrutura Foo.

+

Arc<Mutex<Foo>> - permite que vários ponteiros inteligentes bloqueiem empréstimos mutáveis/imutáveis temporários exclusivamente por thread de CPU.

+

Detalhes da memória:

+
    +
  • Você notará um assunto em comum em muitas dessas combinações. O uso de um tipo de dado imutável (possivelmente pertencente a vários ponteiros inteligentes) para modificar dados internos. Isso é conhecido como o padrão "mutabilidade interior" no Rust. É um padrão que nos permite dobrar as regras de uso de memória em tempo de execução com o mesmo nível de segurança das verificações de tempo de compilação do Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ro.html b/103_ro.html new file mode 100644 index 000000000..a6749ba0a --- /dev/null +++ b/103_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combinarea pointerilor inteligenți

+

Pointerii inteligenți pot părea limitați, dar pot fi combinați în moduri foarte utile.

+

Rc<Vec<Foo>> - Permite clonarea mai multor pointeri inteligenți ce pot împrumuta același vector de structuri de date imutabile de pe heap.

+

Rc<RefCell<Foo>> - Permite mai multor pointeri inteligenți să împrumute mutabil/imutabil aceeași structură Foo.

+

Arc<Mutex<Foo>> - Conferă mai multor pointeri inteligenți abilitatea de a bloca temporar împrumuturi mutabile/imutabile într-un mod caracteristic thread-urilor.

+

Detaliu despre memorie:

+
    +
  • Vei observa ceva comun la multe dintre aceste combinații. Folosesc un tip de date imutabil (probabil deținut de mai multi pointeri inteligenți) pentru a modifica date interne. Aceasta +se mai numește și pattern-ul "mutabilității interne" în Rust. Este un pattern ce ne permite să ocolim regulile de întrebuințare a memoriei la rulare cu același nivel de siguranță ca +verificarea la compilare a limbajului Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ru.html b/103_ru.html new file mode 100644 index 000000000..28aa55eed --- /dev/null +++ b/103_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Комбинирование умных указателей (Combining Smart Pointers)

+

Умные указатели могут показаться довольно ограниченными по функционалности, но главное то, что они могут создавать очень мощные комбинации для использования в коде.

+

Rc<Vec<Foo>> - позволяет клонирование нескольких умных указателей, которые могут заимствовать из кучи один и тот же вектор неизменяемых структур данных.

+

Rc<RefCell<Foo>> - дает возможность нескольким умных указателям заимствовать одну и туже структуру Foo как неизменяемую или изменяемую.

+

Arc<Mutex<Foo>> - дает возможность нескольким умным указателям временно блокировать в процессорном потоке изменяемые или неизменяемые заимствования.

+

Детали для запоминания:

+
    +
  • Вы обнаружите умные указатели во множестве комбинаций. Использование неизменяемого типа данных (возможно, принадлежащего нескольким умным указателям) для изменения внутренних данных указателя. Это случай в Rust называется шаблоном "внутренняя изменчивость". +Этот шаблон позволяет изменять правила использования памяти во время выполнения с тем же уровнем безопасности, +что и проверки во время компиляции в Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_th.html b/103_th.html new file mode 100644 index 000000000..b902b71ad --- /dev/null +++ b/103_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combining Smart Pointers

+

Smart pointers ดูเหมือนจะมีข้อจำกัด แต่มันสามารถเอามารวมกันเพื่อให้ทำงานให้มีความหลากหลายเพิ่มขึ้นได้

+

Rc<Vec<Foo>> - อนุญาตให้ทำการโคลน smart pointer หลายตัว ที่สามารถยืมเวกเตอร์เดียวกันของโครงสร้างข้อมูลที่ไม่เปลี่ยนรูปบน heap ได้

+

Rc<RefCell<Foo>> - อนุญาตให้ smart pointer หลายตัวสามารถยืมโครงสร้าง Foo ตัวเดียวกัน โดยยืมได้ทั้งแบบ เปลี่ยนแปลงได้/เปลี่ยนแปลงไม่ได้

+

Arc<Mutex<Foo>> - อนุญาตให้ smart pointer หลายตัวสามารถล็อกการยืม โดยยืมได้ทั้งแบบ เปลี่ยนแปลงได้/เปลี่ยนแปลงไม่ได้ ชั่วคราว​ ในลักษณะเฉพาะของเธรด CPU

+

รายละเอียดหน่วยความจำ:

+
    +
  • คุณจะสังเกตเห็น รูปแบบการผสมผสานนี้ มาใช้กับข้อมูลประเภทที่แก้ไขไม่ได้ (ซึ่งเป็นไปได้ว่าจะถูกถือครองโดย smart pointer หลายตัว) เพื่อใช้แก้ไขข้อมูลภายในนั้น รูปแบบนี้ใน Rust เรียกว่า "interior mutability" สิ่งนี้เป็นรูปแบบที่เรานำมาใช้เลี่ยงกฎของการใช้หน่วยความจำในขณะ runtime โดยยังมีความปลอดภัยระดับเดียวกับการตรวจสอบของ Rust ในขณะ compile-time
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_tr.html b/103_tr.html new file mode 100644 index 000000000..f5cac37fd --- /dev/null +++ b/103_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Akıllı İşaretçileri Bir Araya Getirmek

+

Akıllı işaretçiler sınırlıymış gibi görünmelerine rağmen, bazen çok güçlü kombinasyonlar oluşturabilirler.

+

Rc<Vec<Tur>> - Öbek üzerinde bulunan değişmez veri yapısı vektörünü ödünç alan, birden çok akıllı işaretçinin klonlanmasına izin verir.

+

Rc<RefCell<Tur>> - Birden fazla akıllı işaretçinin aynı Tur yapısını, değişken ya da değişmez olarak ödünç almasına izin verir.

+

Arc<Mutex<Tur>> - Bir akıllı işaretçinin, değişken ya da değişmez olarak borç alınmış bir veriyi, yalnızca bir CPU iş parçacığına ve diğer iş parçacıklarının erişimine müsaade etmeyecek şekilde geçici olarak kilitlemesine izin verir.

+

Bellek ayrıntıları:

+
    +
  • Bu kombinasyonların çoğu olasılıkla çok sayıda akıllı işaretçiye ait olan ve dahili verileri değiştirmek için değişmez bir veri türünü kullanan tek bir modeli takip eder. Rust'ın "dahili değişkenlik" olarak adlandırdığı bu model, çalışma zamanında bellek kullanım kurallarını atlamamıza izin verirken, Rust'un derleme zamanında bize verdiği güvenlik düzeyini de korumamıza yardımcı olur.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_ua.html b/103_ua.html new file mode 100644 index 000000000..99043f2ea --- /dev/null +++ b/103_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Поєднання розумних покажчиків

+

Розумні покажчики можуть здатися обмеженими, але вони можуть створювати дуже потужні комбінації.

+

Rc<Vec<Foo>> - Дозволяє клонування декількох смарт-покажчиків, які можуть позичати один і той самий вектор незмінних структур даних на купі.

+

Rc<RefCell<Foo>> - Дозволити декільком смарт-покажчикам запозичувати взаємно/незмінно одну й ту саму структуру Foo.

+

Arc<Mutex<Foo>> - Дозволяє декільком смарт-покажчикам блокувати тимчасові змінювані/незмінні запозичення виключно для потоку процесора.

+

Деталі роботи за памяттю:

+
    +
  • Використання незмінного типу даних (який може належати декільком смарт-покажчикам) для модифікації внутрішніх даних у Rust називається патерном "внутрішня змінюваність". Це патерн, який дозволяє нам змінювати правила використання пам'яті під час виконання з тим же рівнем безпеки, що і перевірки Rust під час компіляції.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_vi.html b/103_vi.html new file mode 100644 index 000000000..7c3a80ad8 --- /dev/null +++ b/103_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kết hợp nhiều con trỏ thông minh

+

Con trỏ thông minh có vẻ hạn chế, nhưng chúng có thể tạo ra một số kết hợp rất mạnh mẽ.

+

Rc<Vec<Foo>> - Cho phép sao chép nhiều con trỏ thông minh có thể mượn cùng một vectơ của cấu trúc dữ liệu bất biến trên heap.

+

Rc<RefCell<Foo>> - Cho phép nhiều con trỏ thông minh khả năng mượn có thể thay đổi/không thay đổi cùng một struct Foo

+

Arc<Mutex<Foo>> - Cho phép nhiều con trỏ thông minh có khả năng khóa việc mượn tạm thời có thể thay đổi/ không thể thay đổi theo cách thức độc quyền của luồng CPU.

+

Chi tiết bộ nhớ:

+
    +
  • Bạn sẽ nhận thấy một chủ đề với nhiều sự kết hợp này. Việc sử dụng kiểu dữ liệu bất biến (có thể thuộc sở hữu của nhiều con trỏ thông minh) để sửa đổi dữ liệu nội bộ. Đây được gọi là mô hình "interior mutability" trong Rust. Đây là một mô hình cho phép chúng ta bẻ cong các quy tắc sử dụng bộ nhớ trong thời gian chạy với mức độ an toàn tương tự như kiểm tra thời gian biên dịch của Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_zh-cn.html b/103_zh-cn.html new file mode 100644 index 000000000..9e0beb5c4 --- /dev/null +++ b/103_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

组合智能指针

+

智能指针看起来可能会存在一些限制,但是我们可以做一些非常有用的结合。

+

Rc<Vec<Foo>> - 允许克隆多个可以借用堆上不可变数据结构的相同向量的智能指针。

+

Rc<RefCell<Foo>> - 允许多个智能指针可变/不可变地借用相同的结构Foo

+

Arc<Mutex<Foo>> - 允许多个智能指针以 CPU 线程独占方式锁定临时可变/不可变借用的能力。

+

内存细节:

+
    +
  • 您会注意到一个包含许多这些组合的主题。 使用不可变数据类型(可能由多个智能指针拥有)来修改内部数据。 +这在 Rust 中被称为“内部可变性”模式。 这种模式让我们可以在运行时以与 Rust 的编译时检查相同的安全级别来改变内存使用规则。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/103_zh-tw.html b/103_zh-tw.html new file mode 100644 index 000000000..044cf7700 --- /dev/null +++ b/103_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/104_al.html b/104_al.html new file mode 100644 index 000000000..08f9935d1 --- /dev/null +++ b/104_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_ar.html b/104_ar.html new file mode 100644 index 000000000..6967d90aa --- /dev/null +++ b/104_ar.html @@ -0,0 +1,46 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 8 - الخلاصة

+

المؤشرات الذكية (Smart pointers) هي العبارات الإصطلاحيه في برمجة رست (Rust) والتي تسمح لنا بعدم إعادة إنشاء الأنماط الشائعة جدًا لاستخدام الذاكرة. بإستخدامهم أنت على استعداد لمواجهة أصعب التحديات!

+

الآن بعد أن أصبح لدينا أساسيات رست (Rust)، دعونا نتحدث قليلاً عن كيفية إنشاء مشاريع أكبر. في الفصل التاسع، سوف نتحرر من التعليمات البرمجية ذات الصفحة الواحدة.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_de.html b/104_de.html new file mode 100644 index 000000000..51f0e4765 --- /dev/null +++ b/104_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_en.html b/104_en.html new file mode 100644 index 000000000..78af58ffc --- /dev/null +++ b/104_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_es.html b/104_es.html new file mode 100644 index 000000000..eb6b5951d --- /dev/null +++ b/104_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 8 - Conclusión

+

Los punteros inteligentes son como los modismos de la programación Rust y no hace falta recrear los patrones más comunes de uso de la memoria. Concluido este capítulo, ya estás listo para afrontar los desafíos más difíciles. Ahora que ya tenemos conocimientos sobre los principios fundamentales de Rust, hablemos un poco de cómo llevar a cabo proyectos más complejos. En el capítulo 9 nos liberamos de las líneas de código de una sola página.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_fa.html b/104_fa.html new file mode 100644 index 000000000..af467a409 --- /dev/null +++ b/104_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_fi.html b/104_fi.html new file mode 100644 index 000000000..d647a8896 --- /dev/null +++ b/104_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_fr.html b/104_fr.html new file mode 100644 index 000000000..3170eea40 --- /dev/null +++ b/104_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 8 - Conclusion

+

Les pointeurs intelligents sont très utilisés avec Rust car cela nous +évite de recréer nous-même ces schémas très courants d'utilisation de +la mémoire. Avec eux, tu sera prêt à affronter tous les défis! Maintenant +que nous avons vu les fondations de Rust, nous verrons dans le prochain +chapitre comment se structure un projet Rust au-delà d'un simple fichier.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_gr.html b/104_gr.html new file mode 100644 index 000000000..a1ce0daa2 --- /dev/null +++ b/104_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_hu.html b/104_hu.html new file mode 100644 index 000000000..106bc4dea --- /dev/null +++ b/104_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

8. Fejezet - Konklúzió

+

Az okos pointerek a Rust programozás szerves részét képzik és idiomatikus eszközöket nyújtanak +ahhoz, hogy ne kelljen nagyon gyakori memóriakezelési mintákat ismételten megírnunk. +Segítségükkel készen állsz arra, hogy megbírkózz a legnehezebb kihívásokkal is! Most, hogy +végeztünk a Rust alapjaival, beszéljünk egy kicsit arról, hogyan csinálhatunk nagyobb +projekteket. A 9. fejezetben kitörünk az egy oldalra kiférő kódok világából.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_id.html b/104_id.html new file mode 100644 index 000000000..884fcca38 --- /dev/null +++ b/104_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_ie.html b/104_ie.html new file mode 100644 index 000000000..8d032051c --- /dev/null +++ b/104_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 8 - Conclusion

+

Puntatores inteligent es li idiotismes de programmation in Rust con queles noi ne es fortiat recrear +li defís comun in li mustres de usation de memorie. Con ili on es pret a soluer mem li defís max dur! +Armat con li fundamentes de Rust, noi nu va parlar plu pri qualmen crear projectes con un grandore +plu ampli. In Capitul 9 noi va liberar nos de lineas de code scrit sur un singul págine.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_it.html b/104_it.html new file mode 100644 index 000000000..7f9046d32 --- /dev/null +++ b/104_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_ja.html b/104_ja.html new file mode 100644 index 000000000..8f4d7494c --- /dev/null +++ b/104_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_ko.html b/104_ko.html new file mode 100644 index 000000000..28bc38418 --- /dev/null +++ b/104_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

8장 - 마무리

+

smart pointer는 Rust 프로그래밍의 관용구로서 매우 일반적인 메모리 사용 패턴들도 다시 만들 필요 없게 해줍니다. +이들만 있으면 어려운 도전도 해결할 준비가 된 것입니다! +이제 Rust의 기초를 다졌으니, 더 큰 프로젝트를 만드는 방법에 대해 조금 얘기해 봅시다. +9장에서는 한 페이지짜리 코드에서 벗어날 수 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_ne.html b/104_ne.html new file mode 100644 index 000000000..d3609a63e --- /dev/null +++ b/104_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_pl.html b/104_pl.html new file mode 100644 index 000000000..b2b329d38 --- /dev/null +++ b/104_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_pt-br.html b/104_pt-br.html new file mode 100644 index 000000000..7f5c54ad9 --- /dev/null +++ b/104_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 8 - Conclusão

+

Os ponteiros inteligentes são expressões idiomáticas da programação em Rust, assim não precisamos recriar os padrões mais usuais de uso de memória. Com eles você está pronto para enfrentar os desafios mais difíceis! Agora que temos os fundamentos do Rust, vamos falar um pouco sobre como fazemos projetos maiores. No capítulo 9 nos libertamos das linhas de código de uma única página.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_ro.html b/104_ro.html new file mode 100644 index 000000000..de4edee8f --- /dev/null +++ b/104_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Concluzii

+

Pointerii inteligenți sunt expresii specifice programării în Rust ce ne scutesc de recrearea +unor tipare des întâlnite în lucrul cu memoria. Cu acestea poți face față celor mai grele +provocări! Acum că am pus bazele limbajului Rust, haide să discutăm puțin despre cum să facem +proiecte mai mari. În capitolul 9 vom scăpa de scrierea codului într-un +singur fișier.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_ru.html b/104_ru.html new file mode 100644 index 000000000..853ce660f --- /dev/null +++ b/104_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 8 - Заключение

+

Умные указатели являются идиомами программирования в Rust и нам не нужно заново создавать очень распространенные шаблоны использования памяти. С ними вы можете быть готовыми решать самые сложные задачи. +Теперь, когда у нас есть основы Rust, давайте немного поговорим о том, как создаются большие проекты. +В главе 9 мы освобождаемся от примеров кода в одну страницу.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_th.html b/104_th.html new file mode 100644 index 000000000..947f3df09 --- /dev/null +++ b/104_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 8 - สรุป

+

Smart pointer เป็นสำนวนของการเขียนโปรแกรมของ Rust มันช่วยให้เราไม่ต้องสร้างรูปแบบการใช้งานหน่วยความจำขึ้นมาใหม่ +และด้วยสิ่งนี้ คุณจึงพร้อมรับมือกับเรื่องที่ยากที่สุด! ซึ่งตอนนี้เรารู้เรื่องพื้นฐานของ Rust แล้ว เราจะไปคุยกันอีกเล็กน้อยถึงการสร้างโปรเจ็คที่ใหญ่ขึ้น ในบทที่ 9 เราจะไม่เขียนโค้ดแค่หน้าเดียวแล้ว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_tr.html b/104_tr.html new file mode 100644 index 000000000..34ef1f295 --- /dev/null +++ b/104_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 8 - Sonuç

+

Aslında birer Rust programlama dili deyimi olan ve oldukça sık kullanılan akıllı işaretçiler, bizleri yaygın bellek kullanım modellerini yeniden oluşturma zahmetinden kurtarmakla beraber, her türlü zorlukla yüzleşmeye hazır hale getirir. Artık Rust'un temellerini kavradığımıza göre daha büyük projelere yelken açabiliriz. +Bir sonraki bölümde tek sayfalık kodlara veda edecek ve büyük projelerin nasıl oluşturulduğunu tartışacağız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_ua.html b/104_ua.html new file mode 100644 index 000000000..368e17936 --- /dev/null +++ b/104_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 8 - Висновок

+

Розумні покажчики - це ідіома програмування на Rust, і нам не доведеться повторно створювати дуже поширені патерни використання пам'яті. +Тепер, коли ми ознайомилися з основами Rust, давайте трохи поговоримо про те як створювати більші проекти. У главі 9 ми перестанемо писати код у одному файлі.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_vi.html b/104_vi.html new file mode 100644 index 000000000..d9ff6014a --- /dev/null +++ b/104_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 8 - Tổng kết

+

Con trỏ thông minh là điểm đặc trưng của lập trình Rust và chúng ta không cần phải tạo lại các mô hình sử dụng bộ nhớ rất phổ biến. Với nó, bạn đã sẵn sàng để đối phó với những thử thách khó khăn nhất! Bây giờ chúng ta đã có nền tảng của Rust, hãy nói một chút về cách chúng ta thực hiện các dự án lớn hơn. Trong chương 9, chúng ta sẽ tách ra khỏi các dòng code đơn.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_zh-cn.html b/104_zh-cn.html new file mode 100644 index 000000000..31a18a162 --- /dev/null +++ b/104_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第8章 - 总结

+

智能指针是 Rust编程中经常使用的,它可以让我们不必重新创建非常常见的内存使用范式。 有了它,您可以准备好应对最艰难的挑战了! 现在我们掌握了 Rust 的基础,让我们来谈谈如何编写更庞大的项目。 在下一章中,我们将摆脱一个文件包含所有代码的束缚。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/104_zh-tw.html b/104_zh-tw.html new file mode 100644 index 000000000..b8585f981 --- /dev/null +++ b/104_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_al.html b/106_al.html new file mode 100644 index 000000000..54041bf3d --- /dev/null +++ b/106_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_ar.html b/106_ar.html new file mode 100644 index 000000000..995ef2ade --- /dev/null +++ b/106_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الوحدات (Modules)

+

كل برنامج أو مكتبة في رست (Rust) هي صندوق (crate)

+

يتكون كل صندوق (crate) من تسلسل هرمي (hierarchy) من الوحدات (modules).

+

يحتوي كل صندوق (crate) على وحدة جذر (root module).

+

يمكن للوحدة أن تحتوي على متغيرات عامة (global variables) أو دوال أو هياكل (structs) أو سمات (traits) أو حتى وحدات (modules) أخرى!

+

في رست (Rust) لا يوجد 1 لـ 1 في خريطة الملفات الخاصة بالتسلسل الهرمي لشجرة الوحدة (module tree hierarchy). يجب أن نبني شجرة الوحدة (module tree) بشكل واضح يدويًا في التعليمات البرمجية الخاصة بنا.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_de.html b/106_de.html new file mode 100644 index 000000000..1990962c8 --- /dev/null +++ b/106_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module

+

Jedes Rust Programm oder jede Bibliothek wird crate genannt. +Jedes create besteht aus einer Hierarchie von Modulen. +Jedes crate hat ein root Modul. +Ein Modul kann globale Variablen, Funktionen, Strukturen, Traits oder sogar andere Module beinhalten.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_en.html b/106_en.html new file mode 100644 index 000000000..97299cc7e --- /dev/null +++ b/106_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_es.html b/106_es.html new file mode 100644 index 000000000..1380c9403 --- /dev/null +++ b/106_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Módulos

+

Cada programa o librería de Rust es un crate.

+

Cada crate está compuesto por una jerarquía de módulos.

+

Cada crate tiene un módulo raíz.

+

Un módulo puede contener variables globales, funciones, estructuras, traits, o incluso otros módulos.

+

En Rust no existe una relación 1 a 1 entre los archivos y el árbol jerárquico de módulos. Debemos construir el árbol de módulos manualmente en nuestro código.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_fa.html b/106_fa.html new file mode 100644 index 000000000..0e6e30431 --- /dev/null +++ b/106_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree heirarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_fi.html b/106_fi.html new file mode 100644 index 000000000..eb4f75cae --- /dev/null +++ b/106_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_fr.html b/106_fr.html new file mode 100644 index 000000000..82c14c64b --- /dev/null +++ b/106_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Chaque programme ou bibliothèque Rust est appelé une crate +(littéralement une caisse).

+

Chaque crate est constituée d'une hiérarchie de modules.

+

Chaque crate possède un module racine.

+

Un module peut contenir des variables globales, des fonctions, des +structures, des traits ou même d'autres modules!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_gr.html b/106_gr.html new file mode 100644 index 000000000..25ffa0a89 --- /dev/null +++ b/106_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_hu.html b/106_hu.html new file mode 100644 index 000000000..962169b95 --- /dev/null +++ b/106_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modulok

+

Minden Rust programot, vagy könyvtárat crate-nek (ládának) hívunk.

+

Minden láda modulok hierarchiáját tartalmazza.

+

Minden ládának van legfelső szintű (root, gyökér) modulja.

+

A modulok tartalmazhatnak globális változókat, függvényeket, struct-okat, traiteket, vagy akár +másik modulokat is!

+

Rust-ban nincs 1:1 megfeleltetés a fájlok és a modul-hierarchia között. A modulok fáját kézzel +kell felépítenünk a kódunkban.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_id.html b/106_id.html new file mode 100644 index 000000000..01bee4895 --- /dev/null +++ b/106_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_ie.html b/106_ie.html new file mode 100644 index 000000000..e3cc738d3 --- /dev/null +++ b/106_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Chascun programma o biblioteca in Rust es un crate. +Chascun crate es creat ex un hierarchie de modules. +Chascun crate possede un root (radical) modul. +Un model possede variabiles global, functiones, structs, traits, e altri modules!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_it.html b/106_it.html new file mode 100644 index 000000000..71ecd1cfc --- /dev/null +++ b/106_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_ja.html b/106_ja.html new file mode 100644 index 000000000..e7ea19403 --- /dev/null +++ b/106_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_ko.html b/106_ko.html new file mode 100644 index 000000000..47b7fd6fc --- /dev/null +++ b/106_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

모듈

+

모든 Rust 프로그램이나 라이브러리(library)는 크레이트(crate)입니다.

+

모든 crate는 모듈(module)의 계층구조로 이루어져 있습니다.

+

모든 crate에는 최상위(root) module이 있습니다.

+

module에는 전역변수, 함수, struct, trait, 또는 다른 module까지도 포함될 수 있습니다!

+

Rust에서는 파일과 module 트리 계층구조 간의 1:1 대응은 없습니다. module의 트리 구조는 코드로 직접 작성해야 합니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_ne.html b/106_ne.html new file mode 100644 index 000000000..3518c1fa6 --- /dev/null +++ b/106_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_pl.html b/106_pl.html new file mode 100644 index 000000000..ab003e330 --- /dev/null +++ b/106_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_pt-br.html b/106_pt-br.html new file mode 100644 index 000000000..fc7245a33 --- /dev/null +++ b/106_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Módulos

+

Cada programa ou biblioteca do Rust é uma crate.

+

Cada crate é feita de uma hierarquia de módulos.

+

Cada crate tem um módulo raiz.

+

Um módulo pode conter variáveis globais, funções, structs, traits ou até mesmo outros módulos!

+

No Rust não há um mapeamento 1 para 1 de arquivos para a hierarquia da árvore de módulos. Devemos construir a árvore de módulos explicitamente à mão em nosso código.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_ro.html b/106_ro.html new file mode 100644 index 000000000..8a843a789 --- /dev/null +++ b/106_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module

+

Fiecare program sau bibliotecă Rust este o cutie.

+

Fiecare cutie este alcătuit dintr-o ierarhie de module.

+

Fiecare cutie are un modul rădăcină.

+

Un modul poate conține variabile globale, funcții, structuri, trăsături sau chiar alte module!

+

În Rust nu există o corespondență unu la unu între fișiere și ierarhia de module. Trebuie să construim arborele de module în mod explicit și manual în codul nostru.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_ru.html b/106_ru.html new file mode 100644 index 000000000..5b48bebc0 --- /dev/null +++ b/106_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Модули (Modules)

+

Каждая Rust программа или библиотека является crate (крейтом).

+

Каждый крейт (crate) сделан из иерархии модулей (modules), которые могут быть программами или библиотекой.

+

Каждый крейт имеет корневой модуль (root module).

+

Модуль содержит глобальные переменные, функции, структуры, типажи и даже другие модули!

+

В Rust нет "1 в 1" отображения файлов на древовидную, иерархическую структуру модуля. Мы сами должны +создать дерево модулей явным образом "в ручную" в вашем коде.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_th.html b/106_th.html new file mode 100644 index 000000000..5b9171674 --- /dev/null +++ b/106_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

ทุกโปรแกรมและไลบรารีของ Rust ล้วนเป็น crate.

+

และทุกๆ crate สร้างจากลำดับชั้นของ modules.

+

ทุกๆ crate ต้องมีโมดูลหลักหนึ่งตัวเสมอ

+

โมดูล สามารถถือครองได้ทั้ง ตัวแปร, ฟังก์ชัน, structs, traits แบบโกลบอล หรือแม้แต่โมดูลอื่น

+

Rust ไม่ใช้การจับคู่ 1 ไฟล์ต่อ 1 ลำดับชั้นของโมดูล แต่เราใช้วิธีสร้างโมดูลให้ชัดเจนด้วยมือเราเอง

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_tr.html b/106_tr.html new file mode 100644 index 000000000..846505b04 --- /dev/null +++ b/106_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modüller

+

Her Rust programı veya kütüphanesi birer sandıktır.

+

Her sandık bir modül hiyerarşisinden oluşur.

+

Her sandıkta bir kök modül bulunur.

+

Her modül evrensel değişkenler, işlevler, yapılar, özellikler hatta başka modüllerden bile oluşabilir!

+

Rust'ta ağaç benzeri hiyerarşik modül yapısına 1 e 1 dosya eşlemesi bulunmadığından, modül ağacının kod içinde, açıkça ve bizim tarafımızdan +oluşturulması gerekir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_ua.html b/106_ua.html new file mode 100644 index 000000000..45903bc52 --- /dev/null +++ b/106_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Модулі

+

Будь яка програма чи бібліотека на Rust є crate (це такі пакети в rust).

+

Кожен crate створює ієрархію модулів.

+

Кожен crate є головним модулем.

+

Модулі можуть мати в собі як глобальні змінні, так і структури, функції, трейти, і т.д.!

+

У Rust немає відображення файлів до ієрархії дерева модулів 1 до 1. Ми повинні будувати дерево модулів явно вручну в нашому коді.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_vi.html b/106_vi.html new file mode 100644 index 000000000..0bb0a58e9 --- /dev/null +++ b/106_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mô-đun(Module)

+

Mọi chương trình hoặc thư viện Rust đều là một crate.

+

Mỗi crate đều được tạo thành từ hệ thống phân cấp của mô-đun.

+

Mỗi crate đều có một mô-đun gốc.

+

Một mô-đun có thể chứa các biến toàn cục, hàm, struct, trait hoặc thậm chí các mô-đun khác!

+

Trong Rust, không có ánh xạ từ 1 đến 1 của các tệp với cấu trúc phân cấp cây mô-đun. Chúng ta phải xây dựng cây mô-đun một cách rõ ràng bằng tay trong code của chúng ta.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_zh-cn.html b/106_zh-cn.html new file mode 100644 index 000000000..57ce46c6e --- /dev/null +++ b/106_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

模块

+

每个 Rust 程序或者库都叫 crate

+

每个 crate 都是由模块的层次结构组成。

+

每个 crate 都有一个根模块。

+

模块里面可以有全局变量、全局函数、全局结构体、全局 Trait 甚至是全局模块!

+

在 Rust 中,文件与模块树的层次结构并不是一对一的映射关系。我们必须在我们的代码中手动构建模块树。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/106_zh-tw.html b/106_zh-tw.html new file mode 100644 index 000000000..78ef4d345 --- /dev/null +++ b/106_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_al.html b/107_al.html new file mode 100644 index 000000000..6ccfabf2f --- /dev/null +++ b/107_al.html @@ -0,0 +1,45 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_ar.html b/107_ar.html new file mode 100644 index 000000000..1f526c5a4 --- /dev/null +++ b/107_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

كتابة برنامج (Writing a Program)

+

البرنامج (Program) يملك وحدة جذر (root module) في ملف يسمى بـ main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_de.html b/107_de.html new file mode 100644 index 000000000..ac2308db8 --- /dev/null +++ b/107_de.html @@ -0,0 +1,45 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ein Programm schreiben

+

Ein Programm hat ein Hauptmodul, das in der Datei main.rs untergebracht ist.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_en.html b/107_en.html new file mode 100644 index 000000000..d37d78b93 --- /dev/null +++ b/107_en.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_es.html b/107_es.html new file mode 100644 index 000000000..8192d42bc --- /dev/null +++ b/107_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escribir un Programa

+

Un programa tiene un módulo raíz en un archivo llamado main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_fa.html b/107_fa.html new file mode 100644 index 000000000..c94d91ead --- /dev/null +++ b/107_fa.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_fi.html b/107_fi.html new file mode 100644 index 000000000..ad7aa9321 --- /dev/null +++ b/107_fi.html @@ -0,0 +1,45 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_fr.html b/107_fr.html new file mode 100644 index 000000000..88c813876 --- /dev/null +++ b/107_fr.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ecrire un programme

+

Un programme possède un module racine dans un fichier appelé main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_gr.html b/107_gr.html new file mode 100644 index 000000000..5624af0d0 --- /dev/null +++ b/107_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_hu.html b/107_hu.html new file mode 100644 index 000000000..99499999d --- /dev/null +++ b/107_hu.html @@ -0,0 +1,45 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hogyan Írjunk Futtatható Programot

+

Egy programnak mindig kell egy legfelső szintű modul, melyet a main.rs fájl tartalmaz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_id.html b/107_id.html new file mode 100644 index 000000000..b33c0dc45 --- /dev/null +++ b/107_id.html @@ -0,0 +1,45 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_ie.html b/107_ie.html new file mode 100644 index 000000000..bc9d2dde4 --- /dev/null +++ b/107_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scrir un Programma

+

Un programma have un modul root in un archive nominat main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_it.html b/107_it.html new file mode 100644 index 000000000..70c3be6a2 --- /dev/null +++ b/107_it.html @@ -0,0 +1,45 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_ja.html b/107_ja.html new file mode 100644 index 000000000..e87ca7f88 --- /dev/null +++ b/107_ja.html @@ -0,0 +1,45 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_ko.html b/107_ko.html new file mode 100644 index 000000000..90abba3d8 --- /dev/null +++ b/107_ko.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

프로그램 작성하기

+

프로그램은 main.rs라 불리는 파일에 root module을 갖고 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_ne.html b/107_ne.html new file mode 100644 index 000000000..38b87fddd --- /dev/null +++ b/107_ne.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_pl.html b/107_pl.html new file mode 100644 index 000000000..6c1052a4e --- /dev/null +++ b/107_pl.html @@ -0,0 +1,45 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_pt-br.html b/107_pt-br.html new file mode 100644 index 000000000..1d11faa4e --- /dev/null +++ b/107_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escrevendo um programa

+

Um programa possui um módulo raiz em um arquivo chamado main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_ro.html b/107_ro.html new file mode 100644 index 000000000..839278bd0 --- /dev/null +++ b/107_ro.html @@ -0,0 +1,45 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scrierea unui program

+

Un program are un modul rădăcină într-un fișier numit main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_ru.html b/107_ru.html new file mode 100644 index 000000000..41afe596d --- /dev/null +++ b/107_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Написание программы (Writing a Program)

+

Программа имеет корневой модуль в файле с названием main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_th.html b/107_th.html new file mode 100644 index 000000000..b94c8be3b --- /dev/null +++ b/107_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Program

+

ทุกๆโปรแกรมจะมีโมดูลหลักในไฟล์ชื่อ main.rs

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_tr.html b/107_tr.html new file mode 100644 index 000000000..7ef39b309 --- /dev/null +++ b/107_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bir Program Yazmak

+

Her program main.rs adlı dosyadan oluşan bir kök modüle sahiptir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_ua.html b/107_ua.html new file mode 100644 index 000000000..1fd88031d --- /dev/null +++ b/107_ua.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Написання програм

+

Ваша програма є головним модулем у файлі під назвою main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_vi.html b/107_vi.html new file mode 100644 index 000000000..3257ec237 --- /dev/null +++ b/107_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Viết chương trình

+

Một chương trình có một mô-đun gốc trong một tệp có tên là main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_zh-cn.html b/107_zh-cn.html new file mode 100644 index 000000000..b25938f7d --- /dev/null +++ b/107_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

编写程序

+

应用程序的根模块需要在一个叫 main.rs 的文件里面。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/107_zh-tw.html b/107_zh-tw.html new file mode 100644 index 000000000..1181e7127 --- /dev/null +++ b/107_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_al.html b/108_al.html new file mode 100644 index 000000000..318af65f8 --- /dev/null +++ b/108_al.html @@ -0,0 +1,45 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_ar.html b/108_ar.html new file mode 100644 index 000000000..c708cc4e6 --- /dev/null +++ b/108_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

كتابة مكتبة (Writing a Library)

+

المكتبة (library) تملك وحدة جذر (root module) في ملف يدعى بـ lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_de.html b/108_de.html new file mode 100644 index 000000000..f6aed50e8 --- /dev/null +++ b/108_de.html @@ -0,0 +1,45 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eine Bibliothek schreiben

+

Eine Bibliothek hat ein Hauptmodul, das in der Datei lib.rs untergebracht ist.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_en.html b/108_en.html new file mode 100644 index 000000000..55c5a1ee6 --- /dev/null +++ b/108_en.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_es.html b/108_es.html new file mode 100644 index 000000000..f65ffa616 --- /dev/null +++ b/108_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escribir una Librería

+

Una librería tiene un módulo raíz en un archivo llamado lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_fa.html b/108_fa.html new file mode 100644 index 000000000..f261b5755 --- /dev/null +++ b/108_fa.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_fi.html b/108_fi.html new file mode 100644 index 000000000..dc231c23d --- /dev/null +++ b/108_fi.html @@ -0,0 +1,45 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_fr.html b/108_fr.html new file mode 100644 index 000000000..fbf895374 --- /dev/null +++ b/108_fr.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ecrire une bibliothèque

+

Un bibliothèque possède un module racine dans un fichier appelé lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_gr.html b/108_gr.html new file mode 100644 index 000000000..78c2905e4 --- /dev/null +++ b/108_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_hu.html b/108_hu.html new file mode 100644 index 000000000..ff9e33d84 --- /dev/null +++ b/108_hu.html @@ -0,0 +1,45 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hogyan Írjunk Programkönyvtárat

+

Egy könyvtárnak mindig kell egy legfelső szintű modul, melyet a lib.rs fájl tartalmaz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_id.html b/108_id.html new file mode 100644 index 000000000..839c537ff --- /dev/null +++ b/108_id.html @@ -0,0 +1,45 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_ie.html b/108_ie.html new file mode 100644 index 000000000..cc320149e --- /dev/null +++ b/108_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scrir un Biblioteca

+

Un biblioteca have un modul root in un archive nominat lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_it.html b/108_it.html new file mode 100644 index 000000000..222de6934 --- /dev/null +++ b/108_it.html @@ -0,0 +1,45 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_ja.html b/108_ja.html new file mode 100644 index 000000000..e484aa26f --- /dev/null +++ b/108_ja.html @@ -0,0 +1,45 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_ko.html b/108_ko.html new file mode 100644 index 000000000..514cdd936 --- /dev/null +++ b/108_ko.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

라이브러리 작성하기

+

library는 lib.rs라 불리는 파일에 root module을 갖고 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_ne.html b/108_ne.html new file mode 100644 index 000000000..3e2d42986 --- /dev/null +++ b/108_ne.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_pl.html b/108_pl.html new file mode 100644 index 000000000..a58f649ab --- /dev/null +++ b/108_pl.html @@ -0,0 +1,45 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_pt-br.html b/108_pt-br.html new file mode 100644 index 000000000..001e5493e --- /dev/null +++ b/108_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escrevendo uma biblioteca

+

Uma biblioteca possui um módulo raiz em um arquivo chamado lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_ro.html b/108_ro.html new file mode 100644 index 000000000..89a1699a1 --- /dev/null +++ b/108_ro.html @@ -0,0 +1,45 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scrierea unei biblioteci

+

O bibliotecă are un modul rădăcină într-un fișier numit lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_ru.html b/108_ru.html new file mode 100644 index 000000000..651294b0d --- /dev/null +++ b/108_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Написание библиотеки (Writing a Library)

+

Библиотека имеет корневой модуль в файле с названием lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_th.html b/108_th.html new file mode 100644 index 000000000..1c4edc5c9 --- /dev/null +++ b/108_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Library

+

ทุกๆไลบรารีจะมีโมดูลหลักในไฟล์ชื่อ lib.rs

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_tr.html b/108_tr.html new file mode 100644 index 000000000..0476d7f83 --- /dev/null +++ b/108_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bir Kütüphane Yazmak

+

Her kütüphane lib.rs adlı dosyadan oluşan bir kök modüle sahiptir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_ua.html b/108_ua.html new file mode 100644 index 000000000..6ccf3f6e2 --- /dev/null +++ b/108_ua.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Написання бібліотеки

+

Ваша бібліотека є головним модулем у файлі під назвою lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_vi.html b/108_vi.html new file mode 100644 index 000000000..8b7c542a4 --- /dev/null +++ b/108_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Viết thư viện

+

Một thư viện có một mô-đun gốc trong một tệp có tên là lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_zh-cn.html b/108_zh-cn.html new file mode 100644 index 000000000..17338c7bc --- /dev/null +++ b/108_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

编写库

+

库的根模块需要在一个叫 lib.rs 的文件里面。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/108_zh-tw.html b/108_zh-tw.html new file mode 100644 index 000000000..327d17055 --- /dev/null +++ b/108_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/109_al.html b/109_al.html new file mode 100644 index 000000000..204aac13d --- /dev/null +++ b/109_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_ar.html b/109_ar.html new file mode 100644 index 000000000..086f8343d --- /dev/null +++ b/109_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الإشارة إلى وحدات وصناديق أخرى (Referencing Other Modules and Crates)

+

يمكن الإشارة إلى العناصر الموجودة في الوحدات الأخرى عن طريق المسار الكامل للوحدة كما يلي

+
std::f64::consts::* 
+
+

والطريقة الأسهل هي استعمال الكلمة المفتاحية use. فهي تتيح لنا تحديد عناصر معينة من الوحدات والتي نرغب في استخدامها في التعليمات البرمجية الخاصة بنا ودون استخدام المسار الكامل. على سبيل المثال،

+
std::f64::consts::PI 
+
+

هنا يسمح لي فقط باستخدام المعرف PI في دالتي الرئيسية.

+

std هي الصندوق الخاص بـ المكتبة القياسية (standard library) لرست (Rust) والتي تحوي هياكل بيانات ودوال مساعدة في التفاعل مع نظام التشغيل الخاص بك.

+

يمكنك العثور على دليل الصناديق (crates) الذي أنشأه مجتمع رست (Rust) ويمكنك البحث فيه عبر الموقع https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_de.html b/109_de.html new file mode 100644 index 000000000..175a3fd29 --- /dev/null +++ b/109_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenzierung zu anderen Modulen und Crates

+

Um auf Elemente in Modulen zu referenzieren, kann der vollständige Modulpfad verwendet werden: std::f64::consts::PI. +Ein einfacherer Weg ist das use Schlüsselwort. Es erlaubt uns anzugeben, welche Elemente wir durchgehend in unserem Code verwenden wollen, ohne jedes Mal den vollständigen Pfad angeben zu müssen. +Als Beispiel: use std::f64::consts::PI erlaubt Dir nur die Bezeichnung PI in der main Funktion zu verwenden. +std ist das Create der Standard Bibliothek von Rust. Sie ist voll mit nützlichen Datenstrukturen und Funktionen, um mit deinem Betriebssystem zu interagieren. +Eine durchsuchbare Bibliothek aller Creates, die von der Community erstellt wurden, findest Du unter: https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_en.html b/109_en.html new file mode 100644 index 000000000..ece8f8446 --- /dev/null +++ b/109_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_es.html b/109_es.html new file mode 100644 index 000000000..77a3c8415 --- /dev/null +++ b/109_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciar Otros Módulos y Crates

+

Los elementos de los módulos se pueden referenciar con la ruta completa de su módulo std::f64::consts::PI.

+

Una forma más simple es con el uso de la palabra reservada use. Esta nos permite especificar elementos particulares de los módulos que queremos usar en todo nuestro código sin una ruta completa. Por ejemplo, el uso de std::f64::consts::PI nos permite usar el identificador PI en la función principal.

+

std es un crate de la librería estándar de Rust que está lleno de estructuras de datos y funciones para interactuar con tu sistema operativo.

+

En el siguiente enlace: https://crates.io puedes encontrar un directorio de crates creado por la comunidad.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_fa.html b/109_fa.html new file mode 100644 index 000000000..0d55e5673 --- /dev/null +++ b/109_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_fi.html b/109_fi.html new file mode 100644 index 000000000..73b224e49 --- /dev/null +++ b/109_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_fr.html b/109_fr.html new file mode 100644 index 000000000..4ccf7a6af --- /dev/null +++ b/109_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Référencement de modules et de crates

+

Les composants d'un module peuvent être référencés avec leur chemin +complet std::f64::consts::PI.

+

Un moyen plus simple est d'utiliser le mot-clé use. Il nous permet +de spécifier des éléments particuliers des modules que nous souhaitons +utiliser sans avoir à spécifier le chemin complet à chaque fois. Par +exemple use std::f64::consts::PI permettra d'utiliser simplement +l'identifiant PI là où on en a besoin.

+

std est la bibliothèque standard de Rust. Celle-ci met à +disposition de nombreuses structures de données et fonctions pour +intéragir plus facilement avec le système d'exploitation.

+

Un répertoire des crates créés par la communauté peut être consulté à +l'adresse https://crates.io

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_gr.html b/109_gr.html new file mode 100644 index 000000000..3a23d9e75 --- /dev/null +++ b/109_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_hu.html b/109_hu.html new file mode 100644 index 000000000..349a0b3f5 --- /dev/null +++ b/109_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hogyan Hivatkozzunk Más Modulokra és Ládákra

+

Modulokban lévő elemekre teljes elérési útjukkal lehet hivatkozni, például: +std::f64::consts::PI.

+

Ennél egyszerűbb a use kulcsszó. Ez lehetővé teszi számunkra más modulok adott elemeire +hivatkozást anélkül, hogy a teljes elérési útjukat ki kéne újra írnunk. Például, ha modulunk, +függvényünk vagy blokkunk elejére írjuk, hogy use std::f64::consts::PI, az adott helyen már +elég csak PI-ként hivatkoznunk rá.

+

A Rust alapkönyvtárának ládájára std néven hivatkozhatunk. Ez tele van hasznos +adatstruktúrákkal és függvényekkel, valamint az operációs rendszer képességeit elérő +funkciókkal.

+

A közösség által készített ládák kereshető gyűjteményét a +https://crates.io weboldalon találod.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_id.html b/109_id.html new file mode 100644 index 000000000..271f482df --- /dev/null +++ b/109_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_ie.html b/109_ie.html new file mode 100644 index 000000000..b45441589 --- /dev/null +++ b/109_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referentiar Coses Multiplic

+

On posse referentiar coses multiplic in un sol modul quam seque:

+
use std::f64::consts::{PI, TAU}
+
+

Ferris ne manja TAU, solmen PI.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_it.html b/109_it.html new file mode 100644 index 000000000..7854e0124 --- /dev/null +++ b/109_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_ja.html b/109_ja.html new file mode 100644 index 000000000..efc3fc741 --- /dev/null +++ b/109_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_ko.html b/109_ko.html new file mode 100644 index 000000000..f4bca0bc4 --- /dev/null +++ b/109_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

다른 모듈과 크레이트 참조하기

+

module 내의 항목은 전체 module 경로인 std::f64::consts::PI를 이용해 참조할 수 있습니다.

+

더 간단한 방법은 use 키워드를 사용하는 것입니다. +이를 이용하면 module에서 쓰고자 하는 특정 항목을 전체 경로를 쓰지 않고도 코드 어디에서든 사용할 수 있습니다. +예를 들어, use std::f64::consts::PI를 쓰면 main 함수에서 PI만으로 사용할 수 있습니다.

+

std는 유용한 데이터 구조 및 OS와 상호작용할 수 있는 함수로 가득한 +표준 라이브러리(standard library)의 crate입니다.

+

커뮤니티에서 작성한 crate들의 검색 가능 목록을 https://crates.io에서 확인하실 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_ne.html b/109_ne.html new file mode 100644 index 000000000..002efcda9 --- /dev/null +++ b/109_ne.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_pl.html b/109_pl.html new file mode 100644 index 000000000..6e0cd6bdb --- /dev/null +++ b/109_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_pt-br.html b/109_pt-br.html new file mode 100644 index 000000000..6b85781e2 --- /dev/null +++ b/109_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciando outros módulos e crates

+

Os itens nos módulos podem ser referenciados com o seu caminho completo do módulo std::f64::consts::PI.

+

Uma maneira simples é a palavra-chave use. Ela nos permite especificar determinados itens dos módulos que desejamos usar em todo o nosso código sem um caminho completo. Por exemplo, use std::f64::consts::PI me permite usar apenas o identificadorPI em minha função principal.

+

std é o crate da biblioteca padrão do Rust que está repleta de estruturas de dados úteis e funções para interagir com o seu sistema operacional.

+

Um diretório pesquisável de crates criadas pela comunidade pode ser encontrado em https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_ro.html b/109_ro.html new file mode 100644 index 000000000..cb10d9693 --- /dev/null +++ b/109_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referențierea de către alte module și cutii

+

Elementele din module pot fi referențiate cu calea completă a acestora. std::f64::consts::PI.

+

O modalitate mai simplă este cuvântul cheie use. Acesta ne permite să specificăm anumite elemente din modulele pe care dorim să le +să folosim în tot codul nostru fără o cale completă. Spre exemplu use std::f64::consts::PI +îmi permite să folosesc doar identificatorul PI în funcția mea principală.

+

std este o cutie a bibliotecii standard din Rust, care este plină de structuri de date și funcții utile pentru interacțiunea cu sistemul de operare.

+

Un repertoriu de căutare a cutiilor (în denumite engleza crate) create de comunitate poate fi găsit la adresa https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_ru.html b/109_ru.html new file mode 100644 index 000000000..8bfbb894a --- /dev/null +++ b/109_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Подключение других модулей и крейтов (Referencing Other Modules and Crates)

+

На элементы из модуля можно ссылаться, подключая их в коде с помощью полного модульного пути, например std::f64::consts::PI.

+

Использование ключевого слова use является более простым способом. Он позволяет указать определенные элементы модуля, которые мы хотим использовать в коде без указания полного пути. Например, use std::f64::consts::PI позволяет использовать короткий идентификатор PI в функции main.

+

std является крейтом standard library (стандартной библиотеки) Rust, которая полна полезных структур данных для взаимодействия с вашей операционной системой.

+

Каталог для поиска множества полезных крейтов, созданных сообществом, можно найти по адресу https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_th.html b/109_th.html new file mode 100644 index 000000000..f592c8c92 --- /dev/null +++ b/109_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Other Modules and Crates

+

ของต่างๆในโมดูลสามารถอ้างถึงได้ด้วย โมดูลพาธแบบเต็ม std::f64::consts::PI.

+

อีกวิธีที่ง่ายกว่าคือการใช้คีย์เวิร์ด use ซึ่งจะช่วยให้เราระบุสิ่งที่ต้องการใช้ จากโมดูลนั้น โดยไม่ต้องใส่ โมดูลพาธแบบเต็ม ตัวอย่างเช่นเมื่อเราใช้ use std::f64::consts::PI จะทำให้เราสามารถระบุเพียงแค่ PI ได้ในฟังก์ชันหลัก

+

std คือ crate ของ standard library หรือไลบรารีมาตรฐานของ Rust +ซึ่งเต็มไปด้วย โครงสร้างข้อมูล และฟังก์ชันที่มีประโยชน์ในการติดต่อกับระบบปฏิบัติการ

+

สามารถค้นหา crates ได้จากแหล่งรวบรวมที่สร้างโดยชุมชนของเราที่ https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_tr.html b/109_tr.html new file mode 100644 index 000000000..c131ec9bc --- /dev/null +++ b/109_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Başka Modül ve Sandıklara Referans Vermek

+

Modül öğelerine std::f64::consts::PI şeklinde, modül içi tam yolun gösterilmesi ile başvuru yapılabilir.

+

use anahtar sözcüğü daha basit bir yöntemdir. Bu sözcüğün kullanımı kod boyunca kullanılacak modül öğelerine tam yollarını belirtmeden ulaşma olanağı sunar. Örneğin use std::f64::consts::PI şeklinde bir yol bildirmek, main işlevi içinde yalnızca PI tanımlayıcısını kullanmamıza izin verir.

+

Standart kütüphanemiz std, işletim sisteminizle etkileşimde bulunabilmemiz için yararlı veri yapıları ve işlevlerden oluşan bir Rust sandığıdır.

+

Topluluk tarafından oluşturulan sandıklara https://crates.io üzerindeki dizinden ulaşabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_ua.html b/109_ua.html new file mode 100644 index 000000000..c12a01888 --- /dev/null +++ b/109_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Зсилання на crate та модулі

+

Елемент із модуля доступний лише при вказування повного шляху до самого модуля std::f64::consts::PI.

+

Але це можна спростити з використанням use. Це надасть вам можливість зробити код візуально краще, і ви зможете вказувати лише потрібну частину шляху +без необхідності вказувати повний шлях. Наприклад use std::f64::consts::PI +дозволить використовувати мені PI у моїх функціях.

+

std це crate стандартної бібліотеки Rust, котра надає вам повну необхідну інформацію +структури і функції для роботи з вашою операційною системою.

+

А тут ви зможете знайти будь-який потрібний вам crate - https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_vi.html b/109_vi.html new file mode 100644 index 000000000..49bc31b34 --- /dev/null +++ b/109_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu các mô-đun và crate khác

+

Các mục trong mô-đun có thể được tham chiếu với đường dẫn mô-đun đầy đủ của chúng std::f64::consts::PI.

+

Một cách đơn giản hơn là từ khóa use. Nó cho phép chúng ta chỉ định các mục cụ thể từ các mô-đun mà chúng ta muốn sử dụng trong toàn bộ code của mình mà không có đường dẫn đầy đủ. Ví dụ use std::f64::consts::PI cho phép ta chỉ sử dụng từ định danh PI trong hàm main của mình.

+

std là crate của standard library(thư viện tiêu chuẩn) của Rust chứa đầy các cấu trúc và chức năng dữ liệu hữu ích để tương tác với hệ điều hành của bạn.

+

Có thể tìm thấy thư mục crate do cộng đồng tạo ra tại https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_zh-cn.html b/109_zh-cn.html new file mode 100644 index 000000000..b368b0aa2 --- /dev/null +++ b/109_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

引用其他模块和 crate

+

你可以使用完整的模块路径路径引用模块中的项目: std::f64::consts::PI

+

更简单的方法是使用use关键字。此关键字可以让我们在代码中使用模块中的项目而无需指定完整路径。例如 use std::f64::consts::PI +这样我在 main 函数中只需要写 PI 就可以了。

+

std 是 Rust 的标准库。这个库中包含了大量有用的数据结构和与操作系统交互的函数。

+

由社区创建的 crate 的搜索索引可以在这里找到: https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/109_zh-tw.html b/109_zh-tw.html new file mode 100644 index 000000000..7922d8348 --- /dev/null +++ b/109_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_al.html b/10_al.html new file mode 100644 index 000000000..53cd922ad --- /dev/null +++ b/10_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vlerat e shumëfishta të kthimit

+

Funksionet mund të kthejnë vlera të shumta duke kthyer një tuple

+

të vlerave.

+

Elementet e dyfishta mund të referohen me numrin e tyre të indeksit.

+

Rust mbështet lloje të ndryshme destrukturimi që do t'i shohim në shumë forma, + duke lejuar

+

ne të nxjerrim nën-pjesë të strukturave të të dhënave në mënyra ergonomike. Të jesh në + kujdes!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_ar.html b/10_ar.html new file mode 100644 index 000000000..844d14ec4 --- /dev/null +++ b/10_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع قيم عديدة

+

يمكن أن ترجع الدوال عدد من القيم على شكل صف (tuple) من القيم.

+

ويمكن الوصول إلى عناصر الصف (tuple) عن طريق رقم ترتيبها في الفهرس (index).

+

يدعم رست (Rust) أنواعًا مختلفة من التفكيك (destructuring) والتي نراها في أشكال عديدة، تسمح لنا باستخراج أجزاء فرعية من هياكل البيانات بطرق مريحة. أرجو أن تكون متنبهاً لها!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_de.html b/10_de.html new file mode 100644 index 000000000..be1ec4b2c --- /dev/null +++ b/10_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mehrere return-Variablen

+

Funktionen können mehrere Variablen auf einmal zurückgeben mittels eines tuples.

+

Die Werte können danach über einen Index gelesen werden.

+

Rust unterstützt verschiedene Formen von "destructuring", wodurch sich Wertepaare auf +einzelne Variablen aufteilen lassen. Halte Ausschau danach!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_en.html b/10_en.html new file mode 100644 index 000000000..4038e0d5e --- /dev/null +++ b/10_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Return Values

+

Functions can return multiple values by returning a tuple +of values.

+

Tuple elements can be referenced by their index number.

+

Rust supports various kinds of destructuring that we will see in many forms, allowing +us to extract sub-pieces of data structures in ergonomic ways. Be on the lookout!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_es.html b/10_es.html new file mode 100644 index 000000000..0b248491d --- /dev/null +++ b/10_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Múltiples Variables de Retorno

+

Las funciones pueden devolver múltiples valores utilizando una tupla de valores.

+

Los valores se pueden referenciar por su posición en la tupla.

+

Rust soporta varios modos de desestructuración que veremos en diferentes formas, esto nos permite extraer subconjuntos de estructuras de datos de manera práctica. ¡Presta mucha atención!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_fa.html b/10_fa.html new file mode 100644 index 000000000..b061b7d00 --- /dev/null +++ b/10_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Return Values

+

Functions can return multiple values by returning a tuple +of values.

+

Tuple elements can be referenced by their index number.

+

Rust supports various kinds of destructuring that we will see in many forms, allowing +us to extract sub-pieces of data structures in ergonomic ways. Be on the lookout!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_fi.html b/10_fi.html new file mode 100644 index 000000000..e793f7cd3 --- /dev/null +++ b/10_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Monta paluuarvoa

+

Funktiot voivat palauttaa useampia arvoja palauttamalla tuplen

+

Tuplen elementteihin voi viitata niiden järjestysnumerolla.

+

Rust tukee useita eri tapoja pilkkoa tietorakenteet osiinsa, mikä mahdollistaa monia erginomisia keinoja päästä käsiksi muuttujien alirakenteisiin. Odota vain hetki!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_fr.html b/10_fr.html new file mode 100644 index 000000000..556e2a923 --- /dev/null +++ b/10_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple valeurs de retour

+

Une fonction peut retourner plusieurs valeurs en retournant un tuple de valeurs.

+

Les éléments du tuple peuvent être référencés par leur index.

+

Rust nous donne la possibilité d'extraire simplement certaines parties de structures de données, +c'est la destructuration. Nous en verrons d'autres formes par la suite. Garde l'oeil ouvert!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_gr.html b/10_gr.html new file mode 100644 index 000000000..8e6a51b95 --- /dev/null +++ b/10_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Πολλαπλές τιμές επιστροφής

+

Οι συναρτήσεις μπορούν να επιστρέψουν πάνω από μία τιμή με τη χρήση μίας πολλαπλότητας τιμών.

+

Στο κάθε στοιχείο μίας πολλαπλότητας μπορεί να αναφερθεί κανείς με τον αύξοντα αριθμό του.

+

Η Rust υποστηρίζει διαφόρους τύπος αποδόμησης που θα δούμε σε πολλές μορφές, επιτρέποντάς μας να εξάγουμε υπο-τμήματα δομών δεδομένων με εργονομικούς τρόπους. Στα υπ' όψιν!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_hu.html b/10_hu.html new file mode 100644 index 000000000..6303157fb --- /dev/null +++ b/10_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Több visszatérési érték

+

A függvények több értékkel is visszatérhetnek egy tuple formájában.

+

A tuple-k elemeit az indexük számával lehet elérni.

+

A Rust többféle elérési módot is biztosít, amivel az adatok bizonyos részeit kényelmes módon +érhetjük el. De erről később lesz szó!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_id.html b/10_id.html new file mode 100644 index 000000000..6fbab971d --- /dev/null +++ b/10_id.html @@ -0,0 +1,51 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pengembalian nilai berganda

+

Fungsi dapat mengembalikan nilai secara berganda dengan menggunakan tuple.

+

Elemen tuple dapat direferensikan dengan indeksnya.

+

Rust mendukung berbagai macam destructuring yang kita akan lihat di dalam +berbagai macam bentuk, memungkinkan kita untuk mengekstrak sub-bagian dari +data struktur secara ergonimis.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_ie.html b/10_ie.html new file mode 100644 index 000000000..29a1fe8a0 --- /dev/null +++ b/10_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiplic retorn-valores

+

Functiones posse retornar multiplic valores per retornar un tuple de valores. (N.B. un tuple es parent con -tuplic in Interlingue-Occidental)

On posse referer al valores per lor position in li tuple.

Rust subtene varie tipes de destructuration quel noi va vider in pluri formes. To possibilisa li extraction de sub-pezzes de data ergonomicmen. Esse atentiv por it!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_it.html b/10_it.html new file mode 100644 index 000000000..f78393b45 --- /dev/null +++ b/10_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Valori di ritorno multipli

+

Le funzioni possono ritornare più di un valore, semplicemente ritornando una tupla di valori. +Puoi referenziare gli elementi di una tupla con il loro numero indice. +Rust supporta vari tipi di destrutturazione che vedremo in varie forme, +permettendoci di estrarre sottoinsiemi di dati in modo ergonomico. Guarda l'esempio!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_ja.html b/10_ja.html new file mode 100644 index 000000000..73bf04561 --- /dev/null +++ b/10_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

複数の戻り値

+

関数は、値をタプルで返すことによって、複数の値を返せます。

+

タプルの要素はインデックス番号で参照できます。

+

Rust はデータ構造の一部を抽出する機能を提供します。これについては後ほど他の方法も見ていきます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_ko.html b/10_ko.html new file mode 100644 index 000000000..87d358daa --- /dev/null +++ b/10_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러개의 리턴 값

+

함수는 튜플(tuple)을 리턴함으로써 여러개의 값을 리턴할 수 있습니다.

+

tuple의 원소는 인덱스 숫자를 통해 참조할 수 있습니다.

+

Rust는 데이터 구조의 일부분을 편하게 추출할 수 있도록 해주는 다양한 형태의 분해(destructuring) 방법을 지원합니다. 잘 지켜보세요!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_ne.html b/10_ne.html new file mode 100644 index 000000000..1f8cf91f3 --- /dev/null +++ b/10_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Het teruggeven van meerdere waarden

+

Functies kunnen meerdere waarden retourneren door een tuple van waarden terug te geven. +De elementen van een tuple kunnen worden benaderd met behulp van hun index. (bijv: my_tuple.0) +Rust ondersteunt verschillende vormen van destructurering die we in veel contexten zullen zien, waardoor het mogelijk is om delen van gegevensstructuren op slimme manieren te extraheren. Wees alert!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_pl.html b/10_pl.html new file mode 100644 index 000000000..3974400e5 --- /dev/null +++ b/10_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Wielu Wartości

+

Funkcje mogą zwracać wiele wartości przy użyciu krotki (ang. tuple).

+

Do elementów krotki możemy odnieść się za pomocą ich numerycznych indeksów.

+

Jak przekonamy się w kolejnych rozdziałach, Rust dostarcza rozmaitych sposobów ergonomicznego rozkładania struktur na czynniki pierwsze.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_pt-br.html b/10_pt-br.html new file mode 100644 index 000000000..96788d5ee --- /dev/null +++ b/10_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retorno de Múltiplos Valores

+

Funções podem devolver múltiplos valores retornando uma tupla de valores.

+

Os elementos da tupla podem ser referenciados pelo seu índice.

+

O Rust suporta vários modos de desestruturação que veremos em diferentes formas, permitindo extrair subconjuntos de dados de maneira prática.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_ro.html b/10_ro.html new file mode 100644 index 000000000..cd91b340d --- /dev/null +++ b/10_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea mai multor valori

+

Funcțiile pot returna mai multe valori prin returnarea unui tuplu +de valori.

+

Elementele unui tuplu pot fi accesate folosind indexul acestora. (ex: my_tuple.0)

+

Rust suportă diferite tipuri de destructurări pe care le vom vedea în multe contexte, permițându-ne +să extragem fracțiuni ale unor structuri de date în moduri ingenioase. Fiți pe fază!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_ru.html b/10_ru.html new file mode 100644 index 000000000..53bf11cea --- /dev/null +++ b/10_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возврат нескольких значений (Tuple)

+

Функции могут возвращать несколько значений с помощью кортежа значений (tuple).

+

Доступ к значениям элементов кортежа осуществляется по их позиции внутри кортежа.

+

Rust поддерживает разные виды деструктуризации (destructuring), которые вы увидите в разных формах. Это позволяет извлекать части данных из структур удобным способом. Смотрите внимательно!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_th.html b/10_th.html new file mode 100644 index 000000000..be0be17f2 --- /dev/null +++ b/10_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การคืนค่าหลายค่า

+

ฟังก์ชันสามารถคืนค่าได้หลายค่าด้วยการคืนออกมาเป็น tuple

+

สามารถอ้างถึงสมาชิกของ Tuple ได้ด้วย index

+

Rust รองรับการถอดโครงสร้างได้หลายแบบ ซึ่งเราจะได้เห็นว่าทำได้อีกหลายวิธี โดยจะทำให้เราแยกของที่อยู่ในโครงสร้างออกมาเป็นชิ้นย่อยๆ ตามหลักสรีรศาสตร์ จับตาดูไว้ให้ดี!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_tr.html b/10_tr.html new file mode 100644 index 000000000..35df4e660 --- /dev/null +++ b/10_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çoklu Dönüş Değerleri

+

Bir çokuzlu yardımıyla işlevlerden aynı anda birden çok değer döndürebilir.

+

Döndürülen çokuzlunun elemanlarına dizin numaraları kullanılarak erişilir.

+

Rust, çeşitli yıkım biçimlerini desteklediğinden, veri yapılarını ayrı değişkenler halinde değerlendirebilirsiniz!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_ua.html b/10_ua.html new file mode 100644 index 000000000..a211d0e52 --- /dev/null +++ b/10_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення декількох значень (Tuple)

+

Функції можуть повертати декілька значень за допомогою кортежів (Tuple) значень.

+

Отримати значення елемента кортежу можна за номером його індекса.

+

Rust підтримує багато видів деструктуризацій (destructuring) у різноманітних формах, які дозволяють нам отримувати частини даних найбільш зручним способом. Дивіться уважніше!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_vi.html b/10_vi.html new file mode 100644 index 000000000..f6b3682c3 --- /dev/null +++ b/10_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trả lại nhiều giá trị

+

Các hàm có thể trả về nhiều giá trị bằng cách trả về một tuple(bộ giá trị).

+

Các phần tử trong một Tuple có thể được tham chiếu bằng số chỉ mục của chúng.

+

Rust hỗ trợ các loại cấu trúc hủy khác nhau mà chúng ta sẽ thấy ở nhiều dạng, cho phép chúng tôi trích xuất các phần con của cấu trúc dữ liệu theo những cách tiện dụng. Cẩn thận nhé!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_zh-cn.html b/10_zh-cn.html new file mode 100644 index 000000000..a0adf82a3 --- /dev/null +++ b/10_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多个返回值

+

函数可以通过元组来返回多个值。

+

元组元素可以通过他们的索引来获取。

+

Rust 允许我们将后续会看到的各种形式的解构,也允许我们以符合逻辑的方式提取数据结构的子片段。敬请期待后面的内容!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/10_zh-tw.html b/10_zh-tw.html new file mode 100644 index 000000000..9e8923ad8 --- /dev/null +++ b/10_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多個回傳值

+

當函數要回傳幾個值的時候,可以把回傳值放到元組(Tuple)回傳。 +元組的元素可以通過索引(Index)來獲取。 +Rust 支持幾種不同的手法來拆解元組, 讓我們可以漂亮的從數據結構中分解出部份有用的值來使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/110_al.html b/110_al.html new file mode 100644 index 000000000..ce5b0dc4c --- /dev/null +++ b/110_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_ar.html b/110_ar.html new file mode 100644 index 000000000..cc079aa69 --- /dev/null +++ b/110_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الإشارة لعدة عناصر (Referencing Multiple Items)

+

يمكن الإشارة لعدة عناصر في مسار وحدة واحدة (single module path) على النحو التالي:

+
use std::f64::consts::{PI,TAU}
+
+

فيريس لا يأكل TAU، بل يأكل PI فقط.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_de.html b/110_de.html new file mode 100644 index 000000000..a8d85ebbf --- /dev/null +++ b/110_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mehrere Elemente referenzieren

+

Möchtest Du auf mehrere Elemente in einem einzelnen Modulpfad referenzieren, verwendest du folgenden Code:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris isst kein TAU, er isst nur PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_en.html b/110_en.html new file mode 100644 index 000000000..7d096c6e0 --- /dev/null +++ b/110_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_es.html b/110_es.html new file mode 100644 index 000000000..c1523a74f --- /dev/null +++ b/110_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciar Múltiples Elementos

+

En este ejemplo podemos ver cómo referenciar múltiples elementos utilizando una única ruta al módulo.

+
use std::f64::consts::{PI,TAU}
+
+

TAUro y PIscis son los signos del zodiaco más compatibles con Ferris.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_fa.html b/110_fa.html new file mode 100644 index 000000000..bebae6308 --- /dev/null +++ b/110_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_fi.html b/110_fi.html new file mode 100644 index 000000000..d750c9def --- /dev/null +++ b/110_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_fr.html b/110_fr.html new file mode 100644 index 000000000..aa0967929 --- /dev/null +++ b/110_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Référencement de plusieurs composants d'un module

+

Plusieurs composants peuvent être référencés dans un seul chemin de module:

+
use std::f64::consts::{PI,TAU}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_gr.html b/110_gr.html new file mode 100644 index 000000000..77130c634 --- /dev/null +++ b/110_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_hu.html b/110_hu.html new file mode 100644 index 000000000..d06a40dd4 --- /dev/null +++ b/110_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hivatkozás Több Elemre

+

Egy időben több elemre is hivatkozhatunk:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris nem szereti a TAUtát, ő csak PItét eszik.[1]

+

[1]: Bocs. -- A fordító

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_id.html b/110_id.html new file mode 100644 index 000000000..c3a50b3c2 --- /dev/null +++ b/110_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_ie.html b/110_ie.html new file mode 100644 index 000000000..a2649e153 --- /dev/null +++ b/110_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creation de un Modul

+

Quande on pensa pri code, on imagina por li pluparte un hierarchie de archives organisat in archivieres. +Rust let you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. Rust posse posseder un modul foo representat quam

+
    +
  • un archive nominat foo.rs
  • +
  • un archiviere nominat foo in quel sta un archive mod.rs
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_it.html b/110_it.html new file mode 100644 index 000000000..9f2a4ab5f --- /dev/null +++ b/110_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_ja.html b/110_ja.html new file mode 100644 index 000000000..0675a19d5 --- /dev/null +++ b/110_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_ko.html b/110_ko.html new file mode 100644 index 000000000..9bfccc3c9 --- /dev/null +++ b/110_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러 개의 항목을 참조하기

+

복수의 항목을 하나의 module 경로로 참조하고 싶다면 이렇게 하면 됩니다:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris는 TAU를 먹지 않습니다. PI만 먹어요.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_ne.html b/110_ne.html new file mode 100644 index 000000000..4096665ca --- /dev/null +++ b/110_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_pl.html b/110_pl.html new file mode 100644 index 000000000..ea21be639 --- /dev/null +++ b/110_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_pt-br.html b/110_pt-br.html new file mode 100644 index 000000000..ab8d05b14 --- /dev/null +++ b/110_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciando múltiplos itens

+

Vários itens podem ser referenciados em um único caminho de módulo assim:

+
use std::f64::consts::{PI, TAU}
+
+

Ferris não come TAU, ele só come PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_ro.html b/110_ro.html new file mode 100644 index 000000000..18a0c3ce8 --- /dev/null +++ b/110_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referința la mai multe elemente

+

Mai multe elemente pot fi menționate într-o singură cale de modul, astfel:

+
use std::f64::consts::{PI,TAU}
+
+

TAUr și PIsces sunt semnele zodiacale cele mai compatibile cu Ferris.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_ru.html b/110_ru.html new file mode 100644 index 000000000..544945ce7 --- /dev/null +++ b/110_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Подключение нескольких элементов (Referencing Multiple Items)

+

Подключить несколько элементов из одного модульного пути можно так:

+
use std::f64::consts::{PI,TAU}
+
+

Феррис не кушает TAU, от кушает только PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_th.html b/110_th.html new file mode 100644 index 000000000..7f4698984 --- /dev/null +++ b/110_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Multiple Items

+

สามารถอ้างถึงของหลายๆอย่างได้ด้วยการระบุพาธโมดูลครั้งเดียวได้

+
use std::f64::consts::{PI,TAU}
+
+

Ferris ไม่กิน TAU เขากินแต่ PI

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_tr.html b/110_tr.html new file mode 100644 index 000000000..0f65beb41 --- /dev/null +++ b/110_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çok Sayıda Öğeye Başvurmak

+

Aşağıda örneklendiği şekilde tek bir modül yolunda çok sayıda öğeye referans verilebilir.

+
use std::f64::consts::{PI,TAU}
+
+

Ferris TAU yiyemez, o sadece PI yemeyi tercih eder.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_ua.html b/110_ua.html new file mode 100644 index 000000000..704454e18 --- /dev/null +++ b/110_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Посилання на декілька елементів

+

Ви можете посилатися на декілька елементів одного і того самого модуля:

+
use std::f64::consts::{PI,TAU}
+
+

Якщо-що, то Ферріс їсть тільки PI, від TAU його нудить.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_vi.html b/110_vi.html new file mode 100644 index 000000000..9ecb9b0f3 --- /dev/null +++ b/110_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu nhiều mục

+

Nhiều mục có thể được tham chiếu trong một đường dẫn mô-đun duy nhất như sau:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris không ăn TAU, anh ấy chỉ ăn PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_zh-cn.html b/110_zh-cn.html new file mode 100644 index 000000000..74ddc65a6 --- /dev/null +++ b/110_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

引用多个项目

+

在同一个模块路径中可以引用多个项目,比如:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris 不吃桃(TAU),它只吃派(PI)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/110_zh-tw.html b/110_zh-tw.html new file mode 100644 index 000000000..789d0734f --- /dev/null +++ b/110_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_al.html b/111_al.html new file mode 100644 index 000000000..33a667b5b --- /dev/null +++ b/111_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ar.html b/111_ar.html new file mode 100644 index 000000000..db5e37592 --- /dev/null +++ b/111_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إنشاء وحدات (Creating Modules)

+

عندما نفكر في التعليمات البرمجية، فإننا عادة نتخيل تسلسلًا هرميًا (hierarchy) للملفات المنظمة في مجلدات أو أدلة. يتيح لك رست (Rust) إنشاء وحدات (modules) وثيقة الصلة ببنية ملفك.

+

هناك طريقتان في رست (Rust) للتصريح عن وحدة (module). على سبيل المثال، يمكن تمثيل الوحدة foo على النحو التالي:

+
    +
  • إما بملف اسمه foo.rs.
  • +
  • أو عن طريق دليل اسمه "foo" وبداخله ملف "mod.rs".
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_de.html b/111_de.html new file mode 100644 index 000000000..856b81a22 --- /dev/null +++ b/111_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module erstellen

+

Denken wir über Code nach, so stellen wir uns üblicher Weise eine Hierarchie von Dateien in Ordnern vor. +Rust macht es möglich, dass du sehr nah an dieser Dateistruktur Module erstellen kannst.

+

Es gibt zwei Wege um ein Modul zu erstellen. Zum Beispiel kann das Modul foo dargestellt werden als,

+
    +
  • eine Datei mit dem Namen foo.rs
  • +
  • ein Verzeichnis mit dem Namen foo und einer darin erstellten Datei mod.rs
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_en.html b/111_en.html new file mode 100644 index 000000000..8bbe27cca --- /dev/null +++ b/111_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_es.html b/111_es.html new file mode 100644 index 000000000..85869cc04 --- /dev/null +++ b/111_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crear Módulos

+

Cuando pensamos en el código, solemos imaginar una jerarquía de archivos que se organizan en directorios. Rust nos permite crear módulos que están estrechamente relacionados con la estructura de archivos.

+

En Rust hay dos maneras de declarar un módulo. Por ejemplo, podemos representar un módulo foo de la siguiente forma:

+
    +
  • Un archivo llamado foo.rs.
  • +
  • Un directorio llamado foo que contiene un fichero llamado mod.rs.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_fa.html b/111_fa.html new file mode 100644 index 000000000..3a6367939 --- /dev/null +++ b/111_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_fi.html b/111_fi.html new file mode 100644 index 000000000..50b310f47 --- /dev/null +++ b/111_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_fr.html b/111_fr.html new file mode 100644 index 000000000..2e746079b --- /dev/null +++ b/111_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Création d'un module

+

Lorsqu'un développeur écrit un programme, il se retrouve généralement +avec une hiéarchie de fichiers organisés en répertoire. Rust permet +d'organiser son code sous forme de modules tout en préservant la structure +des fichiers.

+

Avec Rust, il y a deux manière de créer un module. Par exemple, si nous +souhaitons créer le module foo, nous pouvons créer au choix:

+
    +
  • un fichier nommé foo.rs
  • +
  • un répertoire nommé foo avec un fichier mod.rs à l'intérieur
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_gr.html b/111_gr.html new file mode 100644 index 000000000..257ef6f2b --- /dev/null +++ b/111_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_hu.html b/111_hu.html new file mode 100644 index 000000000..b6057b8ab --- /dev/null +++ b/111_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modulok Készítése

+

Amikor kódra gondolunk, általában egy fájlokból és mappákból álló struktúrát képzelünk magunk +elé. A Rust megengedi számunkra, hogy a fájlstruktúrához hasonló modul-hierarchiát építsünk fel.

+

Több módon is létrehozhatunk modulokat. Például, egy foo nevű modul az alábbi formákat veheti +fel:

+
    +
  • foo.rs nevű fájl
  • +
  • foo nevű mappa, benne mod.rs nevű fájl
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_id.html b/111_id.html new file mode 100644 index 000000000..f625197f2 --- /dev/null +++ b/111_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ie.html b/111_ie.html new file mode 100644 index 000000000..1fbcf6797 --- /dev/null +++ b/111_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hierarchie de un Modul

+

A module can depends on another one. Por etablisser un relation inter un model e su sub-modul, on deve scrir quam seque in li modul genitori.

+
  // This declaration will look for a file named `foo.rs` or `foo/mod.rs` and
+  // will insert its contents inside a module named `foo` under this scope
+  mod foo;
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_it.html b/111_it.html new file mode 100644 index 000000000..23cbc9532 --- /dev/null +++ b/111_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ja.html b/111_ja.html new file mode 100644 index 000000000..d4165a976 --- /dev/null +++ b/111_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ko.html b/111_ko.html new file mode 100644 index 000000000..277c8cbb9 --- /dev/null +++ b/111_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

모듈 작성하기

+

코드를 생각할 때 보통은 디렉토리로 구성된 파일구조를 떠올립니다. +Rust는 여러분의 파일 구조에 가깝게 module을 만들 수 있게 해줍니다.

+

Rust에서 module을 선언하는 데에는 두 가지 방법이 있습니다. +예를 들어 foo module은 다음과 같이 나타낼 수 있습니다:

+
    +
  • foo.rs라는 이름의 파일
  • +
  • foo라는 이름의 디렉토리에 들어있는 파일 mod.rs
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ne.html b/111_ne.html new file mode 100644 index 000000000..9d4f20a7a --- /dev/null +++ b/111_ne.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_pl.html b/111_pl.html new file mode 100644 index 000000000..40697b6d4 --- /dev/null +++ b/111_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_pt-br.html b/111_pt-br.html new file mode 100644 index 000000000..209d971a8 --- /dev/null +++ b/111_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Criando módulos

+

Quando pensamos em código, geralmente imaginamos uma hierarquia de arquivos organizados em diretórios. O Rust permite criar módulos intimamente relacionados à sua estrutura de arquivos.

+

Há duas maneiras no Rust de declarar um módulo. Por exemplo, um módulo foo pode ser representado como:

+
    +
  • um arquivo chamado foo.rs.
  • +
  • um diretório chamado foo com um arquivo mod.rs dentro.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ro.html b/111_ro.html new file mode 100644 index 000000000..4085327fc --- /dev/null +++ b/111_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crearea de module

+

Când ne gândim la cod, ne imaginăm de obicei o ierarhie de fișiere organizate +în directoare. Rust vă permite să creați module organizate într-un mod similar +cu structura dumneavoastră de fișiere.

+

În Rust există două moduri de a declara un modul. De exemplu, un modul +foo poate fi reprezentat ca:

+
    +
  • un fișier numit foo.rs
  • +
  • un director numit foo cu un fișier mod.rs în interior
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ru.html b/111_ru.html new file mode 100644 index 000000000..ea62ce93a --- /dev/null +++ b/111_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Создание модулей (Creating Modules)

+

Когда мы думаем о коде, мы обычно представляем себе иерархию файлов, огранизованную +в директориях. Rust позволяет создавать модули, близко похожие на файловую структуру.

+

В Rust есть два способа для объявления модуля. Например, модуль foo может быть +представлен как:

+
    +
  • файл с именем foo.rs
  • +
  • каталог с именем foo с файлом mod.rs внутри
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_th.html b/111_th.html new file mode 100644 index 000000000..128a50e97 --- /dev/null +++ b/111_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Modules

+

เวลาเราคิดถึงโค้ด เรามักจะคิดไปถึงการจัดลำดับชั้นของไฟล์ในไดเร็กทอรี +Rust เลยช่วยให้คุณสร้างโมดูลให้ใกล้เคียงกับโครงสร้างไฟล์ของคุณเลย

+

Rust มีสองวิธีในการประกาศโมดูล ตัวอย่างเช่นโมดูล foo สามารถทำได้โดย:

+
    +
  • ตั้งชื่อไฟล์ว่า foo.rs
  • +
  • ตั้งชื่อไดเร็กทอรีว่า foo และสร้างไฟล์ชื่อ mod.rs ไว้ข้างใน
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_tr.html b/111_tr.html new file mode 100644 index 000000000..f6c9edab4 --- /dev/null +++ b/111_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modüller Oluşturmak

+

Bir programı hakkında düşündüğünüzde, çoğu zaman gözlerinizin önüne dizinler halinde düzenlenmiş dosya hiyerarşisinden oluşan bir yapı geliyordur. +Rust, dosya yapınızla çok benzeşen modüller oluşturmanıza olanak sağlar.

+

Rust'ta bir modül bildirmenin iki yolu vardır. Örnek bir modül olan turler modülü, aşağıdaki iki yoldan biriyle oluşturulabilir:

+
    +
  • turler.rs adındaki bir dosya oluşturarak.
  • +
  • içinde mod.rs dosyası bulunan turler adlı bir dizin biçiminde.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_ua.html b/111_ua.html new file mode 100644 index 000000000..82998c739 --- /dev/null +++ b/111_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Створення модулів

+

Коли ми думаємо про код, то зазвичай уявляємо собі ієрархію файлів, організованих +у каталогах. Rust дозволяє створювати модулі, тісно пов'язані з вашою файловою +структурою вашого файлу.

+

У Rust є два способи оголошення модуля. Наприклад, модуль +foo може бути представлений як:

+
    +
  • файлу з іменем foo.rs.
  • +
  • директорія з іменем foo з файлом mod.rs всередині.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_vi.html b/111_vi.html new file mode 100644 index 000000000..b71c87e26 --- /dev/null +++ b/111_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tạo Mô-đun

+

Khi chúng ta nghĩ về code, +chúng ta thường tưởng tượng một hệ thống phân cấp của các file được tổ chức trong các thư mục. Rust cho phép bạn tạo các mô-đun liên quan chặt chẽ đến cấu trúc file của bạn.

+

Có hai cách trong Rust để khai báo một mô-đun. Ví dụ, một mô-đun foo có thể được biểu diễn như sau:

+
    +
  • một file có tên foo.rs
  • +
  • một thư mục có tên là foo với tệp mod.rs bên trong
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_zh-cn.html b/111_zh-cn.html new file mode 100644 index 000000000..b714db400 --- /dev/null +++ b/111_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

创建模块

+

当我们想到项目时,我们通常会想象一个以目录组织的文件层次结构。Rust 允许您创建与您的文件结构密切相关的模块。

+

在 Rust 中,有两种方式来声明一个模块。例如,模块 foo 可以表示为:

+
    +
  • 一个名为 foo.rs 的文件。
  • +
  • 在名为 foo 的目录,里面有一个叫 mod.rs 文件。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/111_zh-tw.html b/111_zh-tw.html new file mode 100644 index 000000000..02dfe185d --- /dev/null +++ b/111_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_al.html b/112_al.html new file mode 100644 index 000000000..cf010f483 --- /dev/null +++ b/112_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_ar.html b/112_ar.html new file mode 100644 index 000000000..1062c7256 --- /dev/null +++ b/112_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التسلسل الهرمي للوحدة (Module Hierarchy)

+

يمكن أن تعتمد الوحدة (module) على وحدة أخرى. من أجل إنشاء علاقة بينها وبين وحدتها الفرعية (sub-module)، ولهذا يجب عليك أن تكتب في الوحدة الأصلية ما يلي:

+
mod foo;
+
+

التصريح المبين في الأعلى سوف يبحث عن ملف باسم foo.rs أو foo/mod.rs ثم سوف يدرج محتواه داخل وحدة تسمى foo ضمن ذلك النطاق.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_de.html b/112_de.html new file mode 100644 index 000000000..d9b3edcb8 --- /dev/null +++ b/112_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modulhierarchie

+

Ein Modul kann von einem anderen Modul abhänig sein. Um eine Beziehung zwischen einem Modul und einem Sub-Modul aufzubauen, musst Du folgendes ins übergeordnete Modul schreiben:

+
mod foo;
+
+

Die Deklaration sucht nun eine Datei foo.rs oder foo/mod.rs und inkludiert deren Inhalt in ein Modul foo innerhalb des Scopes.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_en.html b/112_en.html new file mode 100644 index 000000000..c52d5c9a7 --- /dev/null +++ b/112_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_es.html b/112_es.html new file mode 100644 index 000000000..94f0a2571 --- /dev/null +++ b/112_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Jerarquía de Módulos

+

Un módulo puede depender de otro. Para establecer una relación entre un módulo y su submódulo, debemos escribir el módulo padre:

+
mod foo;
+
+

La declaración anterior buscará un archivo llamado foo.rs o foo/mod.rs e insertará el contenido dentro de un módulo llamado foo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_fa.html b/112_fa.html new file mode 100644 index 000000000..235dcbac5 --- /dev/null +++ b/112_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_fi.html b/112_fi.html new file mode 100644 index 000000000..45d964149 --- /dev/null +++ b/112_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_fr.html b/112_fr.html new file mode 100644 index 000000000..273454b40 --- /dev/null +++ b/112_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hiérarchie de modules

+

Un module peut dépendre d'un autre. Afin d'établir une relation entre +un module et son sous-module, vous devez écrire dans le module parent:

+
mod foo;
+
+

La déclaration ci-dessus recherchera un fichier nommé foo.rs ou +foo/mod.rs et insérera son contenu dans un module nommé foo qu'on +pourra ensuite utiliser.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_gr.html b/112_gr.html new file mode 100644 index 000000000..3f121429c --- /dev/null +++ b/112_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_hu.html b/112_hu.html new file mode 100644 index 000000000..4f3f41df6 --- /dev/null +++ b/112_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modul Hierarchia

+

Modulok tartalmazhatnak más modulokat is. Ahhoz, hogy egy al-modult hozzunk létre, a szülő +modulba az alábbi sort kell írnunk:

+
mod foo;
+
+

Ez a deklaráció megkeresi a foo.rs vagy foo/mod.rs fájlt és a tartalmát beilleszti a +modulunkba.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_id.html b/112_id.html new file mode 100644 index 000000000..bfd8691e9 --- /dev/null +++ b/112_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_ie.html b/112_ie.html new file mode 100644 index 000000000..f691be898 --- /dev/null +++ b/112_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modul Inlineari

+

On posse 'inlinear' un sub-modul directmen in li code de un model. +On fa talmen tre frequentmen por crear provas unitic (unit tests).

+
// Ti-ci macro remove li modul inlineari quande Rust
+// ne sta in prova-mode.
+#[cfg(test)]
+mod tests {
+  // A notar que a nos ne es ínmediatmen dat accesse al
+  // modul genitori. Noi deve esser explicit.
+  use super::*;
+  ... li provas sta ci ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_it.html b/112_it.html new file mode 100644 index 000000000..e8ecad1ae --- /dev/null +++ b/112_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_ja.html b/112_ja.html new file mode 100644 index 000000000..082c6a88b --- /dev/null +++ b/112_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_ko.html b/112_ko.html new file mode 100644 index 000000000..ea1a432f8 --- /dev/null +++ b/112_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

모듈 계층구조

+

한 module은 다른 module에 의존할 수 있습니다. +module과 하위모듈(sub-module) 사이에 관계를 지어주려면, 부모 module에 다음과 같은 코드를 작성합니다:

+
mod foo;
+
+

위 선언은 foo.rs 파일이나 foo/mod.rs 파일을 찾아 +이 scope 내의 foo module안에 그 내용물을 삽입합니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_ne.html b/112_ne.html new file mode 100644 index 000000000..b79d16a53 --- /dev/null +++ b/112_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_pl.html b/112_pl.html new file mode 100644 index 000000000..e8578d293 --- /dev/null +++ b/112_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_pt-br.html b/112_pt-br.html new file mode 100644 index 000000000..0d2cc66aa --- /dev/null +++ b/112_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hierarquia de módulo

+

Um módulo pode depender de outro. Para estabelecer uma relação entre um módulo e seu submódulo, você deve escrever no módulo pai:

+
mod foo;
+
+

A declaração acima irá procurar por um arquivo chamado foo.rs oufoo/mod.rs e irá inserir seu conteúdo dentro de um módulo chamado foo neste escopo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_ro.html b/112_ro.html new file mode 100644 index 000000000..c6e45e6da --- /dev/null +++ b/112_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ierarhia modulelor

+

Un modul poate depinde de un alt modul. Pentru a stabili o relație +între un modul și submodulul său, trebuie să scrieți în modulul părinte:

+
mod foo;
+
+

Declarația de mai sus va căuta un fișier numit foo.rs sau foo/mod.rs. și +va insera conținutul acestuia în interiorul unui modul numit foo, în domeniul de vizibilitate al acestuia.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_ru.html b/112_ru.html new file mode 100644 index 000000000..19c4b217d --- /dev/null +++ b/112_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Иерархия модуля (Module Hierarchy)

+

Модуль может зависеть от другого модуля. Для установки отношений между модулем и его подмодулем, вы должны написать в родительском модуле:

+
mod foo;
+
+

Объявление выше будет искать файл с именем foo.rs или foo/mod.rs и вставит содержимое внутрь модуля с именем foo в текущей области видимости.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_th.html b/112_th.html new file mode 100644 index 000000000..dd2f61964 --- /dev/null +++ b/112_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Hierarchy

+

โมดูลสามารถอาศัยอยู่กับโมดูลอื่นได้ โดยในการสร้างความสัมพันธ์ระหว่าง โมดูล กับโมดูลย่อยแบบนี้ คุณจะต้องเขียนในโมดูลหลัก

+
mod foo;
+
+

การประกาศอย่างที่เห็นด้านบนนี้ มันจะหาไฟล์ที่ชื่อ foo.rs หรือ foo/mod.rs และจะเอาเนื้อหาใน foo มาแทรกอยู่ในนี้เลย

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_tr.html b/112_tr.html new file mode 100644 index 000000000..f54f0b9a7 --- /dev/null +++ b/112_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modül Hiyerarşisi

+

Bir modül bir başka modüle bağlı olduğunda, modül ile alt modülü arasında bir ilişki kurabilmesi için, alt modülün üst modülde bildirilmesi gerekir:

+
mod turler;
+
+

Yukarıdaki bildirim, turler.rs veya turler/mod.rs adlı bir dosyayı çağıracak ve içeriğini mevcut kapsamda yer alan turler adlı modüle ekleyecektir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_ua.html b/112_ua.html new file mode 100644 index 000000000..050b51628 --- /dev/null +++ b/112_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ієрархія модулів

+

Один модуль може залежати від іншого. Для того, щоб встановити зв'язок +між модулем та його підмодулем, ви повинні написати у батьківському модулі

+
mod foo;
+
+

Наведений вище оголошення шукатиме файл з іменем foo.rs або foo/mod.rs. і +вставить його вміст у модуль з іменем foo у цій області видимості.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_vi.html b/112_vi.html new file mode 100644 index 000000000..dd57babdf --- /dev/null +++ b/112_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cấu trúc phân cấp mô-đun

+

Một mô-đun có thể phụ thuộc vào một mô-đun khác. Để thiết lập mối quan hệ giữa mô-đun và mô-đun con của nó, bạn phải viết trong mô-đun mẹ:

+
mod foo;
+
+

Khai báo ở trên sẽ tìm kiếm một tệp có tên là foo.rs hoặc foo/mod.rs và sẽ chèn nội dung của nó vào bên trong một mô-đun có tên là foo trong scope này.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_zh-cn.html b/112_zh-cn.html new file mode 100644 index 000000000..ef4ed3637 --- /dev/null +++ b/112_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

模块层次结构

+

模块可以互相依赖。要建立一个模块和其子模块之间的关系,你需要在父模块中这样写:

+
mod foo;
+
+

上面的声明将使编译器寻找一个名为 foo.rsfoo/mod.rs 的文件,并将其内容插入这个作用域内名为 foo 的模块中。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/112_zh-tw.html b/112_zh-tw.html new file mode 100644 index 000000000..bc98f8f2b --- /dev/null +++ b/112_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_al.html b/113_al.html new file mode 100644 index 000000000..cbd38a41a --- /dev/null +++ b/113_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ar.html b/113_ar.html new file mode 100644 index 000000000..80ce49b20 --- /dev/null +++ b/113_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الوحدة المضمنة (Inline Module)

+

يمكن تضمين الوحدة الفرعية (sub-module) مباشرةً ضمن التعليمات البرمجية للوحدة.

+

أحد الاستخدامات الشائعة جدًا للوحدات المضمنة (inline modules) هو إنشاء وحدة اختبارات (unit tests). نقوم بإنشاء وحدة مضمنة لا توجد إلا عند استخدام رست (Rust) للاختبار (testing)!

+
// يقوم هذا الماكرو بإزالة هذه الوحدة المضمنة عند ما يكون رست
+// ليس في وضع إختبار
+#[cfg(test)]
+mod tests {
+    // لاحظ أننا لا نستطيع الوصول على الفور إلى 
+    // الوحدة الأب. يجب أن نكون صريحين.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_de.html b/113_de.html new file mode 100644 index 000000000..2da5ce362 --- /dev/null +++ b/113_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline-Module

+

Ein Sub-Modul kann direkt in einen Modulcode eingebettet werden. +Das ist vor allem üblich für Unit Tests. Wir erzeugen ein Inline-Modul nur dann, wenn Rust zum Testen verwendet wird. +Hier ein Beispiel dazu:

+
// Dieses Macro entfernt das Inline-Modul, // wenn Rust nicht im Testmodus ausgeführt wird.
+#[cfg(test)]
+mod tests {
+    // Beachte, dass wir nicht sofort Zugriff auf das übergeordnete Modul erhalten.
+    // Wir müssen das explizit anfordern.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_en.html b/113_en.html new file mode 100644 index 000000000..44b5b5e3f --- /dev/null +++ b/113_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_es.html b/113_es.html new file mode 100644 index 000000000..9d1ca43b9 --- /dev/null +++ b/113_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Módulo en Línea

+

Un sub-módulo se puede insertar directamente dentro del código del módulo.

+

Un uso muy común de los módulos en línea es la creación de pruebas unitarias/tests unitarios. Creamos un módulo en línea que sólo existe cuando al usar Rust para hacer pruebas.

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_fa.html b/113_fa.html new file mode 100644 index 000000000..8dddccbce --- /dev/null +++ b/113_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_fi.html b/113_fi.html new file mode 100644 index 000000000..73a087835 --- /dev/null +++ b/113_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_fr.html b/113_fr.html new file mode 100644 index 000000000..2f1f74e89 --- /dev/null +++ b/113_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Inline

+

Un sous-module peut être directement intégré dans le code d'un module.

+

Une utilisation très courante de ces modules 'inline' consiste à créer +des tests unitaires. Nous créons un module inline qui n'existe que +lorsque Rust est utilisé pour les tests!

+
// Cette macro supprime ce module inline lorsque Rust
+// n'est pas en mode test.
+#[cfg(test)]
+mod tests {
+    // Note que nous n'avons pas immédiatement accès au
+    // module parent. Nous devons être explicite.
+    use super::*;
+
+    ... les tests vont ici ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_gr.html b/113_gr.html new file mode 100644 index 000000000..1bd6763c4 --- /dev/null +++ b/113_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_hu.html b/113_hu.html new file mode 100644 index 000000000..a83cfccad --- /dev/null +++ b/113_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Beágyazott Modulok

+

Egy almodult közvetlenül elhelyezhetünk a szülő modul kódjában is.

+

Ennek egy nagyon gyakori felhasználása a teszt kódok készítése. Létre tudunk hozni olyn +almodult, ami csak teszt környezetben fog létezni!

+
// Ez a tulajdonság eltávolítja a modult, ha a Rust nem tesztkörnyezetben fut
+#[cfg(test)]
+mod tests {
+    // Vegyük észre, hogy alapból nem férünk hozzá a szülő modul tartalmához, azt importálnunk
+    // kell.
+    use super::*;
+
+    ... ide jönnek a tesztek ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_id.html b/113_id.html new file mode 100644 index 000000000..7b4b6e1db --- /dev/null +++ b/113_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ie.html b/113_ie.html new file mode 100644 index 000000000..1bda01809 --- /dev/null +++ b/113_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenties Intern a Modules

+

Rust possede mult clave-paroles queles tu posse usar in tui use-path por rapidmen trovar li modul desirat:

+
    +
  • crate - li root modul de tui crate
  • +
  • super - li modul genitori del modul quel tu usa actualmen
  • +
  • self - li modul in quel on nu sta
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_it.html b/113_it.html new file mode 100644 index 000000000..8071dd2ef --- /dev/null +++ b/113_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ja.html b/113_ja.html new file mode 100644 index 000000000..269d29509 --- /dev/null +++ b/113_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ko.html b/113_ko.html new file mode 100644 index 000000000..ee2888c7a --- /dev/null +++ b/113_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

인라인 모듈

+

sub-module은 module의 코드 내에 직접 치환(inline)될 수 있습니다.

+

inline module의 가장 흔한 용도는 단위 테스트를 만들 때입니다. Rust가 테스트에 쓰일 때에만 존재하는 inline module을 만들어 봅시다!

+
// 이 macro는 Rust가 테스트 모드가 아닐 경우
+// 이 inline module을 제거합니다.
+#[cfg(test)]
+mod tests {
+    // 부모 module에 즉시 접근이 가능하지 않다는 데에 주의하세요.
+    // 반드시 명시적으로 써줘야 합니다.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ne.html b/113_ne.html new file mode 100644 index 000000000..41b7feac8 --- /dev/null +++ b/113_ne.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_pl.html b/113_pl.html new file mode 100644 index 000000000..f3fb1cf81 --- /dev/null +++ b/113_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_pt-br.html b/113_pt-br.html new file mode 100644 index 000000000..cff90a9dd --- /dev/null +++ b/113_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Módulo embutido

+

Um submódulo pode ser embutido diretamente no código de um módulo.

+

Um uso muito comum para módulos embutidos é a criação de testes unitários. Criamos um módulo embutido que só existe quando Rust é usado para testes!

+
// Esta macro remove este módulo embutido quando o Rust
+// não está em modo de testes.
+#[cfg(test)]
+mod tests {
+    // Observe que não obtemos acesso imediato 
+    // ao módulo pai. Devemos ser explícitos.
+    use super::*;
+
+    ... os testes vão aqui ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ro.html b/113_ro.html new file mode 100644 index 000000000..aa03791de --- /dev/null +++ b/113_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modul inclus direct (inline)

+

Un submodul poate fi inclus direct în codul unui modul.

+

O utilizare foarte frecventă a modulelor inline este crearea de teste unitare. Creăm un modul inline care există doar atunci când Rust este utilizat pentru testare!

+
// Acest macro elimină acest modul inline atunci când Rust
+// nu se află în modul de testare
+#[cfg(test)]
+mod tests {
+    // Observați că nu obținem imediat acces la
+    // modulul părinte. Trebuie să fim expliciți.
+    use super::*;
+
+    ... teste scrise aici ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ru.html b/113_ru.html new file mode 100644 index 000000000..c57025f5c --- /dev/null +++ b/113_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Встроенный модуль (Inline Module)

+

Подмодуль может быть напрямую встроен внутрь кода модуля.

+

Одно очень частое использование модулей — это создание юнит-тестов. Мы создаем встроенный модуль, который существует только тогда, когда Rust используется для тестирования!

+
// Данный макрос удаляет этот встроенный модуль,
+// когда Rust не в режиме тестирования.
+#[cfg(test)]
+mod tests {
+    // Заметьте, что мы не можем сразу получить доступ к
+    // родительскому модулю. Его нужно указывать явно.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_th.html b/113_th.html new file mode 100644 index 000000000..42eebb13e --- /dev/null +++ b/113_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline Module

+

สามารถเขียนโมดูลย่อยแทรกลงไปในโค้ดของโมดูลได้โดยตรง

+

ปกติแล้วการทำ inline modules จะเห็นเป็นปกติในการเขียน unit tests เราเขียนแบบนี้เมื่อใช้ Rust ทำการทดสอบเท่านั้น

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_tr.html b/113_tr.html new file mode 100644 index 000000000..a6da45202 --- /dev/null +++ b/113_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Satır İçi Modül

+

Bir alt modül, üst modülün kodu içine doğrudan yerleştirilebilir.

+

Satır içi modüller en çok birim testleri oluştururken kullanılırlar. Aşağıdaki kodda sadece test amaçlı kullanıldığında var olabilen çevrim içi bir modül örneklenmektedir.

+
// Aşağıdaki satır içi modül, bu makro tarafından, 
+// Rust test modunda kullanılmadığında kaldırılacaktır!
+#[cfg(test)]
+mod testler {
+    // Üst modüle hemen erişemeyeceğimizden
+    // daha açık davranmamamız gerekir.
+    use super::*;
+
+    ... testler başlasın ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_ua.html b/113_ua.html new file mode 100644 index 000000000..2ac544d18 --- /dev/null +++ b/113_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Вбудований модуль

+

Підмодуль може бути безпосередньо вбудований у код модуля.

+

Одне з найпоширеніших застосувань вбудованих модулів - створення модульних тестів. Ми створюємо вбудований модуль, який існує лише тоді, коли для тестування використовується Rust!

+
// Цей макрос видаляє цей вбудований модуль, коли Rust
+// не знаходиться в режимі тестування.
+#[cfg(test)]
+mod tests {
+    // Зверніть увагу, що ми не одразу отримуємо доступ до
+    // батьківського модуля. Ми повинні бути явними.
+    використовуйте super::*;
+
+    ... тести йдуть сюди ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_vi.html b/113_vi.html new file mode 100644 index 000000000..c18fd9c38 --- /dev/null +++ b/113_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mô-đun nội tuyến

+

Một mô-đun con có thể được nội tuyến trực tiếp trong code của mô-đun.

+

Một cách sử dụng rất phổ biến cho các mô-đun nội tuyến là tạo các bài kiểm tra đơn vị. Chúng tôi tạo một mô-đun nội tuyến chỉ tồn tại khi Rust được sử dụng để thử nghiệm!

+
// Macro này loại bỏ mô-đun nội tuyến này  // khi Rust không ở chế độ thử nghiệm 
+
+#[cfg(test)]
+mod tests {
+    // Lưu ý rằng 
+    // chúng tôi không có quyền truy cập ngay lập tức 
+    // vào mô-đun mẹ. 
+    // Chúng ta phải rõ ràng. 
+    use super::*;
+
+    ... kiểm tra ở đây ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_zh-cn.html b/113_zh-cn.html new file mode 100644 index 000000000..f5ed4415c --- /dev/null +++ b/113_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

内联模块

+

一个子模块可以直接内联在一个模块的代码中。

+

内联模块最常见的用途是创建单元测试。 下面我们创建一个只有在使用 Rust 进行测试时才会存在的内联模块!

+
// 当 Rust 不在测试模式时,这个宏会删除这个内联模块。
+#[cfg(test)]
+mod tests {
+    // 请注意,我们并不能立即获得对父模块的访问。我们必须显式地导入它们。
+    use super::*;
+
+    ... 单元测试写在这里 ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/113_zh-tw.html b/113_zh-tw.html new file mode 100644 index 000000000..22f87571c --- /dev/null +++ b/113_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_al.html b/114_al.html new file mode 100644 index 000000000..c9f0ca559 --- /dev/null +++ b/114_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ar.html b/114_ar.html new file mode 100644 index 000000000..92eae7c3f --- /dev/null +++ b/114_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الإشارة إلى وحدة داخلية (Internal Module Referencing)

+

يحتوي رست (Rust) على العديد من الكلمات المفتاحية التي يمكنك استخدامها في مسار use الخاص بك للوصول بسرعة إلى الوحدة التي تريدها:

+
    +
  • الصندوق (crate) - وحدة الجذر لصندوقك
  • +
  • علوي (super) - الوحدة الأب لوحدتك الحالية
  • +
  • الذات (self) - الوحدة الحالية
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_de.html b/114_de.html new file mode 100644 index 000000000..03c41eea8 --- /dev/null +++ b/114_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Interne Modul Referenzierung

+

Rust hat verschiedene Schlüsselwörter, die Du in deinem use Pfad verwenden kannst, um schnell das richtige Modul in die Finger zu bekommen:

+
    +
  • crate - das Hauptmodul deines Crates
  • +
  • super - das übergeordnete Modul deines derzeitigen Moduls
  • +
  • self - das derzeitige Modul
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_en.html b/114_en.html new file mode 100644 index 000000000..29e07bc8a --- /dev/null +++ b/114_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_es.html b/114_es.html new file mode 100644 index 000000000..e19209770 --- /dev/null +++ b/114_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciar Módulos Internos

+

Rust tiene varias palabras reservadas que puedes usar en tu ruta use para conseguir rápidamente el módulo que quieres:

+
    +
  • crate - el módulo raíz de tu crate.
  • +
  • super - el módulo padre del módulo actual.
  • +
  • self - el módulo actual.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_fa.html b/114_fa.html new file mode 100644 index 000000000..28dbd91ea --- /dev/null +++ b/114_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_fi.html b/114_fi.html new file mode 100644 index 000000000..44d39ba9b --- /dev/null +++ b/114_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_fr.html b/114_fr.html new file mode 100644 index 000000000..13a5dc032 --- /dev/null +++ b/114_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Référencement de module interne

+

Lors du référencement d'un module avec le mot-clé use, tu peux également +utiliser les mots-clés suivants dans le chemin:

+
    +
  • crate - le module racine de la crate
  • +
  • super - le module parent du module actuel
  • +
  • self - le module actuel
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_gr.html b/114_gr.html new file mode 100644 index 000000000..53393afcb --- /dev/null +++ b/114_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_hu.html b/114_hu.html new file mode 100644 index 000000000..830771a9f --- /dev/null +++ b/114_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Beágyazott Modulokra Hivatkozás

+

A Rust több kulcsszót is ismer, amit a use útvonalainál használhatsz, hogy könnyebben +hivatkozhass arra, amit szeretnél:

+
    +
  • crate - a láda legkülső modulja
  • +
  • super - az aktuális modul szülőmodulja, az eggyel kintebbi modul
  • +
  • self - az aktuális modul
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_id.html b/114_id.html new file mode 100644 index 000000000..88f8fcd7b --- /dev/null +++ b/114_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ie.html b/114_ie.html new file mode 100644 index 000000000..93b789723 --- /dev/null +++ b/114_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportation

+

In Rust, noi exporta membres de un module usante li clave-parol pub.

Quande on usa un module, sive in su propri code sive in un crate extern, on posse solmen aluder a membres possedent li marcation public.

Li code in ti-ci exemple es ruptet; ples adjunter li clave-parol pub in li loc necessi por reparar it.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/114_it.html b/114_it.html new file mode 100644 index 000000000..8165c90c1 --- /dev/null +++ b/114_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ja.html b/114_ja.html new file mode 100644 index 000000000..f420ed19a --- /dev/null +++ b/114_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ko.html b/114_ko.html new file mode 100644 index 000000000..2614b2baf --- /dev/null +++ b/114_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

내부 모듈 참조하기

+

Rust에서는 use 경로에 사용할 수 있는 몇 가지 키워드를 통해 원하는 module을 빠르게 가져다 쓸 수 있습니다:

+
    +
  • crate - root module
  • +
  • super - 현재 module의 부모 module
  • +
  • self - 현재 module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ne.html b/114_ne.html new file mode 100644 index 000000000..2e282ec4b --- /dev/null +++ b/114_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_pl.html b/114_pl.html new file mode 100644 index 000000000..c6c42feb9 --- /dev/null +++ b/114_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_pt-br.html b/114_pt-br.html new file mode 100644 index 000000000..9647487ac --- /dev/null +++ b/114_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciamento interno aos módulos

+

O Rust tem várias palavras-chave que você pode usar no seu caminho use para obter rapidamente o módulo que deseja:

+
    +
  • crate - o módulo raiz do seu crate.
  • +
  • super - o módulo pai do seu módulo corrente.
  • +
  • self - o módulo corrente.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ro.html b/114_ro.html new file mode 100644 index 000000000..05cb03d54 --- /dev/null +++ b/114_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referențierea modulelor interne

+

Rust are câteva cuvinte cheie pe care le puteți folosi în calea use pentru a obține rapid rapid modulul pe care îl doriți:

+
    +
  • crate - modulul rădăcină al cutiei dvs.
  • +
  • super - modulul părinte al modulului curent
  • +
  • self - modulul curent
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ru.html b/114_ru.html new file mode 100644 index 000000000..c6cf2881e --- /dev/null +++ b/114_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ссылка на встроенный модуль (Internal Module Referencing)

+

Rust имеет несколько ключевых слов, которые вы можете использовать в своем пути use (использовать), чтобы быстро получить доступ к нужному модулю:

+
    +
  • crate - корневой модуль вашего крейта
  • +
  • super - родительсвкий модуль вашего текущего модуля
  • +
  • self - текущий модуль
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_th.html b/114_th.html new file mode 100644 index 000000000..32149b1e6 --- /dev/null +++ b/114_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Internal Module Referencing

+

Rust มีหลายคีย์เวิร์ดให้คุณใช้ใน พาธ use ของคุณ เพื่อรับโมดูลที่คุณต้องการแบบเร่งด่วน:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_tr.html b/114_tr.html new file mode 100644 index 000000000..f1ba70a00 --- /dev/null +++ b/114_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yerleşik Modüllere Başvurmak

+

Rust, dilediğimiz modüle hemen erişebilmemiz için use eşliğinde kullanabileceğiniz birkaç anahtar kelime sunar.

+
    +
  • crate - sandığınızın kök modülü.
  • +
  • super - mevcut modülününüzün üst modülü
  • +
  • self - mevcut modülünüz.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_ua.html b/114_ua.html new file mode 100644 index 000000000..c46d0ffa3 --- /dev/null +++ b/114_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Внутрішнє посилання на модулі

+

У Rust є кілька ключових слів, які ви можете використовувати у шляху use, щоб швидко отримати доступ до потрібного вам модуля:

+
    +
  • crate - Головний модуль вашого проекту.
  • +
  • super - батьківський модуль вашого модуля, тобто той що вище по ієрархії.
  • +
  • self - поточний модуль.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_vi.html b/114_vi.html new file mode 100644 index 000000000..0a2a0c9d1 --- /dev/null +++ b/114_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu mô-đun nội bộ

+

Rust có một số từ khóa bạn có thể sử dụng trong đường dẫn use của mình để nhanh chóng có được mô-đun bạn muốn:

+
    +
  • crate - mô-đun gốc của crate của bạn
  • +
  • super - mô-đun mẹ của mô-đun hiện tại của bạn
  • +
  • self - mô-đun hiện tại
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_zh-cn.html b/114_zh-cn.html new file mode 100644 index 000000000..66b315406 --- /dev/null +++ b/114_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

模块内部引用

+

你可以在你的 use 路径中使用如下 Rust 关键字来获得你想要的模块:

+
    +
  • crate - 你的 crate 的根模块
  • +
  • super - 当前模块的父模块
  • +
  • self - 当前模块
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/114_zh-tw.html b/114_zh-tw.html new file mode 100644 index 000000000..2e99e0240 --- /dev/null +++ b/114_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_al.html b/115_al.html new file mode 100644 index 000000000..2b744efa4 --- /dev/null +++ b/115_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_ar.html b/115_ar.html new file mode 100644 index 000000000..f07fe75cf --- /dev/null +++ b/115_ar.html @@ -0,0 +1,46 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التصدير (Exporting)

+

بشكل افتراضي، لا يمكن الوصول إلى أعضاء (members) الوحدة (module) من خارجها (ولا حتى من الوحدات الفرعية الخاصة بها!). ولنجعل أعضاء الوحدة يمكن الوصول إليهم نستخدم الكلمة الفتاحية pub.

+

وكذلك، افتراضيا لا يمكن الوصول إلى أعضاء الصندوق (crate) خارجه. ولتجعل أعضاء الصندوق قابلين للوصول ضع عليهم pub في الوحدة الجذرية (root module) لصندوقك (lib.rs أو main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_de.html b/115_de.html new file mode 100644 index 000000000..3db23b32d --- /dev/null +++ b/115_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Export

+

Die Inhalte eines Moduls sind außerhalb des Moduls nicht automatisch zugänglich. +Stattdessen müssen die Teile, die im Modul erreichbar sein sollen, durch das pub Schlüsselwort exportiert werden.

+

Die Inhalte einer Kiste (crate) sind ebenfalls außerhalb des Crates nicht automatisch zugänglich. +Die zu exportierenden Teile werden im root Modul (lib.rs oder main.rs) durch das pub Schlüsselwort exportiert.

+

Mehr dazu später, für jetzt reicht es zu wissen, dass durch pub die Sichtbarkeit +von Funktionen und Attributen gesteuert werden kann.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_en.html b/115_en.html new file mode 100644 index 000000000..1eca28fbb --- /dev/null +++ b/115_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_es.html b/115_es.html new file mode 100644 index 000000000..4b98d82b2 --- /dev/null +++ b/115_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportar

+

Por defecto, los miembros de un módulo no son accesibles desde fuera del módulo (¡ni siquiera a sus módulos hijo!). Hacemos que los miembros de un módulo sean accesibles usando la palabra reservada pub.

+

Por defecto, no se puede acceder a los miembros de un crate fuera del mismo. Hacemos que los miembros de un crate sean accesibles marcándolos como pub en el módulo raíz de tu crate (lib.rs o main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_fa.html b/115_fa.html new file mode 100644 index 000000000..cdc8e8dda --- /dev/null +++ b/115_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_fi.html b/115_fi.html new file mode 100644 index 000000000..c2ad3b2eb --- /dev/null +++ b/115_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_fr.html b/115_fr.html new file mode 100644 index 000000000..5acab0ef9 --- /dev/null +++ b/115_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Export

+

Par défaut, les membres d'un module ne sont pas accessibles de +l'extérieur du module (pas même à ses modules enfants!). Pour que +ceux-ci soient accessible, il faut utiliser le mot-clé pub.

+

Par défaut, les membres d'une crate ne sont pas accessibles en dehors +de la crate. De même, il faut utiliser le mot-clé pub dans le +module racine de la crate (lib.rs ou main.rs) si l'on souhaite +rendre accesssible les membres d'une crate depuis l'extérieur.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_gr.html b/115_gr.html new file mode 100644 index 000000000..1e535eb95 --- /dev/null +++ b/115_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_hu.html b/115_hu.html new file mode 100644 index 000000000..5d854205c --- /dev/null +++ b/115_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportálás

+

Alapértelmezés szerint egy modulban definiált elemek nem láthatóak kívülről (még a modul +részét képző gyermek-modulokban sem!). Hogy elérhetővé tegyük ezeket a definíciókat, a pub +kulcsszóra van szükségünk.

+

Ugyanígy, egy láda tagjai sem látszanak alapból más ládákban. Hogy elérhetővé tegyünk valamit, +annak a pub kulcsszóval publikusnak kell lennie a legkülső modulban (lib.rs vagy +main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_id.html b/115_id.html new file mode 100644 index 000000000..4aeb9a434 --- /dev/null +++ b/115_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_ie.html b/115_ie.html new file mode 100644 index 000000000..4e2a73670 --- /dev/null +++ b/115_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visibilitá de Structuras

+

Just quam functiones, structuras posse usar pub por declarar to quo ili desira esser exposit éxter su modul.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/115_it.html b/115_it.html new file mode 100644 index 000000000..e8ee577b9 --- /dev/null +++ b/115_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_ja.html b/115_ja.html new file mode 100644 index 000000000..5a9dc782d --- /dev/null +++ b/115_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_ko.html b/115_ko.html new file mode 100644 index 000000000..27eb963b2 --- /dev/null +++ b/115_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

내보내기

+

기본적으로 module의 구성원들은 외부에서 접근이 불가능합니다 (그 자식 module에게까지도!). +pub 키워드를 사용하면 module의 구성원들을 접근 가능하게 할 수 있습니다.

+

기본적으로 crate의 구성원들도 외부에서 접근이 불가능합니다. +crate의 root module (lib.rs 또는 main.rs)에 pub을 표시하면 구성원들을 접근 가능하게 할 수 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_ne.html b/115_ne.html new file mode 100644 index 000000000..395cd968b --- /dev/null +++ b/115_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_pl.html b/115_pl.html new file mode 100644 index 000000000..ca2f67d3d --- /dev/null +++ b/115_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_pt-br.html b/115_pt-br.html new file mode 100644 index 000000000..b66a8e840 --- /dev/null +++ b/115_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportando

+

Por padrão, os membros de uma crate não são acessíveis fora da crate (nem mesmo para os seus módulos filhos!). Tornamos os membros de uma crate acessíveis marcando-os como pub no módulo raiz da sua crate (lib.rs ou main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_ro.html b/115_ro.html new file mode 100644 index 000000000..e4abd2bfc --- /dev/null +++ b/115_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportarea

+

În mod implicit, membrii unui modul nu sunt accesibili din exteriorul modulului (nici măcar pentru submodulele sale!). Facem ca membrii +unui modul sa fie accesibili cu ajutorul cuvântului cheie pub.

+

În mod implicit, membrii unei cutii nu sunt accesibili din afara cutiei. Noi facem membrii unei +cutii accesibilă prin marcarea lor ca pub în modulul rădăcină (în engleză root module) al cutiei dvs. (lib.rs sau main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_ru.html b/115_ru.html new file mode 100644 index 000000000..be7984941 --- /dev/null +++ b/115_ru.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Экспорт (Exporting)

+

По умолчанию элементы module (модуля) недоступны вне этого модуля (даже для модулей наследников!). Элементы модуля можно сделать "видимыми" или доступными, используя ключевое слово pub.

+

Также элементы crate (крейта) недоступны по умолчанию вне этого крейта. Их можно сделать доступными с помощью ключевого слова pub в root module (корневом модуле) крейта (lib.rs или main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_th.html b/115_th.html new file mode 100644 index 000000000..2b1339015 --- /dev/null +++ b/115_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting

+

ด้วยค่าเริ่มต้น สมาชิกใน โมดูล จะไม่ยอมให้เข้าถึงได้จากภายนอกโมดูล (แม้แต่โมดูลลูก) เราทำให้สมาชิกของโมดูลสามารถเข้าถึงได้ด้วยการใช้คีย์เวิร์ด pub

+

ด้วยค่าเริ่มต้น สมาชิกใน crate จะไม่ยอมให้เข้าถึงได้จากภายนอก crate เราทำให้สมาชิกของมันสามารถเข้าถึงได้ด้วยการทำให้มันเป็นpub ที่ root module ของ crate (lib.rs หรือ main.rs)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_tr.html b/115_tr.html new file mode 100644 index 000000000..01380044f --- /dev/null +++ b/115_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dışa Aktarmak

+

Varsayılan olarak, bir modülün üyelerine modülün dışından erişilemez. Bu kısıtlama alt modüller için de geçerli olduğundan modüllerin erişilir olabilmesi için pub anahtar kelimesiyle belirtilmeleri gerekir.

+

Benzer şekilde, bir sandık üyelerine sandık dışından da erişilemeyeceği varsayılır. O nedenle bir sandığın üyelerini dışarıdan erişime açmak istiyorsanız, her bir üyenin, sandığın kök modülü olan lib.rs veya main.rs içinde pub anahtar sözcüğü ile bildirilmesi gerekir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_ua.html b/115_ua.html new file mode 100644 index 000000000..00cbecdb1 --- /dev/null +++ b/115_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Експорт

+

За замовчуванням члени модуля недоступні ззовні модуля (навіть з його дочірніх модулів!). Ми робимо члени +модуля доступними за допомогою ключового слова pub.

+

За замовчуванням члени crate недоступні ззовні цього crate. Ми робимо члени +доступними, позначивши їх як pub у кореневому модулі вашого (lib.rs або main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_vi.html b/115_vi.html new file mode 100644 index 000000000..329d87715 --- /dev/null +++ b/115_vi.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xuất(Exporting)

+

Theo mặc định, các thành viên của một mô-đun không thể truy cập từ bên ngoài mô-đun (thậm chí không truy cập được vào các mô-đun con của nó!). Chúng ta làm cho các thành viên của một mô-đun có thể truy cập được bằng cách sử dụng từ khóa pub.

+

Theo mặc định, các thành viên của crate không thể truy cập được bên ngoài crate. Chúng ta giúp các thành viên của crate có thể truy cập được bằng cách đánh dấu họ là pub trong mô-đun gốc của crate của bạn (lib.rs hoặc main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_zh-cn.html b/115_zh-cn.html new file mode 100644 index 000000000..1b8f81e6e --- /dev/null +++ b/115_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

导出

+

默认情况下,模块的成员不能从模块外部访问(甚至它的子模块也不行!)。 我们可以使用 pub 关键字使一个模块的成员可以从外部访问。

+

默认情况下,crate 中的成员无法从当前 crate 之外访问。我们可以通过在根模块中 (lib.rsmain.rs), 将成员标记为 pub 使它们可以访问。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/115_zh-tw.html b/115_zh-tw.html new file mode 100644 index 000000000..8155e73f9 --- /dev/null +++ b/115_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/116_al.html b/116_al.html new file mode 100644 index 000000000..548982851 --- /dev/null +++ b/116_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_ar.html b/116_ar.html new file mode 100644 index 000000000..86016777c --- /dev/null +++ b/116_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

كشف الهيكل (Structure Visibility)

+

تمامًا مثل الدوال، يمكن التصريح للهيكل (structures) ما تريد أن يكشف منه خارج الوحدة النمطية باستخدام الكلمة المفتاحية pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_de.html b/116_de.html new file mode 100644 index 000000000..383341667 --- /dev/null +++ b/116_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktursichtbarkeit

+

Genau wie bei Funktionen kann in Strukturen angegeben werden, welche Felder nach außen hin sichtbar sein sollen. +Diese sind wieder mit dem Schlüsselwort pub versehen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_en.html b/116_en.html new file mode 100644 index 000000000..1efb3de3e --- /dev/null +++ b/116_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_es.html b/116_es.html new file mode 100644 index 000000000..a7bf1b3e8 --- /dev/null +++ b/116_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visibilidad de Estructuras

+

Al igual que las funciones, las estructuras pueden declarar lo que quieren que se exponga fuera de su módulo usando pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_fa.html b/116_fa.html new file mode 100644 index 000000000..666134566 --- /dev/null +++ b/116_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_fi.html b/116_fi.html new file mode 100644 index 000000000..e81016817 --- /dev/null +++ b/116_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_fr.html b/116_fr.html new file mode 100644 index 000000000..aa21c1c0a --- /dev/null +++ b/116_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visibilité des structures

+

Tout comme les fonctions, les structures peuvent déclarer quels champs +seront visibles à l'extérieur du module en utilisant le mot-clépub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_gr.html b/116_gr.html new file mode 100644 index 000000000..e668635e7 --- /dev/null +++ b/116_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_hu.html b/116_hu.html new file mode 100644 index 000000000..4ee33e767 --- /dev/null +++ b/116_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktúra Láthatóság

+

Csakúgy, mint a függvényeknél, a pub kulcsszóval a struktúráknál is megmondhatjuk, elérhetőek +legyenek-e az őket definiáló modulon kívül.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_id.html b/116_id.html new file mode 100644 index 000000000..be248a916 --- /dev/null +++ b/116_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_ie.html b/116_ie.html new file mode 100644 index 000000000..ba46c8852 --- /dev/null +++ b/116_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_it.html b/116_it.html new file mode 100644 index 000000000..3b04e3828 --- /dev/null +++ b/116_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_ja.html b/116_ja.html new file mode 100644 index 000000000..767a0872a --- /dev/null +++ b/116_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_ko.html b/116_ko.html new file mode 100644 index 000000000..a22f1888b --- /dev/null +++ b/116_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

구조체 가시성

+

함수와 마찬가지로, structure도 module 외부로 무엇을 노출할지를 pub을 사용해 선언할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_ne.html b/116_ne.html new file mode 100644 index 000000000..06ff9efed --- /dev/null +++ b/116_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_pl.html b/116_pl.html new file mode 100644 index 000000000..480c6aa53 --- /dev/null +++ b/116_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_pt-br.html b/116_pt-br.html new file mode 100644 index 000000000..42339c375 --- /dev/null +++ b/116_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visibilidade da estrutura

+

Assim como as funções, as estruturas podem declarar o que desejam que seja exposto para fora de seu módulo usando pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_ro.html b/116_ro.html new file mode 100644 index 000000000..db97337cb --- /dev/null +++ b/116_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vizibilitatea structurilor

+

La fel ca și funcțiile, structurile pot declara ceea ce doresc să fie expus în afara modulului lor folosind pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_ru.html b/116_ru.html new file mode 100644 index 000000000..22b33dab1 --- /dev/null +++ b/116_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Область видимости структур (Structure Visibility)

+

Подобно функциям, структуры можно объявить так, что они будут видны снаружи своих модулей с помощью pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_th.html b/116_th.html new file mode 100644 index 000000000..4da799dc6 --- /dev/null +++ b/116_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structure Visibility

+

แบบเดียวกับฟังก์ชัน ตัวโครงสร้างทั้งหลายก็สามารถประกาศได้ว่ามันต้องการเปิดเผยอะไรออกไปได้ ด้วยการใช้ pub

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_tr.html b/116_tr.html new file mode 100644 index 000000000..c9f765aa0 --- /dev/null +++ b/116_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yapısal Görünürlük

+

İşlevlerde olduğu gibi yapı alanlarının dışarıya açılabilmesi için pub anahtar kelimesiyle belirtilmeleri gerekir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_ua.html b/116_ua.html new file mode 100644 index 000000000..3d1d85e71 --- /dev/null +++ b/116_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Видимість структури

+

Так само як і функції, структури можуть оголошувати те, що вони хочуть виходити за межі модуля за допомогою pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_vi.html b/116_vi.html new file mode 100644 index 000000000..2d246e1cb --- /dev/null +++ b/116_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Khả năng hiển thị cấu trúc

+

Cũng giống như các hàm, các cấu trúc có thể khai báo những gì chúng muốn hiển thị bên ngoài mô-đun của chúng bằng cách sử dụng pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_zh-cn.html b/116_zh-cn.html new file mode 100644 index 000000000..c4ae720c9 --- /dev/null +++ b/116_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

结构体可见性

+

就像函数一样,结构体可以使用 pub 声明它们想要在模块外暴露的东西。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/116_zh-tw.html b/116_zh-tw.html new file mode 100644 index 000000000..028008e6f --- /dev/null +++ b/116_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/117_al.html b/117_al.html new file mode 100644 index 000000000..ed0a0b54e --- /dev/null +++ b/117_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_ar.html b/117_ar.html new file mode 100644 index 000000000..c446722fd --- /dev/null +++ b/117_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التمهيد (Prelude)

+

ربما تتساءل كيف يمكننا الوصول إلى Vec أو Box في كل مكان من دون use لاستيرادهما. هذا بسبب وحدة التمهيد prelude في المكتبة القياسية (standard library).

+

اعلم أنه في مكتبة رست (Rust) القياسية، أي شيء يتم تصديره في std::prelude::* متاح تلقائيًا لكل جزء من رست (Rust). هذا هو الحال بالنسبة لـ Vec وBox وبالنسبة للآخرين أيضًا (Option، Copy، + إلخ.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_de.html b/117_de.html new file mode 100644 index 000000000..0ca6205f0 --- /dev/null +++ b/117_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Das `Prelude` Modul

+

Du wunderst dich vielleicht, wie wir von überall Zugriff auf Vec oder Box haben, ohne dass wir ein use Statement +verwenden müssen. Der Grund liegt im Prelude Modul in der Standard Bibliothek.

+

Du musst wissen, dass alles aus der Standard Bibliothek, das mit std::prelude::* exportiert wird, in jedem Bereich von +Rust automatisch verfügbar ist. Das trifft auch für Vec, Box und viele anderen Elemente, wie z.B. Option, Copy etc. zu.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_en.html b/117_en.html new file mode 100644 index 000000000..d9c0d5365 --- /dev/null +++ b/117_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_es.html b/117_es.html new file mode 100644 index 000000000..95cea9597 --- /dev/null +++ b/117_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

Te estarás preguntando cómo es que tenemos acceso a Vec o Box +en todas partes sin necesidad de utilizar use para importarlos. Esto se debe al módulo prelude de la librería estándar.

+

Es importante saber que, en la librería estándar de Rust, todo lo que se exporta en +std::prelude::* está automáticamente disponible en cualquier parte de Rust. +Ese es el caso de Vec y Box pero también de otros (Option, Copy, etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_fa.html b/117_fa.html new file mode 100644 index 000000000..f9c4d64ec --- /dev/null +++ b/117_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_fi.html b/117_fi.html new file mode 100644 index 000000000..47ebeb971 --- /dev/null +++ b/117_fi.html @@ -0,0 +1,51 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_fr.html b/117_fr.html new file mode 100644 index 000000000..f9a466d80 --- /dev/null +++ b/117_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

prelude

+

Tu pourrais te demander comment, avec Rust, nous avons pu avoir accès à +Vec ou Box sans utiliser le mot-clé use pour les importer. C'est +grâce au module prelude de la bibliothèque standard de Rust.

+

Il faut savoir que, dans la bibliothèque standard de Rust, tout ce qui +est exporté dans std::prelude::* sera automatiquement disponible +n'importe où dans le code. C'est le cas pour Vec et Box mais bien +d'autres encore (Option, Copy, etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_gr.html b/117_gr.html new file mode 100644 index 000000000..b344bc420 --- /dev/null +++ b/117_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_hu.html b/117_hu.html new file mode 100644 index 000000000..d78ede2da --- /dev/null +++ b/117_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bevezetés (Prelude)

+

Feltűnhetett már, hogy a Vec vagy Box elérhető bárhonnan anélkül, hogy use-zal importálni +kellene őket. Ez azért van, mert az alapkönyvtárnak van egy úgynevezett bevezetése (prelude).

+

Minden, ami a Rust alapkönyvtárában a std::prelude::* alatt exportálva van, automatikusan +elérhető minden Rust kódban. Ez az eset a Vec és Box típusokkal, de sok mással is (Option, +Copy, stb.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_id.html b/117_id.html new file mode 100644 index 000000000..6f44bc6c5 --- /dev/null +++ b/117_id.html @@ -0,0 +1,51 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_ie.html b/117_ie.html new file mode 100644 index 000000000..0673ced1b --- /dev/null +++ b/117_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_it.html b/117_it.html new file mode 100644 index 000000000..ebddd84a8 --- /dev/null +++ b/117_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_ja.html b/117_ja.html new file mode 100644 index 000000000..82fc2692b --- /dev/null +++ b/117_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_ko.html b/117_ko.html new file mode 100644 index 000000000..8c659f040 --- /dev/null +++ b/117_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

전주곡 (Prelude)

+

use로 가져오지도 않았는데 어떻게 어디서나 VecBox를 쓸 수 있는지 +궁금하실지도 모르겠습니다. 이는 standard library의 prelude module 덕분입니다.

+

Rust의 standard library에서는 std::prelude::*로 내보내기 된 모든 것들이 +어디에서든 자동으로 사용 가능하다는 점을 알아두십시오. +VecBox가 바로 이런 경우이며, 다른 것들(Option, Copy, 기타 등등)도 마찬가지입니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_ne.html b/117_ne.html new file mode 100644 index 000000000..1daab2179 --- /dev/null +++ b/117_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_pl.html b/117_pl.html new file mode 100644 index 000000000..a7c7b77ba --- /dev/null +++ b/117_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_pt-br.html b/117_pt-br.html new file mode 100644 index 000000000..6e6674131 --- /dev/null +++ b/117_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

Você pode estar se perguntando como temos acesso ao Vec ouBox em qualquer lugar sem um use para importá-los. É por causa do módulo prelude na biblioteca padrão.

+

Saiba que na biblioteca padrão do Rust tudo o que é exportado em std::prelude::* está automaticamente disponível para todas as partes do Rust. Esse é o caso de Vec e Box, mas também de outros (Option, Copy etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_ro.html b/117_ro.html new file mode 100644 index 000000000..d1715c231 --- /dev/null +++ b/117_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Preludiu

+

Poate vă întrebați cum de avem acces la Vec sau Box. +peste tot, fără un use pentru a le importa. Acest lucru se datorează modulului +prelude din biblioteca standard.

+

În biblioteca standard Rust orice este exportat în +std::prelude::* este automat disponibil pentru fiecare parte a Rust. +Acesta este cazul pentru Vec și Box, dar și pentru altele (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_ru.html b/117_ru.html new file mode 100644 index 000000000..655cdadf3 --- /dev/null +++ b/117_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Автоимпорт (Prelude)

+

Вам может быть интересно, как везде в коде мы получили доступ к типам Vec или Box +без использования use для их подключения? +Это благодаря использованию модуля prelude (автоимпорт) из стандартной библиотеки.

+

Знайте, что в стандартной библиотеке Rust все типы, которые экспортируются с помощью +std::prelude::* являются автоматически доступными в каждой части Rust. +В данном случае типы Vec и Box, но и другие (Option, Copy, etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_th.html b/117_th.html new file mode 100644 index 000000000..45220e703 --- /dev/null +++ b/117_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

คุณอาจสงสัยว่าเราสามารถเข้าถึง Vec หรือ Box ได้ทุกที่ +โดยไม่ต้องใช้ use เพื่อนำพวกมันเข้ามาก่อนได้ นั่นเป็นเพราะโมดูล prelude +ในไลบรารีมาตรฐาน

+

ให้รู้ไว้ว่าในไลบรารีมาตรฐานของ Rust ทุกตัวที่ถูกเปิดเผยใน std::prelude::* +ถือว่าพร้อมใช้ได้ทุกที่ใน Rust โดยอัตโนมัติ นี่คือที่มาของ Vec และ Box +ซึ่งก็มีตัวอื่นด้วยเช่นกัน (Option, Copy,และอื่นๆ)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_tr.html b/117_tr.html new file mode 100644 index 000000000..9bfd002be --- /dev/null +++ b/117_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ön Yükleme Modülü

+

Şu ana kadar Vec ve Box türlerine use anahtar kelimesi kullanmak zorunda kalmadan nasıl eriştiğimizi merak ediyor olabilirsiniz. +Bunun cevabı standart kütüphanede yer alan ve prelude olarak adlandırılan ön yükleme modülünde gizlidir.

+

Standart kütüphaneden std::prelude::* olarak dışa aktarılan her şey, Rust'un her bir parçası tarafından otomatik olarak erişilebilir durumdadır. +Bu, Vec, Box için olduğu gibi Option, Copy gibi özellikler için de geçerlidir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_ua.html b/117_ua.html new file mode 100644 index 000000000..ba05cce92 --- /dev/null +++ b/117_ua.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Прелюдія

+

Вам може бути цікаво, як ми маємо доступ до Vec або Box +скрізь без використання use для їх імпорту. Це завдяки модулю +prelude у стандартній бібліотеці.

+

Знайте, що у стандартній бібліотеці Rust все, що експортується у +std::prelude::*, автоматично стає доступним для кожної частини Rust. +Це стосується як Vec і Box, так і інших (Option, Copy, +тощо).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_vi.html b/117_vi.html new file mode 100644 index 000000000..029ec31e9 --- /dev/null +++ b/117_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Phần dạo đầu(Prelude)

+

Bạn có thể tự hỏi làm thế nào chúng ta có thể truy cập vào Vec hoặcBox ở mọi nơi mà không có use để nhập chúng. +Đó là vì mô-đun prelude trong thư viện tiêu chuẩn.

+

Biết rằng trong thư viện tiêu chuẩn Rust, bất kỳ thứ gì được xuất trong std::prelude::* +đều tự động có sẵn cho mọi phần của Rust. Đó là trường hợp của VecBox nhưng những thứ khác cũng vậy (Option, Copy, v.v.)..

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_zh-cn.html b/117_zh-cn.html new file mode 100644 index 000000000..72024de68 --- /dev/null +++ b/117_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

你可能很好奇,为什么我们在没用 use 导入 VecBox 的情况下却可以到处使用它们。 +这是因为标准库中有一个叫 prelude 的模块。

+

要知道,在 Rust 标准库中,以 std::prelude::* 导出的任何东西都会自动提供给 Rust 的各个部分。 +VecBox 便是如此,并且其他东西(Option、Copy 等)也是如此。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/117_zh-tw.html b/117_zh-tw.html new file mode 100644 index 000000000..05d959687 --- /dev/null +++ b/117_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_al.html b/118_al.html new file mode 100644 index 000000000..15baf8686 --- /dev/null +++ b/118_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_ar.html b/118_ar.html new file mode 100644 index 000000000..82f762fcb --- /dev/null +++ b/118_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تمهيدك الخاص (Your Own Prelude)

+

بالنظر لتمهيد (prelude) المكتبة القياسية (standard library)، فمن الشائع أن يكون لمكتبتك (library) وحدة تمهيدية (prelude module) خاصة بها كنقطة بداية حيث يجب على المستخدمين استيراد جميع هياكل البيانات الأكثر شيوعًا لاستخدام مكتبتك (على سبيل المثال، استخدم use my_library::prelude::*) .

+

هو لا يتم استخدامه تلقائيًا في البرامج/المكتبات التي تستخدم الصندوق الخاص بك، ولكنه تقليد جيد يجب اتباعه حتى يعرف الأشخاص من أين يبدأون.

+

يقول فيريس (Ferris): "كن رستاسيًا (rustacean) جيدًا وساعد سلطعونا زميلًا لك للخروج بتمهيد جيد!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_de.html b/118_de.html new file mode 100644 index 000000000..69df59812 --- /dev/null +++ b/118_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dein eigenes `Prelude` Modul

+

Wie bei der Standard Bibliothek ist es üblich, für eigene Bibliotheken, ein eigenes Prelude Modul bereit zu stellen. Es dient den Usern deiner Bibliothek als Startpunkt, um die üblichsten Datenstrukturen aus deiner Bibliothek zu importieren (z.B. use my_library::prelude::*). +Es wird nicht automatisch in Programmen/Bibliotheken verwendet werden, die dein Crate nutzen, aber es ist eine Konvention dem zu folgen, damit Benutzer wissen, wo sie starten können. +Ferris sagt, "Sein ein guter Rustacean und hilf einer verbündeten Krabbe mit einem guten Prelude"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_en.html b/118_en.html new file mode 100644 index 000000000..4caa4634c --- /dev/null +++ b/118_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_es.html b/118_es.html new file mode 100644 index 000000000..da1a9b543 --- /dev/null +++ b/118_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude Propio

+

Debido al preludio de la librería estándar, es común que la librería tenga su propio módulo de preludio como punto de partida para que los usuarios importen todas las estructuras de datos más comunes. (por ejemplo, use my_library::prelude::*). +No se usa automáticamente en programas/librerías que usan tu crate, pero es una buena convención a seguir para saber por dónde empezar.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_fa.html b/118_fa.html new file mode 100644 index 000000000..d81e58b69 --- /dev/null +++ b/118_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Your Own Prelude

+

Because of standard library's prelude, it's common for your libary to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_fi.html b/118_fi.html new file mode 100644 index 000000000..32a5d309c --- /dev/null +++ b/118_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_fr.html b/118_fr.html new file mode 100644 index 000000000..1ff140987 --- /dev/null +++ b/118_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crée tes propres modules prelude

+

Il est courant qu'une bibliothèque ait son propre module prelude. Cela +permet d'importer toutes les structures de données nécessaires à +l'utilisation de la bibliothèque. Ces structures de données ne seront +pas automatiquement disponible (il faudra utiliser +use my_library::prelude::*) mais c'est une bonne convention à respecter.

+

Ferris dit: "Sois un bon rustacean et aide les autres crabes avec un bon prélude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_gr.html b/118_gr.html new file mode 100644 index 000000000..1b1d461f1 --- /dev/null +++ b/118_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_hu.html b/118_hu.html new file mode 100644 index 000000000..7f3c21c6d --- /dev/null +++ b/118_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A Saját Bevezetésed

+

Ha már az alapkönyvtárhoz tartozik bevezetés, nem ritka, hogy a saját könyvtáraink is +tartalmaznak ilyen előzmény modult. Ez egyfajta kiindulópontként szolgál, amivel a felhasználók +a leggyakrabban használt típusokat egyszerűen importálhatják (pl.: use konyvtaram::prelude::*).

+

Az alapkönyvtárral ellentétben a saját bevezetés nem kerül automatikusan betöltésre, de jó ötlet +csinálni, hogy a felhasználók tudják, hogyan is kezdjenek neki a könyvtárunkat használni.

+

"Légy jó rustacean és segítsd a társaidat egy jó bevezetéssel!" - Ferris

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_id.html b/118_id.html new file mode 100644 index 000000000..8b8a4ffbf --- /dev/null +++ b/118_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_ie.html b/118_ie.html new file mode 100644 index 000000000..19668f139 --- /dev/null +++ b/118_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_it.html b/118_it.html new file mode 100644 index 000000000..8ba8a372c --- /dev/null +++ b/118_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_ja.html b/118_ja.html new file mode 100644 index 000000000..b8accf0d3 --- /dev/null +++ b/118_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_ko.html b/118_ko.html new file mode 100644 index 000000000..c9b83f80d --- /dev/null +++ b/118_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러분만의 Prelude

+

standard library의 prelude로 인해, 흔히들 library마다 고유의 prelude module을 만들어 +library 사용을 위해 필요한 가장 흔한 데이터 구조들을 모두 가져오는 시작점으로 쓰곤 합니다 (예: use my_library::prelude::*). +standard library와 달리 프로그램이나 library에서 자동으로 쓸 수 있는 것은 아니지만, +library 사용자들이 어디서부터 시작할지 도움을 줄 좋은 습관입니다.

+

Ferris가 말하길, "좋은 rustacean이 되어, 좋은 prelude로 게 친구를 도와주세요!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_ne.html b/118_ne.html new file mode 100644 index 000000000..00cbed57b --- /dev/null +++ b/118_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_pl.html b/118_pl.html new file mode 100644 index 000000000..1a16e2f6c --- /dev/null +++ b/118_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Your Own Prelude

+

Because of standard library's prelude, it's common for your libary to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_pt-br.html b/118_pt-br.html new file mode 100644 index 000000000..fee198a85 --- /dev/null +++ b/118_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Seu próprio prelude

+

Por causa do prelude da biblioteca padrão, é usual que a sua biblioteca tenha seu próprio módulo de prelude como ponto de partida de onde os usuários devem importar todas as estruturas de dados mais usuais para usar a sua biblioteca (por exemplo, use my_library::prelude::*). +Ele não é usado automaticamente em programas/bibliotecas que usam a sua crate, mas é uma boa convenção a ser seguida para que as pessoas saibam por onde começar.

+

Ferris diz: "seja um bom rustáceo e ajude outro caranguejo com um bom prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_ro.html b/118_ro.html new file mode 100644 index 000000000..bb20e354f --- /dev/null +++ b/118_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Preludiul propriu

+

Datorită preludiului bibliotecii standard, este normal ca biblioteca dvs. să aibă propriul său modul preludiu. Aceasta poate fi un punct de plecare pentru +utilizatorii care doresc să importe cele mai comune structuri de date pentru utilizarea bibliotecii dumneavoastră (de exemplu, use my_library::prelude::*). +Acesta nu este utilizat automat în programele/bibliotecile care utilizează biblioteca dvs, dar este o convenție bună de urmat pentru ca oamenii +să știe de unde să înceapă.

+

Ferris spune: "Fiți un Rustaceu bun și ajutați alți crabi cu un preludiu bun!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_ru.html b/118_ru.html new file mode 100644 index 000000000..8405c3808 --- /dev/null +++ b/118_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ваш собственный автоимпорт (Your Own Prelude)

+

Из-за наличия автоимпорта в стандартной библиотеке, ваша библиотека обычно имеет собственный автоимпорт в качестве начальной точки, где пользователи должны импортировать все наиболее общие структуры данных для использования вашей библиотеки (например, use my_library::prelude::*). +Автоимпорт не используется автоматически в программах/библиотеках, которые используют ваш крейт, но это является хорошим соглашением, чтобы люди знали, с чего начать.

+

Феррис говорит: "Будь хорошим разработчиком и помоги другим удобным автоимпортом!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_th.html b/118_th.html new file mode 100644 index 000000000..ff888acc5 --- /dev/null +++ b/118_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Your Own Prelude

+

และเป็นเพราะ prelude ในไลบรารีมาตรฐาน ก็ไม่แปลกถ้าเราจะมี prelude ของเราเอง เพื่อใช้เป็นจุดเริ่มต้นให้ผู้ใช้รับรู้ว่า ควรนำเข้า โครงสร้างข้อมูลที่ใช้ร่วมกันทั้งหมดก่อนใช้ไลบรารีของคุณ (เช่น use my_library::prelude::*) +ควาจริงมันไม่ได้ใช้ได้ทันทีใน โปรแกรมหรือไลบรารี ที่ใช้ crate ของคุณหรอก แต่มันเป็นหลักการที่ดีที่ควรทำตาม เพื่อให้ผู้คนทราบว่าจุดเริ่มต้นอยู่ที่ใด

+

Ferris บอกว่า, "จงเป็น rustacean ที่ดีและช่วยเหลือเหล่าเพื่อนปูด้วย prelude ดีๆสักอัน!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_tr.html b/118_tr.html new file mode 100644 index 000000000..4e4a381eb --- /dev/null +++ b/118_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kendi Ön Yükleme Kütüphaneniz

+

Standart kütüphanede olduğu gibi, kişisel kütüphanelere özgü ön yükleme müdülleri sunmak oldukça yaygın bir davranış şeklidir. Örneğin use kutuphanem::prelude::* şeklindeki ön yükleme modülleri, kütüphanenizden yararlanmak isteyen kullanıcılara, sık kullanacakları veri yapılarını içe aktarabilecekleri, hızlı başlangıç yapma olanağını sağlar. Bu özel ön yükleme modülleri, kullanıldıkları program tarafından otomatik şekilde yüklenmiyor olsa bile, kullanıcılara nereden başlayacaklarını gösterdiğinden, çoğunlukla uyulan faydalı bir gelenektir.

+

Ve son olarak Ferris'in sözlerine kulak verelim: "İyi bir rustacean olup sandıklarınız için ön yükleme kütüphaneleri sağlayarak diğer, Rust programcılarının güzel bir başlangıç yapmalarına yardımcı olun!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_ua.html b/118_ua.html new file mode 100644 index 000000000..40a84d08d --- /dev/null +++ b/118_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ваша особиста прелюдія

+

Оскільки прелюдія є стандартним компонентом бібліотеки, у вашій бібліотеці, як правило, є власний модуль прелюдії як відправна точка з котрої +користувачі мають імпортувати усі найпоширеніші структури даних для використання вашої бібліотеки (наприклад, use my_library::prelude::*). +Ферріс: "Будь добрим ракоподібним і допоможи крабу з гарною прелюдією!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_vi.html b/118_vi.html new file mode 100644 index 000000000..46d92fba3 --- /dev/null +++ b/118_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Phần dạo đầu của riêng bạn

+

Do phần prelude của thư viện tiêu chuẩn, thư viện của bạn thường có mô-đun dạo đầu(prelude module) riêng làm điểm khởi đầu để người dùng nhập tất cả các cấu trúc dữ liệu phổ biến nhất để sử dụng thư viện của bạn (ví dụ: use my_library::prelude::*). +Nó không tự động được sử dụng trong các chương trình/thư viện sử dụng crate của bạn, nhưng đó là một quy ước tốt để tuân theo để mọi người biết bắt đầu từ đâu.

+

Ferris nói rằng, "Hãy là một rustacean tốt và giúp đỡ đồng loại với phần dạo đầu tốt!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_zh-cn.html b/118_zh-cn.html new file mode 100644 index 000000000..2a8ae81c8 --- /dev/null +++ b/118_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

你自己的 Prelude

+

你看,既然标准库里面有 prelude,那么你自己的库里面最好也要有一个 prelude 模块。 这个模块可以作为其他使用你的库的用户的起点:他们可以借此导入你的库里面所有常用的数据结构 (例如 use my_library::prelude::*)。 +当然,这个模块就不会在用了你的库的程序或别的库里面自动启用了。不过使用这个惯例的话,大家会很轻松地知道从何开始的。

+

Ferris 说:“当个好 rustacean,帮助蟹友奏好序曲(prelude)!”

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/118_zh-tw.html b/118_zh-tw.html new file mode 100644 index 000000000..358b49c6c --- /dev/null +++ b/118_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_al.html b/119_al.html new file mode 100644 index 000000000..a200ca3d7 --- /dev/null +++ b/119_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_ar.html b/119_ar.html new file mode 100644 index 000000000..0b24a2a84 --- /dev/null +++ b/119_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 9 - الخلاصة

+

لديك الآن بعض الحيل في جعبتك عندما يتعلق الأمر بإنشاء تطبيقات ومكتبات في رست(Rust) وتكون جاهزة للعالم. لا تقلق بشأن تذكر كل شيء. مع نمو مكتبتك واستخدامها من قبل أشخاص آخرين، ستجد ما هو الأفضل في كل مرحلة.

+

المصادر:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_de.html b/119_de.html new file mode 100644 index 000000000..f2b114dc5 --- /dev/null +++ b/119_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Fazit

+

Jetzt hast Du ein paar Tricks in der Tasche, wenn es um das Schreiben von Rust Programmen und Bibliotheken geht, die auf der ganzen Welt verwendet werden. Mach Dir keine Gedanken, an alles zu denken. Sobald deine Bibliothek wächst und von anderen Menschen genutzt wird, wirst Du mit jedem neuen Meilenstein herausfinden, was am besten ist. +Ferris wünscht Dir viel Erfolg auf dem Weg dorthin! +Ressourcen:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_en.html b/119_en.html new file mode 100644 index 000000000..fbcc32acb --- /dev/null +++ b/119_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_es.html b/119_es.html new file mode 100644 index 000000000..2e2f25517 --- /dev/null +++ b/119_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 9 - Conclusión

+

Ahora tienes algunos trucos bajo la manga para crear aplicaciones y librerías en Rust. No te preocupes por tener que acordarte de todo, ya que a medida que tu librería crezca y lo usen otras personas, descubrirás lo que mejor funciona en cada caso.

+

Recursos (en inglés):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_fa.html b/119_fa.html new file mode 100644 index 000000000..b4df024b7 --- /dev/null +++ b/119_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_fi.html b/119_fi.html new file mode 100644 index 000000000..228e3e930 --- /dev/null +++ b/119_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_fr.html b/119_fr.html new file mode 100644 index 000000000..9131b190f --- /dev/null +++ b/119_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Conclusion

+

Tu dois maintenant en connaître beaucoup sur la création de bibliothèques +et d'applications Rust. Je ne te demande pas de tout retenir car je suis +sûr que, à mesure que ta bibliothèque ou ton application s'agrandira et sera +utilisé par d'autres développeurs, tu seras capable de trouver une +solution à chaque problème que tu rencontrera.

+

Ressources (en anglais):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_gr.html b/119_gr.html new file mode 100644 index 000000000..79b3a377c --- /dev/null +++ b/119_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_hu.html b/119_hu.html new file mode 100644 index 000000000..5eebf49f7 --- /dev/null +++ b/119_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9. Fejezet - Konklúzió

+

Most már ismersz néhány trükköt, amik szükségesek lehetnek, ha programokat és könyvtárakat +szeretnél a világ elé tárni. Ne aggódj, ha nem emlékszel mindenre - ahogy a könyvtárad növekszik +és egyre többet használják, meg fogod látni, mi működik legjobban az egyes fejlődési +szakaszokban.

+

További olvasnivaló:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_id.html b/119_id.html new file mode 100644 index 000000000..daae71e7f --- /dev/null +++ b/119_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_ie.html b/119_ie.html new file mode 100644 index 000000000..39a2ad2b1 --- /dev/null +++ b/119_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_it.html b/119_it.html new file mode 100644 index 000000000..58e89a70b --- /dev/null +++ b/119_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_ja.html b/119_ja.html new file mode 100644 index 000000000..456fe5ca0 --- /dev/null +++ b/119_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_ko.html b/119_ko.html new file mode 100644 index 000000000..faf7837d0 --- /dev/null +++ b/119_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9장 - 마무리

+

이제 여러분의 소매 속에는 Rust 프로그램과 library를 만드는 데에 쓸 몇 가지 재주가 생겼습니다. +이걸 모두 기억하려고 하지 마세요. 여러분의 library가 커져감에 따라, 또 다른 사람들이 사용함에 따라, 각 단계에서 뭐가 가장 좋은 방법인지 알게 될 것입니다.

+

자료:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_ne.html b/119_ne.html new file mode 100644 index 000000000..23755a2bc --- /dev/null +++ b/119_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_pl.html b/119_pl.html new file mode 100644 index 000000000..40423b4d9 --- /dev/null +++ b/119_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_pt-br.html b/119_pt-br.html new file mode 100644 index 000000000..f5abd47fd --- /dev/null +++ b/119_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 9 - Conclusão

+

Agora você tem alguns truques na manga quando se trata de criar aplicativos e bibliotecas Rust prontos para o mundo. Não se preocupe em lembrar-se de tudo. Conforme a sua biblioteca cresce e é usada por outras pessoas, você encontrará o que funciona melhor em cada etapa.

+

Recursos:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_ro.html b/119_ro.html new file mode 100644 index 000000000..ca5d7118a --- /dev/null +++ b/119_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 9 - Concluzie

+

Acum aveți câteva trucuri în mânecă atunci când vine vorba de crearea de aplicații Rust pregătite pentru lume. Nu +vă faceți griji să le țineți minte pe toate. Pe măsură ce biblioteca dvs. crește și este utilizată de alte persoane, veți descoperi ce funcționează cel mai bine la fiecare etapă.

+

Resurse:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_ru.html b/119_ru.html new file mode 100644 index 000000000..974cb9380 --- /dev/null +++ b/119_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 9 - Заключение

+

Теперь вы знаете несколько хитростей к моменту, когда дело дойдет до создания приложений и библиотек Rust, готовых для всего мира. +Не беспокойтесь о том, чтобы их все запомнить. По мере роста вашей библиотеки и использования ее другими пользователями, вы найдете то, что лучше всего работает на каждом этапе.

+

Ресурсы:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_th.html b/119_th.html new file mode 100644 index 000000000..5fcbbea4d --- /dev/null +++ b/119_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 9 - สรุป

+

ตอนนี้ คุณก็ได้มีกลเม็ดเล็กๆน้อยๆเพียงพอจะสร้าง แอปพลิเคชันและไลบรารี ด้วย Rust ให้พร้อมใช้งานได้สำหรับโลกนี้แล้ว +ไม่ต้องกังวลว่าจะจำทั้งหมดนี้ได้หรือไม่ เพราะเมื่อใดที่ไลบรารีของคุณใหญ่ขึ้น และมีคนใช้งานมันมากขึ้น คุณจะพัฒนาขึ้นตามไปด้วย

+

แหล่งข้อมูล:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_tr.html b/119_tr.html new file mode 100644 index 000000000..b18e13a14 --- /dev/null +++ b/119_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 9 - Sonuç

+

Artık Rust kitaplıkları ve uygulamaları oluşturmak hakkında çok şey biliyor durumdasınız. Sizden burada anlatılan her şeyi, her zaman hatırlamanız gerektiği yanılgısına düşmemenizi istiyorum. Kütüphaneleriniz büyüyüp geliştikçe ve diğer geliştiriciler tarafından kullanıldıkça, karşılaşacağınız her soruna doğru çözümler getireceğinizi şimdiden biliyorum.

+

Kaynaklar:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_ua.html b/119_ua.html new file mode 100644 index 000000000..e6d9ce17e --- /dev/null +++ b/119_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 9 - Висновки

+

Тепер у вас є кілька хитрощів у рукаві, коли справа доходить до створення Rust-додатків і бібліотек , готових до публікації. Не турбуйтеся про те, щоб запам'ятати все це. У міру того, як ваша бібліотека зростатиме і нею користуватимуться інші ви зрозумієте, що найкраще працює на кожному етапі.

+

Ресурси:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_vi.html b/119_vi.html new file mode 100644 index 000000000..1b1938efd --- /dev/null +++ b/119_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 9 - Tổng kết

+

Bây giờ bạn đã có một vài thủ thuật khi nói đến việc tạo các ứng dụng và thư viện Rust. Bạn đã sẵn sàng để bước ra thế giới rồi đấy! Đừng lo lắng về việc nhớ tất cả. Khi thư viện của bạn phát triển và được người khác sử dụng, bạn sẽ tìm thấy những gì hoạt động tốt nhất ở mỗi cột mốc.

+

Nguồn:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_zh-cn.html b/119_zh-cn.html new file mode 100644 index 000000000..f429c7c32 --- /dev/null +++ b/119_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第九章 - 总结

+

现在,你应该学会了如何创建并与世界分享你的 Rust 应用程序和库了。 不要担心现在记不住这些东西。等以后你的库发展了,用的人多了,你自己会清楚每个阶段应该做什么的。

+

其他资源(英文):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/119_zh-tw.html b/119_zh-tw.html new file mode 100644 index 000000000..3fa775990 --- /dev/null +++ b/119_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/11_al.html b/11_al.html new file mode 100644 index 000000000..6da2e92f7 --- /dev/null +++ b/11_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kthe asgje

+

Nëse asnjë lloj kthimi nuk është specifikuar për një funksion, ai kthen një tuple bosh, + i njohur gjithashtu si një njësi.

+

Një tuple bosh përfaqësohet nga ().

+

Përdorimi i () është i pazakontë, por do të shfaqet aq shpesh sa është mirë të dihet + cfare po ndodh.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_ar.html b/11_ar.html new file mode 100644 index 000000000..e3284defa --- /dev/null +++ b/11_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع لاشء

+

إذا لم يتم تحديد نوع الإرجاع للدالة (function)، فإنها تُرجع صفًا (tuple) فارغًا، يُعرف أيضًا باسم الوحدة (unit).

+

يرمز للصف (tuple) الفارغ بـ ().

+

إن إستخدام الرمز () غير شائع، ولكنه قد يصادفك أحيانا وهو جيد لتوضيح ما يحدث فعليا في الدالة.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_de.html b/11_de.html new file mode 100644 index 000000000..bd29d5903 --- /dev/null +++ b/11_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Keine return-Variablen

+

Wenn kein Variablentyp als Rückgabewert einer Funktion angegeben wird, gibt die Funktion ein leeres Tupel zurück, auch bekannt als unit.

+

Ein leeres Tupel wird durch ein () repräsentiert.

+

Die leeren Klammern werden selten verwendet, finden trotzdem an manchen Orten ihren Platz, weshalb wir diese hier kurz zum Vorschein bringen wollen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_en.html b/11_en.html new file mode 100644 index 000000000..a3f7f7b81 --- /dev/null +++ b/11_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Nothing

+

If no return type is specified for a function, it returns an empty tuple, also known as a unit.

+

An empty tuple is represented by ().

+

Using () is uncommon, but will come up often enough that it's good to know whats happening.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_es.html b/11_es.html new file mode 100644 index 000000000..c591333f7 --- /dev/null +++ b/11_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

No Devolver Nada

+

Si no se especifica un tipo de retorno para una función, esta devuelve una tupla vacía, también conocida como unidad.

+

Una tupla vacía se representa mediante ()

+

El uso de () es poco común, pero es necesario saber su significado ya que aparecerá de vez en cuando.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_fa.html b/11_fa.html new file mode 100644 index 000000000..730138b16 --- /dev/null +++ b/11_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Nothing

+

If no return type is specified for a function, it returns an empty tuple, also known as a unit.

+

An empty tuple is represented by ().

+

Using () is uncommon, but will come up often enough that it's good to know whats happening.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_fi.html b/11_fi.html new file mode 100644 index 000000000..2984277f7 --- /dev/null +++ b/11_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tyhjän palauttaminen

+

Jos funktiolle ei ole määritelty paluuarvoa, se palauttaa tyhjän tuplen, jota myös kutsutaan nimellä unit.

+

Tyhjä tuple merkitään ().

+

Merkinnän () käyttö ei ole kovin tavallista, mutta sitä tarvitaan kuitenkin niin usein, että on hyvä tietää, mitä se tarkoittaa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_fr.html b/11_fr.html new file mode 100644 index 000000000..eae4bcf0a --- /dev/null +++ b/11_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ne rien retourner

+

Si une fonction ne spécifie aucun type de retour, celle-ci retourne un tuple vide, +également appelé unité.

+

Un tuple vide est représenté par ().

+

Il est rare d'utiliser (), mais cela arrive et il est bon de le savoir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_gr.html b/11_gr.html new file mode 100644 index 000000000..be1ca145b --- /dev/null +++ b/11_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Επιστροφή του τίποτε

+

Αν σε μία συνάρτηση δεν οριστεί τύπος επιστροφής, αυτή επιστρέφει μία κενή πολλαπλότητα, γνωστή και ως μονάδα.

+

Μία κενή πολλαπλότητα συμβολίζεται με ().

+

Η ρητή χρήση του () είναι μάλλον σπάνια, αλλά εμφανίζεται αρκετά συχνά ώστε είναι καλό να ξέρει κανείς τι συμβαίνει.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_hu.html b/11_hu.html new file mode 100644 index 000000000..f9678c658 --- /dev/null +++ b/11_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Semmivel való visszatérés

+

Ha nincs visszatérési érték megadva egy függvénynek, akkor egy üres tuple-el tér vissza, melyet +unit-nak hívunk.

+

Az üres tuple-öket ()-al jelöljük.

+

A () használata ritkán fordul elő, de mégis elég gyakori ahhoz, hogy érdemes tudni miről is +van szó.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_id.html b/11_id.html new file mode 100644 index 000000000..f76204668 --- /dev/null +++ b/11_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tidak mengembalikan apa-apa

+

Jika tidak ada nilai yang dikembalikan oleh sebuah fungsi secara tertulis, maka fungsi itu mengembalikan tuple kosong, atau dikenal juga dengan nama unit.

+

Sebuah tuple kosong dipresentasikan dengan ().

+

Menggukan () bukanlah hal umum, tapi kita akan sering bertemu denganya secara rutin, jadi alangkah baiknya kita tau apa yang terjadi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_ie.html b/11_ie.html new file mode 100644 index 000000000..0a4734ecc --- /dev/null +++ b/11_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornar necos

+

Si null tip de retorn es specificat por un function, it retorna un vacui tuple, anc conosset quam un unit (li tal-nominat tip unitic)

+

On representa un vacui tuple per ()

+

In Rust it passa presc ínvisibil por que on ne mey esser distractet de it, ma it es bon a saver que un functiona retornant necos retorna un fact un vacui tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_it.html b/11_it.html new file mode 100644 index 000000000..3b2580dcb --- /dev/null +++ b/11_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ritornare il nulla

+

Se per una funzione non specifichi il tipo di ritorno, ritornerà una tupla vuota, conosciuta anche come unit.

+

La tupla vuota è rappresentata da ().

+

L'uso di () è poco comune, ma potresti vederlo ogni tanto quindi è giusto sapere cosa sta succedendo.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_ja.html b/11_ja.html new file mode 100644 index 000000000..752ecd027 --- /dev/null +++ b/11_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

空の戻り値

+

関数に戻り値の型が指定されていない場合、unit と呼ばれる空のタプルを返します。

+

空のタプルは () と表記します。

+

() はあまり使われませんが、時々出てくるので意味は知っておく必要があります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_ko.html b/11_ko.html new file mode 100644 index 000000000..64411f168 --- /dev/null +++ b/11_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

아무것도 리턴하지 않기

+

함수에 리턴형을 지정하지 않은 경우 빈 tuple을 리턴하는데, 이는 unit이라고도 합니다.

+

빈 tuple은 ()로 표현합니다.

+

()를 사용하는 경우는 드물지만, 뭔지 알아두는 것이 좋을 정도로 꽤 자주 마주치게 될겁니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_ne.html b/11_ne.html new file mode 100644 index 000000000..6afdd5381 --- /dev/null +++ b/11_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Niets retourneren

+

Als voor een functie niet wordt gespecificeerd welk type het retourneert, zal deze een lege tuple retourneren, ook wel bekend als unit (unit). +Een lege tuple wordt gerepresenteerd door (). +Het gebruik van () komt niet vaak voor, maar het zal vaak genoeg voorkomen, dus het is goed om te weten wat er gebeurt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_pl.html b/11_pl.html new file mode 100644 index 000000000..def61e81e --- /dev/null +++ b/11_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Niczego

+

W przypadku kiedy definicja funkcja nie obejmuje zwracanego typu, funkcja taka zwraca pustą krotkę, znaną też jako jednostka (ang. unit)

+

Pusta krotka jest zapisywana jako ().

+

Używanie pustej krotki () nie jest specjalnie częste, ale nadal dobrze wiedzieć co taki zapis oznacza.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_pt-br.html b/11_pt-br.html new file mode 100644 index 000000000..6a488a282 --- /dev/null +++ b/11_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando nada

+

Se nenhum tipo for especificado para o retorno de uma função, ele devolve uma tupla vazia, também conhecida como unit.

+

Uma tupla vazia é representada por ().

+

O uso de () é incomum, mas é necessário saber o seu significado uma vez que aparecerá de vez em quando.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_ro.html b/11_ro.html new file mode 100644 index 000000000..d6e1474d1 --- /dev/null +++ b/11_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A nu returna nimic

+

Dacă pentru o funcție nu se specifică ce tip returnează, aceasta va returna un tuplu gol, cunoscut și sub numele de unitate (unit).

+

Un tuplu gol este reprezentat de ().

+

Folosirea unui () nu este des întâlnită, dar va apărea de suficiente ori, deci este bine să știți ce se întâmplă.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_ru.html b/11_ru.html new file mode 100644 index 000000000..40ca6548b --- /dev/null +++ b/11_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возврат пустого значения (Nothing)

+

Если в функции не указан возвращаемый тип, она возвращает тип пустого кортежа, известный как тип unit (юнит тип).

+

Пустой кортеж представлен в коде как ().

+

Использование юнит типа () в коде бывает редким, но встречается достаточно часто, чтобы заметить скобки и привыкнуть к ним, зная что в таком случае происходит.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_th.html b/11_th.html new file mode 100644 index 000000000..5d65a0448 --- /dev/null +++ b/11_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การไม่คืนอะไรเลย

+

ถ้าฟังก์ชันไม่ได้ระบุ type ที่ต้อง return มันจะคืนออกมาเป็น empty tuple หรือที่รู้จักกันอีกชื่อว่า unit

+

empty tuple แสดงได้ด้วย ()

+

ปกติเราจะไม่ค่อยได้ใช้ () กันหรอกนะ แต่บ่อยครั้งก็ใช้เพื่อให้รู้ว่ามันเกิดอะไรขึ้นจริงๆ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_tr.html b/11_tr.html new file mode 100644 index 000000000..08d7cd0fc --- /dev/null +++ b/11_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Boş Değer Döndürmek

+

Bir işlevin dönüş türü bildirilmediğinde, unit olarak da bilinen boş bir çokuzlu döndürülür.

+

Boş bir çokuzlu () şeklinde ifade edilir.

+

Her ne kadar sık kullanılmıyor olsalar da bu belirtecin () boş bir çokuzluyu temsil ettiğini bilmeniz önemlidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_ua.html b/11_ua.html new file mode 100644 index 000000000..13a77a7a6 --- /dev/null +++ b/11_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення пустого значення

+

Якщо для функції не вказаний тип для повернення значення, вона повертає пустий кортеж, також відомий як unit (юніт тип).

+

Пустий кортеж представлений за допомогою (). Використання () не являється типовим, але зустрічається достатньо часто для того, щоб зрозуміти що відбувається.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_vi.html b/11_vi.html new file mode 100644 index 000000000..6abd6fe35 --- /dev/null +++ b/11_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Không trả về gì cả

+

Nếu không có kiểu trả về nào được chỉ định cho một hàm, nó sẽ trả về một bộ giá trị trống, còn được gọi là unit(đơn vị).

+

Một bộ giá trị trống được đại diện bởi ().

+

Việc sử dụng () là không phổ biến, nhưng sẽ xuất hiện thường xuyên để bạn có thể biết được điều gì đang xảy ra.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_zh-cn.html b/11_zh-cn.html new file mode 100644 index 000000000..a4eeb7a76 --- /dev/null +++ b/11_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

返回空值

+

如果没有为函数指定返回类型,它将返回一个空的元组,也称为单元

+

一个空的元组用 () 表示。

+

直接使用 () 的情况相当不常见。但它经常会出现(比如作为函数返回值),所以了解其来龙去脉非常重要。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/11_zh-tw.html b/11_zh-tw.html new file mode 100644 index 000000000..d17173aeb --- /dev/null +++ b/11_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

沒有回傳類型

+

當一沒有標明函數的回傳類型時,Rust 會默認回傳空的元組,稱為一個單元(Unit)

+

一個空的元組是以 () 來展示。 +直接使用()並不常見,但會經常出現。所以最好也能夠知道它是什麽。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/12_al.html b/12_al.html new file mode 100644 index 000000000..880af1382 --- /dev/null +++ b/12_al.html @@ -0,0 +1,58 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Conclusion

+

Punë e bukur deri tani! Bazat e Rust nuk janë aq të këqija, apo jo? ne jemi

+

duke parë se si mendon përpiluesi Rust. Si programim sistemi + gjuhe

+

kujdeset shumë për madhësinë e vlerave në kujtesë, nëse gjërat mund të jenë + modifikuar apo jo,

+

dhe sigurohuni që matematika juaj të jetë ajo që dëshironi të jetë. Në vazhdim do të jemi + duke parë disa miq të vjetër:

+

"if" testet dhe "for".

+

Më shumë burime:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_ar.html b/12_ar.html new file mode 100644 index 000000000..0e0bd30c9 --- /dev/null +++ b/12_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 1 - الخلاصة

+

عمل جميل حتى الآن! أساسيات رست (Rust) ليست صعبة للغاية، أليس كذلك؟ لقد ألقينا نظرة خاطفة على كيفية تفكير مترجم رست (Rust compiler). باعتبارها لغة برمجة نظام، فرست (Rust) تهتم كثيرًا بحجم القيم في الذاكرة، وما إذا كان يمكن تعديل الأشياء أم لا، والتأكد من أن حساباتك هي ما تريد أن تكون عليه.

+

بعد ذلك سنلقي نظرة على بعض الأصدقاء القدامى:

+

اختبارات (tests) if وحلقات (loops) for.

+

المزيد من الموارد:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_de.html b/12_de.html new file mode 100644 index 000000000..71c196bc9 --- /dev/null +++ b/12_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 1 Fazit

+

Puh! Das wäre schon mal geschafft! War nicht so übel, oder? Wir wissen +schon ein wenig, wie der Compiler denkt. Er setzt viel Wert auf Speichermanagement, +wie groß Variablen sind, ob diese "mutable" sind oder nicht, und ob du garantiert +weißt, welche Datentypen zusammenaddiert werden. Das sind erste kleine Einblicke +in die Sicherheit, die sich durch die gesamte Rustsprache hindurchzieht

+
    +
  • nicht unbedingt die Sicherheit des Systems, aber die Sicherheit, dass du weißt, +was du tust.
  • +
+

Im nächsten Kapitel werden wir uns mit den altbekannten Datenkontrollstrukturen +if und for Schleifen beschäftigen! Worauf wartest du noch!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_en.html b/12_en.html new file mode 100644 index 000000000..822be906a --- /dev/null +++ b/12_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Conclusion

+

Nice job so far! The basics of Rust aren't so bad, right? We're +getting a peek into how the Rust compiler thinks. As a system programming language +it cares a lot about the size of values in memory, whether things can be modified or not, +and making sure your math is what you want it to be. Next up we'll be looking at some old friends: +if tests and for loops.

+

More Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_es.html b/12_es.html new file mode 100644 index 000000000..264a98643 --- /dev/null +++ b/12_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Conclusión

+

¡Buen trabajo! No ha sido tan complicado, ¿verdad? Esta ha sido una visión general de cómo trabaja el compilador de Rust. Como ya has comprobado, hay que tener muy en cuenta el tamaño de los valores en memoria, las cosas que se pueden modificar y las que no, y asegurarse de que tu código dé el resultado que esperas. Estos son pequeños avances de un principio de seguridad que prevalece a través de Rust. Este compilador pretende asegurarse de que tu código hace lo que esperas. A continuación echaremos un vistazo a algunos viejos conocidos: if y for.

+

Más recursos (en inglés):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_fa.html b/12_fa.html new file mode 100644 index 000000000..1d3316b32 --- /dev/null +++ b/12_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Conclusion

+

Nice job so far! The basics of Rust aren't so bad, right? We're +getting a peek into how the Rust compiler thinks. As a system programming language +it cares a lot about the size of values in memory, whether things can be modified or not, +and making sure your math is what you want it to be. Next up we'll be looking at some old friends: +if tests and for loops.

+

More Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_fi.html b/12_fi.html new file mode 100644 index 000000000..3059c96cd --- /dev/null +++ b/12_fi.html @@ -0,0 +1,51 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kappaleen 1 yhteenveto

+

Hyvää työtä tähän mennessä! Rustin perusteet eivät ole niin pahoja, vai mitä? Pääsimme kurkistamaan kuinka Rust-kääntäjä ajattelee. Systeemiohjelmointikielenä Rust on välittää hyvin paljon siitä, kuinka paljon eri arvot kuluttavat muistia, voidaanko arvoja muuttaa, ja varmistaa, että laskutoimitukset menevät juuri niin kuin niiden kuvitteletkin menevän. Seuraavaksi tutustumme vanhoihin ystäviin: if-testeihin ja for-silmukoihin.

+

Lisää tietoja:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_fr.html b/12_fr.html new file mode 100644 index 000000000..9428d3a01 --- /dev/null +++ b/12_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Conclusion

+

Bon travail! Les fondamentaux de rust ne sont pas si dur que ça, n'est-ce pas? Nous avons +commencé à voir comment le compilateur de Rust fonctionne. Celui-ci fait attention à la taille +des éléments en mémoire, s'assure si les choses peuvent être modifiées ou non, et fait en sorte +qu'on ne se mélange pas les pinceaux dans les types de variables. Par la suite, nous allons voir +de vieux amis : les structures de contrôles if et les boucles for.

+

Plus de ressources (en anglais):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_gr.html b/12_gr.html new file mode 100644 index 000000000..915bc787d --- /dev/null +++ b/12_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 1 - Κατάληξη

+

Μια χαρά ως τώρα! Τα βασικά της Rust δεν είναι και τόσο άσχημα, ε; Βλέπουμε κλεφτά το πώς σκέπτεται ο μεταφραστής της Rust. Ως γλώσσα προγραμματισμού συστημάτων, η Rust νοιάζεται πολύ για το μέγεθος των τιμών στη μνήμη, το ποια πράγματα μπορούν να μεταβληθούν και ποια όχι, και για το αν οι πράξεις που κάνουμε είναι αυτές που όντως θέλουμε. Αμέσως μετά θα δούμε κάποιους παλιούς φίλους: Ελέγχους με το if και βρόχους με το for.

+

Περισσότερες πληροφορίες:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_hu.html b/12_hu.html new file mode 100644 index 000000000..862fd01c7 --- /dev/null +++ b/12_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1. Fejezet - Konklúzió

+

Gratula az első fejezet teljesítéséhez! Ugye nem is olyan rossz eddig? Bepillantást nyertünk +abba, hogyan is gondolkodik a fordító. Mivel a Rust egy alacsony-szintű programozási nyelv, így +nagy figyelmet fordít a memóriában tárolt értékek méretére, arra, hogy a változók +megváltoztathatóak-e vagy sem és, hogy a számításaid valóban úgy történnek, ahogy szeretnéd. A +következő oldalon két régi baráttal fogunk megismerkedni: az if-el és a for ciklussal.

+

További források angolul:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_id.html b/12_id.html new file mode 100644 index 000000000..d4beb1205 --- /dev/null +++ b/12_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bab 1 - Kesimpulan

+

Kerja bagus! Dasar-dasar Rust tidak begitu buruk, bukan? kita akan mengintip +bagaimana kompiler Rust berpikir. Sebagai system proggramming language +Rust sangat peduli tentang ukuran nilai di dalam memori, baik dapat +dimodifikasi atau tidak, dan memastikan matematika yang kamu tulis sesuai +dengan yang kamu inginkan. Selanjutnya kita kaan melihat pada kawan lama +kita: +if dan for.

+

Sumber lain:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_ie.html b/12_ie.html new file mode 100644 index 000000000..aaae97eff --- /dev/null +++ b/12_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 1 - Conclusion

+

Bon labor til nu! Li coses basic in Rust ne es tam mal, ne ver? Vi til nu un curt regarde pri qualmen pensa li compilator Rust. It sucia se mult pri li grandore de valores in memorie, qualmen on posse modificar un cose o ne, e si tui matematica es vermen to quel tu intente scrir o ne. Tis-ci es micri previsiones del principie de safety (securitá) quel prevale tra Rust. Li compilator solmen intente far cert que tui code fa to quo tu intente que it fa! A sequer noi va vider li old amics if (si) e cicles usant for (por).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_it.html b/12_it.html new file mode 100644 index 000000000..3096f8be1 --- /dev/null +++ b/12_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 1 - Conclusione

+

Bel lavoro! Le basi di Rust non sono così difficili, vero ? +Stiamo iniziando a capire come "pensa" il compilatore Rust. Come linguaggio di sistema, +Rust considera molto importanti aspetti come la dimensione di oggetti in memoria, controllare se le cose possono essere modificate o no, e fare in modo che i calcoli sui numeri diano il risultato che ti aspetti. Prossimamente vedremo alcuni vecchi amici: +le condizioni if e i cicli for .

+

Altre risorse:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_ja.html b/12_ja.html new file mode 100644 index 000000000..e1ca7646c --- /dev/null +++ b/12_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 1 章 - まとめ

+

ここまでお疲れ様でした。Rust の基本はそれほど難しくなかったですよね? +Rust のコンパイラがどのように考えているのかを覗いてみました。 +システムプログラミング言語として、メモリ内の値のサイズ、変更が可能かどうか、計算を確実にすることを重視しています。 +次はお馴染みの iffor ループについて見ていきます。

+

その他の資料:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_ko.html b/12_ko.html new file mode 100644 index 000000000..ad0f50f94 --- /dev/null +++ b/12_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1장 - 마무리

+

여기까지 잘 하셨습니다! Rust의 기초는 꽤 나쁘지 않습니다, 그렇죠?

+

우리는 Rust 컴파일러가 어떻게 생각을 하는지 들여다 보았습니다. +Rust는 시스템 프로그래밍 언어로서 메모리 내 값들의 크기와, 값들이 변경 가능한지 아닌지, +그리고 계산식이 의도한 대로인지를 매우 조심히 따져봅니다.

+

다음에는 우리의 오랜 친구인 if 조건문과 for 반복문에 대해 살펴보겠습니다.

+

더 많은 볼거리:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_ne.html b/12_ne.html new file mode 100644 index 000000000..2de5a456d --- /dev/null +++ b/12_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hoofdstuk 1 - Conclusies

+

Tot dusver, gaat het goed! De basisprincipes van Rust zijn niet zo slecht, toch? We hebben gekeken naar de manier waarop de Rust-compiler denkt. Als systeemprogrammeertaal geeft Rust veel om de grootte van waarden in het geheugen, of ze nu veranderbaar zijn of niet, en om de wiskundige correctheid van de toegepaste bewerkingen. In het vervolg zullen we kennismaken met enkele oude bekenden: if-tests en for-lussen. +Bibliografie:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_pl.html b/12_pl.html new file mode 100644 index 000000000..ad1f319c8 --- /dev/null +++ b/12_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 1 - Podsumowanie

+

Nieźle Ci idzie! Podstawy Rusta nie są takie trudne jak się mogło wydawać. Zaczynamy podpatrywać działania kompilatora i tego jak myśli. Jako język programowania przeznaczony do budowania systemów, Rust poświęca dużą uwagę rzeczom takim jak wielkość wartości w pamięci komputera, mutowalność zmiennych a także poprawność zapisanych przez nas działań matematycznych. W następnym rozdziale przyjrzymy się kilku starym znajomym, mianowicie: kondycjom if oraz pętlom for.

+

Dowiedz się więcej:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_pt-br.html b/12_pt-br.html new file mode 100644 index 000000000..e1a62606c --- /dev/null +++ b/12_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Conclusão

+

Bom trabalho! O básico do Rust não foi tão ruim, não é? Este foi só o comecinho de como o compilador Rust trabalha. Por ser uma linguagem de programação de sistemas, ele se importa muito com o tamanho dos valores na memória, se as coisas podem ser modificadas ou não, e garantir que sua matemática seja o que você quer que seja. A seguir veremos alguns velhos amigos: if e for.

+

Mais recursos:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_ro.html b/12_ro.html new file mode 100644 index 000000000..6efac14c2 --- /dev/null +++ b/12_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 1 - Concluzie

+

Până acu', e bine! Bazele Rust-ului nu sunt așa de rele, nu-i așa? Am +aruncat o privire modului în care gândește compilatorul de Rust. Fiind un limbaj de programare pentru sisteme, +acesta ține mult la dimensiunea valorilor în memorie, fie că pot fi modificate sau nu, +și la corectitudinea matematicii pe care o aplicați. În cele ce urmează, ne vom întâlni cu niște vechi prieteni: +teste if și bucle for.

+

Bibliografie:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_ru.html b/12_ru.html new file mode 100644 index 000000000..86779ae14 --- /dev/null +++ b/12_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Раздел 1 - Заключение

+

Хорошая работа! Основы Rust не так уж и плохи, правда? Мы получили представление о том, как думает компилятор языка Rust. Являясь изначально языком системного программирования, он очень заботится о размере значений в памяти и о том, какую память можно изменять, а какую нет. И делает всё необходимое, чтобы математические операции вели себя так, как вы предполагаете. Это маленькое превью принципов безопасности, распространённых в Rust. Компилятор всего лишь хочет, чтобы ваш код делал то, чего вы ожидаете! Далее мы рассмотрим конструкции if и цикл for.

+

More Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_th.html b/12_th.html new file mode 100644 index 000000000..4e520787b --- /dev/null +++ b/12_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 1 - สรุป

+

ทำได้ดีมาก! พื้นฐานของ Rust ไม่ได้แย่อย่างที่คิด ใช่ไหม? เรากำลังสนใจเรื่องที่ว่าคอมไพเลอร์ของ Rust มันคิดอย่างไร +ในฐานะที่เป็น system programming language มันจึงให้ความสำคัญกับการใช้หน่วยความจำมากหน่อย ว่าของสิ่งนั้นจะถูกแก้ไขได้หรือไม่ +และให้ตรวจสอบให้แน่ใจว่า สิ่งที่คุณคิดมันให้ผลลัพธ์อย่างที่คุณต้องการจริงๆ +อีกสักครู่เราจะไปสำรวจเพื่อนเก่าของเรา: ทดลอง if และ for

+

แหล่งข้อมูลเพิ่มเติม:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_tr.html b/12_tr.html new file mode 100644 index 000000000..bf61bf643 --- /dev/null +++ b/12_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 1 - Sonuç

+

Bu bölümü tamamladığınıza göre artık derleyicinin nasıl çalıştığı hakkında az çok bilgi sahibi oldunuz demektir. Bir sistem programlama dili olarak Rust, değerlerin hafızadaki büyüklüğüne, değişkenlerin değiştirilip değiştirilemeyeceğine, veri türlerinin birbiriyle örtüşüp örtüşmediğine oldukça önem verir.

+

Bu bölümde gördüklerimiz, Rust dilinin bütününü kapsayan güvenliğin belirmeye başladığının ilk işaretleridir. Bir sonraki bölümde başka dillerden aşina olduğumuz if ve for deyimleriyle ilgileneceğiz!

+

Ek kaynaklar (İngilizce):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_ua.html b/12_ua.html new file mode 100644 index 000000000..efc3b42d1 --- /dev/null +++ b/12_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 1 - Заключна частина

+

Гарна робота! Основи Rust не такі вже й складні, правда ж? Ми на шлязу до того, щоб зрозуміти як думає компілятор.

+

Як системна мова програмування, Rust завжди дбає про те яким чином значення розміщені в пам'яті, які елементи можуть бути змінені, а які ні, і має бути впевнений, що ваші розрахунки - це дійсно саме те, що ви мали на увазі.

+

Далі ми поговоримо про наших старих друзів, а саме про умовний оператор if та оператор циклу for.

+

Більше інформації можна знайти за цими посиланнями:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_vi.html b/12_vi.html new file mode 100644 index 000000000..74f559734 --- /dev/null +++ b/12_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 1 - Tổng kết

+

Tốt lắm! Những điều cơ bản của Rust không quá tệ, phải không? Chúng ta đang xem xét cách thức suy nghĩ của trình biên dịch Rust. Là một ngôn ngữ lập trình hệ thống, nó quan tâm rất nhiều đến kích thước của các giá trị trong bộ nhớ, liệu mọi thứ có thể được sửa đổi hay không, và đảm bảo rằng các phép toán của bạn hoạt động như bạn muốn.

+

Phần tiếp theo, chúng ta sẽ khám phá phép thử if và vòng lặpfor

+

Tham khảo thêm:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_zh-cn.html b/12_zh-cn.html new file mode 100644 index 000000000..29cbbd0e1 --- /dev/null +++ b/12_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章总结

+

到目前为止一切都进展顺利! Rust 的基础知识还不赖,对吧? 我们一起窥探了 Rust 编译器是如何思考的。 +作为一种系统编程语言,它非常关心内存中值的大小,是否可以修改内容,并确保数值符合你的预期。 +接下来,我们将看一些老朋友:if 判断和 for 循环。

+

其他教学资源(英文):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/12_zh-tw.html b/12_zh-tw.html new file mode 100644 index 000000000..263dd5e6b --- /dev/null +++ b/12_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章 - 總結

+

到目前為止做得很好! Rust的基礎還不錯,對吧? 我們是窺探了Rust編譯器的想法。 +作為系統編程語言,它非常關心內存中的值大小,是否可以修改,並確保您的算法是您想要的。 +接下來,我們將看著一些老朋友: +if 測試 和 for 循環

+

更多資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/14_al.html b/14_al.html new file mode 100644 index 000000000..5c33c8a97 --- /dev/null +++ b/14_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Degëzimi i kodit në Rust nuk është befasues.

+

Kushtet nuk kanë kllapa! A kemi pasur vërtet nevojë për to? Logjika jonë + tani duket bukur dhe e pastër.

+

Të gjithë operatorët tuaj të zakonshëm relacionalë dhe logjikë ende funksionojnë: ==, !=, <, +>, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_ar.html b/14_ar.html new file mode 100644 index 000000000..921fde783 --- /dev/null +++ b/14_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إذا / غير ذلك (if/else)

+

تفرع التعليمات البرمجية في رست (Rust) ليس مفاجئًا.

+

الشروط في رست (Rust) لا تحتوي على قوسين! هل كنا حقا بحاجة إليهم؟ يبدو منطق اللغة لطيفًا ونظيفًا.

+

كل عوامل التشغيل العلائقية والمنطقية المعتادة (relational and logical operators) لا تزال تعمل: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_de.html b/14_de.html new file mode 100644 index 000000000..ab2a1cc3b --- /dev/null +++ b/14_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Codeverzweigungen (branching) bieten viel bekanntes.

+

Außer den fehlenden Klammern! Wer braucht die schon? Logik war noch nie so sauber.

+

Die üblichen Vergleichsoperatoren und logischen Operatoren funktionieren noch: ==, !=, <, >, <=, >=, !, ||, &&.

+

Versuch ein paar von den Operatoren in den Code einzubauen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_en.html b/14_en.html new file mode 100644 index 000000000..58d24de9c --- /dev/null +++ b/14_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Code branching in Rust is not surprising.

+

Conditions don't have parentheses! Did we ever really need them? Our logic now looks nice and clean.

+

All your usual relational and logical operators still work: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_es.html b/14_es.html new file mode 100644 index 000000000..a79c9e56a --- /dev/null +++ b/14_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

La ramificación de código en Rust te resultará familiar.

+

Las condiciones no van entre paréntesis, ¿son realmente necesarios? De esta manera nuestra lógica se ve más limpia y sencilla.

+

Los demás operadores relacionales y lógicos conocidos siguen funcionando: ==, !=, <, >, <=, >=, !, ||, &&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_fa.html b/14_fa.html new file mode 100644 index 000000000..5a9db877c --- /dev/null +++ b/14_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Code branching in Rust is not surprising.

+

Conditions don't have parentheses! Did we ever really need them? Our logic now looks nice and clean.

+

All your usual relational and logical operators still work: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_fi.html b/14_fi.html new file mode 100644 index 000000000..c3aa7e1c1 --- /dev/null +++ b/14_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Koodin haaroitus Rust-ohjelmoinnissa ei ole yllättävää.

+

Ehtolausekkeissa ei ole sulkeita! Tarvitsimmeko niitä koskaan? Nyt logiikkamme näyttää kauniilta ja selkeältä.

+

Kaikki tavalliset suhteelliset ja loogiset operaattorit toimivat edelleen: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_fr.html b/14_fr.html new file mode 100644 index 000000000..2af4b95b2 --- /dev/null +++ b/14_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

L'embranchement de code en Rust n'est pas une surprise.

+

Les conditions n'ont pas de parenthèses! En a-t-on réellement besoin? +Sans elles notre code est plus joli et plus lisible.

+

Les opérateurs relationnels et logiques usuels sont disponibles: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_gr.html b/14_gr.html new file mode 100644 index 000000000..026c3658d --- /dev/null +++ b/14_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Η διακλάδωση κώδικα στη Rust δεν εμπεριέχει εκπλήξεις.

+

Οι συνθήκες δεν έχουν παρενθέσεις! Δεν τις χρειαζόμασταν και ποτέ άλλωστε. Η λογική μας είναι ωραία και συμμαζεμμένη. (Χρειαζόμαστε όμως πάντοτε τα άγκιστρα: {}.)

+

Όλοι οι γνώριμοι σχετικοί και λογικοί τελεστές εξακολουθούν να λειτουργούν: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_hu.html b/14_hu.html new file mode 100644 index 000000000..1a77aa557 --- /dev/null +++ b/14_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

A Rust elágazásai nem éppen meglepőek.

+

Az elágazások feltételei nincsenek zárójelbe téve. Őszintén, volt bármikor is szükségünk ezekre? +A logika így szépen és tisztán néz ki.

+

Minden logikai és összehasonlító operátor ugyanúgy működik: ==, !=, <, >, <=, >=, +!, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_id.html b/14_id.html new file mode 100644 index 000000000..3a45617ed --- /dev/null +++ b/14_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Code branching pada Rust tidaklah mengejutkan.

+

Kondisi tidak mempunyai tanda kurung! Apakah kita sangat memebutuhkannya? Logika kita sekarang terlihat bagus dan bersih.

+

Semua operator relasioinal dan logika tetap berkerja: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_ie.html b/14_ie.html new file mode 100644 index 000000000..d3708d11f --- /dev/null +++ b/14_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Code-ramification in Rust ne es surprisant.

Conditiones ne prende parentheses! Esque noi vermen alquande besonat les? Nu nor logica sembla nett e clar.

Omni tui usual operatores logical functiona quam sempre: ==, !=, <, >, <=, >=, !, ||, &&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_it.html b/14_it.html new file mode 100644 index 000000000..2000507c4 --- /dev/null +++ b/14_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Il modo di creare ramificazioni if/else nel codice in Rust non è sorprendente.

+

Le condizioni non richiedono parentesi! Ne abbiamo mai avuto davvero bisogno? In questo modo la logica è più chiara e pulita.

+

Tutti gli operatori relazionali e logici funzionano come sempre: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_ja.html b/14_ja.html new file mode 100644 index 000000000..923eef10b --- /dev/null +++ b/14_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Rust でのコード分岐はそれほど目新しくはありません。

+

条件には括弧がありませんが、本当に必要だったでしょうか?これでコードはすっきりします。

+

いつもの論理演算子が使えます: ==, !=, <, >, <=, >=, !, ||, &&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_ko.html b/14_ko.html new file mode 100644 index 000000000..65ce590fc --- /dev/null +++ b/14_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Rust에서의 코드 분기는 놀랄게 없습니다.

+

조건문에 괄호가 없습니다! 괄호가 필요하긴 했던가요? 우리의 로직이 이제 멋지고 깔끔해 보입니다.

+

모든 일반적인 관계 연산자와 논리 연산자가 그대로 동작합니다: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_ne.html b/14_ne.html new file mode 100644 index 000000000..93dcfd8b0 --- /dev/null +++ b/14_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] if/else

+

Code branching in Rust is not surprising.

+

Conditions don't have parentheses! Did we ever really need them? Our logic now looks nice and clean.

+

All your usual relational and logical operators still work: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_pl.html b/14_pl.html new file mode 100644 index 000000000..73aa025aa --- /dev/null +++ b/14_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Zjawisko rozgałęziania z pewnością nie jest nowością wprowadzoną na potrzeby Rusta.

+

Co może zaskoczyć to brak nawiasów w naszych wyrażeniach warunkowych! Czy rzeczywiście były one potrzebne? Wychodzi na to, że bez nich nasz kod wygląda jednak nieco czyściej.

+

Wszystkie powszechnie stosowane wyrażenia logiczne i porównania oczywiście nadal znajdują w Ruscie zastosowanie: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_pt-br.html b/14_pt-br.html new file mode 100644 index 000000000..9d1daabc4 --- /dev/null +++ b/14_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

A ramificação de código em Rust não tem nenhuma novidade.

+

Não há parêntesis nas condições! Realmente precisamos deles? Assim a nossa lógica fica mais simples e limpa.

+

Todos os nossos operadores relacionais e lógicos habituais continuam funcionando: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_ro.html b/14_ro.html new file mode 100644 index 000000000..ed2271c31 --- /dev/null +++ b/14_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Ramificarea codului în Rust nu este surprinzătoare.

+

Condițiile nu au nevoie de paranteze! Am avut vreodată de fapt nevoie de ele? Logica noastră poate arăta acum frumos și curat.

+

În rest, toți operatorii relaționali și logici funcționează la fel: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_ru.html b/14_ru.html new file mode 100644 index 000000000..d69cd8960 --- /dev/null +++ b/14_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Ветвление кода в Rust не особо отличается от того, к чему вы привыкли.

+

Условия не оборачиваются в круглые скобки! Разве они нам действительно нужны? Теперь условные +конструкции выглядят красиво и чисто.

+

Все логические операторы, к которым вы так привыкли, всё еще работают: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_th.html b/14_th.html new file mode 100644 index 000000000..24af6cf6c --- /dev/null +++ b/14_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

การสร้างทางเลือกในโค้ดของ Rust ไม่มีอะไรให้ประหลาดใจ แฮร่!

+

ในเงื่อนไขไม่ต้องมีวงเล็บ! ถามจริง เราเคยต้องการมันด้วยเหรอ? ตอนนี้ตรรกะของเราช่างดูงดงามแถมยังสะอาดสะอ้านเสียจริง

+

และพวก operation ที่เราคุ้นเคยก็ยังมีให้ใช้เหมือนเดิม: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_tr.html b/14_tr.html new file mode 100644 index 000000000..0ebaec6c8 --- /dev/null +++ b/14_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Dallanma yapısının eksik parantezleri dışında, burada gördüğünüz Rust kodu bizi fazla şaşırtmaz.

+

Rust'ın koşullu ifadelerde paranteze ihtiyaç duymaması, kodumuzun daha temiz ve +daha rahat okunabilir olmasını sağlar. Parantezlerin yokluğu mantıksal işleçlerin çalışmasını engellemeyeceğinden, bu işleçlerin her birini: !, !=, ||, &&, <, >, <=, >= yandaki örnek kod üzerinde kolaylıkla deneyip değerlendirebilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_ua.html b/14_ua.html new file mode 100644 index 000000000..10f6218b9 --- /dev/null +++ b/14_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Розгалуження в Rust саме такі, якими ви звикли їх бачити.

+

Умови не мають бути обгорнутими в дужки. Та чи були вони взагалі коли-небудь потрібні? Зараз наш код виглядає значно чистіше.

+

Усі логічні оператори і оператори відношень працюють як і раніше: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_vi.html b/14_vi.html new file mode 100644 index 000000000..2975bd031 --- /dev/null +++ b/14_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Điều kiện if/else

+

Việc phân nhánh mã trong Rust không có gì đáng ngạc nhiên.

+

Điều kiện không có dấu ngoặc đơn! Có bao giờ chúng ta thực sự cần chúng không? Logic của chúng ta bây giờ trông thật "nice" và "clean".

+

Tất cả các toán tử quan hệ và logic thông thường vẫn hoạt động: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_zh-cn.html b/14_zh-cn.html new file mode 100644 index 000000000..693597869 --- /dev/null +++ b/14_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Rust 中的代码分支不足为奇。

+

Rust 的条件判断没有括号!~~需要括号干什么。~~我们现有的逻辑就看起来就很干净整洁呀。

+

不过呢,所有常见的逻辑运算符仍然适用:==!=<><=>=!||&&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/14_zh-tw.html b/14_zh-tw.html new file mode 100644 index 000000000..1fe076e50 --- /dev/null +++ b/14_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

程式碼分支在 Rust 裡並不是什麼新奇的東西。

+

條件敘述沒有括號!我們真的需要它們嗎?我們的邏輯現在看起來漂亮且清晰。

+

所有你常用的關係式及邏輯運算符號仍然正常運作:==!=<><=>=!||&&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_al.html b/15_al.html new file mode 100644 index 000000000..72f3df303 --- /dev/null +++ b/15_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop/lak

+

Keni nevojë për një lak të pafund?

+

Rust e bën të lehtë.

+

'break' do t'i shpëtojë një lak kur të jeni gati.

+

"loop" ka një sekret për të cilin do të flasim së shpejti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ar.html b/15_ar.html new file mode 100644 index 000000000..c1033ccba --- /dev/null +++ b/15_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الحلقة (loop)

+

اتحتاج إلى حلقة لا نهائية؟

+

رست (Rust) يجعلها سهلة.

+

الكلمة المفتاحية break سوف تفلتك (تخرجك) من الحلقة عندما تكون مستعدًا.

+

الحلقة loop لديها سر سنتحدث عنه قريبا.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_de.html b/15_de.html new file mode 100644 index 000000000..4fa4be6f2 --- /dev/null +++ b/15_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Unendliche Schleifen gefällig? loop macht es möglich!

+

Mit break kann die Schleife unterbrochen werden.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_en.html b/15_en.html new file mode 100644 index 000000000..8a01e1cdb --- /dev/null +++ b/15_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Need an infinite loop?

+

Rust makes it easy.

+

break will escape a loop when you are ready.

+

loop has a secret we'll talk about soon.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_es.html b/15_es.html new file mode 100644 index 000000000..3e4e6f4c5 --- /dev/null +++ b/15_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

¿Necesitas un bucle infinito? +Con Rust es muy sencillo. +break nos permite salir de un bucle cuando lo indiquemos. +loop guarda un secreto del que te hablaremos más adelante.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_fa.html b/15_fa.html new file mode 100644 index 000000000..7451d8c3f --- /dev/null +++ b/15_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Need an infinite loop?

+

Rust makes it easy.

+

break will escape a loop when you are ready.

+

loop has a secret we'll talk about soon.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_fi.html b/15_fi.html new file mode 100644 index 000000000..7cd413269 --- /dev/null +++ b/15_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Tarvitsetko ääretöntä silmukkaa?

+

Rust tekee sen helpoksi.

+

break keskeyttää silmukan, kun olet valmis.

+

loop puolestaan kätkee sisäänsä salaisuuden, josta puhumme pian.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_fr.html b/15_fr.html new file mode 100644 index 000000000..2795e708e --- /dev/null +++ b/15_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Besoin d'une boucle infinie?

+

Avec Rust, c'est facile!

+

break permet de sortir de la boucle à tout moment.

+

Quant à l'instruction loop, celle-ci possède un secret dont nous parlerons plus tard.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_gr.html b/15_gr.html new file mode 100644 index 000000000..71991ddd0 --- /dev/null +++ b/15_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Χρειάζεστε έναν ατέρμονα βρόχο; Με τη Rust αυτό είναι εύκολο. Το break θα λήξει ένα βρόχο μόλις είστε έτοιμοι.

+

Το loop έχει ένα μυστικό για το οποίο θα μιλήσουμε σύντομα.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_hu.html b/15_hu.html new file mode 100644 index 000000000..e11cf0509 --- /dev/null +++ b/15_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Szükséged volna egy végtelen ciklusra?

+

A Rust-tal ez egyszerű.

+

A break utasítás pedig kitör a ciklusból, ha arra van szükség.

+

A loop-nak van egy titka, amire hamarosan még kitérünk.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_id.html b/15_id.html new file mode 100644 index 000000000..624fbee41 --- /dev/null +++ b/15_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Butuh loop tak-terbatas?

+

Rust membuat hal tersebut menjadi mudah.

+

break akan menghentikan loop ketika kamu siap.

+

loop mempunyai rahasia, kita akan membicarakannya nanti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ie.html b/15_ie.html new file mode 100644 index 000000000..2403ad90b --- /dev/null +++ b/15_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop (cicle)

+

Tu besona un cicle ínfinit?

Con Rust it es simplic.

Con break on exea un cicle quande on es pret.

loop have un secrete pri quel noi va parlar max bentost.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_it.html b/15_it.html new file mode 100644 index 000000000..ebbebf5a2 --- /dev/null +++ b/15_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Hai bisogno di un ciclo infinito ?

+

In Rust è semplice.

+

con break potrai uscire dal ciclo quando ne avrai bisogno.

+

loop ha anche un segreto di cui parleremo presto.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ja.html b/15_ja.html new file mode 100644 index 000000000..94b077cd2 --- /dev/null +++ b/15_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

無限ループが必要ですか?

+

Rust では簡単です。

+

break によってループから脱出できます。

後で見ますが loop には秘密があります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ko.html b/15_ko.html new file mode 100644 index 000000000..a1d0efba4 --- /dev/null +++ b/15_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

무한 반복문이 필요하십니까?

+

Rust에서는 쉬운 일입니다.

+

break는 여러분이 준비되면 loop을 탈출하게 해줍니다.

+

loop에는 우리가 곧 알아볼 비밀이 한 가지 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ne.html b/15_ne.html new file mode 100644 index 000000000..4d7626b9a --- /dev/null +++ b/15_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] loop

+

Need an infinite loop?

+

Rust makes it easy.

+

break will escape a loop when you are ready.

+

loop has a secret we'll talk about soon.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_pl.html b/15_pl.html new file mode 100644 index 000000000..5f9634ed2 --- /dev/null +++ b/15_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Potrzebujesz nieskończonej pętli?

+

Nie ma sprawy. W Ruscie jest to bardzo prosta sprawa. Wystarczy napisać loop.

+

break zatrzyma wykonywanie pętli kiedy tylko sobie tego zażyczysz.

+

Pętla loop kryje pewien sekret o którym powiemy sobie więcej już wkrótce.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_pt-br.html b/15_pt-br.html new file mode 100644 index 000000000..c0f6ebccd --- /dev/null +++ b/15_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Precisando de um loop infinito?

+

Rust faz isso fácil.

+

O break nos permite sair de um loop quando precisar.

+

O loop tem um segredo do qual falaremos em breve.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ro.html b/15_ro.html new file mode 100644 index 000000000..994309c94 --- /dev/null +++ b/15_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bucle

+

Aveți nevoie de o buclă infinită?

+

Rust face asta într-un mod foarte simplu.

+

break vă va arunca în afara buclei când sunteți pregătit.

+

loop are un secret despre care vom vorbi curând.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ru.html b/15_ru.html new file mode 100644 index 000000000..5a8b2868f --- /dev/null +++ b/15_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Нужен бесконечный цикл?

+

В Rust есть такой.

+

break прервёт выполнение цикла, когда вам будет нужно.

+

loop имеет секрет, о котором мы вскоре поговорим.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_th.html b/15_th.html new file mode 100644 index 000000000..7d6b80428 --- /dev/null +++ b/15_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

อยากได้ลูปแบบไม่มีจุดจบเหรอ?

+

Rust จัดให้

+

break จะพาคุณหนีออกจากลูปเมื่อคุณต้องการ

+

loop คำนี้มีความลับที่เดี๋ยวเราจะบอก

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_tr.html b/15_tr.html new file mode 100644 index 000000000..ed93c093f --- /dev/null +++ b/15_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Bir sonsuz döngüye ihtiyaç duyduğunuzda, Rust bu işi sizin için kolaylaştırır.

+

Eğer sonsuz döngüden çıkmak isterseniz, break anahtar sözcüğünü kullanabilirsiniz.

+

loop anahtar kelimesininin sırlarını keşfetmeye ilerleyen bölümlerde devam edeceğiz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_ua.html b/15_ua.html new file mode 100644 index 000000000..5a33de26a --- /dev/null +++ b/15_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Цикли

+

Вам потрібен безкінечний цикл? З Rust'ом це зробити дуже легко.

+

break вийде з циклу коли ви будете до цього готові.

+

loop має секрет, до якого ми повернемося пізніше.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_vi.html b/15_vi.html new file mode 100644 index 000000000..fa089e89b --- /dev/null +++ b/15_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop(vòng lặp)

+

Bạn cần một vòng lặp vô hạn?

+

Rust khiến cho điều đó trở nên dễ dàng.

+

break giúp bạn thoát ra khỏi một vòng lặp khi bạn muốn.

+

vòng lặp có một bí mật sẽ được bật mí sau.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_zh-cn.html b/15_zh-cn.html new file mode 100644 index 000000000..3d24e9bec --- /dev/null +++ b/15_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

循环

+

需要一个无限循环?

+

使用 Rust 很容易实现。

+

break 会退出当前循环。但 loop 还有个秘密,我们很快讲到。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/15_zh-tw.html b/15_zh-tw.html new file mode 100644 index 000000000..3e27bea0a --- /dev/null +++ b/15_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

需要一個無窮迴圈嗎?

+

Rust 將它變得很簡單。

+

當你準備好時,break 會離開一個迴圈。

+

loop 有個秘密,我們很快就會談到它。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_al.html b/16_al.html new file mode 100644 index 000000000..70d7e1c43 --- /dev/null +++ b/16_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

"while" ju lejon të shtoni me lehtësi një kusht në një lak.

+

Nëse kushti vlerësohet në "false", cikli do të dalë.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ar.html b/16_ar.html new file mode 100644 index 000000000..34f70a3f8 --- /dev/null +++ b/16_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

طالما (while)

+

الكلمة الفتاحية while (طالما) تمكنك من إضافة شروط للحلقة (loop).

+

وطالما الشرط صحيح true فالحلقة تستمر، أما إذا كان تقييم الشرط هو خطأ false، سوف تخرج من الحلقة (loop).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_de.html b/16_de.html new file mode 100644 index 000000000..698e5101d --- /dev/null +++ b/16_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while Schleifen werden so lange ausgeführt, bis aus der angegeben Kondition false evaluiert wird.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_en.html b/16_en.html new file mode 100644 index 000000000..86afb5a95 --- /dev/null +++ b/16_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while lets you easily add a condition to a loop.

+

If the condition evaluates to false, the loop will exit.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_es.html b/16_es.html new file mode 100644 index 000000000..137825909 --- /dev/null +++ b/16_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while permite añadir fácilmente una condición al bucle. +El bucle terminará cuando la condición se evalúe a false

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_fa.html b/16_fa.html new file mode 100644 index 000000000..a48771403 --- /dev/null +++ b/16_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while lets you easily add a condition to a loop.

+

If the condition evaluates to false, the loop will exit.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_fi.html b/16_fi.html new file mode 100644 index 000000000..941ea4ca6 --- /dev/null +++ b/16_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while antaa sinulle mahdollisuuden helposti lisätä ehtolausekkeen silmukkaan.

+

Jos ehtolauseke on false, silmukka poistuu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_fr.html b/16_fr.html new file mode 100644 index 000000000..700ed8fdd --- /dev/null +++ b/16_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while permet d'ajouter facilement une condition à une boucle.

+

Si la condition est évaluée à faux, alors la boucle s'arrête.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_gr.html b/16_gr.html new file mode 100644 index 000000000..1772ad36d --- /dev/null +++ b/16_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

Το while μας επιτρέπει να προσθέσουμε εύκολα μία συνθήκη σ' ένα βρόχο.

+

Όταν η συνθήκη γίνει ψευδής, ο βρόχος θα τερματίσει.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_hu.html b/16_hu.html new file mode 100644 index 000000000..ab751f25e --- /dev/null +++ b/16_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

A while segítségével egy feltételt szabhatsz a ciklusodnak.

+

Amint a feltétel false (hamis) értéket vesz, a ciklus megszakad.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_id.html b/16_id.html new file mode 100644 index 000000000..e48adac75 --- /dev/null +++ b/16_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while mempermudah kita untuk menambahkan kondisi pada loop.

+

Jika kondisi terevaluasi menjadi false, maka loop akan selesai.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ie.html b/16_ie.html new file mode 100644 index 000000000..85f725cf8 --- /dev/null +++ b/16_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while (durant)

+

while possibilisa te adjunter un condition a un cicle.

Si li condition evalua se a false, li cicle va exear.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_it.html b/16_it.html new file mode 100644 index 000000000..d9faebc11 --- /dev/null +++ b/16_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while ti permette di creare un ciclo con condizione.

+

Quando la condizione risulta false, il ciclo terminerà.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ja.html b/16_ja.html new file mode 100644 index 000000000..d9665d185 --- /dev/null +++ b/16_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while を使えば、ループに条件を簡単に追加できます。

+

条件が false と評価された場合、ループは終了します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ko.html b/16_ko.html new file mode 100644 index 000000000..564277937 --- /dev/null +++ b/16_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while은 반복문에 조건을 간단히 넣을 수 있게 해줍니다.

+

조건의 평가결과가 false인 경우, 반복문은 종료됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ne.html b/16_ne.html new file mode 100644 index 000000000..4e3479451 --- /dev/null +++ b/16_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] while

+

while lets you easily add a condition to a loop.

+

If the condition evaluates to false, the loop will exit.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_pl.html b/16_pl.html new file mode 100644 index 000000000..9344b3d0d --- /dev/null +++ b/16_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while pozwala na dodanie warunku do naszej pętli.

+

Jeśli warunek zostanie obliczony i wykaże false, wykonywanie pętli zostanie przerwane.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_pt-br.html b/16_pt-br.html new file mode 100644 index 000000000..e88103e7f --- /dev/null +++ b/16_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

O while permite que você estabeleça facilmente uma condição no loop.

+

Se a condição avaliar falso, o loop terminará.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ro.html b/16_ro.html new file mode 100644 index 000000000..ba8dd8308 --- /dev/null +++ b/16_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while vă lasă să adăugați o condiție logică unei bucle.

+

Dacă condiția impusă buclei devine falsă, bucla se va termina.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ru.html b/16_ru.html new file mode 100644 index 000000000..1dc0e56b3 --- /dev/null +++ b/16_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while позволяет легко добавить условие в цикл.

+

Если условие вычисляется в false, то цикл завершится.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_th.html b/16_th.html new file mode 100644 index 000000000..5c36cda3c --- /dev/null +++ b/16_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while ให้คุณใส่เงื่อนไขลงไปในลูปได้อย่างง่ายดาย

+

ถ้าเงื่อนไขถูกประเมินว่าเป็น false มันจะออกจากลูป

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_tr.html b/16_tr.html new file mode 100644 index 000000000..8a6d8a4a2 --- /dev/null +++ b/16_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while Anahtar kelimesi bir döngüye kolayca koşul eklemenizi sağlar.

+

Koşul true olduğu sürece işletilen bu döngüden, koşul false olduğunda çıkılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_ua.html b/16_ua.html new file mode 100644 index 000000000..33a2978cb --- /dev/null +++ b/16_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while дозволяє вам легко додати умови виходу з циклу.

+

Якщо умова повертає false, цикл буде полишено.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_vi.html b/16_vi.html new file mode 100644 index 000000000..28b22df0d --- /dev/null +++ b/16_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while giúp bạn dễ dàng thêm một điều kiện vào một vòng lặp.

+

Khi mà điều kiện trả về false (là nó bị sai á 😜), vòng lặp sẽ kết thúc.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_zh-cn.html b/16_zh-cn.html new file mode 100644 index 000000000..087ffb194 --- /dev/null +++ b/16_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while 允许你轻松地向循环添加条件。

+

如果条件一旦变为 false,循环就会退出。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/16_zh-tw.html b/16_zh-tw.html new file mode 100644 index 000000000..3687ab1e0 --- /dev/null +++ b/16_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while 讓你輕鬆的加入一個條件到迴圈裡。

+

如果該條件的結果是 false,那迴圈將會中止。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_al.html b/17_al.html new file mode 100644 index 000000000..f3ded512d --- /dev/null +++ b/17_al.html @@ -0,0 +1,60 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Cikli 'for' i Rust është një përmirësim i fuqishëm. Ajo

+

përsëritet mbi vlera nga çdo shprehje që vlerësohet në një përsëritës. + Çfarë është

+

një përsëritës? Një përsëritës është një objekt që mund të bëni pyetjen "Çfarë është

+

artikulli tjetër qe keni?" derisa të mos ketë më artikuj.

+

Ne do ta shqyrtojmë këtë më shumë në një kapitull të ardhshëm. Ndërkohë, njihni Rust + bën

+

te lehtë të krijohen përsëritës që gjenerojnë një sekuencë numrash të plotë.

+

Operatori .. krijon një përsëritës që gjeneron numra nga fillimi + numri deri në

+

por duke mos përfshirë një numër fundor.

+

Operatori ..= krijon një përsëritës që gjeneron numra nga fillimi + numri deri në

+

dhe duke përfshirë një numër fundor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ar.html b/17_ar.html new file mode 100644 index 000000000..f8948966f --- /dev/null +++ b/17_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مِنْ أجْلِ (for)

+

حلقة (loop) من أجل for في رست (Rust) تعتبر ترقية قوية. فهي تتكرر بناءا على مرورها على قيم أي عبارة يمكن تقيمها داخل المكرِرْ (iterator).

+

ماهو المكرِرْ (iterator)؟ هو كائن (object) يمكنك أن تطرح عليه (بالتعبير المجازي) السؤال التالي "ماهو العنصر التالي الذي عندك في القائمة؟" حتى يرد بعدم الوجود عناصر أخرى. سنكتشف المزيد عليه في فصل آخر مستقبلا.

+

حاليا في هذا المثال رست (Rust) يمكنك من إنشاء مكررات تولد سلسلة من الاعداد الصحيحة. و المعامل .. ينشء لك مكرِرْ (iterator) يولد أعداد من عدد بداية حتى عدد نهاية لا يتم تضمينه في المجموعة (في الرياضيات نكتب [n..,x[). أما المعامل ..= فهو ينشئ مكرِرْ (iterator) يولد أعداد من عدد بداية حتى عدد نهاية يتم تضمينه في المجموعة (في الرياضيات نكتب [n..,x])

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_de.html b/17_de.html new file mode 100644 index 000000000..5e8fbd67b --- /dev/null +++ b/17_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

for-Schleifen in Rust sind ein großes Upgrade. +Wird ein Ausdruck (expression) in einem Iterator evaluiert, kann dieser in eine +for-Schleife eingebaut werden.

+

Was ist ein Iterator? Ein Iterator ist ein Objekt, dem die Frage "Was kommt als nächstes?" +gestellt werden kann. Sind keine Elemente mehr vorhanden, wird die Schleife abgebrochen.

+

In diesem Beispiel sehen wir, wie in Rust eine Zahlensequenz erstellt wird, über die wir iterieren +können. Hierbei gibt es zwei unterschiedliche Notationen:

+
    +
  • x..y erstellt einen Iterator, der bei x anfängt und vor y aufhört
  • +
  • x..=y erstellt einen Iterator, der bei x anfängt und y mit einschließt
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_en.html b/17_en.html new file mode 100644 index 000000000..b8f01b15f --- /dev/null +++ b/17_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust's for loop is a powerful upgrade. It +iterates over values from any expression that evaluates into an iterator. What's +an iterator? An iterator is an object that you can ask the question "What's the +next item you have?" until there are no more items.

+

We'll explore this more in a future chapter. In the meantime, just know Rust makes +it easy to create iterators that generate a sequence of integer numbers.

+

The .. operator creates an iterator that generates numbers from a start number up to +but not including an end number.

+

The ..= operator creates an iterator that generates numbers from a start number up to +and including an end number.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_es.html b/17_es.html new file mode 100644 index 000000000..6d13bd89e --- /dev/null +++ b/17_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

El bucle for en Rust es una gran mejora, ya que itera sobre valores en cualquier expresión que se evalúe como un iterador. ¿Qué es un iterador? Un iterador es un objeto al que le puedes hacer la pregunta: "¿Cuál es el siguiente elemento?" hasta que ya no queden más elementos.

+

Nos centraremos más en esto en próximos capítulos, mientras tanto, sólo necesitas saber que en Rust es sencillo crear iteradores que generen secuencias de números enteros.

+

El operador .. crea un iterador que genera números a partir de un número inicial pero sin incluir el número final.

+

El operador ..= crea un iterador que genera números a partir de un número inicial, incluyendo el número final.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_fa.html b/17_fa.html new file mode 100644 index 000000000..1b955df01 --- /dev/null +++ b/17_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust's for loop is a powerful upgrade. It +iterates over values from any expression that evaluates into an iterator. What's +an iterator? An iterator is an object that you can ask the question "What's the +next item you have?" until there are no more items.

+

We'll explore this more in a future chapter. In the meantime, just know Rust makes +it easy to create iterators that generate a sequence of integer numbers.

+

The .. operator creates an iterator that generates numbers from a start number up to +but not including an end number.

+

The ..= operator creates an iterator that generates numbers from a start number up to +and including an end number.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_fi.html b/17_fi.html new file mode 100644 index 000000000..6f59a2d1b --- /dev/null +++ b/17_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rustin for silmukka on tehokas päivitys. Se +Iteroi arvojen yli mistä tahansa lausekkeesta, joka arvioituu iteraattoriksi. Mikä +on iteraattori? Iteraattori on objekti, jolta voi kysyä "Mikä on +seuraava sinulla oleva asia?" kunnes ei enää ole asioita.

+

Tarkastelemme tätä tarkemmin tulevassa kappaleessa. Sillä välin tiedä, että Rust tekee +helpoksi iteraattoreiden luomisen, jotka generoivat sarjan kokonaislukuja.

+

.. -operaattori luo iteraattorin, joka generoi numeroita aloitusnumerosta lähtien, +mutta ei sisällytä lopetusnumeroa.

+

..=-operaattori luo iteraattorin, joka generoi numeroita annetusta aloitusnumerosta +aina lopetusnumeroon asti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_fr.html b/17_fr.html new file mode 100644 index 000000000..8a80d72a0 --- /dev/null +++ b/17_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

La boucle for de Rust est une mise à niveau puissante qui permet +d'itérer sur les valeurs d'une expression en créant un itérateur. +Qu'est-ce qu'un itérateur? Un itérateur est un objet auquel tu peux demander +"quel est l'élément suivant?" jusqu'à ce qu'il n'y en ait plus.

+

Nous donnerons plus d'explications sur les itérateurs dans un futur chapitre. Quoi qu'il en soit, +retiens qu'avec Rust il est facile de créer des itérateurs qui génèrent une séquence de nombres entiers.

+

L'opérateur .. crée un itérateur qui génère une suite de nombres depuis la première valeur incluse +jusqu'à la dernière valeur excluse. +L'opérateur ..= crée un itérateur qui génère une suite de nombres depuis la première valeur incluse +jusqu'à la dernière valeur incluse.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_gr.html b/17_gr.html new file mode 100644 index 000000000..6728afd4a --- /dev/null +++ b/17_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Ο βρόχος for της Rust είναι μία πολυδύναμη βελτίωση. Μπορεί να διατρέξει τις τιμές οποιασδήποτε έκφρασης μπορεί να ερμηνευτεί ως διαδρομέας.

+

Τι είναι διαδρομέας; Είναι ένα αντικείμενο το οποίο μπορεί κανείς να ρωτάει συνεχώς «Ποιο είναι το επόμενο στοιχείο που έχεις;» μέχρι να σωθούν τα στοιχεία.

+

Αυτό θα το εξερευνήσουμε περισσότερο σε κάποιο μετέπειτα κεφάλαιο. Προς το παρόν έχετε υπ' όψιν ότι η Rust διευκολύνει τη δημιουργία διαδρομέων που παράγουν μία ακολουθία ακεραίων αριθμών.

+

Ο τελεστής .. δημιουργεί ένα διαδρομέα που παράγει αριθμούς από κάποιον αρχικό μέχρι κάποιον τελευταίο, χωρίς να συμπεριλαμβάνει τον τελευταίο.

+

Ο τελεστής ..= δημιουργεί ένα διαδρομέα που παράγει αριθμούς από κάποιον αρχικό μέχρι και κάποιον τελευταίο, συμπεριλαμβάνοντας και τους δύο.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_hu.html b/17_hu.html new file mode 100644 index 000000000..f9be20bcd --- /dev/null +++ b/17_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

A Rust for ciklusa egy hatalmas előrelépést jelent. Képes minden iterátorrá váló kifejezés +elemein végiglépkedni. Mit is jelent az, hogy valami iterátor? Olyan objektumok, amiknél +megkérdezhető, hogy "Mi a következő elem?" egészen addig, amíg már nem marad elem.

+

Ezt egy későbbi fejezetben jobban is át fogjuk nézni. Addig is elég ha azt tudod, hogy a Rust +egyszerűvé teszi a számok sorait létrehozó iterárotok készítését.

+

A .. operátor egy olyan iterátort hoz létre, ami egy megadott kezdőszámtól elszámol a megadott +végső szám előtti számig.

+

A ..= operátor pedig ugyanezt teszi, viszont ekkor a végső szám is benne van a sorban.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_id.html b/17_id.html new file mode 100644 index 000000000..2d1519287 --- /dev/null +++ b/17_id.html @@ -0,0 +1,51 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust for loop sangatlah powerful untuk mengiterasi suatu nilai dengan expresi apapun yang dievaluasi sebagai iterator. +Apa itu Iterator? Iterator adalah objek yang dapat menjawab pernyataan seperti "item apa yang selanjutnya kau punya?" sampai tidak ada item lagi.

+

Kita akan menjelajahi hal ini lebih lanjut pada bab selanjutnya. Sementara itu, ketahuilah bahwa Rust membuat hal tersebut mudah dengan membuat iterator yang menghasilkan serangkaian integer.

+

.. operator membuat sebuah iterator yang menghasilkan angka-angka dari suatu angka sampai sebuah angka lain yang menandakan akhiran tetapi tanpa angka akhir tersesbut.

+

..= operator membuat sebuah iterator yang menghasilkan angka-angka dari suatu angka sampai sebuah angka lain yang menandakan akhiran beserta angka tersebut.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ie.html b/17_ie.html new file mode 100644 index 000000000..b6c16936d --- /dev/null +++ b/17_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for (por)

+

Li cicle for de Rust es un potent amelioration. It itera sur valores de quelcunc expression queles evalua se ad-in un iterator. Quo es un iterator? Un iterator es un object a quel on posse demandar: "Quo es li cose sequent quel tu possede?" til quande ti coses es exhaustet.

Noi va explorar pri to in plu detallie in un capitul futuri, ma por li moment it mey suficer a saver que in Rust it es facil crear iteratores queles genera un sequentie de ciffres integral.

Li operator .. crea un iterator quel genera ciffres ex un comensant ciffre til, ma ne includent, un final ciffre.

Con li operator ..= on crea un iterator quel genera ciffres ex un comensant ciffre til, e includent, un final ciffre.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_it.html b/17_it.html new file mode 100644 index 000000000..5799e30a3 --- /dev/null +++ b/17_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Il ciclo for di Rust è un grosso miglioramento. Itera sui valori da qualsiasi espressione che ritorni un iteratore. +Cos'è un iteratore ? Un iteratore è un oggetto a cui puoi chiedere "dammi il prossimo elemento", finchè non ci sono altri elementi.

+

Esploreremo questo aspetto in un capitolo futuro. Nel frattempo, ti basti sapere che Rust rende facile la creazione di iteratori che generano sequenze di numeri interi.

+

L'operatore .. crea un iteratore che genera numeri a partire da quello iniziale fino a quello finale escluso.

+

L'operatore ..= crea un iteratore che genera numeri a partire da quello iniziale fino a quello finale incluso.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ja.html b/17_ja.html new file mode 100644 index 000000000..492a2af5b --- /dev/null +++ b/17_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust の for ループは強力に改良されています。 +イテレータとして評価される式を反復処理します。 +イテレータとは何でしょうか? +イテレータとは、項目がなくなるまで「次の項目は何ですか?」と質問することができるオブジェクトです。

+

それについては後の章で詳しく説明します。とりあえず、Rust では整数のシーケンスを生成するイテレータを、簡単に作成できることを知っておいてください。

+

.. 演算子は、開始番号から終了番号の手前までの数値を生成するイテレータを作成します。

+

..= 演算子は、開始番号から終了番号までの数値を生成するイテレータを作成します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ko.html b/17_ko.html new file mode 100644 index 000000000..f9c49bd45 --- /dev/null +++ b/17_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust의 for 반복문은 강력한 업그레이드입니다. +어떠한 표현이든지, 그로부터 평가된 반복자의 값을 반복합니다. +반복자란 무엇일까요? 반복자는 더 가진게 없을 때까지 "다음에 가진게 뭐야?" 라고 요청할 수 있는 객체입니다.

+

이건 앞으로 더 살펴볼겁니다. 그동안에는 일단 Rust가 +정수의 배열을 생성하는 반복자를 만들기 쉽게 한다고만 알고 있읍시다.

+

.. 연산자는 시작 숫자에서 끝 숫자 전까지의 숫자들을 생성하는 반복자를 만듭니다.

+

..= 연산자는 시작 숫자에서 끝 숫자까지의 숫자들을 생성하는 반복자를 만듭니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ne.html b/17_ne.html new file mode 100644 index 000000000..b0120f070 --- /dev/null +++ b/17_ne.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] for

+

Rust's for loop is a powerful upgrade. It +iterates over values from any expression that evaluates into an iterator. What's +an iterator? An iterator is an object that you can ask the question "What's the +next item you have?" until there are no more items.

+

We'll explore this more in a future chapter. In the meantime, just know Rust makes +it easy to create iterators that generate a sequence of integer numbers.

+

The .. operator creates an iterator that generates numbers from a start number up to +but not including an end number.

+

The ..= operator creates an iterator that generates numbers from a start number up to +and including an end number.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_pl.html b/17_pl.html new file mode 100644 index 000000000..eb447de1b --- /dev/null +++ b/17_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

for oznacza poważny awans w hierarchii pętli Rusta. Ta pętla będzie iterować na zbiorze wartości dostarczonym przez przypisane wyrażenie. Wyrażenie to musi zwracać iterator.

+

Czym jest iterator? Iterator to obiekt któremu możemy zadać pytanie "Jaki jest następny element w twoim zbiorze?" dopóki zbiór nie zostanie wyczerpany.

+

Iteratorom przyjrzymy się bliżej w jednym z przyszłych rozdziałów. Póki co wystarczy, że zapamiętasz, że w Ruscie proste jest tworzenie z pomocą iteratorów sekwencji liczb całkowitych, co bardzo przydaje się przy definicji pętli for.

+

Operator .. tworzy iterator który generuje liczby począwszy od pewnej liczby startowej aż to, lecz nie wliczając, liczby końcowej.

+

Jeśli chcemy wliczyć liczbę końcową w zbiór generowany przez taki iterator, możemy skorzystać z ..=.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_pt-br.html b/17_pt-br.html new file mode 100644 index 000000000..81ec2bf2f --- /dev/null +++ b/17_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

O loop for do Rust é uma grande melhoria, uma vez que ele itera sobre valores de qualquer expressão que se avalie como um iterador. O que é um iterador? Um iterador é um objeto ao qual você pode perguntar "qual o seu próximo item?" até que não haja mais itens.

+

Iremos explorar mais isso em um capítulo futuro, mas por enquanto basta saber que em Rust é fácil criar iteradores que geram uma seqüência de números inteiros.

+

O operador .. cria um iterador que gera uma seqüência a partir de um número inicial até, mas não incluso, um número final.

+

O operador ..= cria um iterador que gera uma seqüência a partir de um número inicial até um número final, inclusive.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ro.html b/17_ro.html new file mode 100644 index 000000000..e1d8762e2 --- /dev/null +++ b/17_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Bucla for din Rust e o îmbunătățire importantă. Ea +iterează peste valorile oricărei expresii care poate fi transformată într-un iterator. Vă întrebați +ce este un iterator? Un iterator este un obiect pe care îl puteți întreba "Care este +următorul element pe care îl ai?" până când acesta nu mai are elemente.

+

Vom explora acest lucru într-un capitol viitor. Între timp, țineți minte că Rust poate +crea ușor iteratori care generează o secvență de numere întregi.

+

Operatorul .. creează un iterator care generează numere de la un număr până la +alt număr, din unu în unu, fără să îl includă pe cel din urmă.

+

Operatorul ..= creează un iterator care generează numere de la un număr până la +alt număr, din unu în unu, inclusiv cel din urmă.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ru.html b/17_ru.html new file mode 100644 index 000000000..ad4596d80 --- /dev/null +++ b/17_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust цикл for, очень мощное средство. +Он перебирает значения из любого выражения, которое может вычисляться в итератор. А +что такое итератор? Итератор - это обьект, которому вы можете сказать "Дай мне +свой следующий элемент!" и так до тех пор, пока в нём не останется элементов.

+

Мы посмотрим на это в следующей главе, между прочим Rust позволяет очень легко создавать итераторы, которые генерируют последовательности целых чисел.

+

Оператор .. создает итератор, который генерирует числа от начального числа включительно и до второго указанного числа, но не включая самое последнее число последовательности, в математике это называют полуинтервалом [0..5).

+

Оператор ..= создает итератор, генерирующий числа от начального значения до последнего числа последовательности, включая это последний номер по замкнутому интервалу [0..5]. Разница между ними в том что в первом случае пятёрка не попадет в цикл, а втором она попадет.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_th.html b/17_th.html new file mode 100644 index 000000000..0e749c7ba --- /dev/null +++ b/17_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

for ของ Rust พัฒนาไปอีกขั้นด้วยการที่ มันสามารถ วนลูปซ้ำๆให้กับนิพจน์ใดก็ตามที่ถูกประเมินว่าเป็น iterator +แล้ว iterator คืออะไรน่ะเหรอ? เจ้า iterator มันก็คือ ออปเจ็ค ที่คุณสามารถถามมันว่า "คุณมีของอะไรอีกบ้าง?" ไปจนกว่ามันจะไม่มีอะไรให้คุณอีก

+

เราค่อยมาสำรวจเรื่องนี้กันต่อภายหลัง ตอนนี้รู้ไว้เพียงแค่ Rust สร้าง iterator จากลำดับของตัวเลขได้ง่ายมากๆ

+

operator .. สร้าง iterator จากตัวเลขเริ่มต้นทางซ้ายไปเรื่อยๆจนถึง แต่ไม่รวมค่าทางด้านขวา

+

operator ..= สร้าง iterator จากตัวเลขเริ่มต้นทางซ้ายไปเรื่อยๆจนถึง และรวมค่าทางด้านขวา

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_tr.html b/17_tr.html new file mode 100644 index 000000000..cd811240d --- /dev/null +++ b/17_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust'un for döngüsü, yineleyici olarak değerlendirilen bir ifadenin, elemanları üzerinde yineleme yapılmasına izin veren güçlü bir yükseltmedir. +Yineleyici ise, tüm elemanlar tüketilene kadar "bir sonraki eleman nedir?" sorusunu yöneltebileceğimiz bir nesnedir.

+

Yineleyiciler konusunu daha sonra ayrıntılı olarak işleyeceğimizden şimdilik Rust'ta, tam sayı dizisi üreten yineleyiciler oluşturmanın oldukça kolay olduğunu bilmeniz yeterlidir.

+

.. işleciyle, verilen aralığın başlangıç sınırı dahil, bitiş sınırı hariç, arada kalan elemanlarının üretildiği bir yineleyici oluşturulur.

+

..= işleci ise, verilen aralığın hem başlangıç, hem bitiş sınırını kapsayan elemanlarının üretildiği bir yineleyici oluşturur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_ua.html b/17_ua.html new file mode 100644 index 000000000..73fc9a0e9 --- /dev/null +++ b/17_ua.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

В Rust цикл for є досить потужним інструментом. Він перебирає значення з усіх виразів, результатом яких є ітератор.

+

Але що таке ітератор? Ітератором є об'єкт, якому ви можете поставити питання "Який твій наступний елемент?" до поки в нього нічого не залишиться.

+

Ми ще матимемо змогу ближче придивитися до ітератора в наступних розділах. А тим часом ми просто повинні знати, що ітератор можна легко створити шляхом генерації послідовності цілих чисел.

+

Оператор .. створює ітератор, що генерує послідовність від першого числа до числа вказаного другим, але не включаючи його.

+

Оператор ..= створює ітератор, що генерує послідовність від першого числа до числа вказаного другим, включно з ним.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_vi.html b/17_vi.html new file mode 100644 index 000000000..d9a79bff5 --- /dev/null +++ b/17_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Vòng lặp for của Rust là một nâng cấp mạnh mẽ. Rust's for loop is a powerful upgrade. +Nó lặp lại các giá trị từ bất kỳ biểu thức nào được đánh giá thành một trình iterator. +Vậy iterator là gì? +Một iterator là một đối tượng mà bạn có thể đặt câu hỏi "Phần tử tiếp theo bạn có là gì?" cho đến khi không còn phần tử nào nữa.

+

Chúng ta sẽ khám phá điều này nhiều hơn trong những chương tiếp theo. Bây giờ thì chỉ cần ghi nhớ rằng Rust giúp bạn dễ dàng tạo iterator mà tạo ra một chuỗi các số nguyên.

+

Toán tử .. tạo ra một iterator khởi tạo một chuỗi số không bao gồm số cuối cùng.

+

Toán tử ..= tạo ra một iterator khởi tạo một chuỗi số bao gồm cả số cuối cùng.

+

Hãy cùng xem qua ví dụ nhé.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_zh-cn.html b/17_zh-cn.html new file mode 100644 index 000000000..14b763428 --- /dev/null +++ b/17_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust 的 for 循环是一个强大的升级。它遍历来自计算结果为迭代器的任意表达式的值。 +迭代器是什么?迭代器是一个你可以一直询问“下一项是什么?”直到没有其他项的对象。

+

我们将在以后的章节中进一步探讨这一点,与此同时,我们知道 Rust 使创建生成整数序列的迭代器变得容易。

+

.. 运算符创建一个可以生成包含起始数字、但不包含末尾数字的数字序列的迭代器。

+

..= 运算符创建一个可以生成包含起始数字、且包含末尾数字的数字序列的迭代器。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/17_zh-tw.html b/17_zh-tw.html new file mode 100644 index 000000000..b3dd6009f --- /dev/null +++ b/17_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust 的 for 迴圈是個強大升級版。 它會迭代任何表達式的數值,並且將該數值放入迭代器 (iterator) 裡。 什麼是迭代器?迭代器是一個物件,你可以向這個物件詢問:「下一個物品是什麼?」,直到沒有下一個物品了。

+

我們在後續章節會探討更多。同時,現在只需要知道 Rust 可以讓你輕鬆的建立一個產生整數數列的迭代器就好了。

+

.. 運算子產生一個迭代器,而這個迭代器產生一連串的數字,從起始數字開始,但不包含最後一個數字。

+

..= 運算子產生一個迭代器,而這個迭代器產生一連串的數字,從起始數字開始直到最後一個數字。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_al.html b/18_al.html new file mode 100644 index 000000000..68549aaed --- /dev/null +++ b/18_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Të mungon deklarata switch? Rust ka një fjalë kyçe tepër të dobishme

+

për përputhjen e të gjitha kushteve të mundshme të një vlere dhe ekzekutimin e një shtegu kodi nëse

+

ndeshja është e vërtetë. Le të shohim se si funksionon kjo për numrat. Do të kemi më shumë per te + thene

+

në kapitujt e ardhshëm mbi përputhjen e modelit të të dhënave më komplekse. Ju premtoj + do

+

ia vlej pritja.

+

"match" është shteruese, kështu që të gjitha rastet

+

duhen trajtuar.

+

Përputhja e kombinuar me destrukturimin është padyshim një nga

+

modelet më të zakonshme që do të shihni në të gjithë Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ar.html b/18_ar.html new file mode 100644 index 000000000..26834ab50 --- /dev/null +++ b/18_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مُطابقة (match)

+

هل تفتقد عبارة التبديل (switch statement)؟ يحتوي رست (Rust) على كلمة فتاحية مفيدة بشكل لا يصدق لمطابقة جميع الشروط الممكنة للقيمة وتنفيذ تعليمات برمجية إذا كانت المطابقة صحيحة.

+

دعنا نرى في المثال المقابل كيف تعمل مع الارقام. سوف يكون لدينا الكثير لنقوله في الفصول القادمة حول أنماط مطابقة ذات بيانات أكثر تعقيدا. أعدك أنه يستحق الانتظار.

+

مُطابقة match تكون شاملة لذا فإنها تتعامل مع جميع الحالات.

+

المطابقة المدموجة مع التفكيك هي أحد الأنماط الأكثر شيوعا التي ستراها في لغة رست (Rust) كلها.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_de.html b/18_de.html new file mode 100644 index 000000000..8dbf37686 --- /dev/null +++ b/18_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Du vermisst dein Switch Statement? Rust lässt dich nicht im Stich!

+

Mittels match können Werte mit allen möglichen Konditionen und Werten verglichen werden. +Konditionen ist hier vielleicht das interessanteste. Kein stupides Vergleichen, ob zwei Werte +eins zu eins übereinstimmen.

+

Hier sehen wir das "matching" auf die Zahl x angewandt.

+

match in Rust ist exhaustive (erschöpfend). Das bedeuted, dass jeder mögliche +Wert getested werden muss, den die Variable annehmen kann.

+

Hier sei schon mal erwähnt, dass ein destructuring in Kombination mit match unglaublich +viel Anwendung in der Sprache findet. Zu viel für ein Einführungskapitel leider, +weshalb wir uns dafür etwas gedulden müssen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_en.html b/18_en.html new file mode 100644 index 000000000..1f2611f86 --- /dev/null +++ b/18_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Miss your switch statement? Rust has an incredibly useful keyword +for matching all possible conditions of a value and executing a code path if the +match is true. Let's see how this works for numbers. We will have more to say +in future chapters on pattern matching more complex data. I promise you it will +be worth the wait.

+

match is exhaustive so all cases +must be handled.

+

Matching combined with destructuring is by far one of the +most common patterns you will see in all of Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_es.html b/18_es.html new file mode 100644 index 000000000..2cb1c4fd6 --- /dev/null +++ b/18_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

¿Echas de menos el “switch”? Rust tiene una palabra reservada muy útil para hacer coincidir (matching) todas las condiciones posibles de un valor y ejecutar una ruta de código si la condición es verdadera. Veamos cómo funciona esto para los números. Nos centraremos en los patrones de coincidencia con datos más complejos en próximos capítulos, te prometo que valdrá la pena la espera.

+

match es exhaustivo, así que todos los casos deben ser evaluados.

+

El emparejamiento (matching) combinado con la desestructuración es uno de los patrones más comunes que verás en Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_fa.html b/18_fa.html new file mode 100644 index 000000000..6e0c67f6b --- /dev/null +++ b/18_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Miss your switch statement? Rust has an incredibly useful keyword +for matching all possible conditions of a value and executing a code path if the +match is true. Let's see how this works for numbers. We will have more to say +in future chapters on pattern matching more complex data. I promise you it will +be worth the wait.

+

match is exhaustive so all cases +must be handled.

+

Matching combined with destructuring is by far one of the +most common patterns you will see in all of Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_fi.html b/18_fi.html new file mode 100644 index 000000000..45bbd4fa6 --- /dev/null +++ b/18_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Kaipaatko switch-lausetta? Rust-kielessä on uskomattoman hyödyllinen avainsana +kaikkien mahdollisten ehtojen vastaamiseen ja koodipolun suorittamiseen, jos ehto +on tosi. Katsotaanpa, miten tämä toimii luvuille. Meillä on enemmän sanottavaa +tulevissa kappaleissa monimutkaisempien tietojen käsittelystä. Lupaan, että se +on odotuksen arvoista.

+

match on täydellinen, joten kaikki tapaukset (cases) +täytyy käsitellä.

+

Matchaaminen yhdistettynä purkamiseen on selvästi yksi +yleisimmistä kaavoista, joita näet Rustissa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_fr.html b/18_fr.html new file mode 100644 index 000000000..4814e9cc3 --- /dev/null +++ b/18_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

La structure de contrôle switch te manque? Rust possède un mot clé similaire +extrêmement puissant pour comparer une valeur à un motif et permet de déclencher soit +une exécution conditionnelle soit la récupération d'une valeur (le terme anglais est +pattern matching). Regardons un exemple pour les nombres. Nous aurons plus à dire +dans les chapitres à venir lorsque nous l'appliquerons à des données plus complexes, +je te promets que cela vaut la peine d'attendre.

+

match est exhaustif donc tous les cas doivent être pris en compte.

+

La destructuration combinée avec match fournit un des patterns les plus utilisé de Rust. Tu pourra le constater par toi même.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_gr.html b/18_gr.html new file mode 100644 index 000000000..38d0b18bf --- /dev/null +++ b/18_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Σας λείπει η δήλωση switch; Η Rust έχει μία απίστευτα χρήσιμη λέξη-κλειδί για τον εντοπισμό κάθε πιθανής κατάστασης μίας τιμής, και την εκτέλεση ενός τμήματος κώδικα για την κάθε μία απ' αυτές. Ας δούμε πώς λειτουργεί αυτό για αριθμούς. Θα έχουμε αργότερα κι άλλα να πούμε σε μετέπειτα κεφάλαια ως προς το πώς ταιριάζουμε πρότυπα πιο πολύπλοκων δεδομένων. Υπόσχομαι ότι θα αξίζει την αναμονή.

+

Το match είναι εξαντλητικό, οπότε πρέπει να συμπεριληφθεί κάθε πιθανή περίπτωση.

+

Το ταίριασμα αυτού του είδους, σε συνδυασμό με την αποδόμηση, είναι μακράν ένα απ' τα πιο συνήθη πρότυπα που παρατηρεί κανείς σε όλην τη Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_hu.html b/18_hu.html new file mode 100644 index 000000000..eaabde44e --- /dev/null +++ b/18_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Hiányolod a switch szerkezetet? A Rust rendelkezik egy nagyon hasznos kulcsszóval, ami lehetővé +teszi, hogy minden lehetséges esetet lekezelj úgy, hogy ezek közül az első illeszkedő ág fog +lefutni. Egyelőre azt fogjuk megnézni, hogy ez hogyan működik számok esetén. A későbbi fejezetek +során még több szó is lesz az ennél komplexebb adatok mintáinak összehasonlításáról. Ígérem, +megéri várni rá!

+

A match szerkezet elvárja, hogy az összes eset le legyen kezelve.

+

Az adatok szétbontásával kombinált összehasonlítás a Rust egyik leggyakrabban előforduló +mintája.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_id.html b/18_id.html new file mode 100644 index 000000000..cc3367e8a --- /dev/null +++ b/18_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Kangen dengan switch statement? Rust mempunyai kata kunci yang sangat powerful untuk mencocokkan semua kemungkinan kondisi dari sebuah nilai dan mengksekusi code tersebut ketika kondisi cocok (dievaluasi sebagai true). Kita akan melihat bagaimana hal ini hal ini bekerja pada angka. Kita punya banyak hal yang akan disampaikan pada bab yang akan datang pada bab pencocokkan pola pada data struktur kompleks. Saya berjanji hal tersebut sangatlah layak untuk ditunggu.

+

match merupakan kata kunci yang bersifat menyeluruh, jadi semua kasus harus di tangani.

+

Match dikombinasikan dengan destructuring, sampai saat ini sangatlah umum dan kamu akan melihat hal tersebut disepanjang Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ie.html b/18_ie.html new file mode 100644 index 000000000..3370edd64 --- /dev/null +++ b/18_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Tui declaration 'switch' te manca? In Rust trova se un íncredibilmen util clave-parol por verificar li corespondentie de omni possibil conditiones de un valore e executer li code si on trova paritá. Lass nos vider qualmen it functiona por ciffres. In li capitules a sequer noi va parlar plu detalliatmen con data con plu complexitá, e yo promesse te que it va valer li pena atender un poc.

match es exhaustiv, significante que omni possibil casus mey esser inscrit.

Serchar coresponses poy destructurar les es un modelle quel es de long li max comun inter tis queles on va vider in Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_it.html b/18_it.html new file mode 100644 index 000000000..29650cfad --- /dev/null +++ b/18_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Ti manca l'istruzione switch ? Rust ha una parola chiave incredibilmente utile per controllare tutti i possibili valori di un dato ed eseguire del codice se c'è corrispondenza. Vediamo come funziona per i numeri. Avremo più aspetti da sottolineare nei capitoli futuri sul "pattern matching" di dati complessi. Prometto che varrà la pena aspettare.

+

match è esaustivo, quindi tutti i casi devono essere gestiti.

+

Il Pattern Matching combinato con la destrutturazione è di gran lunga uno degli stili idiomatici che vedrai più utilizzato in Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ja.html b/18_ja.html new file mode 100644 index 000000000..5f83b367d --- /dev/null +++ b/18_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

switch 文が足りない? +Rust には、値が取り得るすべての条件にマッチさせて、マッチが真であればコードパスを実行するための、とても便利なキーワードがあります。 +これが数値に対してどのように機能するか見てみましょう。 +より複雑なデータのパターンマッチングについては、後の章で詳しく説明します。 +待つだけの価値があることをお約束します。

+

match は網羅的なので、すべてのケースを処理しなければなりません。

+

マッチングと分解を組み合わせたパターンは、Rust の中で最も一般的なパターンの一つです。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ko.html b/18_ko.html new file mode 100644 index 000000000..a42ef211c --- /dev/null +++ b/18_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

switch 구문이 그리우십니까? Rust는 모든 가능한 조건의 값들을 대조하고 +그 결과가 true인 경우 해당 코드 경로를 실행하는, 엄청나게 유용한 키워드를 갖고 있습니다. +앞으로의 장에서는 더 복잡한 데이터의 패턴을 대조하는 방법에 대해 얘기할 것입니다. +약속컨대, 기다린 보람이 있을겁니다.

+

match의 조건은 빠짐 없이 모든 케이스를 처리해야 합니다.

+

match와 분해의 조합은 현재까지 Rust에서 가장 흔하게 사용하는 패턴입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ne.html b/18_ne.html new file mode 100644 index 000000000..b485ed865 --- /dev/null +++ b/18_ne.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] match

+

Miss your switch statement? Rust has an incredibly useful keyword +for matching all possible conditions of a value and executing a code path if the +match is true. Let's see how this works for numbers. We will have more to say +in future chapters on pattern matching more complex data. I promise you it will +be worth the wait.

+

match is exhaustive so all cases +must be handled.

+

Matching combined with destructuring is by far one of the +most common patterns you will see in all of Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_pl.html b/18_pl.html new file mode 100644 index 000000000..87d6a5a40 --- /dev/null +++ b/18_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Tęsknisz za instrukcją switch z języka C? Rust oferuje dla niego niesamowicie przydatny zamiennik w postaci match.

+

match pozwala na przypasowywanie możliwych stanów danej wartości do konkretnych wyników, wykonując dany kod tylko w przypadku kiedy spełniony został warunek wskazany przez programistę.

+

Spójrzmy jak to wygląda w przypadku liczb.

+

W przyszłych rozdziałach dowiemy się o wiele więcej na temat bardziej skomplikowanych wzorów dopasowań na bardziej skomplikowanych typach danych. Wytrwałości!

+

Należy wspomnieć, że match musi zawsze wyczerpać wszystkie możliwe warunki, co oznacza że musimy stworzyć dopasowanie dla każdej możliwej wartości.

+

Dopasowanie, razem z destrukturyzacją, czyli rozkładaniem struktur na części pierwsze, stanowią jeden z najpowszechniejszych wzorów programistycznych w całym Ruscie. Im szybciej się do tego przyzwyczajsz tym łatwiej będzie Ci zrozumieć kod Rust!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_pt-br.html b/18_pt-br.html new file mode 100644 index 000000000..0d272d339 --- /dev/null +++ b/18_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Sentiu falta do operador switch? O Rust tem uma palavra-chave muito útil para comparar um valor com todas as condições possíveis e executar um bloco de código se a condição for verdadeira. Vejamos como isso funciona com números. Falaremos mais a respeito de padrões de correspondência com dados mais complexos em capítulos futuros. Prometo que a espera valerá a pena.

+

O match é exaustivo, então todos os casos devem ser avaliados.

+

Correspondências (matching) combinado com desestruturação é um dos padrões mais comuns que você verá no Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ro.html b/18_ro.html new file mode 100644 index 000000000..49b7aa59a --- /dev/null +++ b/18_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Vă lipsește switch-ul din C? Rust are un cuvânt cheie incredibil de folositor +pentru analiza tuturor valorilor posibile ale unei variabile și executarea unei bucăți de cod dacă o anumită +valoare corespunde condițiilor puse. Hai să vedem cum merge asta pentru numere. Avem de discutat mai multe +în capitolele viitoare despre potrivirea șabloanelor (pattern matching) pentru date mai complexe. Vă promit că +va merita așteptarea.

+

match este exhaustiv, deci toate cazurile +trebuie să fie abordate și implementate.

+

Matching, combinat cu destructurarea datelor, este de departe unul din +cele mai întâlnite șabloane de programare pe care le veți vedea în Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ru.html b/18_ru.html new file mode 100644 index 000000000..5b908ae13 --- /dev/null +++ b/18_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Скучаете по оператору switch? Rust имеет невероятно полезное ключевое слово +match - оно позволяет выполнять сопоставление всех возможных условий значения с серией шаблонов, образцов и затем выполнять ветку кода в зависимости от того, какое значение совпало. Давайте посмотрим, +как это работает с числами. В следующих главах мы расскажем больше о сопоставлении с образцом для более сложных данных. +Я обещаю вам, что это стоит небольшого ожидания.

+

match является исчерпывающим, поэтому все случаи вариантов сопоставления должны быть обработаны.

+

Match(-инг) комбинированный с деструктуризацей значений является одним из самых распространенных паттернов в Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_th.html b/18_th.html new file mode 100644 index 000000000..904a2536f --- /dev/null +++ b/18_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

คิดถึง switch statement ของคุณไหมล่ะ? Rust มีคีย์เวิร์ดที่มีประโยชน์อย่างเหลือเชื่อ +สำหรับจับคู่เงื่อนไขที่เป็นไปได้ทั้งหมดของค่านั้น และ เรียกใช้โค้ดตามเส้นทางที่จับคู่ได้ว่าเป็นจริง +ลองดูจากวิธีที่มันทำงานกับตัวเลขนี้ดูก่อน แล้วเราค่อยมาคุยให้ละเอียดกว่านี้ในบทต่อๆไปภายหลัง +ในเรื่องการจับคู่รูปแบบที่ซับซ้อนกว่านี้ ฉันสัญญาว่าคุ้มค่ากับการรอคอยแน่ๆ

+

match จะตรวจสอบละเอียดมาก ดังนั้นจึงควรจัดการให้ครอบคลุมทุกกรณี

+

match มักจะใช้คู่กับการแยกโครงสร้าง ซึ่งเป็นรูปแบบที่จะพบได้บ่อยๆใน Rust

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_tr.html b/18_tr.html new file mode 100644 index 000000000..b7fbbdb54 --- /dev/null +++ b/18_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Aramızda "switch" ifadesini ne zaman değineceğimizi merak edenleriniz mutlaka vardır. Uzatmadan söyleyelim Rust'ta, bir değerin olası tüm koşullarını mantıksal bir değerle eşleştiren ve doğruluğun sağlandığı durum için bir kod bloğunu işleten, son derecede yararlı bir anahtar kelime vardır. +Bunun sayılar üzerinde nasıl çalıştığını gösteren basit örneğimize geçmeden önce, örüntü eşleme konusuna ilerleyen bölümlerde daha karmaşık veriler üzerinden değineceğimizi ve o bölümün beklenmeye değer olduğunu söylemek istiyorum.

+

match epey kapsamlı olduğundan, eşleşme olasılığı bulunan tüm durumlar ayrı ayrı değerlendirilmelidir.

+

Rust'ta göreceğiniz en yaygın eşleme modellerinden biri ise yıkım ile birleştirilen eşleme modelidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_ua.html b/18_ua.html new file mode 100644 index 000000000..9da623a2d --- /dev/null +++ b/18_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Сумуєте за оператором switch? Rust має неймовірно корисне ключове слово match, яке ставить у відповідність усі можливі типи значень і виконує ту гілку, де співпадіння знайдено.

+

Давайте подивимось як це працює для чисел. Застосування для більш складних типів даних ми розглянемо в наступних розділах. Обіцяю, очікування того варте.

+

match являється вичерпним, тож усі випадки мають бути розглянуті.

+

Використання match'інгу з деструкторами є одним з найбільш поширених патернів в Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_vi.html b/18_vi.html new file mode 100644 index 000000000..750ba6fc2 --- /dev/null +++ b/18_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Bạn nghĩ rằng tiếp theo sẽ là câu lệnh switch? Không không, Rust có một từ khóa cực kỳ tiện dụng. Nó giúp bạn để so khớp tất cả các điều kiện có thể có của một giá trị và thực thi một công việc nào đó nếu kết quả khớp là đúng. +Hãy xem làm thế nào nó hoạt động với những con số. Chúng ta sẽ có nhiều điều để nói trong các chương sau về mô hình khớp với dữ liệu phức tạp hơn. Tớ hứa với bạn là nó đáng để chờ đợi đấy.

+

match là toàn diện nên tất cả các trường hợp phải được xử lý.

+

Đối sánh kết hợp với hủy cấu trúc cho đến nay là một trong những mô hình phổ biến nhất mà bạn sẽ thấy trong Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_zh-cn.html b/18_zh-cn.html new file mode 100644 index 000000000..9c29b6f28 --- /dev/null +++ b/18_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

想念你的 switch 语句吗?Rust 有一个非常有用的关键字,用于匹配值的所有可能条件, +并在匹配为真时执行相应代码。我们先来看看对数字的使用。在未来章节中,我们将有更多 +更复杂的数据模式匹配的说明,我向你保证,它将值得等待。

+

match 是穷尽的,意为所有可能的值都必须被考虑到。

+

匹配与解构相结合是迄今为止你在 Rust 中看到的最常见的模式之一。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/18_zh-tw.html b/18_zh-tw.html new file mode 100644 index 000000000..b1b15a7ec --- /dev/null +++ b/18_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

懷念你的 switch 條件判斷式嗎?Rust 有一個神妙的關鍵字 (keyword) 可以匹配所有可能的條件結果, 一旦該結果為真就執行該區間的程式碼。 現在讓我們看看這些是怎麼在數字上運作。在後續章節我們會探討更多有關複雜資料的配對。我向你保證這是值得等待的。

+

match 會徹底的檢查,所以所有可能性都必需被掌控。

+

配對與解構 (destructuring) 一起使用,是你目前為止看到 Rust 最常使用的模式之一。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_al.html b/19_al.html new file mode 100644 index 000000000..176961ed0 --- /dev/null +++ b/19_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kthimi i nje vlere nga loop-i

+

loop mund te ndaloje (break) qe te ktheje nje vlere.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ar.html b/19_ar.html new file mode 100644 index 000000000..48141385d --- /dev/null +++ b/19_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع قيم من الحلقات (loop)

+

الحلقة loop تستطيع أن تنقطع (break) وترجع قيمة، وذلك عند إضافة القيمة بعد الكلمة المفتاحية break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_de.html b/19_de.html new file mode 100644 index 000000000..ac150848a --- /dev/null +++ b/19_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rückgabewerte aus loop

+

In einem loop kann durch das Schlüsselwort break ein Wert zurückgegeben werden.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_en.html b/19_en.html new file mode 100644 index 000000000..ff79b0a60 --- /dev/null +++ b/19_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From loop

+

loop can break to return a value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_es.html b/19_es.html new file mode 100644 index 000000000..1c4b91f93 --- /dev/null +++ b/19_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Devolviendo Valores en loop

+

Podemos devolver un valor en un loop cuando usamos break

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_fa.html b/19_fa.html new file mode 100644 index 000000000..d8616590c --- /dev/null +++ b/19_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From loop

+

loop can break to return a value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_fi.html b/19_fi.html new file mode 100644 index 000000000..f3b266c6a --- /dev/null +++ b/19_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Paluuarvon palauttaminen loopista

+

loop:illa voidaan keskeyttää ja palauttaa arvo break-lauseella.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_fr.html b/19_fr.html new file mode 100644 index 000000000..817865c8e --- /dev/null +++ b/19_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retourner des valeurs avec loop

+

L'instruction loop peut s'arrêter pour retourner une valeur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_gr.html b/19_gr.html new file mode 100644 index 000000000..9283d3d81 --- /dev/null +++ b/19_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Επιστροφή τιμών από βρόχους

+

Το loop μπορεί να διακοπεί ώστε να επιστρέψει μία τιμή.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_hu.html b/19_hu.html new file mode 100644 index 000000000..8ee94f7de --- /dev/null +++ b/19_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Értékkel való visszatérés ciklusokból

+

Lehetséges úgy kitörni egy loop-ból, hogy közben egy értékkel is visszatérünk.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_id.html b/19_id.html new file mode 100644 index 000000000..8e21d44e3 --- /dev/null +++ b/19_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mengembalikan Nilai dari Loop

+

loop dapat menggukan break untuk mengembalikan nilai.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ie.html b/19_ie.html new file mode 100644 index 000000000..439eec64f --- /dev/null +++ b/19_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornar valores de loop

+

loop posse exear (break) por retornar un valore.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_it.html b/19_it.html new file mode 100644 index 000000000..2d197ea50 --- /dev/null +++ b/19_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Restituire valori da un ciclo

+

loop può restituire un valore con break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ja.html b/19_ja.html new file mode 100644 index 000000000..a095b019d --- /dev/null +++ b/19_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop から値を返す

+

loopbreak で抜けて値を返すことができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ko.html b/19_ko.html new file mode 100644 index 000000000..57a434837 --- /dev/null +++ b/19_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop에서 값 리턴하기

+

loop에서 break과 동시에 값을 리턴할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ne.html b/19_ne.html new file mode 100644 index 000000000..4bb787b18 --- /dev/null +++ b/19_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Returning Values From loop

+

loop can break to return a value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_pl.html b/19_pl.html new file mode 100644 index 000000000..b28bf5e6a --- /dev/null +++ b/19_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Wartości z Pętli

+

Pętle loop mogą zwracać wartości.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_pt-br.html b/19_pt-br.html new file mode 100644 index 000000000..d7d174ef2 --- /dev/null +++ b/19_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando Valores de um loop

+

loop podem ser interrompidos para retornar um valor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ro.html b/19_ro.html new file mode 100644 index 000000000..cecc758f3 --- /dev/null +++ b/19_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea unor valori dintr-o buclă

+

loop poate fi oprit pentru a returna o valoare.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ru.html b/19_ru.html new file mode 100644 index 000000000..0c14b8a62 --- /dev/null +++ b/19_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возвращение значений из loop

+

Прерывая loop, вы можете также вернуть из него значение.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_th.html b/19_th.html new file mode 100644 index 000000000..aea9aaabe --- /dev/null +++ b/19_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From loop

+

loop สามารถใช้ break เพื่อคืนค่าได้ด้วย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_tr.html b/19_tr.html new file mode 100644 index 000000000..6f8673c83 --- /dev/null +++ b/19_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop İçinden Değer Döndürmek

+

loop içinden değer döndürebilmek için, break anahtar kelimesinden yararlanabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_ua.html b/19_ua.html new file mode 100644 index 000000000..707ad506e --- /dev/null +++ b/19_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Певернення значень з циклів

+

loop може бути перерваний для повернення значення.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_vi.html b/19_vi.html new file mode 100644 index 000000000..4da5b1705 --- /dev/null +++ b/19_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trả lại giá trị từ vòng lặp

+

vòng lặp có thể được ngắt để trả về giá trị.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_zh-cn.html b/19_zh-cn.html new file mode 100644 index 000000000..43fa36e4a --- /dev/null +++ b/19_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

从循环中返回值

+

loop 可以被中断以返回一个值。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/19_zh-tw.html b/19_zh-tw.html new file mode 100644 index 000000000..2ed317f7f --- /dev/null +++ b/19_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從迴圈回傳數值

+

loop 可以用 break 來回傳數值。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_al.html b/20_al.html new file mode 100644 index 000000000..d787d1b5b --- /dev/null +++ b/20_al.html @@ -0,0 +1,56 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kthimi i vlerave nga shprehjet e bllokut

+

if, match, funksionet dhe blloqet e fushëveprimit kanë të gjitha një mënyrë unike + kthimin e vlerave në Rust.

+

Nëse deklarata e fundit në një bllok "if", "match", funksion ose fushëveprimi është një + shprehje pa

+

;, Rust do ta kthejë atë si vlerë nga blloku. Kjo

+

është një mënyrë e shkëlqyer për të krijuar logjikë koncize që kthen një vlerë që mund të vendoset + në

+

një ndryshore te re.

+

Vini re se ai gjithashtu lejon që një deklaratë "if" të funksionojë si një konciz + shprehje treshe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ar.html b/20_ar.html new file mode 100644 index 000000000..48dd2ec85 --- /dev/null +++ b/20_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع قيم من كتلة التعبيرات (Block Expressions)

+

إذا (if)، مُطابقة (match)، الدوال (functions)، أو كتلة النطاق (scope block) كلهم يملكون طريقة واحدة لإرجاع القيم في رست (Rust)

+

وإذا كانت آخر عبارة (statement) في إذا (if)، مُطابقة (match)، الدوال (functions)، أو كتلة النطاق (scope block) هو تعبير (expression) بدون فاصلة منقوطة ;، فإن رست (Rust) سوف يرجعها كقيمة من الكتلة (block). وهذه طريقة رائعة لإنشاء منطق موجز يُرجع قيمة يمكن وضعها في متغير جديد.

+

لاحظ في المثال أن رست (Rust) يسمح لعبارة if بالعمل عندما تكتب على شكل تعبير ثلاثي موجز.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_de.html b/20_de.html new file mode 100644 index 000000000..28bb6149e --- /dev/null +++ b/20_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rückgabewerte aus Blockausdrücken

+

Als Block wird in Rust ein Codestück zwischen zwei geschweiften +Klammern bezeichnet ({ /* code block */ }).

+

Hier ist eine Besonderheit in Rust: Blockausdrücke, die in if, +Funktionen etc. zu finden sind, können Werte zurückgeben (return).

+

Noch etwas idiomatisches in Rust: wenn es sich bei der letzten Zeile in einem solchen Codeblock +um einen Ausdruck (expression) ohne ; am Ende handelt, interpretiert Rust dies +als den Rückgabewert.

+

Für Leute, die ein Fan von ternary Operatoren sind und das Fragezeichensymbol in Rust vermissen, +if Statements bieten dazu die Alternative.

"

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_en.html b/20_en.html new file mode 100644 index 000000000..0368ce292 --- /dev/null +++ b/20_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From Block Expressions

+

if, match, functions, and scope blocks all have a unique way of returning values in Rust.

+

If the last statement in an if, match, function, or scope block is an expression without +a ;, Rust will return it as a value from the block. This +is a great way to create concise logic that returns a value that can be put into +a new variable.

+

Notice that it also allows an if statement to operate like a concise ternary expression.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_es.html b/20_es.html new file mode 100644 index 000000000..344264137 --- /dev/null +++ b/20_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Devolviendo Valores en Bloques de Expresiones

+

Las sentencias if,match, funciones y bloques de código presentan maneras únicas de devolver valores en Rust.

+

Si la última sentencia de un if, match, función o bloque de código es una expresión sin ;, Rust la devolverá como valor de retorno del bloque. Esta es una gran manera de crear una lógica concisa que devuelva un valor que pueda ser asignado a un nueva variable.

+

Ten en cuenta que también permite a una sentencia if operar como una expresión ternaria concisa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_fa.html b/20_fa.html new file mode 100644 index 000000000..a6978e316 --- /dev/null +++ b/20_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From Block Expressions

+

if, match, functions, and scope blocks all have a unique way of returning values in Rust.

+

If the last statement in an if, match, function, or scope block is an expression without +a ;, Rust will return it as a value from the block. This +is a great way to create concise logic that returns a value that can be put into +a new variable.

+

Notice that it also allows an if statement to operate like a concise ternary expression.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_fi.html b/20_fi.html new file mode 100644 index 000000000..0268c8790 --- /dev/null +++ b/20_fi.html @@ -0,0 +1,52 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Palautetaan Arvoja Blokkilausekkeesta

+

if, match, funktiot ja lohkokirjoitukset (scope blocks) kaikki tarjoavat oman tavan palauttaa arvoja Rustissa.

+

Jos viimeinen lauseke if, match, funktiossa tai lohkokomentorivistä on lauseke ilman +;, Rust palauttaa sen arvon lohkosta. Tämä +on loistava tapa luoda tiivis logiikka, joka palauttaa arvon, joka voidaan sijoittaa +uuteen muuttujaan.

+

Huomaa, että se mahdollistaa myös if-lauseen toimimisen tiiviinä ternäärisenä lausekkeena.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_fr.html b/20_fr.html new file mode 100644 index 000000000..dca6ad3f0 --- /dev/null +++ b/20_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retourner des valeurs avec des blocs d'instructions

+

if,match, les fonctions et les blocs d'instructions ont tous +une manière unique de retourner des valeurs avec Rust.

+

Si la dernière instruction d'un if, d'un match, d'une fonction ou d'un bloc d'instructions +se termine sans ;, alors Rust retournera le résultat de l'exécution de cette dernière ligne +en tant que valeur. C'est un moyen élégant de créer une logique conçise qui retourne +une valeur qu'on pourra ensuite stocker dans une variable.

+

Note que cela permet également l'instruction if de se comporter comme une expression ternaire.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_gr.html b/20_gr.html new file mode 100644 index 000000000..43079c439 --- /dev/null +++ b/20_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Επιστροφή τιμών από φραγμένες εκφράσεις

+

Το if, το match, οι συναρτήσεις, και τα φράγματα κώδικα έχουν όλα στη Rust ένα μοναδικό τρόπο να επιστρέφουν τιμές. Το if λοιπόν μπορεί να χρησιμοποιηθεί στη θέση αυτού που άλλες γλώσσες αποκαλούν «τριαδικό τελεστή».

+

Σημείωση: «Φράγμα» κώδικα θεωρείται οτιδήποτε οριοθετείται από άγκιστρα: {}, επειδή δεν αφήνει στον υπόλοιπο κώδικα να βλέπει τις μεταβλητές που ορίζονται εσωτερικά του. Γι' αυτόν το λόγο καλείται ενίοτε και «φράγμα ορατότητας».

+

Αν η τελευταία έκφραση ενός φράγματος if, match, συνάρτησης, ή σκέτου {} είναι μία έκφραση χωρίς ; στο τέλος, η Rust θα το επιστρέψει ως τιμή από το φράγμα αυτό. Αυτό είναι ένας θαυμάσιος τρόπος να δημιουργήσετε συνοπτική λογική που επιστρέφει μία τιμή που μπορεί να τοποθετηθεί σε μία νέα μεταβλητή.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_hu.html b/20_hu.html new file mode 100644 index 000000000..390efc209 --- /dev/null +++ b/20_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Értékkel való visszatérés blokk kifejezésekből

+

Az if, a match, a függvények és a változók hatásköreit jelző blokkok mind képesek értékkel +visszatérni a Rust nyelvben.

+

Ha ezekben az utolsó utasítás egy nem ;-vel lezárt kifejezés, akkor a Rust automatikusan +visszatér ennek az értékével. Ez remek arra, hogy tömör logikai kifejezéseket írhassunk, melyek +ezután változókba kerülnek.

+

Figyeljük meg, hogy ennek segítségével az if utasítást használhatjuk úgy, mint más nyelvekben +a feltétel ? ha_igaz : ha_hamis operátort.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_id.html b/20_id.html new file mode 100644 index 000000000..bf37fd47a --- /dev/null +++ b/20_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mengembalikan Nilai dari Expresi Blok

+

if, match, fungsi, dan blok scope semua mempunyai sebuah hal unik untuk mengembalikan nilai di dalam Rust.

+

Jika statement terakhir di dalam if, match, fungsi, atau blok scope adalah tanpa menggunakan ;, maka Rust akan mengembalikan nilai tersebut dari blok. Ini merupakan cara yang bagus untuk membuat sebuah logika ringkas yang mengembalikan sebuat nilai yang dapat dimasukkan ke dalam sebuah variabel.

+

Perhatikan bahwa hal tersebut juga memperbolehkan kita menggunakan if statement layaknya expresi ternary.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ie.html b/20_ie.html new file mode 100644 index 000000000..1691e5fb9 --- /dev/null +++ b/20_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornar valores de bloc-expressiones

+

if,match, functiones, e cadre-blocs omni possede un maniere unic por retornar valores in Rust.

Si li ultim declaration in un bloc if, functiones, o cadre-bloc es un expression sin un ;, Rust va retornar it quam un valore ex li bloc. To-ci es un bonissim maniere de crear logic concis quel retorna un valore quem on posse plazzar in un nov variabile.

Ples notar que to possibilisa que un declaration if opera quam un expression ternari concis. +

+
+
+ +
+
+ + \ No newline at end of file diff --git a/20_it.html b/20_it.html new file mode 100644 index 000000000..744db7ffc --- /dev/null +++ b/20_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Restituire valori da un blocco espressione

+

in Rust le istruzioni if, match, le funzioni, e i blocchi di scope hanno la possibilità di restituire valori.

+

Se l'ultima istruzione in una if, match, funzione, o blocco è una espressione senza ;, Rust la ritornerà come risultato del blocco. Questo è un bel modo per creare costrutti logici concisi che ritornano un valore che a sua volta potrà essere messo in una nuova variabile.

+

Nota che questo permette all'istruzione if di funzionare come un'espressione ternaria.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ja.html b/20_ja.html new file mode 100644 index 000000000..9b56b0cd4 --- /dev/null +++ b/20_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ブロック式から値を返す

+

ifmatch、関数、ブロックは、単一の方法で値を返すことができます。

+

ifmatch、関数、ブロックの最後が ; のない式であれば、戻り値として使用されます。 +これは値を返すための簡潔なロジックを作成するのに最適な方法で、その値は新しい変数に入れることができます。

+

また、if 文を三項演算子のように使用できることにも注目してください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ko.html b/20_ko.html new file mode 100644 index 000000000..7a7ebcf4b --- /dev/null +++ b/20_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

블록 표현에서 값 리턴하기

+

Rust에서 if, match, 함수, 그리고 범위 블록은 모두 고유의 값 리턴 방식을 갖고 있습니다.

+

if, match, 함수, 또는 범위 블록의 마지막 구문에 ';'가 없다면 +Rust는 그 값을 블록의 리턴 값으로 간주합니다. +이는 새 변수에 할당할 값을 리턴하는 간단한 로직을 생성하는데 아주 좋은 방법입니다.

+

if 구문을 간단한 3항 연산자처럼 쓸 수도 있다는 점 눈여겨 보세요.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ne.html b/20_ne.html new file mode 100644 index 000000000..8d97cf0ea --- /dev/null +++ b/20_ne.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Returning Values From Block Expressions

+

if, match, functions, and scope blocks all have a unique way of returning values in Rust.

+

If the last statement in an if, match, function, or scope block is an expression without +a ;, Rust will return it as a value from the block. This +is a great way to create concise logic that returns a value that can be put into +a new variable.

+

Notice that it also allows an if statement to operate like a concise ternary expression.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_pl.html b/20_pl.html new file mode 100644 index 000000000..548374787 --- /dev/null +++ b/20_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Wartości z Bloków Wyrażeniowych

+

Bloki if, match, funkcji oraz zakresów - w Ruscie wszystkie one mają swoje własne sposoby na zwracanie wartości.

+

Ostatnie wyrażenie bloku if, match czy bloku funkcji lub zakresu może być wyjątkowo niezakończone średnikiem ;. W takim wypadku Rust zinterpretuje to jako wyrażenie które zwraca wartość bloku.

+

Takie zwracanie wartości przez ominięcie średnika stanowi prosty sposób na zwiększenie czytelności kodu. Zwrócona przez blok wartość może zostać przypisana do nowej wartości.

+

Zauważ, że pozwala to również na stworzenie z pomocą if czegoś co przypomina zwięzłą wersję klasycznego wyrażenia trójskładnikowego (ternary expression).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_pt-br.html b/20_pt-br.html new file mode 100644 index 000000000..8406829d5 --- /dev/null +++ b/20_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando Valores de um Bloco de Códígo

+

if, match, funções e blocos de código têm maneiras únicas de retornar valores em Rust.

+

Se a última instrução de um if, match, função ou bloco de código for uma expressão sem ;, o Rust vai retorná-la como um valor do bloco.

+

Esta é uma ótima maneira de criar uma lógica concisa que retorna um valor que pode ser atribuída a uma nova variável.

+

Note isso também permite que o operador if funcione como uma expressão ternária concisa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ro.html b/20_ro.html new file mode 100644 index 000000000..151a8dd7e --- /dev/null +++ b/20_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea unor valori din expresii bloc

+

if-urile, match-urile, funcțiile și domeniile bloc au un mod unic de a returna valori în Rust.

+

Dacă ultima instrucțiune din interiorul unui/unei if, match, funcții sau domeniu bloc este o expresie fără +;, Rust o va returna sub forma unei valori din acel bloc. Acesta +este un mod foarte bun de a crea o logică concisă care returnează o valoare care poate fi pusă într-o +variabilă nouă.

+

Observăm cum acest lucru permite unui if să funcționeze ca o expresie ternară concisă.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ru.html b/20_ru.html new file mode 100644 index 000000000..159f0e47d --- /dev/null +++ b/20_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возвращение значений из выражений блоков

+

if, match, функции и блоки видимости (scope blocks) - все имеют уникальный способ возвращать значение.

+

Если последняя инструкция в выражении if, match, функции или блоке видимости (scope block) не завершается символом ;, то Rust вернёт это значение +из данного блока. Это отличный способ создать краткую логику, которая +возвращает какое-то значение, не создавая новую функцию и сразу же присваивая +это значение новой переменной.

+

Примечание: если if имеет ветку else, его можно использовать как краткое тернарное выражение.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_th.html b/20_th.html new file mode 100644 index 000000000..2c3bb701b --- /dev/null +++ b/20_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การคืนค่าจาก Block Expressions

+

if, match, ฟังก์ชัน, และ กลุ่มคำสั่งในบล็อก ใน Rust ล้วนมีวิธีการคืนค่าที่ดูน่าสนใจ

+

หากว่าในคำสั่งสุดท้ายที่อยู่ในบล็อกของ if, match, ฟังก์ชัน หรือ กลุ่มคำสั่งในบล็อก เป็นคำสั่งที่ไม่มี ; +Rust จะส่งค่าในบรรทัดนั้นกลับไปเข้าตัวแปรได้เลย ซึ่งนี่มันทำให้ตรรกะที่เขียนดูกระชับและงดงามมาก

+

สังเกตดูจะพบว่า มันยอมให้ if เขียนอยู่ในรูปแบบ ternary expression ในบรรทัดเดียวได้ด้วย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_tr.html b/20_tr.html new file mode 100644 index 000000000..27c313187 --- /dev/null +++ b/20_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Blok İfadelerinden Değer Döndürmek

+

if, match, işlevler veya kapsam bloklarının her biri, Rust'ta değer döndürmenin benzersiz bir yoludur.

+

if, match, işlev veya ifade bloklarının son satırlarında, satır sonunu belirtecinin ; kullanılmaması, bu satırların işletilmesine ve elde edilen değerin döndürülmesine yol açar. Bu pratik kestirme elde edilen değerleri, yeni bir işleve ihtiyaç duymaksızın değişkenlere atamanın hızlı ve mantıklı bir yoludur.

+

Bu kestirme yöntemine dikkat ettiğinizde, if deyiminin tıpkı bir üçlü ifadeymişcesine kullanılabilir hale geldiğini görüyorsunuz değil mi?

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_ua.html b/20_ua.html new file mode 100644 index 000000000..f017424ce --- /dev/null +++ b/20_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення значень з блокових виразів

+

if, match, функції та блоки видимості (scope blocks) мають унікальний спосіб для повернення значень в Rust.

+

Якщо останній вираз в if, match, функцій чи блоків видимості без крапки з комою (;) - Rust поверне це значення з блоку.

+

Це чудовий спосіб створити короткий вираз для отримання значення, що може бути записаний в змінну.

+

Мусимо зазначити, що це також спосіб яким вираз if може бути використаний як тернарний оператор.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_vi.html b/20_vi.html new file mode 100644 index 000000000..b24253a41 --- /dev/null +++ b/20_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trả về giá trị từ những Block Expression

+

if, match, hàm, và các scope block(khối phạm vi) đều có một cách trả về giá trị duy nhất trong Rust.

+

Nếu lệnh cuối cùng trong if, match, hàm, hoặc scope block is là một lệnh không có ;, Rust sẽ trả về nó dưới dạng một giá trị từ khối. +Đây là một cách tuyệt vời để tạo ra một logic ngắn gọn trả về một giá trị có thể được đưa vào một biến mới.

+

Lưu ý rằng nó cũng cho phép một câu lệnh if hoạt động giống như một ternary expression(biểu thức bậc ba, biểu thức ba ngôi) ngắn gọn.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_zh-cn.html b/20_zh-cn.html new file mode 100644 index 000000000..51a588219 --- /dev/null +++ b/20_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

从块表达式返回值

+

ifmatch,函数,以及作用域块都有一种返回值的独特方式。

+

如果 ifmatch、函数或作用域块中的最后一条语句是不带 ; 的表达式, +Rust 将把它作为一个值从块中返回。这是一种创建简洁逻辑的好方法,它返回一个 +可以放入新变量的值。

+

注意,它还允许 if 语句像简洁的三元表达式一样操作。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/20_zh-tw.html b/20_zh-tw.html new file mode 100644 index 000000000..7a1fcbee9 --- /dev/null +++ b/20_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從區塊表達式回傳數值

+

在 Rust 裡,ifmatch、functions 及區塊範疇 (scope blocks) 都有一個獨特的方式用來回傳數值。

+

如果在 ifmatch、function 或是區塊範疇裡的最後一個敘述是一個表達式,而且它並沒有 ; 結尾, 那 Rust 將會從該區塊回傳該數值。 這是一個很棒的方式用來產生一段簡結的邏輯,將回傳數值指定給一個新的變量。

+

要注意 Rust 同時也允許 if 敘述可以用來當作簡潔的三元運算。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/21_al.html b/21_al.html new file mode 100644 index 000000000..34a3989f4 --- /dev/null +++ b/21_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitull 2 - Konkluzion

+

Shpresoj se kam treguar një paraqitje të shkurtër të fuqisë së Rustit edhe në shumicën e rasteve

+

veçoritë themelore të gjuhës. Do të flasim për "for" dhe

+

'match' edhe më në thellësi pasi fitojmë më shumë njohuri për këtë

+

mund të shfrytëzojnë aftësitë e tyre. Herën tjetër do të futemi në themelet e Rust

+

strukturat e data-ve.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_ar.html b/21_ar.html new file mode 100644 index 000000000..f953a625c --- /dev/null +++ b/21_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 2 - الخلاصة

+

آمل أن أكون قد أعطيتكم لمحة عن قوة رست (Rust) حتى في ميزات اللغة بدائية جدا. سوف نتكلم على من أجل for و مُطابقة match بشكل معمق حتى نكتسب المعرفة التي تمكننا من الاستفادة من قدراتهما. في المرة القادمة سوف نتناول هياكل البيانات الأساسية لـ Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_de.html b/21_de.html new file mode 100644 index 000000000..50f694543 --- /dev/null +++ b/21_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 2 Fazit

+

Was? Das war's schon?

+

Keine Bange, es gibt noch viel zu erforschen! +Insbesondere match wurde hier außer Acht gelassen, was viele mächtige Features beinhaltet, +dementsprechend aber auch etwas mehr Hintergrundwissen erfordert.

+

Im nächsten Kapitel werden wir uns dafür ein bisschen in die +Datenstrukturen (data structures) von Rust einarbeiten. Worauf warten wir noch?

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_en.html b/21_en.html new file mode 100644 index 000000000..11bc73b58 --- /dev/null +++ b/21_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Conclusion

+

Hopefully I've shown a glimpse of Rust's power even in the most +basic language features. We'll be talking about for and +match even more in depth as we gain more knowledge that +can utilize their capabilities. Next time we'll get into Rust's foundational data +structures.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_es.html b/21_es.html new file mode 100644 index 000000000..3e27d228c --- /dev/null +++ b/21_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Conclusión

+

Con esto ya hemos echado un vistazo a las características más básicas del lenguaje Rust. Hablaremos de for y match en más profundidad a medida que aumentemos nuestro conocimiento sobre cómo aplicar sus capacidades. Lo siguiente será adentrarnos en las estructuras de datos fundamentales de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_fa.html b/21_fa.html new file mode 100644 index 000000000..61962cdec --- /dev/null +++ b/21_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Conclusion

+

Hopefully I've shown a glimpse of Rust's power even in the most +basic language features. We'll be talking about for and +match even more in depth as we gain more knowledge that +can utilize their capabilities. Next time we'll get into Rust's foundational data +structures.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_fi.html b/21_fi.html new file mode 100644 index 000000000..1c54577b4 --- /dev/null +++ b/21_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kappale 2 - Päätelmä

+

Toivottavasti olen osoittanut Rustin voiman jo +peruskielen ominaisuuksissa. Puhumme for:sta ja +match:sta vielä syvällisemmin, kun saamme lisää tietoa, joka +voi hyödyntää niiden ominaisuuksia. Seuraavaksi käsittelemme Rustin perustietorakenteita.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_fr.html b/21_fr.html new file mode 100644 index 000000000..4839c0b3e --- /dev/null +++ b/21_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Conclusion

+

J'espère avoir montré un aperçu des fonctionnalités basiques de Rust dont certaines +se montrent très pratiques. Nous verrons plus en détails les instructions for et +match à mesure que nos connaissances de Rust augmentent. Par la suite, nous verrons +les structures de données fondamentales de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_gr.html b/21_gr.html new file mode 100644 index 000000000..b8b0e98d9 --- /dev/null +++ b/21_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 2 - Κατάληξη

+

Ελπίζω να 'χουμε δείξει ένα τμήμα της δύναμης της Rust ακόμα και στα πιο βασικά γνωρίσματά της. Θα μιλήσουμε για το for και το match περισσότερο σε βάθος όπως αποκτούμε περισσότερη γνώση που μπορεί να χρησιμοποιήσει τις δυνατότητές τους. Αμέσως μετά θα μπούμε στις θεμελιώδεις δομές δεδομένων της Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_hu.html b/21_hu.html new file mode 100644 index 000000000..e1901eb8a --- /dev/null +++ b/21_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2. Fejezet - Konklúzió

+

Remélhetőleg ezzel sikerült egy kis betekintést nyújtanom a Rust alapvető képességeibe és az +ezekben megbúvó erőbe. A későbbiekben még több szót is ejtünk a for-ról és a match-ről, +amint eleget tanultunk ahhoz, hogy az előzőleg átvetteknél bonyolultabb képességeiket is +hasznosítani tudjuk.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_id.html b/21_id.html new file mode 100644 index 000000000..0d6cf4cef --- /dev/null +++ b/21_id.html @@ -0,0 +1,45 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bab 2 - Kesimpulan

+

Saya berharap bahwa saya telah memperlihatkan sekilas kekuatan dari Rust bahkan pada fitur dasar dari bahasa pemprograman. Kita akan membicarakan tentang for dan match lebih lanjut secara mendalam sambil kita mendapatkan pengetahuan yang dapat memfaatkan kemampuan mereka. Selanjutkan kita akan masuk pada data struktur dasar pada Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_ie.html b/21_ie.html new file mode 100644 index 000000000..123e05cf2 --- /dev/null +++ b/21_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 2 - Conclusion

+

Vi li tot contenete til nu in li capitul! Yo espera har monstrat te un poc pri li potentie de Rust quel trova se mem in li declarationes max basic. Noi va parlar mem plu detalliatmen pri for e match durant que nor conossentie augmenta se pri qualmen utilisar lor capabilitás. Por li proxim vez, noi va conossentar nos pri li fundamental data-structuras de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_it.html b/21_it.html new file mode 100644 index 000000000..881467298 --- /dev/null +++ b/21_it.html @@ -0,0 +1,46 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 2 - Conclusione

+

Spero di averti mostrato un pochino della potenza di Rust, già dalle sue caratteristiche basilari. Approfondiremo maggiormente for e match man mano che acquisiremo conoscenze che ci permetteranno di sfruttare le loro potenzialità. +Nel prossimo capitolo inizieremo a parlare delle strutture dati fondamentali di Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_ja.html b/21_ja.html new file mode 100644 index 000000000..a92fa055f --- /dev/null +++ b/21_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 2 章 - まとめ

+

基本的な言語機能においても、Rust の力を垣間見ることができたでしょうか。 +今後は formatch について、その能力を活用できるように知識を深めながら、進めていきます。 +次回は Rust の基礎となるデータ構造に入ります。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_ko.html b/21_ko.html new file mode 100644 index 000000000..443d994e1 --- /dev/null +++ b/21_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2장 - 마무리

+

가장 기초적인 기능이었지만 Rust의 강력함을 맛보셨길 바랍니다. +formatch에 대해서는 이들을 활용할 지식을 더 얻게 됨에 따라 +훨씬 더 자세히 살펴보도록 하겠습니다. +다음 번에는 Rust의 기본 데이터 구조에 대해 배우겠습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_ne.html b/21_ne.html new file mode 100644 index 000000000..2d011eb2e --- /dev/null +++ b/21_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 2 - Conclusion

+

Hopefully I've shown a glimpse of Rust's power even in the most +basic language features. We'll be talking about for and +match even more in depth as we gain more knowledge that +can utilize their capabilities. Next time we'll get into Rust's foundational data +structures.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_pl.html b/21_pl.html new file mode 100644 index 000000000..7e7be03de --- /dev/null +++ b/21_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 2 - Podsumowanie

+

Pomimo, że póki co nadal skupiamy się na podstawach mam nadzieję, że udało mi się przedstawić Tobie część wyjątkowych możliwości Rusta i jego silnych stron.

+

W miarę jak wejdziemy głębiej w arkana tego języka, będziemy powracać do przedstawionych w tym rozdziale wyrażeń for oraz match. Mają nam one bowiem znacznie więcej do zaoferowania niż zdążyliśmy sobie opowiedzieć do tej pory.

+

W następnym rozdziale przyjrzymy się podstawowym strukturom w Ruscie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_pt-br.html b/21_pt-br.html new file mode 100644 index 000000000..4c0c920b1 --- /dev/null +++ b/21_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Conclusão

+

Espero ter mostrado um vislumbre do poder de Rust, mesmo nos recursos mais básicos de linguagem. Nós iremos falar do for e match com mais profundidade à medida que formos adquirindo mais conhecimento para aproveitar os seus recursos. A seguir entraremos nos fundamentos das estruturas de dados do Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_ro.html b/21_ro.html new file mode 100644 index 000000000..5f44687c2 --- /dev/null +++ b/21_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 2 - Concluzie

+

Sper că v-am arătat o părticică din puterea Rust-ului chiar și prin cele mai +simple caracteristici ale unui limbaj de programare. Vom vorbi despre for și +match și mai mult pe măsură ce acumulăm mai multe cunoștințe care +ne pot ajuta să ne folosim de capabilitățile lor. În cele ce urmează o să aruncăm o privire peste structurile de date fundamentale +din Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_ru.html b/21_ru.html new file mode 100644 index 000000000..fee7b9716 --- /dev/null +++ b/21_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 2. Заключение

+

Надеюсь, я продемонстрировал силу Rust даже в самых базовых возможностях +языка. Мы будем говорить про for и match еще глубже, когда обретём больше +знаний, которые позволят применить больше возможностей языка. В следующий раз +мы перейдем к основополагающим структурам данных Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_th.html b/21_th.html new file mode 100644 index 000000000..f7e163877 --- /dev/null +++ b/21_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 2 - สรุป

+

หวังว่าฉันจะทำให้เห็นถึงความสามารถของ Rust ได้บ้าง แม้ว่าจะเป็นเพียงแค่เรื่องพื้นฐานที่สุด +และเราจะมาคุยเรื่อง for และ match กันให้ลึกกว่านี้ เมื่อเรามีความรู้มากพอที่จะ +ใช้มันได้เต็มความสามารถของมัน +ในตอนหน้า เราจะไปเรียนรู้ต่อในเรื่อง โครงสร้างข้อมูลพื้นฐานของ Rust กัน

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_tr.html b/21_tr.html new file mode 100644 index 000000000..934d1f681 --- /dev/null +++ b/21_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 2 - Sonuç

+

En temel özelliklerine şöyle bir göz atmakla bile, Rust'ın ne kadar güçlü ve yetenekli olduğunu fark ettiğinizi umuyorum. Rust hakkında bildiklerimiz çoğaldıkça, for ve match ifadeleri hakkında edindiğimiz bilgilerin derinleşeceğini söylemek istiyorum.

+

Sonraki bölümde Rust'ın temel veri yapılarını konuşacağız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_ua.html b/21_ua.html new file mode 100644 index 000000000..44da455df --- /dev/null +++ b/21_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 2 - Висновки

+

Маємо надію, що ми змогли показати вам силу Rust навіть в базових можливостях мови.

+

Ми ще розглянемо for та match в більш детально, як тільки отримаємо більше знань для розуміння їх можливостей.

+

В наступному розділі ми поговоримо про основні структури даних в Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_vi.html b/21_vi.html new file mode 100644 index 000000000..595e634ba --- /dev/null +++ b/21_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Tổng kết

+

Hy vọng rằng tớ đã cho bạn thấy một cái nhìn sơ lược về sức mạnh của Rust ngay cả trong các tính năng ngôn ngữ cơ bản nhất. +Chúng ta sẽ nói sâu hơn về formatch khi chúng ta có thêm kiến thức để có thể sử dụng khả năng của của các lệnh này. +Lần tới chúng ta sẽ đi sâu vào cấu trúc dữ liệu cơ bản của Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_zh-cn.html b/21_zh-cn.html new file mode 100644 index 000000000..cfdbb87f4 --- /dev/null +++ b/21_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章总结

+

希望即便是在最基本的语言特性中,我也已经向你展示了 Rust 的强大功能。 +我们将在后续章节更深入地讨论 formatch,因为我们将获得更多可以 +利用它们能力的知识。接下来,我们将讨论 Rust 的基本数据结构。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/21_zh-tw.html b/21_zh-tw.html new file mode 100644 index 000000000..1aba8d6a5 --- /dev/null +++ b/21_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 總結

+

希望即使是最基本的語言特性,我也讓你一瞥 Rust 的力量。 我們將會更深入的探討 formatch,以取得更多相關知識進而利用它們的能力。 下一章節我們會進入 Rust 的基本資料結構 (data structures)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/23_al.html b/23_al.html new file mode 100644 index 000000000..8304ac4f3 --- /dev/null +++ b/23_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Strukturat

+

Një "struktur" është një koleksion fushash.

+

Një fushë është thjesht një vlerë e të dhënave e lidhur me një strukturë të dhënash. Vlera e saj + mund të jetë i një lloji primitiv ose një strukturë të dhënash.

+

Përkufizimi i saj është si një plan për një përpilues se si të vendoset + fusha në kujtesë pranë njëra-tjetrës.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_ar.html b/23_ar.html new file mode 100644 index 000000000..d522f1a01 --- /dev/null +++ b/23_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الهياكل (Structures)

+

الهيكل (struct) هو مجموعة من الحقول (fields).

+

الحقل (field) هو بكل بساطة قيمة بيانات مرتبطة بهيكل البيانات (data structure). ويمكن أن تكون قيمة هذه البيانات من النوع البدائي (primitive type) أو هيكل بيانات (data structure).

+

يمكن تعريفه كمخطط (blueprint) من أجل المترجم (compiler) يوضح له كيفية تَرتِيب وتنظيم الحقول في الذاكرة بالقرب من بعضها البعض.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_de.html b/23_de.html new file mode 100644 index 000000000..fcd207d51 --- /dev/null +++ b/23_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Strukturen

+

Ein struct (dt. "Struktur") ist eine Ansammlung von fields (dt. Feldern).

+

Ein field ist ein Wert, der mit einer Datenstruktur assoziiert wird. Dies kann ein primitiver Datentyp oder ein weiteres struct sein.

+

Die Definition eines structs ist wie ein Entwurf für den Compiler, der ihm besagt, welche Felder im Speicher zueinander gehören.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_en.html b/23_en.html new file mode 100644 index 000000000..5fc635c41 --- /dev/null +++ b/23_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures

+

A struct is a collection of fields.

+

A field is simply a data value associated with a data structure. Its value can be of a primitive type or a data structure.

+

Its definition is like a blueprint for a compiler on how to layout the fields in memory nearby each other.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_es.html b/23_es.html new file mode 100644 index 000000000..c66cf11b7 --- /dev/null +++ b/23_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estructuras

+

Una estructura struct es una colección de campos.

+

Un campo es simplemente un valor de datos asociado a una estructura de datos. Su valor puede ser de tipo primitivo o una estructura de datos.

+

Su definición es como una plantilla para el compilador sobre cómo disponer los campos en memoria cerca unos de otros.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_fa.html b/23_fa.html new file mode 100644 index 000000000..2e0e213cc --- /dev/null +++ b/23_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures

+

A struct is a collection of fields.

+

A field is simply a data value associated with a data structure. Its value can be of a primitive type or a data structure.

+

Its definition is like a blueprint for a compiler on how to layout the fields in memory nearby each other.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_fi.html b/23_fi.html new file mode 100644 index 000000000..9e31abd6b --- /dev/null +++ b/23_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Structures

+

A struct is a collection of fields.

+

A field is simply a data value associated with a data structure. Its value can be of a primitive type or a data structure.

+

Its definition is like a blueprint for a compiler on how to layout the fields in memory nearby each other.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_fr.html b/23_fr.html new file mode 100644 index 000000000..a35d5964b --- /dev/null +++ b/23_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures

+

Une structure est une collection de champs. On crée une structure avec le mot clé struct.

+

Un champs est simplement un élément contenant une valeur et qui est associé à une structure de données. +Sa valeur peut être un type primitif ou une autre structure de données.

+

Sa définition est comme un plan pour le compilateur sur l'agencement des données en mémoire. +Celles-ci seront placées à proximité les unes des autres.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_gr.html b/23_gr.html new file mode 100644 index 000000000..2d258b5ea --- /dev/null +++ b/23_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Δομές

+

Μία δομή (struct) είναι μία συλλογή από πεδία.

+

Ένα πεδίο είναι απλώς μία τιμή δεδομένων συσχετισμένη με μία δομή δεδομένων. Η τιμή της μπορεί να είναι είτε κάποιος θεμελιώδης τύπος είτε μία άλλη δομή δεδομένων.

+

Ο ορισμός μίας δομής είναι σαν ένα σχεδιάγραμμα για το μεταφραστή για το πώς να κατανείμει τα πεδία της το ένα δίπλα στο άλλο.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_hu.html b/23_hu.html new file mode 100644 index 000000000..72277e6cc --- /dev/null +++ b/23_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktúrák

+

A struct egy mezőkból álló gyűjtemény.

+

Egy mező pedig szimplán egy érték, ami az adatstruktúrához van rendelve. Ez lehet egy primitív +tipus vagy egy másik adatszerkezet.

+

Olyasmi módon érdemes gondolni rá, mint egy "tervrajz" a fordító számára, aminek segítségével +képes a különböző mezőket elhelyezni a memóriában.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_id.html b/23_id.html new file mode 100644 index 000000000..e248acb72 --- /dev/null +++ b/23_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Structures

+

A struct is a collection of fields.

+

A field is simply a data value associated with a data structure. Its value can be of a primitive type or a data structure.

+

Its definition is like a blueprint for a compiler on how to layout the fields in memory nearby each other.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_ie.html b/23_ie.html new file mode 100644 index 000000000..c76e85b77 --- /dev/null +++ b/23_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuras

+

Un struct es un colection de fields (campes).

+

Un field es simplicmen un valore de data asociat a un data-structura. Su valore posse esser un tip primitiv o un data-structura.

+

Su definition es simil a un plan por li compilator pri qualmen plazzar li campes in memorie proxim unaltru.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_it.html b/23_it.html new file mode 100644 index 000000000..e6bdb677a --- /dev/null +++ b/23_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Le Struct

+

Un tipo di dato struct è un insieme di campi.

+

Un campo è semplicemente un dato contenuto nella struttura. Il suo valore può essere di un tipo dati primitivo oppure a sua volta di un'altra struttura.

+

La definizione di una struct è come un modello per il compilatore, da seguire per stabilire come i campi sono posizionati in memoria l'uno rispetto all'altro.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_ja.html b/23_ja.html new file mode 100644 index 000000000..958a7cdf4 --- /dev/null +++ b/23_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

構造体

+

一つの struct はフィールドの集合です。

+

フィールド とはデータ構造とキーワードを紐付ける値です。その値はプリミティブ型かデータ構造を指定可能です。

+

その定義はメモリ上で隣合うデータの配置をコンパイラに伝える設計図の様なものです。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_ko.html b/23_ko.html new file mode 100644 index 000000000..fca295bec --- /dev/null +++ b/23_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

구조체

+

struct는 필드(field)들의 collection입니다.

+

field는 간단하게 데이터 구조에 연관된 데이터 값입니다. 이 값은 기본 자료형이나 데이터 구조일 수 있습니다.

+

이 정의는 메모리 상에 field들을 어떻게 배치할지에 대한 컴파일러의 청사진과도 같습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_ne.html b/23_ne.html new file mode 100644 index 000000000..e3702021f --- /dev/null +++ b/23_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Structures

+

A struct is a collection of fields.

+

A field is simply a data value associated with a data structure. Its value can be of a primitive type or a data structure.

+

Its definition is like a blueprint for a compiler on how to layout the fields in memory nearby each other.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_pl.html b/23_pl.html new file mode 100644 index 000000000..8a69b0c96 --- /dev/null +++ b/23_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktury

+

Struktura oznaczona jako struct to zbiór pól.

+

Pole to zwyczajnie pewna wartość reprezentująca pewną strukturę danych. Wartość takiego pola może przyjmować postać prymitywnego typu wbudowanego lub innej struktury.

+

Definicja struktur pozwala nam stworzyć pewnego rodzaju plan budowy który zostanie później użyty przez kompilator w celu odpowiedniego ułożenia naszych struktur i ich pól w pamięci w wydajny sposób.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_pt-br.html b/23_pt-br.html new file mode 100644 index 000000000..b977a77b3 --- /dev/null +++ b/23_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estruturas

+

Uma estrutura struct é uma coleção de campos.

+

Um campo é simplesmente um valor de dado associado a uma estrutura de dados. Seu valor pode ser um tipo primitivo ou uma estrutura de dados.

+

Sua definição é como um modelo para o compilador sobre como organizar os campos na memória próximos uns dos outros.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_ro.html b/23_ro.html new file mode 100644 index 000000000..938c51aaf --- /dev/null +++ b/23_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuri

+

Un struct este o colecție de câmpuri (field-uri).

+

Câmpurile sunt pe scurt date asociate unei structuri. Valorile lor pot fi de tip primar sau o structură de date.

+

Definiția structurii este ca o matriță pentru compilator pentru a ști cum să aranjeze câmpurile în memorie într-un mod compact.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_ru.html b/23_ru.html new file mode 100644 index 000000000..cdb7e9bce --- /dev/null +++ b/23_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Структуры (Structures)

+

struct - это колекция полей.

+

field (поле) - это просто значение данных, которое содержится в структуре. Значение поля может быть примитивным типом или другой структурой данных. Первым идет указание имени поля, тип поля указывается через двоеточие, после объявления поля ставится запятая.

+

Определение структуры - это как чертеж для компилятора, который указывает компилятору на то, как поля должны быть расположены в памяти. Поля в структуре расположены в памяти один за другим (компилятор может менять их местами для оптимизаций).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_th.html b/23_th.html new file mode 100644 index 000000000..2a16dcbd9 --- /dev/null +++ b/23_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures

+

struct คือกลุ่มของฟิลด์

+

ฟิลด์ ก็คือข้อมูลธรรมดานี่แหล่ะ ที่รวมอยู่ในโครงสร้าง ซึ่งมันเป็นได้ตั้งแต่ ชนิดตัวแปรขั้นพื้นฐานที่สุด +หรืออาจจะเป็นโครงสร้างอีกตัวซ้อนกันก็ได้

+

การนิยามสิ่งนี้ ก็เหมือนกับพิมพ์เขียวให้คอมไฟเลอร์รู้ว่าฟิล์ดพวกนี้จะวางอยู่ติดกันในหน่วยความจำ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_tr.html b/23_tr.html new file mode 100644 index 000000000..9209bb358 --- /dev/null +++ b/23_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yapılar

+

Dilimize yapı olarak çevirebileceğimiz struct veri alanlarından oluşan bir koleksiyondur.

+

Yapının veri alanlarına gelince onlar, bir veri türü ile ilişkilendirilmiş değerlerden oluşabildiği gibi, temel türler, enum türleri yahut başka türleri temsil eden yapılardan da oluşabilir.

+

Derleyiciye açısından yapı tanımı ise, bellekteki alanların birbirine ne kadar yakın yerleştirileceğini belirten bir şemaya benzetilebilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_ua.html b/23_ua.html new file mode 100644 index 000000000..2afc58c4f --- /dev/null +++ b/23_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Структури

+

struct (структура) - це колекція полів.

+

field (поле) - це просто значення даних проасоційовані з структурою даних. Його значення може бути примітивом, чи структурою даних. Їх значення як креслення для компілятора, за яким той зможе зрозуміти як поля мають бути розміщені в памяті. Зазвичай вони розташовані одне за одним, але для оптимізації їх послідовність може бути змінена.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_vi.html b/23_vi.html new file mode 100644 index 000000000..2e119f910 --- /dev/null +++ b/23_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kiểu cấu trúc

+

Một Struct là một tập hợp các thuộc tính(field, hoặc có thể gọi là các trường).

+

Một field chỉ đơn giản là một giá trị dữ liệu được liên kết với một cấu trúc dữ liệu. Giá trị của nó có thể là một kiểu nguyên thủy hoặc cũng là một cấu trúc dữ liệu.

+

Định nghĩa của nó giống như một bản thiết kế cho một trình biên dịch về cách bố trí các trường trong bộ nhớ gần nhau.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_zh-cn.html b/23_zh-cn.html new file mode 100644 index 000000000..286ac98a8 --- /dev/null +++ b/23_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

结构体

+

一个 struct 就是一些字段的集合。

+

字段是一个与数据结构相关联的数据值。它的值可以是基本类型或结构体类型。

+

它的定义就像给编译器的蓝图,告诉编译器如何在内存中布局彼此相邻的字段。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/23_zh-tw.html b/23_zh-tw.html new file mode 100644 index 000000000..90fb26f1e --- /dev/null +++ b/23_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

結構 (structures)

+

一個 struct 是一群欄位 (field) 的集合。

+

一個欄位 (field) 就只是一個在結構裡的數值。它的數值可以是最原始的型別,也可以是另一種資料結構。

+

它的定義就像是一張藍圖一樣,讓編譯器 (compiler) 可以在記憶體裡畫出欄位之間如何擺放。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_al.html b/24_al.html new file mode 100644 index 000000000..cc392913d --- /dev/null +++ b/24_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metodat e thirrjes

+

Ndryshe nga funksionet, metodat janë funksione të lidhura me një të dhënë specifike + lloji.

+

metodat statike — metodat që i përkasin një lloji vetvete thirren duke përdorur + operatorin ::.

+

metodat e shembullit — metodat që i përkasin një shembulli të një lloji + thirren duke përdorur operatorin ..

+

Ne do të flasim më shumë për krijimin e metodave tuaja në kapitujt e ardhshëm.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ar.html b/24_ar.html new file mode 100644 index 000000000..e3ef05c45 --- /dev/null +++ b/24_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إستدعاء التوابع (Methods)

+

على عكس الدوال (functions)، فإن التوابع (methods) هي دوال مرتبطة بنوع بيانات محدد.

+

التوابع الساكنة static methods — وهي توابع (methods) تنتمي الى النوع نفسه ويتم استدعاؤها باستخدام العامل ::.

+

توابع المثيل instance methods — وهي توابع (methods) تنتمي الى مثيل النوع (instance of a type) ويتم استدعاؤها باستخدام العامل ..

+

سنتحدث أكثر عن طريقة بناء توابع (methods) خاصة بناء في الفصول القادمة.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_de.html b/24_de.html new file mode 100644 index 000000000..bf2615099 --- /dev/null +++ b/24_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Methoden aufrufen

+

Einen feinen Unterschied zu Funktionen bilden Methoden. Methoden sind Erweiterungen zu Datentypen, +bzw. Funktionen die auf Datentypen anzuwenden sind.

+

statische Methoden - Methoden, die zum Datentyp selber assoziiert sind. Werden mit dem :: Operator aufgerufen.

+

instanz Methoden (instance methods) - Methoden, die bei einer Instanz (oder Objekt) mit dem . Operator aufgerufen werden können.

+

Wir werden im späteren Verlauf sehen, wie wir selber Methoden erstellen können.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_en.html b/24_en.html new file mode 100644 index 000000000..6ed80a854 --- /dev/null +++ b/24_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Calling Methods

+

Unlike functions, methods are functions associated with a specific data type.

+

static methods — methods that belong to a type itself are called using the :: operator.

+

instance methods — methods that belong to an instance of a type are called using the . operator.

+

We will talk more on making your own methods in future chapters.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_es.html b/24_es.html new file mode 100644 index 000000000..3d6dcf97d --- /dev/null +++ b/24_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Llamadas a Métodos

+

A diferencia de las funciones, los métodos son funciones asociadas con un tipo de datos específico.

+

Métodos estáticos — los métodos que pertenecen a un tipo determinado se llaman usando el operador ::.

+

Métodos de instancia — los métodos que pertenecen a una instancia de un tipo se llaman usando el operador ..

+

Hablaremos de cómo hacer tus propios métodos en próximos capítulos.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_fa.html b/24_fa.html new file mode 100644 index 000000000..eacdcae01 --- /dev/null +++ b/24_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Calling Methods

+

Unlike functions, methods are functions associated with a specific data type.

+

static methods — methods that belong to a type itself are called using the :: operator.

+

instance methods — methods that belong to an instance of a type are called using the . operator.

+

We will talk more on making your own methods in future chapters.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_fi.html b/24_fi.html new file mode 100644 index 000000000..377bff429 --- /dev/null +++ b/24_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Calling Methods

+

Unlike functions, methods are functions associated with a specific data type.

+

static methods — methods that belong to a type itself are called using the :: operator.

+

instance methods — methods that belong to an instance of a type are called using the . operator.

+

We will talk more on making your own methods in future chapters.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_fr.html b/24_fr.html new file mode 100644 index 000000000..641042b1e --- /dev/null +++ b/24_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Appel de méthodes

+

A la différence des fonctions que nous avons vu précédemment, les méthodes sont +des fonctions associées à un type de donnée spécifique.

+

méthodes statiques — méthodes qui appartiennent au type même et sont appelées avec l'opérateur ::

+

méthodes d'instance — méthodes qui appartiennent à l'instance d'un type et sont appelées avec l'opérateur .

+

Nous verrons comment créer tes propres méthodes dans de futurs chapitres.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_gr.html b/24_gr.html new file mode 100644 index 000000000..42aa71300 --- /dev/null +++ b/24_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κλήση μεθόδων

+

Σε αντίθεση με τις απλές συναρτήσεις, οι μέθοδοι είναι συναρτήσεις συσχετισμένες με έναν συγκεκριμένο τύπο δεδομένων.

+

Οι στατικές μέθοδοι είναι αυτές που ανήκουν στον τύπο καθ' αυτό, και καλούνται με τον τελεστή ::.

+

Οι μέθοδοι μεταβλητών είναι αυτές που ανήκουν σε μία συγκεκριμένη μεταβλητή αυτού του τύπου, και καλούνται με τον τελεστή ..

+

Σε μετέπειτα κεφάλαια θα μιλήσουμε για το πώς φτιάχνουμε δικές μας μεθόδους.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_hu.html b/24_hu.html new file mode 100644 index 000000000..e99d3cd9a --- /dev/null +++ b/24_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metódusok hívása

+

A sima függvényekkel ellentétben a metódusok olyan függvények, amik egy bizonyos adattípushoz +vannak rendelve.

+

statikus metódusok - Olyan metódusok, amik magához a típushoz vannak rendelve és a :: +operátorral érhetőek el.

+

példány metódusok - Olyan metódusok, amik egy típus egy-egy létrehozott példányához +tartoznak. Ezeket a . operátorral lehet elérni.

+

A metódusok létrehozásáról később lesz szó.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_id.html b/24_id.html new file mode 100644 index 000000000..e31b2d276 --- /dev/null +++ b/24_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Calling Methods

+

Unlike functions, methods are functions associated with a specific data type.

+

static methods — methods that belong to a type itself are called using the :: operator.

+

instance methods — methods that belong to an instance of a type are called using the . operator.

+

We will talk more on making your own methods in future chapters.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ie.html b/24_ie.html new file mode 100644 index 000000000..134d4df3c --- /dev/null +++ b/24_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Calling Methods

+

Need translation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_it.html b/24_it.html new file mode 100644 index 000000000..22787e4e0 --- /dev/null +++ b/24_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Invocare i Metodi

+

I metodi non sono normali funzioni, ma sono funzioni associate con un tipo dati specifico. Possiamo dividerli in:

+

metodi static — metodi che appartengono al tipo stesso (in altri linguaggi si chiamerebbero metodi di Classe) e vanno chiamati con l'operatore :: .

+

metodi instanza — metodi che appartengono all'instanza del tipo e sono chiamati con l'operatore .

+

Parleremo di come creare i propri metodi nei prossimi capitoli.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ja.html b/24_ja.html new file mode 100644 index 000000000..e4233d031 --- /dev/null +++ b/24_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メソッドの定義

+

関数(function)と違って、メソッド(method)は特定のデータ型と紐づく関数のことです。

+

スタティックメソッド - ある型そのものに紐付き、演算子 :: で呼び出せます。

+

インスタンスメソッド - ある型のインスタンスに紐付き、演算子 . で呼び出せます。

+

以降の章でまたメソッドの作り方について話します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ko.html b/24_ko.html new file mode 100644 index 000000000..c9ac11f8f --- /dev/null +++ b/24_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메소드 호출하기

+

함수와 달리, 메소드는 특정 데이터 자료형과 연관된 함수입니다.

+

스태틱 메소드(static methods) - 자료형 그 자체에 속하는 메소드로서, :: 연산자를 이용하여 호출함.

+

인스턴스 메소드(instance methods) - 자료형의 인스턴스에 속하는 메소드로서, . 연산자를 이용하여 호출함.

+

다가올 장에서 여러분만의 메소드를 만드는 법에 대해 살펴보겠습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ne.html b/24_ne.html new file mode 100644 index 000000000..d4b3b5922 --- /dev/null +++ b/24_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Calling Methods

+

Unlike functions, methods are functions associated with a specific data type.

+

static methods — methods that belong to a type itself are called using the :: operator.

+

instance methods — methods that belong to an instance of a type are called using the . operator.

+

We will talk more on making your own methods in future chapters.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_pl.html b/24_pl.html new file mode 100644 index 000000000..e634647ed --- /dev/null +++ b/24_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wywoływanie Metod

+

Metody to specjalny rodzaj funkcji, mianowicie takich które są przypisane do konkretnego typu.

+

metody statyczne — metody które należą do samego typu wywołujemy używając operatora podwójnego dwukropka ::.

+

metody instancji — metody przynależące to konkretnej instancji danego typu wywołujemy za pomocą operatora kropki ..

+

Więcej na temat tworzenia własnych metod powiemy w przyszłym rozdziale.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_pt-br.html b/24_pt-br.html new file mode 100644 index 000000000..e3eabbd4a --- /dev/null +++ b/24_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chamando Métodos

+

Diferentemente das funções, os métodos são uma função associada a um tipo de dados específico.

+

Métodos estáticos — os métodos que pertencem a um tipo determinado são chamados usando o operador ::.

+

Métodos de instância — os métodos que pertencem a uma instância de um tipo são chamados usando o operador ..

+

Falaremos mais sobre como criar seus próprios métodos nos próximos capítulos.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ro.html b/24_ro.html new file mode 100644 index 000000000..814bf485f --- /dev/null +++ b/24_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Apelarea metodelor

+

Spre deosebire de funcții, metodele sunt funcții asociate unui tip specific de date.

+

metode statice — metode care aparțin unui tip de date și sunt apelate folosind operatorul ::.

+

metode ale instanței — metode care aparțin unei instanțe a unui tip de date și sunt apelate folosind operatorul ..

+

Vom dezvolta acest concept, cu implementarea propriilor metode, în capitolele următoare.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ru.html b/24_ru.html new file mode 100644 index 000000000..23eba6fdb --- /dev/null +++ b/24_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Вызов методов

+

В отличие от функций, методы являются функциями, ассоциированные с определенным типом данных.

+

статические методы - это методы принадлежащие самому типу и вызываются с помощью оператора ::.

+

методы экземпляра — это методы, принадлежащие экземпляру объекта данного типа, вызываемые у экземпляра объекта через оператор ..

+

Мы поговорим о том, как создавать свои собственные методы в следующих главах.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_th.html b/24_th.html new file mode 100644 index 000000000..98ec3004f --- /dev/null +++ b/24_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การเรียกเมธอด

+

ข้อที่แตกต่างจากฟังก์ชันก็คือ เมธอดนั้นเป็นฟังก์ชันที่ เป็นส่วนหนึ่งของ ชนิดตัวแปรสักตัวแบบเฉพาะเจาะจง

+

static methods — คือเมธอดที่เป็นของชนิดตัวแปรเองเลย เรียกใช้ด้วยตัวดำเนินการ ::

+

instance methods — คือเมธอดที่เป็นของตัวแปร เรียกใช้ด้วยตัวดำเนินการ .

+

แล้วเราจะมาพูดเรื่องการสร้างเมธอดด้วยตัวเองกันอีกครั้งเร็วๆนี้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_tr.html b/24_tr.html new file mode 100644 index 000000000..beafbc3ae --- /dev/null +++ b/24_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çağrı Yöntemleri

+

Belirli bir veri türüyle ilişkilendirdiğimiz işlevlere yöntem adı veririz. Rust yöntemleri çağrılma şekillerine göre iki şekilde adlandırılır:

+

Statik yöntemler — Türün kendisine ait olan ve :: işleciyle çağrılan yöntemlerdir.

+

Örnek yöntemleri - Halihazırda oluşturulmuş bir tür örneğine ait olan ve . işleciyle çağrılan yöntemlerdir.

+

Kendi yöntemlerinizi nasıl oluşturacağımızı ilerleyen bölümlerde öğreneceğiz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_ua.html b/24_ua.html new file mode 100644 index 000000000..45af04811 --- /dev/null +++ b/24_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Виклик методів

+

На відміну від функцій, методи асоційовані з певним типом даних.

+
    +
  • статичні методи (static methods) - методи, які належать безпосередньо типу і можуть бути викликані через оператор ::.
  • +
  • методи екземплярів (instance methods) - методи, що належать екземпляру типа і викликаються через оператор ..
  • +
+

Про створення власних методів ми поговоримо в наступних розділах.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_vi.html b/24_vi.html new file mode 100644 index 000000000..8c0fa1dbd --- /dev/null +++ b/24_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gọi phương thức(Method)

+

Không giống như các hàm, các phương thức là các hàm được liên kết với một kiểu dữ liệu cụ thể.

+

static method - các phương thức thuộc về một kiểu được gọi bằng cách sử dụng toán tử ::.

+

instance methods - các phương thức thuộc về một thể hiện(instance) của một kiểu được gọi bằng cách sử dụng toán tử ..

+

Chúng ta sẽ nói nhiều hơn về việc tạo ra các phương thức của riêng bạn trong các chương sau.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_zh-cn.html b/24_zh-cn.html new file mode 100644 index 000000000..832f40be5 --- /dev/null +++ b/24_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

方法调用

+

与函数(function)不同,方法(method)是与特定数据类型关联的函数。

+

静态方法 — 属于某个类型,调用时使用 :: 运算符。

+

实例方法 — 属于某个类型的实例,调用时使用 . 运算符。

+

我们将在后续章节中更多地讨论如何创建自己的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/24_zh-tw.html b/24_zh-tw.html new file mode 100644 index 000000000..4fd9f5a5d --- /dev/null +++ b/24_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

呼叫方法 (method)

+

不同於函數 (function),方法 (method) 是有著特定資料型別的函數。

+

靜態方法 (static method):屬於型別自己本身的方法,使用 :: 來呼叫。

+

實體方法 (instance method):屬於某種型別的實體方法,使用 . 來呼叫。

+

後續章節我們將會探討更多關於如何產生你自己的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/25_al.html b/25_al.html new file mode 100644 index 000000000..5d2a0c8be --- /dev/null +++ b/25_al.html @@ -0,0 +1,64 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memorja

+

Programet Rust kanë 3 rajone memorie ku ruhen të dhënat:

+
    +
  • memoria e të dhënave - Për të dhënat që janë të fiksuara në madhësi dhe statike (d.m.th. +gjithmonë i disponueshëm gjatë gjithë jetës së programit). +Merrni parasysh tekstin në programin tuaj (p.sh. "Hello World!"): Bajtet e këtij teksti lexohen vetëm nga një vend +dhe për këtë arsye mund të ruhet në këtë rajon. Përpiluesit bëjnë shumë optimizime +me këtë lloj të dhënash, dhe ato përgjithësisht konsiderohen shumë të shpejta për t'u përdorur që nga ajo kohë +vendndodhjet janë të njohura dhe të fiksuara.
  • +
  • stack memorie - Për të dhënat që deklarohen si variabla brenda +funksionit. +Vendndodhja e kësaj memorie nuk ndryshon kurrë gjatë kohëzgjatjes së një thirrjeje funksioni; për shkak të këtij përpiluesit +mund të optimizojë kodin në mënyrë që të dhënat e grumbullimit të jenë shumë të shpejta për t'u aksesuar.
  • +
  • **Memorie grumbull ** - Për të dhënat që krijohen ndërsa aplikacioni është +ne vrapim. +Të dhënat në këtë rajon mund të shtohen, zhvendosen, hiqen, ndryshohen përmasat, etj. Për shkak të +natyres se tij dinamike përgjithësisht konsiderohet më e ngadaltë për t'u përdorur, por e lejon +për perdorime shumë më kreative të kujtesës. Kur të dhënat shtohen në këtë rajon ne +quajme atë një alokim. Kur të dhënat hiqen nga ky seksion, ne e quajmë atë a +shpërndarja/dealokim.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ar.html b/25_ar.html new file mode 100644 index 000000000..457720243 --- /dev/null +++ b/25_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الذاكرة (Memory)

+

تملك برامج رست (Rust) ثلاث مناطق ذاكرة أين يتم تخزين البيانات فيها:

+
    +
  • ذاكرة البيانات (data memory) - من أجل البيانات ثابتة الحجم و ساكنة (static) - على سبيل المثال: البيانات المتوفرة دائمًا طوال عمر البرنامج -. نأخذ مثلا النص الموجود في برنامجك مرحبا بالعالم ("Hello World!"): فبايتات (bytes) هذا النص يتم قراءتها إلا من مكان واحد وبالتالي يمكن تخزينها في هذه المنطقة. ويقوم مترجمو اللغة (Compilers) بالعديد من التحسينات على هذا النوع من البيانات وعلى العموم فالوصول الى هذه البيانات يعتبر سريعا جدا بإعتبار الموقع معلوم وثابت.
  • +
  • ذاكرة المكدس (stack memory) - وهي للبيانات التي تم التصريح عليها كمتغيرات ضمن دالة (function). وموقع هذه الذاكرة لا يتغير أبدا طوال مدة إستدعاء الدالة؛ ونظرا لهذا فإن مترجمي اللغة (Compilers) يستطيعون القيام بتحسين على الشيفرة البرمجية (code) . إذا حتى الوصول إلى البيانات في المكدس (stack) يكون سريع جدا. وترتب البيانات في المكدس (stack) على شكل قائمة خطية من العناصر.
  • +
  • ذاكرة الكومة (heap memory) - وهي للبيانات التي تم إنشاؤها خلال تشغيل التطبيق. يمكن إضافة (add) البيانات في هذه المنطقة، أو نقلها (moved)، أو إزالتها (removed)، أو تغيير حجمها (resized)، وما إلى ذلك. ونظرًا لطبيعتها الديناميكية، فإن الوصول اليها بشكل عام بطيء عند الاستخدام، ولكنها تسمح باستخدامات أكثر إبداعًا للذاكرة. عند إضافة البيانات إلى هذه المنطقة، فإننا نسميها تخصيصا (allocation). وعندما تتم إزالة البيانات من هذا القسم، فإننا نسميها إلغاء تخصيص (deallocation). وترتب البيانات في الكومة (heap) على شكل بنية شجرية.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_de.html b/25_de.html new file mode 100644 index 000000000..ee53c385d --- /dev/null +++ b/25_de.html @@ -0,0 +1,60 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Speicher

+

In Rust gibt es 3 unterschiedliche Speicher-Regionen:

+
    +
  • data memory (Datenspeicher) - Für Daten mit fester Größe und die statisch sind (zur Gesamtlebenszeit +eines Programms verfügbar). Nehmen wir beispielsweise festen Text her (z.B. "Hallo Welt"). Die Bytes in +diesem Schnipsel werden nur gelesen und sind bereits zur Kompilierzeit bekannt, daher kommen sie in den +Datenspeicher. Compiler können dementsprechend den Code optimieren und sind in der Laufzeit am schnellsten +"auszuwerten."
  • +
  • stack memory (Stackspeicher) - Variablen, die innerhalb einer Funktion deklariert werden. Während eines +Funktionsaufrufs ändert sich der Standort nicht. Wird eine weitere Funktion aufgerufen, werden die von der +Unterfunktion benötigen Variablen weiter auf den Stack gelegt. Erreicht man das Ende der Funktion, werden die +entsprechenden Variablen wieder vom Stack runtergenommen.
  • +
  • heap memory (Heapspeicher) - Speicher, der zur Laufzeit für Daten reserviert wird. In dieser Region kann +Speicher reserviert, bewegt, vergrößert, verkleinert und freigegeben werden. Dieses dynamische +Speichermanagement kann etwas mehr Zeit in Anspruch nehmen. Beim Reservieren spricht man von memory allocationt +(allozieren), beim Freigeben von memory deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_en.html b/25_en.html new file mode 100644 index 000000000..67d58fed5 --- /dev/null +++ b/25_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memory

+

Rust programs have 3 memory regions where data is stored:

+
    +
  • data memory - For data that is fixed in size and static (i.e. always available through life of program). +Consider the text in your program (e.g. "Hello World!"): This text's bytes are only ever read from one place +and therefore can be stored in this region. Compilers make lots of optimizations +with this kind of data, and they are generally considered very fast to use since +locations are known and fixed.
  • +
  • stack memory - For data that is declared as variables within a function. +The location of this memory never changes for the duration of a function call; because of this compilers +can optimize code so stack data is very fast to access.
  • +
  • heap memory - For data that is created while the application is running. +Data in this region may be added, moved, removed, resized, etc. Because of +its dynamic nature it's generally considered slower to use, but it allows +for much more creative usages of memory. When data is added to this region we +call it an allocation. When data is removed from this section we call it a +deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_es.html b/25_es.html new file mode 100644 index 000000000..8ff4823de --- /dev/null +++ b/25_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memoria

+

Los programas Rust tienen 3 regiones de memoria donde almacenar los datos:

+
    +
  • Data memory (o memoria de datos) - Para datos de tamaño fijo y estáticos (es decir, siempre disponibles a lo largo +de la vida del programa). Considera el texto del programa (por ejemplo, "¡Hola, Mundo!"), los bytes de este texto son de sólo +lectura, por lo tanto se almacenan en esta región. Los compiladores hacen muchas optimizaciones +con este tipo de datos, generalmente se consideran muy rápidos de usar ya que +las ubicaciones son conocidas y fijas.
  • +
  • stack memory (o memoria de pila) - Para los datos que se declaran como variables dentro de +una función. La ubicación de esta memoria nunca cambia durante la duración de la llamada a la función, debido a esto los +compiladores pueden optimizar el código para que los datos de la pila sean rápidos de usar.
  • +
  • heap memory (memoria de montículo o dinámica) - Para los datos que se crean mientras la aplicación se está ejecutando. +Los datos de esta región pueden ser añadidos, movidos, eliminados, redimensionados, etc. +Debido a su naturaleza dinámica, se considera generalmente más lento de usar, pero permite +usos mucho más creativos de la memoria. Cuando se añaden datos a esta región, lo llamamos +asignación. Cuando los datos se eliminan de esta sección lo llamamos desasignación.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_fa.html b/25_fa.html new file mode 100644 index 000000000..c615ce7fd --- /dev/null +++ b/25_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memory

+

Rust programs have 3 memory regions where data is stored:

+
    +
  • data memory - For data that is fixed in size and static (i.e. always available through life of program). +Consider the text in your program (e.g. "Hello World!"): This text's bytes are only ever read from one place +and therefore can be stored in this region. Compilers make lots of optimizations +with this kind of data, and they are generally considered very fast to use since +locations are known and fixed.
  • +
  • stack memory - For data that is declared as variables within a function. +The location of this memory never changes for the duration of a function call; because of this compilers +can optimize code so stack data is very fast to access.
  • +
  • heap memory - For data that is created while the application is running. +Data in this region may be added, moved, removed, resized, etc. Because of +its dynamic nature it's generally considered slower to use, but it allows +for much more creative usages of memory. When data is added to this region we +call it an allocation. When data is removed from this section we call it a +deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_fi.html b/25_fi.html new file mode 100644 index 000000000..1cc878b34 --- /dev/null +++ b/25_fi.html @@ -0,0 +1,61 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Memory

+

Rust programs have 3 memory regions where data is stored:

+
    +
  • data memory - For data that is fixed in size and static (i.e. always available through life of program). +Consider the text in your program (e.g. "Hello World!"): This text's bytes are only ever read from one place +and therefore can be stored in this region. Compilers make lots of optimizations +with this kind of data, and they are generally considered very fast to use since +locations are known and fixed.
  • +
  • stack memory - For data that is declared as variables within a function. +The location of this memory never changes for the duration of a function call; because of this compilers +can optimize code so stack data is very fast to access.
  • +
  • heap memory - For data that is created while the application is running. +Data in this region may be added, moved, removed, resized, etc. Because of +its dynamic nature it's generally considered slower to use, but it allows +for much more creative usages of memory. When data is added to this region we +call it an allocation. When data is removed from this section we call it a +deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_fr.html b/25_fr.html new file mode 100644 index 000000000..c1254f5e6 --- /dev/null +++ b/25_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mémoire

+

Un programme Rust possède 3 régions de mémoire où les données sont stockées:

+
    +
  • data memory (le segment de données) - Pour les données de taille fixe et statiques (i.e toujours +disponible pendant la vie du programme). Par exemple, considère le texte "Hello World!" +de ton tout premier programme Rust, les bytes représentant ce texte sont lu à un seul endroit +et par conséquent ils sont placés dans cette région. Le compilateur utilise de +nombreuses optimisations pour ce type de données, elles sont généralement +considérées très rapide d'utilisation car leur position en mémoire est connue +et fixe.
  • +
  • stack memory (la pile) - Pour les données qui sont déclarées comme variables dans une fonction. +La position de cette mémoire ne change jamais pendant la durée d'appel de cette fonction, +par conséquent les compilateurs peuvent optimiser le code pour rendre l'accès des données +sur la pile très rapide.
  • +
  • heap memory (le tas) - Pour les données qui sont créées lorsque l'application est en train de s'exécuter. +Les données dans cette région peuvent être ajoutées, déplacées, supprimées, redimensionnées, etc. +À cause de sa nature dynamique, c'est généralement considéré plus lent d'utilisation que la pile, mais +donne plus de contrôle sur l'utilisation de la mémoire. +On appelle allocation le fait d'ajouter des données à cette région et +désallocation le fait de les supprimer.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_gr.html b/25_gr.html new file mode 100644 index 000000000..54108d158 --- /dev/null +++ b/25_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μνήμη

+

Τα προγράμματα στη Rust έχουν 3 περιοχές μνήμης στις οποίες μπορεί να έχουν αποθηκευτεί δεδομένα:

+
    +
  • Μνήμη δεδομένων - Για δεδομένα που είναι πάγια σε μέγεθος και στατικά, ήτοι διεθέσιμα σε όλον το βίο του προγράμματος. Θεωρήστε το κείμενο στο πρόγραμμά σας, πχ «Γεια σου κόσμε!». Τα byte αυτού του κειμένου αναγιγνώσκονται μόνο από ένα μέρος, και άρα μπορούν ν' αποθηκευτούν στην περιοχή αυτή. Οι μεταφραστές κάνουν διάφορες βελτιστοποιήσεις με αυτού του τύπου τα δεδομένα, και γενικότερα θεωρούνται τάχιστα στη χρήση καθώς οι περιοχές τους είναι γνωστές και πάγιες.
  • +
  • Μνήμη στοίβας - Για δεδομένα που ορίζονται ως μεταβλητές μέσα σε μία συνάρτηση. Η τοποθεσία των δεδομένων αυτών στη μνήμη δεν αλλάζει ποτέ για τη διάρκεια της κλήσης μίας συνάρτησης· λόγω αυτού, οι μεταφραστές μπορούν να βελτιστοποιήσουν κώδικα ώστε τα δεδομένα στοίβας να είναι πολύ γρήγορα στην προσπέλαση.
  • +
  • Μνήμη σωρού - Για δεδομένα που δημιουργούνται ενώ η εφαρμογή τρέχει. Τα δεδομένα σ' αυτήν την περιοχή μπορούν να προσθαφαιρεθούν, να μετακινηθούν, να αυξομειωθούν σε μέγεθος κτλ. Λόγω της δυναμικής τους φύσης θεωρούνται γενικότερα πιο αργά στη χρήση, αλλά επιτρέπουν πολύ πιο δημιουργικές χρήσης της μνήμης. Όταν τα δεδομένα προστίθενται σ' αυτην την περιοχή θα το αποκαλούμε ανάθεση, ενώ όταν αφαιρούνται θα το αποκαλούμε αποδέσμευση.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_hu.html b/25_hu.html new file mode 100644 index 000000000..abc8cafba --- /dev/null +++ b/25_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memória

+

A Rust-ban írt programok háromféle memóriarégióban tárolják az adatokat:

+
    +
  • adat memória - A meghatározott mérettel rendelkező statikus (vagyis a program teljes +futási ideje alatt elérhető) adatai vannak itt tárolva. Ilyenek például a programodban +használt szövegek ("Helló Világ!"): A szöveg bájtjai csupán egy helyről vannak kiolvasva, +emiatt eltárolhatóak ebben a régióban. A fordítók sokféle optimalizációra képesek az itt +tárolt adatokkal, melyek emellé nagyon gyorsak is, hisz a helyük és méretük már a +fordításkor ismert és megváltoztathatatlan.
  • +
  • veremmemória - Ide kerülnek a függvényekben deklarált változók. Az itt tárolt adatok helye +nem változik a memóriában, így a fordító optimalizálhatja őket, emiatt nagyon gyors az +elérésük.
  • +
  • kupacmemória - Az alkalmazás futása közben létrejövő adatok helye. Az itt eltárolt +adatokhoz hozzá lehet adni, el lehet venni, mozgatni lehet, törölni, átméretezni, stb. Mivel +ennyire dinamikus, a használata lasabb mint az előző kettőé, cserébe sokkal kreatívabb +lehetőségeket biztosít a memória felhasználására. A kupachoz való hozzáadást +allokálásnak vagy foglalásnak, az eltávolítást pedig deallokálásnak vagy +felszabadításnak nevezzük.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_id.html b/25_id.html new file mode 100644 index 000000000..d78fa69ff --- /dev/null +++ b/25_id.html @@ -0,0 +1,61 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Memory

+

Rust programs have 3 memory regions where data is stored:

+
    +
  • data memory - For data that is fixed in size and static (i.e. always available through life of program). +Consider the text in your program (e.g. "Hello World!"): This text's bytes are only ever read from one place +and therefore can be stored in this region. Compilers make lots of optimizations +with this kind of data, and they are generally considered very fast to use since +locations are known and fixed.
  • +
  • stack memory - For data that is declared as variables within a function. +The location of this memory never changes for the duration of a function call; because of this compilers +can optimize code so stack data is very fast to access.
  • +
  • heap memory - For data that is created while the application is running. +Data in this region may be added, moved, removed, resized, etc. Because of +its dynamic nature it's generally considered slower to use, but it allows +for much more creative usages of memory. When data is added to this region we +call it an allocation. When data is removed from this section we call it a +deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ie.html b/25_ie.html new file mode 100644 index 000000000..9e647d1f1 --- /dev/null +++ b/25_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memorie

+

Programmas in Rust have 3 regiones de memorie ú es plazzat li data:

+
    +
  • data-memorie - Por data con un grandore fix e static (a saver, sempre disponibil durant li vive del programma). +Ples considerar li textu in tui programma (p.ex. "Salute Munde!"); li bytes de ti-ci textu es solmen leet e pro to +on plazza les in ti-ci loc. Li compilatores sovente optimisa ti tip data, on considera les rapidissim a usar pro que +lor locs es conosset e fix.
  • +
  • stack memory (cumul-memorie) - Por data declarat quam variabiles intra un function. Li loc de ti-ci memorie +ne changea se durant li duration del vocation de un function, e pro to li compilatores posse optimisar li code +por far data in li cumul rapid a utilisar.
  • +
  • heap memory (amasse-memorie) - Por data creat durant que li aplication execute se. Li data in ti-ci loc posse esser +adjuntet, movet, removet, mesurat, etc. Pro su natura dinamic on considera it plu lent a utilisar, ma it possibilisa +plu creativ usationes de memorie. Quande on adjunte data a ti-ci region on nomina it un alocation. Quande on remove data +de it on nomina it un dealocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_it.html b/25_it.html new file mode 100644 index 000000000..ce9ad2a2d --- /dev/null +++ b/25_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

La Memoria

+

I programmi Rust hanno 3 zone di memoria che possono contenere dati:

+
    +
  • memoria programma - Per i dati che hanno dimensione fissa e statici (cioè sempre accessibile per tutta la vita del programma). +Considera il testo nel programma (es. "Hello World!"): i byte di questo testo sono letti da un solo posto e quindi possono essere memorizzati in questo spazio. I compilatori eseguono molte ottimizzazioni su questi dati, e sono anche molto veloci da usare perchè la posizione è conosciuta e fissa.
  • +
  • memoria stack - Per i dati che sono dichiarati come variabili dentro una funzione. +L'indirizzo di questa zona di memoria non cambia mai per la durata della funzione; grazie a questa proprietà, il compilatore può ottimizzare il codice e quindi accedere più velocemente ai dati sullo stack.
  • +
  • memoria heap - Per i dati che vengono creati mentre l'applicazione sta girando. +In questa zona è possibile ingrandire, rimpicciolire, spostare, aggiungere o togliere dati; per via di questa natura dinamica è generalmente considerata più lenta nell'utilizzo, ma permette una enorme flessibilità nell'uso della memoria. Quando inseriamo dati in questa regione, parliamo di allocazione, mentre quando rimuoviamo dati avviene una deallocazione.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ja.html b/25_ja.html new file mode 100644 index 000000000..6ed880496 --- /dev/null +++ b/25_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メモリ

+

Rust のプログラムでは、データを保持するために次の3種類のメモリ空間を持っています。

+
    +
  • データメモリ - 固定長もしくは スタティック (例: プログラムのライフサイクルで常に存在するもの)なデータ。 +プログラム内の文字列(例: ‘Hello World’)、 この文字列のキャラクタは読み取りにしか使えないため、この領域に入ります。 +コンパイラはこういったデータに対してチューニングをしており、メモリ上の位置はすでに知られていてかつ固定であるため、非常に速く使うことができます。
  • +
  • スタックメモリ - 関数内で宣言された変数。 +関数が呼び出されている間は、メモリ上の位置は変更されることがないため、コンパイラからするとチューニングができるので、スタックメモリも非常に速くデータにアクセスできます。
  • +
  • ヒープメモリ - プログラムの実行時に作られるデータ。 +このメモリにあるデータは追加、移動、削除、サイズの調節などの操作が許されています。動的であるため、遅いと思われがちですが、 +これによりメモリの使い方に柔軟性を生み出すことができます。データをヒープメモリに入れることをアロケーション(allocation)といい、データをヒープメモリから削除することはディアロケーション(deallocation)と言います。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ko.html b/25_ko.html new file mode 100644 index 000000000..726f3566c --- /dev/null +++ b/25_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메모리

+

Rust 프로그램에는 데이터가 저장되는 세 가지의 메모리 영역이 있습니다:

+
    +
  • 데이터 메모리(data memory) - 크기가 고정 되었으며 static (i.e. 프로그램이 실행되는 동안 항상 사용 가능)한 데이터용. +프로그램의 텍스트를 생각해봅시다(예: "Hello World!"): 이 텍스트의 바이트들은 오직 한 곳에서만 읽히므로 +이 영역에 저장될 수 있습니다. 이런 종류의 데이터는 컴파일러가 많은 최적화를 하며, +위치가 알려져 있고 고정되어 있기 때문에 일반적으로 사용하기에 매우 빠르다고 여깁니다.
  • +
  • 스택 메모리(stack memory) - 함수 내에서 변수로 선언되는 데이터용. +이 메모리의 위치는 함수 호출 동안에는 절대 변하지 않기 때문에 컴파일러가 +코드를 최적화할 수 있으며, 이로 인해 접근하기에 매우 빠릅니다.
  • +
  • 힙 메모리(heap memory) - 애플리케이션이 실행되는 동안 생성되는 데이터용. +이 영역의 데이터는 추가하거나, 이동하거나, 제거하거나, 크기를 바꾸거나, 등을 +할 수 있습니다. 이런 동적 속성 때문에 일반적으로 사용하기에 느리다고 여기지만, +훨씬 더 창의적인 메모리 사용이 가능합니다. 데이터가 이 영역에 추가되면 +할당(allocation)이라고 부릅니다. 데이터가 이 영역에서 제거되면 해제(deallocation)라고 부릅니다.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ne.html b/25_ne.html new file mode 100644 index 000000000..f7b298125 --- /dev/null +++ b/25_ne.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Memory

+

Rust programs have 3 memory regions where data is stored:

+
    +
  • data memory - For data that is fixed in size and static (i.e. always available through life of program). +Consider the text in your program (e.g. "Hello World!"): This text's bytes are only ever read from one place +and therefore can be stored in this region. Compilers make lots of optimizations +with this kind of data, and they are generally considered very fast to use since +locations are known and fixed.
  • +
  • stack memory - For data that is declared as variables within a function. +The location of this memory never changes for the duration of a function call; because of this compilers +can optimize code so stack data is very fast to access.
  • +
  • heap memory - For data that is created while the application is running. +Data in this region may be added, moved, removed, resized, etc. Because of +its dynamic nature it's generally considered slower to use, but it allows +for much more creative usages of memory. When data is added to this region we +call it an allocation. When data is removed from this section we call it a +deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_pl.html b/25_pl.html new file mode 100644 index 000000000..da931226a --- /dev/null +++ b/25_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pamięć

+

Programy pisane w Ruscie mają do dyspozycji 3 rodzaje pamięci:

+
    +
  • dane - Jest to pamięć przeznaczona dla danych statycznych, tj. takich które nie podlegają zmianom w trakcie trwania programu. +Wyobraź sobie tekst zadeklarowany w ramach prostego programu "Hello World!". +Bajty użyte do przechowania prostego tekstu nie będą podlegać zmianom podczas trwania +programu, mogą więc być odczytywane wielokrotnie z jednego regionu pamięci. +Właśnie ze względu na ich statyczny charakter, kompilator jest w stanie silnie +zoptymalizować dostęp do tego typu danych.
  • +
  • stos - Pamięć gdzie przechowywane są zmienne wewnątrz funkcji. +Lokalizacja pamięci używanej przez stos pozostaje niezmieniona podczas całego czasu +trwania wywołania funkcji. Oznacza to, że kompilator może dokonać pewnych optymalizacji +przyspieszających korzystanie z tej pamięci.
  • +
  • sterta - Pamięć tworzona na potrzeby programu podczas jego trwania. +W tym regionie pamięci dane mogą być na bieżąco dodawane, przenoszone, usuwane, +przeskalowywane, itp. Ze względu na swoją dynamiczną naturę, sterta jest zwykle +wolniejsza od stosu, ale zamiast tego pozwala na bardziej kreatywne wykorzystanie +dostępnej pamięci. Kiedy dodajemy dane na stertę, taką operację nazywamy alokacją, +natomiast kiedy dane usuwamy, wówczas mówimy o dealokacji.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_pt-br.html b/25_pt-br.html new file mode 100644 index 000000000..6353efe5f --- /dev/null +++ b/25_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memória

+

Os programas em Rust têm 3 regiões de memória onde os dados são armazenados:

+
    +
  • data memory (memória de dados) - Para dados com tamanho fixo e estático (ou seja, sempre disponíveis durante a vida útil do programa). Considere um texto em seu programa (por exemplo, "Olá, mundo!"), os bytes desse texto são somente lidos, então eles são colocados nesta região. Compiladores fazem muitas otimizações esse tipo de dados, eles geralmente são considerados muito rápidos de usar pois onde estão armazenados são conhecidos e fixos.
  • +
  • stack memory (memória de pilha) - Para dados declarados como variáveis dentro de uma função. O local dessa memória nunca muda durante a duração de uma chamada de função, assim os compiladores podem otimizar o código e por isso a pilha de dados é muito rápida de acessar.
  • +
  • heap memory - Para dados criados enquanto o aplicativo está em execução. Os dados nessa região podem ser adicionados, movidos, removidos, redimensionados etc. Por causa da sua natureza dinâmica geralmente é considerado mais lenta, mas permite usos de memória muito mais criativas. Quando dados são adicionados a essa região, chamamos de alocação. Quando os dados são removidos desta seção, chamamos de desalocação.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ro.html b/25_ro.html new file mode 100644 index 000000000..62c856b96 --- /dev/null +++ b/25_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memorie

+

Aplicațiile scrise în Rust au 3 zone de memorie unde este stocată informație:

+
    +
  • memoria pentru date - pentru date care sunt de dimensiune fixă și sunt statice (adică mereu disponibile pe toată durata rulării aplicației). +Considerați textul din programul dumneavoastră (ex: "Hello World!"): memoria ocupată (bytes) de acest text este citită dintr-un singur loc în cod +deci poate fi stocat în această zonă de memorie. Compilatoarele fac foarte multe optimizări +pentru acest tip de date și folosirea lor în general este considerată foarte rapidă, pentru că +locația lor este cunoscută și fixă.
  • +
  • memoria pentru stivă (stack) - pentru date declarate ca variabile în interiorul unei funcții (variabile locale). +Locația în memorie a acestor date nu se schimbă pe durata apelului funcției; datorită acestui lucru compilatoarele +pot optimiza codul astfel încât datele din stivă se accesează foarte rapid.
  • +
  • memoria pentru alocare dinamică (heap) - pentru date care sunt create în timpul rulării aplicației. +Datele în această zonă de memorie pot fi adăugate, mutate, șterse, redimensionate, etc. Din cauza +naturii sale dinamice, este în general considerată mai lentă, dar această zonă permite +utilizări mult mai creative ale memoriei. Când adăugăm date în această zonă de memorie, +numim această operație alocare (de memorie). Când ștergem date din această zonă de memorie, numim această operație +dealocare (de memorie).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ru.html b/25_ru.html new file mode 100644 index 000000000..997a00daa --- /dev/null +++ b/25_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Память (Memory)

+

Программы на Rust имеют 3 региона памяти в которых хранятся данные:

+
    +
  • data memory (память данных) - для данных фиксированного размера и статических данных (доступные в любой момент времени выполнения программы). +Рассмотрим текст в вашей программе (пример строка "Hello World!"). Эта строка является +набором байт, которые нельзя изменить и можно только считать, поэтому они могут сохраняться в данном регионе. Компиляторы +делают очень много оптимизаций с таким видом данных. Этот регион памяти считается очень быстрым, так как +местоположение данных известно и фиксировано заранее.
  • +
  • stack memory (стек) - для данных, которые объявлены как переменные внутри тела функции. +Местоположение этого типа памяти никогда не меняется на протяжении вызова функции, из-за этого компиляторы +могут оптимизировать код, поэтому взаимодействие со стековой памятью очень быстро работает.
  • +
  • heap memory (куча) - для данных, которые создаются во время работы приложения. +Данные в этом регионе могут быть добавлены, перемещены, удалены, изменены в размере, и т.д. Из-за своей +динамической природы, считается что этот регион медленней остальных, но он позволяет более творческое использование +памяти. Когда данные добавляются в этот регион, это называется allocation (выделение памяти). Когда данные +удаляются из данного региона, мы называем это deallocation (освобождение памяти).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_th.html b/25_th.html new file mode 100644 index 000000000..f5b3f971f --- /dev/null +++ b/25_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

หน่วยความจำ

+

โปรแกรมที่เขียนจาก Rust จะมีหน่วยความจำที่ใช้งานอยู่ 3 ส่วน:

+
    +
  • data memory - สำหรับเก็บข้อมูลที่ถูกกำหนดไว้ชัดเจน ทั้งในแง่ ขนาด และค่าคงที่ (เช่นอะไรก็ตามที่ใช้ได้ตลอดเวลาที่รันโปรแกรม) +ยกตัวอย่างข้อความในโปรแกรมของคุณ (เช่น "Hello World!"): ข้อมูลไบต์ของข้อความนี้ ถูกอ่านมาใช้แค่ครั้งเดียวเท่านั้น +ดังนั้นมันจึงถูกเก็บไว้ที่นี่ ซึ่งคอมไพเลอร์จะพยายามอย่างหนักเพื่อเพิ่มประสิทธิภาพให้ข้อมูลจำพวกนี้ +ทำให้มันถูกนำมาใช้งานได้เร็วมาก เพราะตำแหน่งที่มันอยู่จะแน่นอนและรู้โดยทั่วกัน
  • +
  • stack memory - สำหรับเก็บข้อมูลตัวแปรที่ประกาศไว้ในฟังก์ชัน +โดยตำแหน่งของข้อมูลนี้จะไม่เปลี่ยนแปลงเลยตลอดการทำงานของฟังก์ชัน; +และด้วยความสามารถของคอมไพเลอร์ จึงสามารถเพิ่มประสิทธิภาพให้การเข้าถึง stack นี้ทำได้เร็วมาก
  • +
  • heap memory - สำหรับข้อมูลที่สร้างขึ้นในขณะที่แอปพลิเคชันกำลังทำงาน +ข้อมูลในส่วนนี้อาจถูกเพิ่มย้ายลบปรับขนาด ฯลฯ ได้ตลอดเวลา +เนื่องจากโดยธรรมชาติข้อมูลส่วนนี้จะมีความยืดหยุ่นในการทำงาน ซึ่งก็รับรู้กันว่าต้องแลกมาด้วย +การทำงานที่ช้าลง แต่ก็นั่นแหล่ะ มันทำให้การทำงานมีความแพรวพราวเพิ่มขึ้นด้วย +เมื่อใดที่มีการเพิ่มข้อมูลลงมาในส่วนนี้ เราเรียกว่าการ allocation +และ เมื่อใดที่มีการลบข้อมูลออกไปจากส่วนนี้ เราจะเรียกมันว่า deallocation
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_tr.html b/25_tr.html new file mode 100644 index 000000000..100df9c9b --- /dev/null +++ b/25_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bellek

+

Rust programlarında veriler belleğin üç ayrı bölgesinde depolanırlar:

+
    +
  • Data memory - Belleğin Veri Bölgesi olarak telaffuz edebileceğimiz bu bölüm, program işletildiği müddetçe değerlendirilecek +sabit uzunluktaki statik verileri saklamak için kullanılır. İlk rust programımızda ekrana yazdırdığımız "Merhaba Dünya!" cümlesi, +aslında değiştirilemeyen ve sadece tek noktadan okunabilen bir byte koleksiyonu olduğundan bu bölgeye yerleştirilir. Belirgin +konumları ve sabit uzunlukları ile derleyicilerin pek çok iyileştirme yapabildiği bu verilerin saklandığı veri bölümü* çok hızlı +olarak kabul edilmektedir.

  • +
  • Stack memory - Belleğin Yığın Bölgesi olarak telaffuz edebileceğimiz bu bölüm, bir işlev içinde değişken olarak bildirilen verilerin +tutulduğu bölgedir. Belleğin bu konumu işlev çağrısı süresince hiçbir zaman değişmediğinden, veri erişim hızı derleyici iyileştirmeleri +sayesinde epeyce arttırılır.

  • +
  • Heap memory - Belleğin Öbek Bölgesi şeklinde telaffuz edebileceğimiz bu bölüm, programın işletilmesi sırasında yani çalışma zamanında +oluşturulan veriler için kullanılır. Bu bölgedeki veriler eklenebilir, taşınabilir, silinebilir, ve hatta yeniden boyutlandırılabilir haldedir. +Bu bölge dinamik yapıda olduğundan, her ne kadar hız bakımından yığından bellek bölgesinden geri kalıyor görünse de, belleğin yaratıcı biçimde +kullanılmasına izin verir. Bu bölgeye veri ekleme işlemine bellek ayırma, bu bölümden veri silme işlemine de belleği iade etme adı verilmektedir.

  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_ua.html b/25_ua.html new file mode 100644 index 000000000..a77c30443 --- /dev/null +++ b/25_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Пам'ять

+

Програми на Rust мають три регіони пам'яті для збереження даних:

+
    +
  • пам'ять даних (data memory) - для даних фіксованого розміру та static (статичних) даних (таких, які будуть доступні на протязі всього життєвого циклу програми) +Розглянемо текст програми наприклад, т.з. "Hello World!": Байти цього рядка ніколи не зміняться і будуть тільки прочитані, тому можуть бути збережені в цьому регіоні. +Компілятори роблять достатньо багато оптимізацій щодо даних цього типу. До даних з цього регіону здійснюється швидкий доступ, оскільки їх положення й розмір відомі.

  • +
  • стек (stack memory) - дані, що були оголошені як змінні всередині функції. Положення даних в цьому регіоні ніколи не змінюється протягом виклику функції, +тому компілятор має змогу оптимізувати код задля швидкого доступу до цих даних.

  • +
  • пам'ять кучі (heap memory) - дані, що створені під час виконання програми. Дані цього регіону можуть бути додані, переміщені, видалені, їх розмір може бути змінений тощо. +Через динамічну природу їх можна розглядать як дані з менш швидким доступом, але з ширшими можливостями щодо креативу. +Розміщення даних в цьому регіоні називається алокацією (allocation). Видалення даних з цього регіону називається деалокацією (deallocation).

  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_vi.html b/25_vi.html new file mode 100644 index 000000000..5e817a3c5 --- /dev/null +++ b/25_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bộ nhớ(Memory)

+

Các chương trình Rust có 3 vùng bộ nhớ nơi dữ liệu được lưu trữ:

+
    +
  • data memory(bộ nhớ dữ liệu) - Dành cho dữ liệu có kích thước cố định và tĩnh (tức là luôn có sẵn trong suốt vòng đời của chương trình). +Ví dụ như một đoạn text trong chương trình của bạn (ví dụ: "Hello World!"): +Các byte của đoạn text này chỉ được đọc từ một vị trí và do đó +có thể được lưu trữ trong khu vực này. Các trình biên dịch thực hiện +rất nhiều sự tối ưu hóa với loại dữ liệu này và +chúng thường được coi là sử dụng rất nhanh vì các vị trí đã được xác định và cố định.
  • +
  • stack memory(bộ nhớ ngăn xếp) - Đối với dữ liệu được khai báo dưới dạng các biến trong một hàm. +Vị trí của bộ nhớ này không bao giờ thay đổi trong suốt thời gian của một lệnh gọi hàm; bởi vì +trình biên dịch này có thể tối ưu hóa phần code nên dữ liệu ngăn xếp được truy cập rất nhanh.
  • +
  • heap memory(bộ nhớ heap) - Đối với dữ liệu được tạo trong khi ứng dụng đang chạy. +Dữ liệu trong khu vực này có thể được thêm, di chuyển, xóa, thay đổi kích thước, v.v. +Do tính chất động của nó, nó thường được coi là sử dụng chậm hơn, +nhưng nó cho phép sử dụng bộ nhớ sáng tạo hơn nhiều. Khi dữ liệu được thêm vào vùng này, chúng tôi +gọi nó là phân bổ(allocation). Khi dữ liệu bị xóa khỏi phần này, +chúng tôi gọi nó là thu hồi(deallocation).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_zh-cn.html b/25_zh-cn.html new file mode 100644 index 000000000..e54c65681 --- /dev/null +++ b/25_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

内存

+

Rust 程序有 3 个存放数据的内存区域:

+
    +
  • 数据内存 - 对于固定大小和静态(即在整个程序生命周期中都存在)的数据。 +考虑一下程序中的文本(例如 “Hello World”),该文本的字节只能读取,因此它们位于该区域中。 +编译器对这类数据做了很多优化,由于位置已知且固定,因此通常认为编译器使用起来非常快。
  • +
  • 栈内存 - 对于在函数中声明为变量的数据。 +在函数调用期间,内存的位置不会改变,因为编译器可以优化代码,所以栈数据使用起来比较快。
  • +
  • 堆内存 - 对于在程序运行时创建的数据。 +此区域中的数据可以添加、移动、删除、调整大小等。由于它的动态特性,通常认为它使用起来比较慢, +但是它允许更多创造性的内存使用。当数据添加到该区域时,我们称其为分配。 从本区域中删除 +数据后,我们将其称为释放
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/25_zh-tw.html b/25_zh-tw.html new file mode 100644 index 000000000..834db6d94 --- /dev/null +++ b/25_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

記憶體 (memory)

+

Rust 程式裡有三塊記憶體區塊用來儲存資料:

+
    +
  • 資料記憶體 (data memory):有著固定大小且是靜態 (即整個程式的生週期裡都可以存取) 的資料。 +例如你程式裡的一段文字 (例如:"Hello World!"):這段文字的位元組 (bytes) 只會從一個固定的地方被讀取,因此它可以被儲存在這個區塊。 +編譯器在這類型的資料上做了許多優化,因為它們的位址是已知且固定,所以通常可以很快速的取得。
  • +
  • 堆疊記憶體 (stack memory):在函數裡宣告為變量的資料。 +在一個函數呼叫裡,這類記憶體的位址永遠不會變動,因此編譯器可以對此做優化,使得堆疊資料可以快速被存取。
  • +
  • 堆記憶體 (heap memory):當應用程式正在運行時所創建的資料。 +在此區塊的資料可能會新增、移動、移除、更改大小…等等。因為它的動態特性,使得它們一般被認為在使用上是比較慢的。 +但是也讓使用者可以有更多有創意的方式使用記憶體。 +當資料被新增到此區塊,我們稱之為分配 (allocation)。當資料從此區塊被移除,我們稱之為回收 (deallocation)。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/26_al.html b/26_al.html new file mode 100644 index 000000000..8aedb8bfa --- /dev/null +++ b/26_al.html @@ -0,0 +1,71 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Krijimi i të dhënave në memorie

+

Kur ne instantojmë një struktur në kodin tonë programi ynë krijon + të dhënat e fushës shoqëruese krah për krah në memorie.

+

Ne instantojmë duke specifikuar të gjitha vlerat e fushës brenda

+

Emri i strukturës { ... }.

+

Fushat e strukturës aksesohen duke përdorur një operator me pika ..

+

Detajet e kujtesës të shembullit tonë:

+
    +
  • Teksti brenda thonjëzave është vetëm të dhëna për lexim (p.sh. "Ferris"), prandaj +është +vendosur në regjionin e memories së të dhënave.
  • +
  • Thirrja e funksionit String::from krijon një strukturë String që vendoset +anësor +krah për krah me fushat e SeaCreature në stack. Një varg paraqet tekst që mund të ndryshohet +dhe e bën këtë duke:
  • +
+
    +
  1. Krijimi i memories në grumbull për tekstin ku mund të modifikohet
  2. +
  3. Ruajtja e një referimi në atë vendndodhje memorie në grumbull dhe ruajtja e saj në String +struct (Më shumë për këtë në mësimet e ardhshme)
  4. +
+
    +
  • Më në fund dy miqtë tanë Ferris dhe Sara kanë struktura të dhënash që +do të ketë gjithmonë +vendndodhje fikse në programin tonë, kështu që ato vendosen në stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ar.html b/26_ar.html new file mode 100644 index 000000000..3b19ea41f --- /dev/null +++ b/26_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إنشاء البيانات في الذاكرة

+

عندما نقوم بـ تمثيل (instantiate) لـ هيكل (struct) في شيفرتنا البرمجية فإن البرنامج ينشئ بيانات الحقول المرتبطة به جنبا إلى جنب في الذاكرة.

+

نقوم بإنشاء مثيل عن طريق تحديد جميع قيم الحقول داخل الهيكل، مثال StructName { ... }.

+

يمكن الوصول الى حقول الهيكل (Struct fields) عن طريق العامل نقطة ..

+

تفاصيل الذاكرة لمثالنا:

+
    +
  • النص الموجود داخل علامتي الاقتباس هو بيانات للقراءة فقط (على سبيل المثال "Ferris")، وبالتالي يتم وضعه في منطقة ذاكرة البيانات (data memory region)
  • +
  • استدعاء الدالة String::from ينشئ هيكل (struct) اسمه String ويوضع جنبا إلى جنب مع حقول الهيكل SeaCreature في المكدس (stack). تمثل السلسلة النصية (String) نصًا يمكن تغييره وإليك ما يحدث:
      +
    1. إنشاء ذاكرة في الكومة (heap) لذلك النص بحيث يمكن تعديله
    2. +
    3. تخزين مرجع موقع هذه الذاكرة الموجودة في الكومة (heap) وتخزينه في الهيكل String (المزيد حول هذا في الدروس القادمة)
    4. +
    5. وأخيرًا، لدى صديقينا Ferris و Sarah هياكل بيانات ذات مواقع دائمًا ثابتة في برنامجنا، لذلك يتم وضعها في المكدس (stack).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_de.html b/26_de.html new file mode 100644 index 000000000..8d960a7da --- /dev/null +++ b/26_de.html @@ -0,0 +1,66 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structs initialisieren

+

Wenn ein struct instanziiert wird, legt das Programm die Felder des structs Seite an Seite im Speicher an.

+

Die Initialisierung erfolgt mit folgendem Syntax:

+

StructName { feld1, feld2, ... }.

+

Auf die Felder des structs werden mit einem . zugegriffen.

+

In unserem Beispiel bedeutet das:

+
    +
  • Text innerhalb der Anführungszeichen sind read-only Daten (z.B. "ferris"), daher sind sie +in data memory
  • +
  • Der Funktionsaufruf String::from erstellt ein struct String das Seite an Seite der anderen +Felder in SeaCreature auf den stack gelegt wird. Ein String repräsentiert (veränderbaren) Text, +der…
  • +
+
    +
  1. … im heap angelegt wird und daher dort verändert werden kann,
  2. +
  3. … die Adresse (Referenz) zum Speicherstück im heap im String struct speichert
  4. +
+
    +
  • Nachdem unsere Freunde Ferris und Sarah Datenstrukturen sind, die in der main-Funktion +erstellt wurden, werden diese auf den stack platziert.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_en.html b/26_en.html new file mode 100644 index 000000000..e6ce95450 --- /dev/null +++ b/26_en.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Data In Memory

+

When we instantiate a struct in our code our program creates the associated field data side by side in memory.

+

We instantiate by specifying all field values within

+

StructName { ... }.

+

Struct fields are accessed using a dot operator ..

+

Memory details of our example:

+
    +
  • The text inside the quotes is read only data (e.g. "Ferris"), therefore it is +placed in the data memory region.
  • +
  • The function call String::from creates a struct String that is placed side +by side with the fields of SeaCreature in the stack. A String represents text that can be changed +and does this by:
  • +
+
    +
  1. Creating memory on the heap for the text where it can be modified
  2. +
  3. Storing a reference to that memory location on the heap and storing it in String +struct (More on this in future lessons)
  4. +
+
    +
  • Finally our two friends Ferris and Sarah have data structures that will always have +fixed locations in our program, so they are placed on the stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_es.html b/26_es.html new file mode 100644 index 000000000..a7bc89ac2 --- /dev/null +++ b/26_es.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creación de Datos en Memoria

+

Cuando instanciamos una estructura struct en nuestro código, nuestro programa crea los datos asociados a cada campo uno al lado del otro en memoria.

+

Para instanciar una estructura, especificaremos todos los valores de los campos dentro de

+

StructName { ... }.

+

Los campos de una estructura se acceden mediante el operador de punto ..

+

Detalles de memoria de nuestro ejemplo:

+
    +
  • El texto dentro de las comillas es de sólo lectura de datos (por ejemplo, "ferris"), por lo tanto se +coloca en la región de memoria de datos.
  • +
  • La llamada a la función String::from crea una estructura String que se coloca al lado de los campos +de SeaCreature en la pila. Un string representa un texto que se puede modificar y lo hace de la siguiente manera:
  • +
+
    +
  1. Crea memoria en el montículo para el texto, donde se puede modificar.
  2. +
  3. Guarda una referencia a esa ubicación de memoria en el montículo y lo almacena en la estructura String +(Nos centraremos en esto en futuras lecciones).
  4. +
+
    +
  • Finalmente nuestros amigos Ferris y Sarah tienen estructuras de datos que siempre tendrán +ubicaciones fijas en nuestro programa, así que se colocan en la pila.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_fa.html b/26_fa.html new file mode 100644 index 000000000..553290257 --- /dev/null +++ b/26_fa.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Data In Memory

+

When we instantiate a struct in our code our program creates the associated field data side by side in memory.

+

We instantiate by specifying all field values within

+

StructName { ... }.

+

Struct fields are accessed using a dot operator ..

+

Memory details of our example:

+
    +
  • The text inside the quotes is read only data (e.g. "ferris"), therefore it is +placed in the data memory region.
  • +
  • The function call String::from creates a struct String that is placed side +by side with the fields of SeaCreature in the stack. A String represents text that can be changed +and does this by:
  • +
+
    +
  1. Creating memory on the heap for the text where it can be modified
  2. +
  3. Storing a reference to that memory location on the heap and storing it in String +struct (More on this in future lessons)
  4. +
+
    +
  • Finally our two friends Ferris and Sarah have data structures that will always have +fixed locations in our program, so they are placed on the stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_fi.html b/26_fi.html new file mode 100644 index 000000000..8a905ad37 --- /dev/null +++ b/26_fi.html @@ -0,0 +1,67 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Creating Data In Memory

+

When we instantiate a struct in our code our program creates the associated field data side by side in memory.

+

We instantiate by specifying all field values within

+

StructName { ... }.

+

Struct fields are accessed using a dot operator ..

+

Memory details of our example:

+
    +
  • The text inside the quotes is read only data (e.g. "Ferris"), therefore it is +placed in the data memory region.
  • +
  • The function call String::from creates a struct String that is placed side +by side with the fields of SeaCreature in the stack. A String represents text that can be changed +and does this by:
  • +
+
    +
  1. Creating memory on the heap for the text where it can be modified
  2. +
  3. Storing a reference to that memory location on the heap and storing it in String +struct (More on this in future lessons)
  4. +
+
    +
  • Finally our two friends Ferris and Sarah have data structures that will always have +fixed locations in our program, so they are placed on the stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_fr.html b/26_fr.html new file mode 100644 index 000000000..e683afba6 --- /dev/null +++ b/26_fr.html @@ -0,0 +1,69 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Création de donnée en mémoire

+

Lorsqu'on instancie une structure dans notre code, le programme +crée les champs de données associés côte à côte en mémoire.

+

On instancie une structure en spécifiant les champs dans des accolades.

+

StructName { ... }.

+

On accède aux champs de la structure avec l'opérateur ..

+

Détail de la mémoire pour notre exemple:

+
    +
  • Le texte à l'intérieur des guillemets est une donnée de lecture uniquement (e.g. "ferris"), +celui-ci est donc placé dans la région data memory.
  • +
  • L'appel à la fonction String::from crée une structure String qui est placée en mémoire à côté +des champs de la structure SeaCreature sur la pile. Un élément String représente un texte +qui peut changer et cela est rendu possible en:
  • +
+
    +
  1. Créant un emplacement sur le tas pour le texte où il pourra être modifié
  2. +
  3. Stockant une référence vers cet emplacement de mémoire (sur le tas) et +en stockant cette référence dans une structure String (sur la pile). Nous reparlerons +de cela dans de futures leçons.
  4. +
+
    +
  • Finalement nos deux amis Ferris et Sarah ont des structures de données qui auront +toujours une position fixe en mémoire et sont donc placés sur la pile.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_gr.html b/26_gr.html new file mode 100644 index 000000000..78721d1cb --- /dev/null +++ b/26_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Δημιουργία δεδομένων στη μνήμη

+

Όταν αρχικοποιούμε μία δομή στον κώδικά μας, το πρόγραμμα δημιουργεί τα αντίστοιχα πεδία δεδομένων δίπλα-δίπλα στη μνήμη.

+

Αρχικοποιούμε ορίζοντας όλες τις τιμές των πεδίων μέσα.

+

ΌνομαΠεδίου { ... }.

+

Τα πεδία των δομών προσπελαύνονται με τον τελεστή τελείας ..

+

Λεπτομέρειες μνήμης για το παράδειγμά μας:

+
    +
  • Το κείμενο μέσα στα εισαγωγικά είναι δεδομένα που μόνο αναγιγνώσκονται (π.χ. "Ferris"), και άρα τοποθετείται στην περιοχή μνήμης δεδομένων.
  • +
  • Η κλήση της συνάρτησης String::from δημιουργεί μία δομή String που τοποθετείται πλάι-πλάι με τα πεδία του SeaCreature στη στοίβα. Τα περιεχόμενα του κειμένου της String, όμως, δεν τοποθετούνται στη στοίβα αλλά στο σωρό, και λόγω αυτού μπορούν ν' αλλάξουν. Η ακριβής διαδικασία έχει ως εξής:
      +
    1. Δεσμεύεται μνήμη στο σωρό για το κείμενο, όπου και μπορεί να αλλαχθεί
    2. +
    3. Μία αναφορά στην εν λόγω περιοχή μνήμης του σωρού διατηρείται και αποθηκεύεται στη δομή String που βρίσκεται ήδη στη στοίβα (περισσότερες λεπτομέρειες σε μετέπειτα μαθήματα)
  • +
  • Τέλος οι δύο φίλοι μας ο Ferris κι η Sarah έχουν δομές δεδομένων που θα έχουν πάντοτε πάγιες τοποθεσίες στο πρόγραμμά μας, οπότε τοποθετούνται στη στοίβα.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_hu.html b/26_hu.html new file mode 100644 index 000000000..5fe8711ff --- /dev/null +++ b/26_hu.html @@ -0,0 +1,69 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Adatok létrehozása a memóriában

+

Amikor példányosítunk egy struct-ot a kódunkban, a program létrehozza a hozzá tartozó +mezőket a memóriában.

+

A példányosítás úgy történik, hogy a StructName { ... }-ben található összes mezőnek értéket +adunk.

+

A struct-ok mezőit a . operátorral érjük el.

+

Hogyan is történnek a dolgok a memóriában ebben a példában:

+
    +
  • Az idézőjelek közötti szöveg csak olvasható adat ("ferris"), így ez az +adat memóriában van eltárolva.
  • +
  • A String::from funkció meghívása létrehoz egy String struct-ot, ami a SeaCreature mezőibe +kerül a veremben. A String olyan szöveget tartalmaz, ami megváltoztatható. Ezt úgy éri el, +hogy:
  • +
+
    +
  1. A kupacon allokál helyet a szövegnek, ami így szabadon változtatható.
  2. +
  3. Majd ennek a szövegnek a helyét szintén egy a kupacon allokált referenciában tárolja +el, ami végül a String struct-ban fog megjelenni. (Erről a későbbi fejezetekben lesz még +szó.)
  4. +
+
    +
  • Végül pedig ott van Ferris és Sarah, akik mivel meghatározott helyen lévő adatstruktúrák, +így a veremben kerülnek eltárolásra.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_id.html b/26_id.html new file mode 100644 index 000000000..cb29d1d90 --- /dev/null +++ b/26_id.html @@ -0,0 +1,67 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Creating Data In Memory

+

When we instantiate a struct in our code our program creates the associated field data side by side in memory.

+

We instantiate by specifying all field values within

+

StructName { ... }.

+

Struct fields are accessed using a dot operator ..

+

Memory details of our example:

+
    +
  • The text inside the quotes is read only data (e.g. "Ferris"), therefore it is +placed in the data memory region.
  • +
  • The function call String::from creates a struct String that is placed side +by side with the fields of SeaCreature in the stack. A String represents text that can be changed +and does this by:
  • +
+
    +
  1. Creating memory on the heap for the text where it can be modified
  2. +
  3. Storing a reference to that memory location on the heap and storing it in String +struct (More on this in future lessons)
  4. +
+
    +
  • Finally our two friends Ferris and Sarah have data structures that will always have +fixed locations in our program, so they are placed on the stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ie.html b/26_ie.html new file mode 100644 index 000000000..7bb7826f5 --- /dev/null +++ b/26_ie.html @@ -0,0 +1,66 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creation de Data in Memorie

+

Quande on instantia un struct in nor code, li programma crea li data por li camp relatet con it ye láteres in li memorie.

+

Noi instantia per specificar omni camp-valores intra

+

StructNómine { ... } .

+

Accesse es dat al campes de un struct con li punctu-operator ..

+

Detallies pri memorie in nor exemple:

+
    +
  • Li textu intra li signes de citation es data quel es solmen leet (p.ex. "ferris"), e pro to es plazzat in li +region por data-memorie
  • +
  • Li function-vocation String::from crea li struct String quel es plazzat lateralmen con li campes de CreaturaMarit +sur li stack. Un String representa textu changeabil, fante it possibil quam seque:
  • +
+
    +
  1. Per crear memorie sur li heap por li textu ú it posse esser modificat
  2. +
  3. Per aprovisionar un referentie a ti loc de memorie sur li heap e aprovisionar it in li struct String +(plu detallies pri to in lectiones a sequer)
  4. +
+
    +
  • In fine, nor amics Ferris e Sarah possede data-structuras queles sempre va haver locs fix in nor programma, +e pro to es plazzat sur li stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_it.html b/26_it.html new file mode 100644 index 000000000..3f520b2fc --- /dev/null +++ b/26_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creare dati in memoria

+

Quando instanziamo una struct nel nostro codice, il nostro programma crea i rispettivi campi in memoria.

+

Instanziamo specificando il valore di tutti i campi con

+

StructName { ... }.

+

I campi nella struct sono accessibili usando l'operatore punto ..

+

Vediamo il dettaglio dell'uso di memoria nell'esempio:

+
    +
  • Il testo tra virgolette sono dati in sola lettura ("Ferris"), quindi verrà collocato in memoria dati programma. * La chiamata funzione String::from crea una struttura String che viene posta, vicino ai campi della struttura SeaCreature, nello stack. Una String rappresenta testo che può essere modificato e funziona in questo modo:
  • +
+
    +
  1. Alloca memoria nello heap per il testo, dove potrà essere modificato
  2. +
  3. Memorizza l'indirizzo di quella locazione di memoria nella struct String, insieme ad altri dati della stringa (su questo approfondiremo nelle prossime lezioni)
  4. +
+
    +
  • I nostri due amici Ferris and Sarah hanno campi con una locazione di memoria fissa nel programma, e quindi saranno strutture dati che vivranno nello stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ja.html b/26_ja.html new file mode 100644 index 000000000..1dbc83f42 --- /dev/null +++ b/26_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メモリの中でデータを作成する

+

コードの中で 構造体インスタンス化 する際に、プログラムはフィールドデータをメモリ上で隣り合うように作成します。

+

全てのフィールドの値を指定してインスタンス化をする際:

+

構造体名 {...}.

+

構造体のフィールドは演算子 . で取り出すことができます。

+

例に示したコードのメモリ状況について:

+
    +
  • ダブルクオートに囲まれたテキスト(例: "Ferris")は読み取り専用データであるため、 データメモリ に入ります。
  • +
  • 関数の呼び出し String::from では構造体 String を作成し、この構造体と SeaCreature のフィールドを隣り合う形で スタック に入れられます。 + フィールドの値は変更可能であり、メモリ上では以下の様に変更されます。
  • +
+
    +
  1. ヒープ に変更可能なメモリを作り、テキストを入れます。
  2. +
  3. 1.で作成した参照アドレスを ヒープ に保存し、それを String に保存します(後の章でまた詳しく紹介します。)。
  4. +
+
    +
  • 最後に、我々の友である FerrisSarah はプログラムの中では固定な位置であるため、スタック に入ります。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ko.html b/26_ko.html new file mode 100644 index 000000000..1f9b255d8 --- /dev/null +++ b/26_ko.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메모리에 데이터 생성하기

+

코드에서 struct인스턴스화(instantiate) 하면 프로그램은 연관된 field 데이터들을 메모리 상에 나란히 생성합니다.

+

StructName { ... }.

+

와 같이 안에 모든 field 값을 지정함으로써 instantiate 합니다.

+

struct의 field 값들은 . 연산자를 통해 접근합니다.

+

이 예제의 메모리 상세:

+
    +
  • 큰따옴표 안의 텍스트는 읽기 전용 데이터이므로 (예: "ferris"), data memory 영역에 +위치합니다.
  • +
  • String::from 함수 호출은 String struct를 생성하며 stack에 SeaCreature의 field들과 나란히 위치시킵니다. +String은 변경될 수 있는 텍스트를 의미하며 이는 다음에 의해 이루어집니다:
  • +
+
    +
  1. 텍스트가 수정될 수 있도록 heap에 메모리를 생성
  2. +
  3. 해당 메모리 위치에 대한 참조를 heap에 저장하고 이를 String struct에 저장 +(앞으로 강의에서 더 자세히)
  4. +
+
    +
  • 마지막으로 우리의 두 친구 FerrisSarah는 우리 프로그램에서 언제나 고정된 위치를 가지는 +자료 구조를 가지게 되었고, 따라서 stack에 위치하게 되었습니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ne.html b/26_ne.html new file mode 100644 index 000000000..837b6d2e8 --- /dev/null +++ b/26_ne.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Creating Data In Memory

+

When we instantiate a struct in our code our program creates the associated field data side by side in memory.

+

We instantiate by specifying all field values within

+

StructName { ... }.

+

Struct fields are accessed using a dot operator ..

+

Memory details of our example:

+
    +
  • The text inside the quotes is read only data (e.g. "Ferris"), therefore it is +placed in the data memory region.
  • +
  • The function call String::from creates a struct String that is placed side +by side with the fields of SeaCreature in the stack. A String represents text that can be changed +and does this by:
  • +
+
    +
  1. Creating memory on the heap for the text where it can be modified
  2. +
  3. Storing a reference to that memory location on the heap and storing it in String +struct (More on this in future lessons)
  4. +
+
    +
  • Finally our two friends Ferris and Sarah have data structures that will always have +fixed locations in our program, so they are placed on the stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_pl.html b/26_pl.html new file mode 100644 index 000000000..f72754a3e --- /dev/null +++ b/26_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tworzenie Danych w Pamięci

+

Kiedy tworzymy nową instancję pewnej struktury w naszym kodzie, nasz program inicjalizuje dla niej miejsce w pamięci komputera, układając dane kolejnych pól struktury w jednym ciągu, jedno obok drugiego.

+

Nową instancję tworzymy wpisując nazwę struktury i dopisując jej elementy wewnątrz nawiasów klamrowych: StructName { ... }. +Aby dostać się do pól istniejącej instancji struktury używamy operatora kropki ..

+

Kilka ciekawostek dotyczących rozkładu struktur w pamięci:

+
    +
  • Tekst wewnątrz cudzysłowu jest rozumiany jako dane tylko do odczytu, przez co odpowiednio ląduje w regionie pamięci przeznaczonym dla danych statycznych
  • +
  • Wywołanie funkcji String::from tworzy strukturę String która zostaje umieszczona obok innych pól obiektu SeaCreature na stosie. String reprezentuje tekst który może być zmieniony w trakcie trwania programu, co oznacza, że:
      +
    • Stworzony zostaje obszar pamięci na stercie dla przechowania danych +reprezentujących modyfikowalny ciąg znaków
    • +
    • Przechowuje się na stosie referencję do miejsca na stercie gdzie przechowywane są te dane
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_pt-br.html b/26_pt-br.html new file mode 100644 index 000000000..745aab9e6 --- /dev/null +++ b/26_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Criando Dados na Memória

+

Quando nós instanciamos uma struct no nosso código o programa cria os campos associados lado-a-lado na memória.

+

Nós instanciamos uma estrutura especificando todos os valores dos campos dentro de

+

StructName { ... }.

+

Os campos são acessados usando o operador de ponto ..

+

Detalhes da memória do nosso exemplo:

+
    +
  • O texto dentro das aspas é somente leitura (por exemplo, "Ferris"), portanto é colocado na região da memória de dados.
  • +
  • A chamada da função String::from cria uma struct String que é colocada lado-a-lado com os campos de SeaCreature na pilha. Uma String representa um texto que pode ser alterado e faz assim:
  • +
+
    +
  1. Criando memória no heap para o texto onde ele pode ser modificado.

  2. +
  3. Armazenando uma referência a esse local de memória no heap e armazenando-o no struct String (mais a respeito em lições futuras).

  4. +
+
    +
  • Finalmente, nossos dois amigos Ferris e Sarah têm estruturas de dados que sempre terão locais fixos em nosso programa, portanto, eles são colocados na pilha.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ro.html b/26_ro.html new file mode 100644 index 000000000..453fda114 --- /dev/null +++ b/26_ro.html @@ -0,0 +1,66 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crearea datelor în memorie

+

Când instanțiem o structură în codul nostru, aplicația creează câmpurile de date unul lângă altul în memorie.

+

Instanțiem o structură specificând toate valorile câmpurilor în interiorul

+

NumeleStructurii { ... }.

+

Câmpurile unei structuri sunt accesate folosind operatorul ..

+

Detalii despre memorie în exemplul nostru:

+
    +
  • Textul din interiorul ghilimelelor este o dată care poate fi numai citită (ex: "Ferris"), deci acesta este +pus în zona memoriei pentru date.
  • +
  • Apelul funcției String::from creează o structură de tip String ale cărei câmpuri sunt depuse, unul lângă altul, lângă câmpurile structurii, pe stivă. Un String reprezintă text care poate fi modificat +în următoarele moduri:
  • +
+
    +
  1. Se alocă memorie pe heap pentru text și acolo va putea fi modificat
  2. +
  3. Stochează o referință la acea locație de pe heap în structura String +(Mai multe despre acest concept în următoarele lecții)
  4. +
+
    +
  • Așadar, cei doi prieteni ai noștri, Ferris și Sarah, sunt structuri de date care vor avea mereu +locații fixe în aplicația noastră, deci vor fi puși în stivă.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ru.html b/26_ru.html new file mode 100644 index 000000000..d8d7e22ec --- /dev/null +++ b/26_ru.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Создание структур в памяти

+

Когда мы создаём экземпляр структуры в коде, программа выделяется память для всех полей структуры друг за другом.

+

Мы создаем экземпляр структуры указывая значения всех полей внутри:

+

StructName { ... }

+

Доступ к полям структуры происходит через оператор точку ..

+

Детали для запоминания по примеру:

+
    +
  • Текст внутри двойных кавычек - это данные только для чтения (пример "ferris"), следовательно +он размещается в регионе data memory
  • +
  • Вызов функции String::from создает структуру String из стандартной библиотеки типов, которая размещается рядом с другими полями +структуры SeaCreature в стеке. String (строка) представляет текст, который может быть +изменен и создается по шагам так:
  • +
+
    +
  1. Выделяет память в куче (heap memory) для текста (размер выделенной памяти в куче может увеличиваться и уменьшаться)
  2. +
  3. Сохраняет ссылку на выделенную память из кучи в структуре String (подробнее в следующих занятиях)
  4. +
+
    +
  • В итоге наши два друга Феррис и Сара имеют структуры данных, которые всегда будут иметь фиксированные +местоположения в нашей программе, так как они расположены на стеке.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_th.html b/26_th.html new file mode 100644 index 000000000..ed689ada6 --- /dev/null +++ b/26_th.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การสร้างข้อมูลในหน่วยความจำ

+

เมื่อเราสร้าง อินสแตนซ์ จาก struct สักตัวในโค้ดของเรา โปรแกรมของเราจะสร้าง ข้อมูลจากโครงสร้างฟิลด์ไว้เคียงข้างกันในหน่วยความจำ

+

เราสร้างอินสแตนซ์จากฟิลด์ทั้งหมดภายใน

+

StructName { ... }.

+

การเข้าถึงฟิลด์ใน Struct ทำได้ด้วยการใช้ตัวดำเนินการ .

+

รายละเอียดหน่วยความจำจากตัวอย่างนี้:

+
    +
  • ข้อความในเครื่องหมายคำพูด เป็นข้อมูลที่ใช้อ่านอย่างเดียว (เช่น "Ferris"), +พวกนี้จะไปอยู่ใน data memory region
  • +
  • มีการเรียกฟังก์ชัน String::from เพื่อสร้าง struct ของ String เพื่อนำไปวางเคียงข้างกัน +กับฟิลด์ใน SeaCreature ใน stack โดยที่ String คือข้อความที่สามารถเปลี่ยนได้และทำได้โดย:
  • +
+
    +
  1. ไปสร้างหน่วยความจำใน heap สำหรับข้อความที่ต้องการแก้ไข
  2. +
  3. จัดเก็บสิ่งที่จะอ้างถึงหน่วยความจำนั้นไว้ใน heap แล้วค่อยเอาสิ่งนี้ ไปไว้ใน struct ของ String +(มีเพิ่มเติมเรื่องนี้ในบทเรียนต่อๆไป)
  4. +
+
    +
  • ในที่สุดเพื่อนของเราทั้งสอง Ferris และ Sarah จึงมีโครงสร้างข้อมูลของตัวเอง แถมยังมีตำแหน่งที่ชัดเจน +และคงที่ด้วย อยู่ในโปรแกรมของเรา และแน่นอนว่านั่นอยู่ใน stack
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_tr.html b/26_tr.html new file mode 100644 index 000000000..c2b219ba9 --- /dev/null +++ b/26_tr.html @@ -0,0 +1,64 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bellekte Veri Oluşturmak

+

Bir yapıyı örneklediğimizde programımız tarafından o yapının birbiriyle ilişkili alanları, bellekte yan yana gelecek şekilde yerleştirilir.

+

Bir yapının örneğini, bildirdiği tüm alan değerlerini belirleyerek oluştururuz:

+

YapininAdi {alan1, alan2, ...}.

+

Yapı alanlarına ise . nokta işlecini kullanarak erişebiliyoruz.

+

Örneğimiz için bellek aşağıdaki gibi şekillenecektir:

+
    +
  • Örneğimizdeki "Ferris" benzeri tırnak içindeki metinler, salt okunur veriler olduğundan Belleğin Veri Bölgesine yerleştirilir.
  • +
  • String::from işlevine yapılan çağrı, yığındaki DenizCanlisi alanlarıyla yan yana yerleştirilen bir String yapısı oluşturur. +String yani dilimizdeki karşılığıyla dizgi, değiştirilebilir metni temsil eder ve bu değişim şu şekilde mümkün olur:
  • +
+
    +
  1. Öbek Bölgesi üzerinde ayrılan belleğin boyutu değişebilir olduğundan, metin için gereken düzenlenebilir alan belleğin bu bölgesinde oluşturulur.

  2. +
  3. Öbek üzerinde ayrılmış bulunan bu bellek konumuna bir başvuru oluşturulur ve bu başvuru daha sonra değineceğimiz bir String yapısında depolanır.

  4. +
+
    +
  • Nihayetinde, Ferris ve Sarah adlı bu arkadaşlarımız, bellekte daima sabit biçimde konumlandırılacaklarından, stack memory +yani yığın bölümüne yerleştirilecek veri yapılarına sahip olacaklardır.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_ua.html b/26_ua.html new file mode 100644 index 000000000..2581a3c1c --- /dev/null +++ b/26_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Створення даних у пам'яті

+

Коли ми інстанціюємо (instantiate) структуру (struct) в нашому коді - програма створює в пам'яті стуктуру з полями, розташованими одне за одним.

+

Інстанціювання структури відбувається за допомогою вказування значень полів:

+

StructName { ... }.

+

Доступ до полів забезпечується оператором ..

+

Деталі роботи за пам'яттю для нашого прикладу:

+
    +
  • Текст в лапках - дані лише для читання, наприклад "Ferris", таким чином вони розташовані в data memory регіоні.
  • +
  • Виклик функції String::from створює структуру String (рядок), поля якої розташовані одразу за полями SeaCreature в стеку (stack). Рядки представляють в пам'яті текст, що може бути змінений, а отже:
  • +
+
    +
  1. Пам'ять буде виділена в кучі (heap), де може бути модифікована.
  2. +
  3. Зберігання посилання на цю область пам'яті в кучі і збереження її в структурі String (рядок). Більше про це в наступних уроках.
  4. +
+
    +
  • І нарешті наші два друга Ferris та Sarah належать до структури даних, що мають фіксоване положення в нашій програмі, оскільки розміщені в стеку (stack).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_vi.html b/26_vi.html new file mode 100644 index 000000000..f2348c359 --- /dev/null +++ b/26_vi.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tạo dữ liệu trong bộ nhớ

+

Khi chúng ta khởi tạo một struct, chương trình của chúng ta sẽ tạo dữ liệu trường liên kết cạnh nhau trong bộ nhớ.

+

Chúng ta khởi tạo bằng cách chỉ định tất cả các giá trị trường bên trong

+

StructName { ... }.

+

Các trường cấu trúc được truy cập bằng toán tử dấu chấm ..

+

Chi tiết về bộ nhớ trong phần ví dụ:

+
    +
  • Văn bản bên trong dấu ngoặc kép là dữ liệu chỉ đọc (ví dụ: "Ferris"), +do đó nó được đặt trong vùng bộ nhớ dữ liệu(data memory region).
  • +
  • Lệnh gọi hàm String :: from tạo ra một struct String +được đặt cạnh nhau với các trường của SeaCreature trong stack. +Một String đại diện cho đoạn text có thể được thay đổi và thực hiện điều này bằng cách:
  • +
+
    +
  1. Tạo bộ nhớ trên heap cho đoạn text nơi nó có thể được sửa đổi
  2. +
  3. Lưu trữ một tham chiếu đến vị trí bộ nhớ đó trên heap và lưu trữ nó trong struct String +(Điều này sẽ được làm rõ hơn trong những phần sau)
  4. +
+
    +
  • Cuối cùng thì hai người bạn FerrisSarah của chúng ta +có cấu trúc dữ liệu mà sẽ luôn có vị trí cố định +trong chương trình, vì vậy chúng được đặt trên stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_zh-cn.html b/26_zh-cn.html new file mode 100644 index 000000000..a5a5d9caf --- /dev/null +++ b/26_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

在内存中创建数据

+

当我们在代码中实例化一个结构体时,我们的程序会在内存中并排创建关联的字段数据。

+

当我们通过制定所有字段值的方式来实例化时:

+

结构体名 { ... }.

+

结构体字段可以通过 . 运算符来获取。

+

我们例子的内存详情:

+
    +
  • 引号内的文本是只读数据(例如“ferris”),因此它位于数据内存区
  • +
  • 函数调用 String::from 创建一个结构体 String,该结构体与 SeaCreature 的字段并排放置在中。 +字符串容器通过如下步骤表示可更改的文本:
      +
    1. 上创建可修改文本的内存。
    2. +
    3. 中存储对象的内存位置的引用存储在 String 结构体中(在以后的课程中会详细介绍)。
  • +
  • 最后,我们的两个朋友 FerrisSarah 有在程序中总是固定的位置的数据结构,所以它们被放在上。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/26_zh-tw.html b/26_zh-tw.html new file mode 100644 index 000000000..423c7fa64 --- /dev/null +++ b/26_zh-tw.html @@ -0,0 +1,63 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

在記憶體裡創建資料

+

當我們在程式碼裡實體化 (instantiate) 一個結構 (struct) 時,我們的程式將在記憶體裡產生相鄰的欄位資料。

+

我們透過指定所有欄位數值來實體化

+

StructName { ... }.

+

結構裡的欄位可以透過 . 被存取。

+

以下說明範例的細節:

+
    +
  • 在雙引號內的文字是唯讀資料 (例如 "Ferris"),因此它被放在資料記憶體區塊 (data memory region) 裡。
  • +
  • 呼叫 String::from 函數將產生一個 String 結構,它跟其他 SeaCreature 的欄位相鄰擺在一起,並放在堆疊 (stack)。 +一個字串表示一段文字,而且透過以下方式被更改:
  • +
+
    +
  1. (heap) 上產生記憶體給文字使用,而且可以被更改
  2. +
  3. 的記憶體位址存在參考 (reference) 裡,並且儲存在 String 結構裡 (後續章節會更詳細說明)
  4. +
+
    +
  • 最後,我們的兩個朋友 FerrisSarah 在我們的程式裡都擁有固定位置的資料結構,所以它們被擺在堆疊 (stack) 裡。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_al.html b/27_al.html new file mode 100644 index 000000000..db0196941 --- /dev/null +++ b/27_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktura të ngjashme me tufë

+

Për koncizitet, mund të krijoni struktura që përdoren si një tufë.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_ar.html b/27_ar.html new file mode 100644 index 000000000..1e4fea887 --- /dev/null +++ b/27_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الهياكل المشابهة للصف (Tuple-like Structs)

+

من أجل الإختصار، يمكنك إنشاء هيكل (Struct) يتم استخدامه مثل الصف (Tuple).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_de.html b/27_de.html new file mode 100644 index 000000000..77e79c5e4 --- /dev/null +++ b/27_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-Structs

+

Eine verkürzte Schreibweiße bietet das Instanziieren von structs mittels von Tupeln.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_en.html b/27_en.html new file mode 100644 index 000000000..65a619578 --- /dev/null +++ b/27_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-like Structs

+

For conciseness, you can create structs that are used like a tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_es.html b/27_es.html new file mode 100644 index 000000000..9d7a9971e --- /dev/null +++ b/27_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estructuras en Forma de Tupla

+

Para ser concisos, puedes crear estructuras que se usan como una tupla.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_fa.html b/27_fa.html new file mode 100644 index 000000000..96fcde7c7 --- /dev/null +++ b/27_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-like Structs

+

For conciseness, you can create structs that are used like a tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_fi.html b/27_fi.html new file mode 100644 index 000000000..55684c412 --- /dev/null +++ b/27_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Tuple-like Structs

+

For conciseness, you can create structs that are used like a tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_fr.html b/27_fr.html new file mode 100644 index 000000000..794f64ca6 --- /dev/null +++ b/27_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures sous forme de n-uplet

+

Pour être concis, tu peux créer des structures qui s'utilisent comme des n-uplets (en anglais tuples).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_gr.html b/27_gr.html new file mode 100644 index 000000000..daec790f1 --- /dev/null +++ b/27_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Πολλαπλοτητοειδείς δομές

+

Για συντομία στον κώδικα, μπορεί κανείς να ορίσει δομές που χρησιμοποιούνται ως πολλαπλότητες.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_hu.html b/27_hu.html new file mode 100644 index 000000000..5ca9fbf96 --- /dev/null +++ b/27_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-szerű Struct-ok

+

A tömörség kedvéért létrehozhatsz olyan struct-okat, amiket tuple-szerűen lehet használni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_id.html b/27_id.html new file mode 100644 index 000000000..a1d5e14fe --- /dev/null +++ b/27_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Tuple-like Structs

+

For conciseness, you can create structs that are used like a tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_ie.html b/27_ie.html new file mode 100644 index 000000000..75955f86e --- /dev/null +++ b/27_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuplic Structs

+

Por esser concis, on posse crear structs queles on usa quam un tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_it.html b/27_it.html new file mode 100644 index 000000000..13138dfdd --- /dev/null +++ b/27_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-like Struct

+

Come scorciatoia, puoi anche creare struct e poi usarle come Tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_ja.html b/27_ja.html new file mode 100644 index 000000000..75508068b --- /dev/null +++ b/27_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

タプルライクな構造体

+

Rust ではタプルの様な構造体を利用できます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_ko.html b/27_ko.html new file mode 100644 index 000000000..d3458be67 --- /dev/null +++ b/27_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple 같은 구조체

+

간결함을 위해, tuple처럼 사용되는 struct를 생성할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_ne.html b/27_ne.html new file mode 100644 index 000000000..85992820f --- /dev/null +++ b/27_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Tuple-like Structs

+

For conciseness, you can create structs that are used like a tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_pl.html b/27_pl.html new file mode 100644 index 000000000..2dc45856d --- /dev/null +++ b/27_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktury Krotkowe

+

W celu zachowania zwięzłości, możemy tworzyć struktury przypominające w wyglądzie i użytkowaniu krotki.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_pt-br.html b/27_pt-br.html new file mode 100644 index 000000000..0deb166ba --- /dev/null +++ b/27_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estruturas em Tuplas

+

Para sermos concisos, você pode criar estruturas que são usadas em tupla.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_ro.html b/27_ro.html new file mode 100644 index 000000000..60ef688bf --- /dev/null +++ b/27_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuri de tip tuplu

+

Pentru a fi conciși, puteți crea structuri care sunt folosite ca un tuplu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_ru.html b/27_ru.html new file mode 100644 index 000000000..c6abdc14d --- /dev/null +++ b/27_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Кортежи-структуры (Tuple-like Structs)

+

Для краткости, вы можете создавать структуры, которые используются точно так же как кортежи (tuple).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_th.html b/27_th.html new file mode 100644 index 000000000..9a53bde39 --- /dev/null +++ b/27_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-like Structs

+

เพื่อความสะดวกคุณสามารถสร้างโครงสร้างที่หน้าตาเหมือนทูเพิลได้เลยด้วย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_tr.html b/27_tr.html new file mode 100644 index 000000000..d55711e37 --- /dev/null +++ b/27_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çokuzlu Benzeri Yapılar

+

Daha kısa ve pratik olmak isterseniz çokuzlu benzeri yapılar kullanabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_ua.html b/27_ua.html new file mode 100644 index 000000000..f3cd9c689 --- /dev/null +++ b/27_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Кортежні структури (Tuple-like Structs)

+

Для стислості, ви можете створити структури, що використовуються точно як кортежі.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_vi.html b/27_vi.html new file mode 100644 index 000000000..6eec15d59 --- /dev/null +++ b/27_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cấu trúc giống như là Tuple

+

Ngắn gọn thì là, bạn có thể tự tạo các cấu trúc được sử dụng giống như là một tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_zh-cn.html b/27_zh-cn.html new file mode 100644 index 000000000..35aa6d8be --- /dev/null +++ b/27_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

类元组结构体

+

简洁起见,你可以创建像元组一样被使用的结构体。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/27_zh-tw.html b/27_zh-tw.html new file mode 100644 index 000000000..2b1aaeca8 --- /dev/null +++ b/27_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

數組型結構 (tuple-like)

+

更簡潔的說,你可以產生用起來像數組 (tuple) 的結構。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_al.html b/28_al.html new file mode 100644 index 000000000..ed6e7bece --- /dev/null +++ b/28_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktura të ngjashme me njësinë

+

Strukturat edhe nuk duhet të kenë fare fusha.

+

Siç u përmend në Kapitullin 1, një njësi është një fjalë tjetër për një tuple bosh (). + Kjo është arsyeja pse ky lloj strukture quhet Unit-like.

+

Ky lloj strukture përdoret rrallë.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ar.html b/28_ar.html new file mode 100644 index 000000000..3d5216879 --- /dev/null +++ b/28_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الهياكل المشابهة للوحدة (Unit-like Structs)

+

ليس بالضرورة أن تحتوي الهياكل (Structs) على حقول.

+

كما ذكرنا في الفصل الأول، فإن الوحدة (unit) هي كلمة أخرى تشير إلى صف (tuple) فارغ (). ولهذا السبب يُطلق على هذا النوع من الهياكل اسم مشابه للوحدة (Unit-like).

+

وهذا النوع من الهياكل نادرا ما يستخدم.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_de.html b/28_de.html new file mode 100644 index 000000000..aa41ffc7d --- /dev/null +++ b/28_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-Structs

+

Structs müssen keine Felder enthalten.

+

Wie in Kapitel 1 ist ein unit ein anderes Wort für ein leeres Tupel (). Daher werden diese structs auch unit-like (unit-ähnlich) genannt.

+

Sowas wird allerdings nur selten verwendet.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_en.html b/28_en.html new file mode 100644 index 000000000..d1866a51a --- /dev/null +++ b/28_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-like Structs

+

Structs do not have to have any fields at all.

+

As mentioned in Chapter 1 a unit is another word for an empty tuple (). This is why this kind of struct is called Unit-like.

+

This type of struct is rarely used.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_es.html b/28_es.html new file mode 100644 index 000000000..04f44a2c3 --- /dev/null +++ b/28_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estructuras Tipo-Unitario

+

No es necesario que las estructuras tengan campos.

+

Como ya se mencionó en el capítulo 1, una unidad (unit) es otra palabra para una tupla vacía (). Es por eso que este tipo de estructura se llama de Tipo-Unitario.

+

Este tipo de estructura no es muy común.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_fa.html b/28_fa.html new file mode 100644 index 000000000..f96147e33 --- /dev/null +++ b/28_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-like Structs

+

Structs do not have to have any fields at all.

+

As mentioned in Chapter 1 a unit is another word for an empty tuple (). This is why this kind of struct is called Unit-like.

+

This type of struct is rarely used.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_fi.html b/28_fi.html new file mode 100644 index 000000000..a27c2d411 --- /dev/null +++ b/28_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Unit-like Structs

+

Structs do not have to have any fields at all.

+

As mentioned in Chapter 1 a unit is another word for an empty tuple (). This is why this kind of struct is called Unit-like.

+

This type of struct is rarely used.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_fr.html b/28_fr.html new file mode 100644 index 000000000..35e9f17c8 --- /dev/null +++ b/28_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures de type unitaire

+

Il n'est pas nécessaire que les structures possèdent des champs.

+

Comme mentionné au Chapitre 1, une unité est une autre appellation pour un n-uplet vide (). +C'est pourquoi ce type de structure est dit de type unitaire (en anglais unit-like).

+

Ce type de structure est rarement utilisé.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_gr.html b/28_gr.html new file mode 100644 index 000000000..32662eb4c --- /dev/null +++ b/28_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μοναδοειδείς δομές

+

Οι δομές δεν υποχρεούνται να έχουν καθόλου πεδία.

+

Όπως αναφέρθηκε στο κεφάλαιο 1, μία μονάδα είναι άλλο όνομα για την άδεια πολλαπλότητα (). Γι' αυτό τις ονομάσαμε μοναδοειδείς αυτές τις δομές.

+

Αυτός ο τύπος δομών χρησιμοποιείται σπάνια.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_hu.html b/28_hu.html new file mode 100644 index 000000000..31a62945f --- /dev/null +++ b/28_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-szerű struct-ok

+

Az ilyen struct-oknak egyáltalán nincsenek mezőik.

+

Amint azt az első fejezetben már átbeszéltük, a unit ugyanazt jelenti, mint egy üres tuple, +vagyis (). Emiatt a mezők nélküli struct-okat unit-szerűnek nevezzük.

+

Az ilyen fajta struct-ok elég ritkán vannak használva.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_id.html b/28_id.html new file mode 100644 index 000000000..f506ed0c3 --- /dev/null +++ b/28_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Unit-like Structs

+

Structs do not have to have any fields at all.

+

As mentioned in Chapter 1 a unit is another word for an empty tuple (). This is why this kind of struct is called Unit-like.

+

This type of struct is rarely used.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ie.html b/28_ie.html new file mode 100644 index 000000000..4d53faae3 --- /dev/null +++ b/28_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unitic Structs

+

Structs in fact ne besona quelcunc campes in ili. +Quam mentionat in Capitul 1 un unit es un altri metode por dir vacui tuple (). Pro to on nomina un tal struct Unit-like (unitic, unitesc). +Tal structs es rarmen usat.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_it.html b/28_it.html new file mode 100644 index 000000000..655749f9b --- /dev/null +++ b/28_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-like Struct

+

Una Struct può anche essere vuota, ovvero non avere campi. +Come accennato nel Capitolo 1, una unit è un sinonimo per una tupla vuota (). Questo è il motivo per cui questo tipo di strutture viene chiamato Unit-like.

+

Questo tipo di strutture è usato raramente.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ja.html b/28_ja.html new file mode 100644 index 000000000..dd0d52a29 --- /dev/null +++ b/28_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ユニットライクな構造体

+

Rust ではフィールドを持たない構造体を宣言できます。

+

第 1 章で述べた様に、unit は空ユニット () の別名称です。こういった構造体が ユニットライク と言われる理由でもあります。

+

この構造体はあまり使われません。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ko.html b/28_ko.html new file mode 100644 index 000000000..d9ae0882d --- /dev/null +++ b/28_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit 같은 구조체

+

struct에는 아무 field도 없어도 됩니다.

+

1장에서 얘기 했듯이 unit은 빈 tuple인 ()의 또 다른 이름입니다. 이 때문에 이런 종류의 struct를 Unit 같은 이라고 부릅니다.

+

이런 유형의 struct는 거의 쓰이지 않습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ne.html b/28_ne.html new file mode 100644 index 000000000..501607ed1 --- /dev/null +++ b/28_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Unit-like Structs

+

Structs do not have to have any fields at all.

+

As mentioned in Chapter 1 a unit is another word for an empty tuple (). This is why this kind of struct is called Unit-like.

+

This type of struct is rarely used.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_pl.html b/28_pl.html new file mode 100644 index 000000000..d74587187 --- /dev/null +++ b/28_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Puste Struktury

+

Nie ma żadnego powodu dla którego nie moglibyśmy stworzyć pustej struktury.

+

Jak zaznaczyłem w Rozdziale 1, w Ruscie istnieje szeroko używany koncept pustej krotki (). Pusta struktura przypomina w praktyce właśnie pustą krotkę.

+

Puste struktury nie są częstym widokiem w kodzie Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_pt-br.html b/28_pt-br.html new file mode 100644 index 000000000..08e1c3151 --- /dev/null +++ b/28_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estruturas Tipo Unit

+

As estruturas não precisam ter nenhum campo.

+

Como mencionado no capítulo 1, a unit é outra palavra para uma tupla vazia ().

+

É por isso que esse tipo de estrutura é chamado de Unit-like.

+

Este tipo de estrutura raramente é usado.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ro.html b/28_ro.html new file mode 100644 index 000000000..6f0caf3b4 --- /dev/null +++ b/28_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuri de tip unitate

+

Structurile nu trebuie neapărat să aibă câmpuri.

+

După cum am menționat în Capitolul 1, unitate este o altă denumire pentru un tuplu gol, (). De aceea, acest tip de structuri se numește Unit-like.

+

Acest tip de structuri este folosit rar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ru.html b/28_ru.html new file mode 100644 index 000000000..9dae2b1f3 --- /dev/null +++ b/28_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Юнит-структуры (Unit-like Structs)

+

Структуры могут совсем не иметь ни одного поля.

+

Как было упомянуто в Главе 1, юнит (unit) другое название для пустого кортежа (). Вот почему этот вид структур называют юнит-структуры.

+

Этот тип не так распространен как остальные.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_th.html b/28_th.html new file mode 100644 index 000000000..b9deca2f5 --- /dev/null +++ b/28_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-like Structs

+

Structs ที่ไม่มีฟิลด์อะไรเลยข้างใน

+

ที่เคยกล่าวไว้ในบทที่ 1 ว่า unit ก็คือชื่อเล่นของ ทูเพิลที่ว่างเปล่า () และนี่ก็คือเหตุผลที่เราเรียกเจ้า struct แบบนี้ว่า Unit-like

+

struct แบบนี้ถูกใช้น้อยมากๆเลย ขอบอก

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_tr.html b/28_tr.html new file mode 100644 index 000000000..e8e883f29 --- /dev/null +++ b/28_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Birim Benzeri Yapılar

+

Herhangi bir üyeye sahip olmayan bu yapı türü boş bir çokuzluya benzer.

+

Bölüm 1'de bahsedildiği gibi birim aslında boş bir çokuzlunun () diğer adı olduğundan bu tür yapılara Birim benzeri yapılar adı verilir.

+

Bu tür yapılar nadiren kullanılmakla beraber, içlerinde veri tutmadıklarından, uygulamalara özellik eklerken faydalıdırlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_ua.html b/28_ua.html new file mode 100644 index 000000000..a16faefd5 --- /dev/null +++ b/28_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Юніт-структури (Unit-like Structs)

+

Структури не зобов'язані взагалі мати поля. +Як вже було згадано в розділі 1, юніт (unit) - це просто інше слово для пустого кортежа (). Ось чому ці структури називаются юніт-структурами (unit-like structures). +Цей тип структур застосовується доволі рідко.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_vi.html b/28_vi.html new file mode 100644 index 000000000..690ce1533 --- /dev/null +++ b/28_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cấu trúc giống như là Unit

+

Cấu trúc không nhất thiết phải có bất kỳ trường nào.

+

Như đã đề cập trong Chương 1, a unit là một từ khác để chỉ bộ giá trị rỗng (). Đây là lý do tại sao loại cấu trúc này được gọi là Unit-like(Như là một unit).

+

Cái này hiếm khi được dùng.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_zh-cn.html b/28_zh-cn.html new file mode 100644 index 000000000..decd7e08a --- /dev/null +++ b/28_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

类单元结构体

+

结构体也可以没有任何字段。

+

就像第一章提到的,一个 unit 是空元组 () 的别称。这就是为什么,此类结构体被称为 类单元

+

这种类型的结构体很少用到。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/28_zh-tw.html b/28_zh-tw.html new file mode 100644 index 000000000..d4331a336 --- /dev/null +++ b/28_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

單組型結構 (unit-like)

+

沒有任何欄位的結構即是單組 (unit)。

+

如同在第一章所提到的,一個單組 (unit) 即是空數組 () 的另一種說法。 這也是為什麼這類型的結構稱之為單組型 (unit-like)。

+

這類型的結構甚少使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_al.html b/29_al.html new file mode 100644 index 000000000..a65ea7c8f --- /dev/null +++ b/29_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumeracionet

+

Enumerimet ju lejojnë të krijoni një lloj të ri që mund të ketë një vlerë prej disa + elementë te etiketuar duke përdorur fjalën kyçe "enum".

+

"match" ndihmon në sigurimin e trajtimit shterues të të gjitha bërjes së vlerave të mundshme të numrit + është një mjet i fuqishëm për të siguruar kod cilësor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ar.html b/29_ar.html new file mode 100644 index 000000000..26e4a0c40 --- /dev/null +++ b/29_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المعدودات (Enumerations)

+

المعدودات تسمح لك بإنشاء نوع جديد يمكن أن يحمل العديد من العناصر الموسومة وذلك باستخدام الكلمة المفتاحية مَعْدُودَة (enum).

+

تساعد مُطابقة (match) على ضمان تداول كلي لكل القيم المحتملة للمَعْدُودَة (enum)، مما يجعلها أداة قوية لضمان جودة الشيفرة البرمجية.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_de.html b/29_de.html new file mode 100644 index 000000000..a27f93787 --- /dev/null +++ b/29_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Aufzählungen (enumerations) erlauben das Erzeugen eines neuen Typs, die nur eine fixe Liste an Werten zulassen. +Die gültigen Werte werden mit dem enum Schlüsselwort eingeleitet.

+

enum ist besonders im Zusammenhang mit match nützlich: da match exhaustive ist, versucht es den Programmierer darüber zu +informieren, falls nicht alle möglichen Testfälle durchgegangen wurden.

+

Versuche unser Beispielcode zum Laufen zu bringen. Welcher Fall wurde in match nicht berücksichtigt? Kannst du diesen noch einfügen?

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_en.html b/29_en.html new file mode 100644 index 000000000..6da8cb5f5 --- /dev/null +++ b/29_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Enumerations allow you to create a new type that can have a value of several tagged elements using the enum keyword.

+

match helps ensure exhaustive handling of all possible enum values making it a powerful tool in ensuring quality code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_es.html b/29_es.html new file mode 100644 index 000000000..13b727143 --- /dev/null +++ b/29_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumeraciones

+

Las enumeraciones permiten crear un nuevo tipo que puede tener un valor entre varios elementos etiquetados utilizando +la palabra reservada enum.

+

match ayuda a asegurar un manejo exhaustivo de todos los posibles valores del enumerado, convirtiéndolo en una +herramienta muy útil para asegurar un código de calidad.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_fa.html b/29_fa.html new file mode 100644 index 000000000..8507f31bd --- /dev/null +++ b/29_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Enumerations allow you to create a new type that can have a value of several tagged elements using the enum keyword.

+

match helps ensure exhaustive handling of all possible enum values making it a powerful tool in ensuring quality code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_fi.html b/29_fi.html new file mode 100644 index 000000000..a0d3cb3b0 --- /dev/null +++ b/29_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Enumerations

+

Enumerations allow you to create a new type that can have a value of several tagged elements using the enum keyword.

+

match helps ensure exhaustive handling of all possible enum values making it a powerful tool in ensuring quality code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_fr.html b/29_fr.html new file mode 100644 index 000000000..3dd6a7a58 --- /dev/null +++ b/29_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Les énumerations permettent de créer un nouveau type dont la valeur +ne peut prendre uniquement celle d'un ensemble de valeurs constantes. +On crée une énumération avec le mot clé enum.

+

match aide à s'assurer que l'on a traité tous les cas d'une énumération, +ce qui en fait un outil puissant pour assurer le maintien de la qualité de code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_gr.html b/29_gr.html new file mode 100644 index 000000000..55e5d8c0c --- /dev/null +++ b/29_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Απαριθμήσεις

+

Οι απαριθμήσεις μάς επιτρέπουν να δημιουργούμε νέους τύπους που μπορούν να έχουν μία τιμή από ένα πεπερασμένο πλήθος δυνατών τιμών, με τη χρήση της λέξης-κλειδί enum.

+

Το match μας εγγυάται εξαντλητικό χειρισμό κάθε πιθανής τιμής μιας απαρίθμησης, κάνοντάς το έτσι ένα δυνατό εργαλείο στη διασφάλιση ποιοτικού κώδικα.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_hu.html b/29_hu.html new file mode 100644 index 000000000..b67913a1c --- /dev/null +++ b/29_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerációk (felsorolások)

+

Az enumerációkkal olyan új típust hozhatsz létre, aminek értéke előre meghatározott változatok +közül vesz fel egyet. Ehhez az enum kulcsszót használhatod.

+

értéke előre meghatározott változatok közül vesz fel egyet. Ehhez az enum kulcsszót +használhatod.

+

A match segítségével biztos lehetsz benne, hogy az enum összes lehetséges értéke le van fedve, +ami nagyon hasznos jó minőségű kód írásakor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_id.html b/29_id.html new file mode 100644 index 000000000..e35b1ddcc --- /dev/null +++ b/29_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Enumerations

+

Enumerations allow you to create a new type that can have a value of several tagged elements using the enum keyword.

+

match helps ensure exhaustive handling of all possible enum values making it a powerful tool in ensuring quality code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ie.html b/29_ie.html new file mode 100644 index 000000000..e4c094a39 --- /dev/null +++ b/29_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerationes

+

Enumerationes possibilisa li creation de un nov tip quel usa li clave-parol enum e quel posse posseder li valore +de pluri marcat elementes.

+

Con match on es assecurat tractar se con omni possibil valores del enum, fante it un potent utensile in li creation +de code de alt qualitá.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_it.html b/29_it.html new file mode 100644 index 000000000..73de3f9a3 --- /dev/null +++ b/29_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerazioni

+

La parola chiave enum ti permette di creare un nuovo tipo che può assumere uno tra i valori predefiniti.

+

il costrutto match è un potente strumento per gestire in maniera esaustiva tutti i possibili valori di una enumerazione, contribuendo a migliorare la qualità del codice.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ja.html b/29_ja.html new file mode 100644 index 000000000..9526d0974 --- /dev/null +++ b/29_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

列挙型

+

列挙型はキーワード enum で新しい型を生成することができ、この型はいくつかのタグ付された値を持つことができます。

+

match は保有する全ての列挙値を処理する手助けすることができ、コードの品質を維持することもできます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ko.html b/29_ko.html new file mode 100644 index 000000000..a6466428c --- /dev/null +++ b/29_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

열거형

+

열거형(enumeration)은 enum 키워드를 통해 몇 가지 태그된 원소의 값을 가질 수 있는 새로운 자료형을 생성할 수 있습니다.

+

match는 모든 가능한 enum 값을 빠짐없이 처리할 수 있도록 하여 퀄리티 있는 코드를 만드는데 강력한 도구가 되어줄 것입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ne.html b/29_ne.html new file mode 100644 index 000000000..2d4447df4 --- /dev/null +++ b/29_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Enumerations

+

Enumerations allow you to create a new type that can have a value of several tagged elements using the enum keyword.

+

match helps ensure exhaustive handling of all possible enum values making it a powerful tool in ensuring quality code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_pl.html b/29_pl.html new file mode 100644 index 000000000..99aa1103f --- /dev/null +++ b/29_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wyliczenia

+

Wyliczenia tworzone z użyciem słowa kluczowego enum pozwalają na tworzenie nowych typów których wartość może być równa jednemu z określonych w ramach takiego typu elementów.

+

Wyrażenie match pozwala nam na wyczerpujące dopasowanie każdego możliwego wariantu wyliczenia. Kombinacja wyliczeń i wyrażenia match to jedna z kluczowych metod tworzenia wysokiej jakości kodu w języku Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_pt-br.html b/29_pt-br.html new file mode 100644 index 000000000..1619210a5 --- /dev/null +++ b/29_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerações

+

As enumerações permitem criar um novo tipo que pode conter o valor de vários elementos etiquetados usando a palavra-chave enum.

+

O match ajuda a garantir o tratamento exaustivo de todos os valores possíveis de enum, tornando-o uma ferramenta poderosa para garantir um código de qualidade.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ro.html b/29_ro.html new file mode 100644 index 000000000..a4ed215c5 --- /dev/null +++ b/29_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerări

+

Enumerările vă permit să creați un tip nou de date care poate avea o valoare dintr-o mulțime de elemente prestabilite folosind cuvântul cheie enum.

+

match ne ajută să abordăm toate valorile posibile ale unei enumerări, făcând din acest tip un instrument puternic pentru asigurarea calității codului.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ru.html b/29_ru.html new file mode 100644 index 000000000..8b98849c6 --- /dev/null +++ b/29_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Перечисления (Enumerations)

+

Перечисления позволяют создавать новый тип, который может иметь одно значение из нескольких вариантов теговых элементов, используя ключевое слово enum. +Сопоставление match помогает обеспечить исчерпывающую обработку всех возможных значений перечисления, что делает его мощным инструментом для обеспечения качества кода.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_th.html b/29_th.html new file mode 100644 index 000000000..774b20117 --- /dev/null +++ b/29_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Enumerations ช่วยให้คุณสามารถสร้าง type ใหม่ ที่สามารถมีค่าขององค์ประกอบที่ติดแท็กหลายรายการโดยใช้คีย์เวิร์ด enum

+

match จะเป็นตัวช่วยให้มั่นใจได้ว่าจะจัดการ enum ทุกตัวได้ครบ ว้าว สุดยอดเครื่องมือ ที่ทำให้เราได้โค้ดที่มีคุณภาพ เยี่ยมไปเลย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_tr.html b/29_tr.html new file mode 100644 index 000000000..54dc01f60 --- /dev/null +++ b/29_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Numaralandırmalar

+

enum anahtar sözcüğüyle tanımlanan ve kapsamındaki olası değerler listesinden, değerleri belirgin yeni bir tür oluşumuna izin veren yapılardır.

+

Örüntü eşlemede kullandığımız match sözcüğü, tüm olası enum değerlerini etraflıca işlemeye yardımcı olduğundan, numaralandırmalar kaliteli kod üretiminde güçlü birer araçtır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_ua.html b/29_ua.html new file mode 100644 index 000000000..d1bff9f32 --- /dev/null +++ b/29_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Переліки (Enumerations)

+

Переліки дозволяють створювати новий тип, який може мати одне або декілька значень тегованих елементів, використовуючи ключове слово enum.

+

match допомагає переконатися в вичерпності всіх можливих значень переліку, створюючи тим самим потужний інструмент для перевірки якості коду.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_vi.html b/29_vi.html new file mode 100644 index 000000000..53a15f80c --- /dev/null +++ b/29_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kiểu dữ liệu liệt kê(Enumerations)

+

Phép liệt kê cho phép bạn tạo một kiểu mới có thể có giá trị của một số phần tử được gắn thẻ bằng cách sử dụng từ khóa enum.

+

match giúp đảm bảo xử lý toàn diện tất cả các giá trị enum có thể làm cho nó trở thành một công cụ mạnh mẽ trong việc đảm bảo chất lượng của code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_zh-cn.html b/29_zh-cn.html new file mode 100644 index 000000000..904522e43 --- /dev/null +++ b/29_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

枚举

+

枚举允许你使用 enum 关键字创建一个新类型,该类型的值可以包含几个带标记的元素。

+

match 有助于确保对所有可能的枚举值进行彻底的处理,使其成为确保高质量代码的强大工具。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/29_zh-tw.html b/29_zh-tw.html new file mode 100644 index 000000000..90adaf9c0 --- /dev/null +++ b/29_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

列舉 (enumerations)

+

列舉允許你產生新的型別,此型別可以有多個被標記的元素,而這些元素使用 enum 關鍵字宣告。

+

match 徹底的保證所有可能的列舉數值都會被掌控,這使得它成為一個強大的工具用來保證有品質的程式碼。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_al.html b/30_al.html new file mode 100644 index 000000000..a1d234a64 --- /dev/null +++ b/30_al.html @@ -0,0 +1,61 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations With Data

+

Elementet "enum" mund të kenë gjithashtu një ose më shumë lloje të dhënash që i lejojnë ata të sillen + si union nga C.

+

Kur një model "enum" përputhet duke përdorur "match", ju mund të lidhni një ndryshore + emër për secilën vlerë të të dhënave.

+

Detajet e memories së enum:

+
    +
  • Një vlerë e të dhënave enum do të ketë një madhësi memorie të barabartë me elementin e saj më të madh. +Kjo lejon që të gjitha vlerat potenciale të përshtaten në të njëjtën hapësirë të memories.

  • +
  • Përveç llojeve të të dhënave të elementit (nëse ka), çdo element ka gjithashtu një +vlerë numerike që përfaqëson se cili etiketë është.

    +

    Detaje të tjera:

  • +
  • 'Enum' i Rust është diçka e njohur gjithashtu si një bashkim etiketuar.

  • +
  • Kombinimi i llojeve për të krijuar një lloj të ri është ajo që njerëzit nënkuptojnë kur ata +Ndryshku ka lloje algjebrike.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ar.html b/30_ar.html new file mode 100644 index 000000000..5cf50e535 --- /dev/null +++ b/30_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المعدودات ببيانات (Enumerations With Data)

+

يمكن لعناصر المَعْدُودَة (enum) أن تملك نوع بيانات واحد أو أكثر مما يسمح لها بالتصرف مثل union في لغة C.

+

عندما تكون المَعْدُودَة (enum) نمط مطابقة باستخدام مُطابقة (match)، فإنه يمكنك ربط اسم متغير لكل قيمة بيانات في المَعْدُودَة.

+

تفاصيل الذاكرة للمَعْدُودَة (enum):

+
    +
  • حجم الذاكرة لقيمة بيانات المَعْدُودَة (enum) يكون مساوي لأكبر عنصر فيها. هذا مما يسمح لكافة القيم المحتملة أن تتناسب مع نفس المساحة من الذاكرة.
  • +
  • بالإضافة إلى أنواع بيانات العناصر (إن وجدت)، يحتوي كل عنصر أيضًا على قيمة رقمية تمثل أي وسم هو.
  • +
+

تفاصيل أخرى:

+
    +
  • المَعْدُودَة (enum) في رست (Rust) تعرف أيضا مضمنة موسومة (tagged union)
  • +
  • الجمع بين الأنواع لإنشاء نوع جديد هو ما يقصده الناس عندما يقولون أن رست (Rust) يحتوي على أنواع جبرية (algebraic types).
  • +
+

المزيد من الموارد حول تفاصيل الذاكرة للمَعْدُودَة (enum):

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_de.html b/30_de.html new file mode 100644 index 000000000..d0410246f --- /dev/null +++ b/30_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations mit Daten

+

enum Elemente können auch Daten (oder Felder) beinhalten, vergleichbar mit unions aus C (nicht der Arbeitergewerkschaft haha).

+

Wenn ein enum in einem Fall im match übereinstimmt, können die Werte aus dem struct direkt an Variablen gebunden werden +(im Beispiel in Zeile 32 zu sehen).

+

Weitere Details zu enum:

+
    +
  • Der Speicherbedarf eines enums entspricht dem des größten Elements (hier wäre Claw das größte Element).
  • +
  • Neben den Datentypen (sollte es welche geben) kann jedes Element mittels einer Zahl erreicht werden.
  • +
+

Mehr Details!

+
    +
  • enum ist in Rust auch bekannt als tagged-union.
  • +
  • Das Kombinieren von verschiedenen Typen wird in Rust auch als algebraischer Typ bezeichnet (eng. algebraic type).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_en.html b/30_en.html new file mode 100644 index 000000000..c5d8bfff7 --- /dev/null +++ b/30_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations With Data

+

enum elements can also have one or more data types allowing them to behave like union from C.

+

When an enum is pattern matched using match, you can bind a variable name to each data value.

+

Memory details of enum:

+
    +
  • An enum data value will have a memory size equal to its largest element. This allows for all potential values to fit in the same space of memory.
  • +
  • In addition to element data types (if any), each element also has a numeric value that represents which tag it is.
  • +
+

Other details:

+
    +
  • Rust's enum is something also known as a tagged union.
  • +
  • The combining of types to make a new type is what people mean when they say Rust has algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_es.html b/30_es.html new file mode 100644 index 000000000..4c0c95154 --- /dev/null +++ b/30_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumeraciones con Datos

+

Los elementos de un enum también pueden tener uno o más tipos de datos que les permitan comportarse como union en C.

+

Cuando un elemento enum se empareja con un patrón usando match, se puede vincular un nombre de variable a cada valor de datos.

+

Detalles de memoria para enum:

+
    +
  • Un valor de datos enum tendrá un tamaño de memoria igual a su elemento más grande. Esto permite que todos +los potenciales valores quepan en el mismo espacio de memoria.
  • +
  • Además de los tipos de datos de los elementos (si los hay), cada elemento tiene también un valor numérico +que representa qué etiqueta es.
  • +
+

Otros detalles:

+
    +
  • El enum de Rust también se conoce como unión etiquetada (tagged-union).
  • +
  • La combinación de tipos para hacer otros nuevos es a lo que nos referimos al decir que Rust tiene tipos algebraicos.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_fa.html b/30_fa.html new file mode 100644 index 000000000..46ce3041f --- /dev/null +++ b/30_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations With Data

+

enum elements can also have one or more data types allowing them to behave like union from C.

+

When an enum is pattern matched using match, you can bind a variable name to each data value.

+

Memory details of enum:

+
    +
  • An enum data value will have a memory size equal to its largest element. This allows for all potential values to fit in the same space of memory.
  • +
  • In addition to element data types (if any), each element also has a numeric value that represents which tag it is.
  • +
+

Other details:

+
    +
  • Rust's enum is something also known as a tagged union.
  • +
  • The combining of types to make a new type is what people mean when they say Rust has algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_fi.html b/30_fi.html new file mode 100644 index 000000000..857424ceb --- /dev/null +++ b/30_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Enumerations With Data

+

enum elements can also have one or more data types allowing them to behave like union from C.

+

When an enum is pattern matched using match, you can bind a variable name to each data value.

+

Memory details of enum:

+
    +
  • An enum data value will have a memory size equal to its largest element. This allows for all potential values to fit in the same space of memory.
  • +
  • In addition to element data types (if any), each element also has a numeric value that represents which tag it is.
  • +
+

Other details:

+
    +
  • Rust's enum is something also known as a tagged union.
  • +
  • The combining of types to make a new type is what people mean when they say Rust has algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_fr.html b/30_fr.html new file mode 100644 index 000000000..ea6127e57 --- /dev/null +++ b/30_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations avec des données

+

Les éléments enum peuvent également avoir un ou plusieurs type de données +ce qui les rend similaire au type union du language C.

+

Lorsqu'une énumération est utilisée avec match, on peut lier un nom de variable à chaque valeur.

+

Représentation des énumérations en mémoire:

+
    +
  • La place mémoire qu'occupe un élément d'une énumération est égale à la taille de l'élément +de l'énumération qui occupe le plus de place mémoire. Ce qui permet de remplacer un élément +en mémoire par un autre sans avoir à redimensionner l'espace mémoire.
  • +
  • En plus du type de donnée de l'élément (s'il en a un), chaque élément possède une valeur +numérique permettant d'identifier celui-ci.
  • +
+

Autres détails:

+
    +
  • Les énumérations de Rust sont également appelées unions étiquetés (en anglais tagged-unions).
  • +
  • La combinaison de types pour en créer un nouveau est ce à quoi quelqu'un fait référence +lorsqu'il dit: Rust possède des types algébriques.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_gr.html b/30_gr.html new file mode 100644 index 000000000..b0b7cc0de --- /dev/null +++ b/30_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Απαριθμήσεις με δεδομένα

+

Τα στοιχία ενός enum μπορούν να «κουβαλάνε» έναν ή περισσότερους τύπους δεδομένων, επιτρέποντάς τους να συμπεριφέρονται όπως τα union στη C.

+

Όταν ένα enum «ταιριάζεται» με τη χρήση του match, μπορούμε να προσδέσουμε ένα όνομα μεταβλητής σε κάθε τιμή δεδομένων.

+

Λεπτομέρειες μνήμης των enum:

+
    +
  • Η τιμή δεδομένων ενός enum θα έχει μέγεθος μνήμης ίσο με το μεγαλύτερό του στοιχείο. Αυτό επιτρέπει σε κάθε πιθανή τιμή να χωράει στον ίδιο χώρο στη μνήμη.
  • +
  • Εκτός από τους τύπους δεδομένων των στοιχείων (εφόσον αυτά υπάρχουν), κάθε στοιχείο έχει επίσης μία αριθμητική τιμή που αντιπροσωπεύει το ποια ακριβώς περίπτωση του union εξετάζουμε.
  • +
+

Άλλες λεπτομέρειες:

+
    +
  • Τα enum στη Rust είναι κάτι γνωστό επίσης και ως περιγεγραμμένη συνένωση (tagged union).
  • +
  • Ο συνδυασμός τύπων για τη δημιουργία νέων τύπων είναι αυτό που εννοούν όσοι λένε ότι η Rust έχει αλγεβρικούς τύπους δεδομένων.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_hu.html b/30_hu.html new file mode 100644 index 000000000..daffc5399 --- /dev/null +++ b/30_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Adatokat tartalmazó Enumerációk

+

Az enum-oknál lehetőség nyílik arra is, hogy egy vagy több változat adatokat is +tartalmazhasson, így képesek a C nyelv union-ját utánozni.

+

Amikor az ilyen enum-on hajtunk végre mintaillesztést a match kulcsszóval, ha a +változat adatot is tartalmaz, lehetőségünk van ezt (ezeket) változóhoz rendelni.

+

Az enum reprezentációja a memóriában:

+
    +
  • Az enum-ok a legnagyobb lehetséges változatuk méretét veszik fel. Így minden lehetséges +változat ugyanakkora méretű memóriában fér el.
  • +
  • Minden elemnek, akár tartozik hozzá adat, akár nem, van egy számértéke is, ami azt mutatja meg +melyik változatról is van szó.
  • +
+

Egyéb megjegyzések:

+
    +
  • A Rust-ban található enum ismert még tagged union néven is.
  • +
  • Mivel az enum-ok lehetővé teszik típusok új típusokká kombinálását, ezért azt mondjuk, hogy +a Rust algebrai típusokkal rendelkezik.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_id.html b/30_id.html new file mode 100644 index 000000000..d573659c9 --- /dev/null +++ b/30_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Enumerations With Data

+

enum elements can also have one or more data types allowing them to behave like union from C.

+

When an enum is pattern matched using match, you can bind a variable name to each data value.

+

Memory details of enum:

+
    +
  • An enum data value will have a memory size equal to its largest element. This allows for all potential values to fit in the same space of memory.
  • +
  • In addition to element data types (if any), each element also has a numeric value that represents which tag it is.
  • +
+

Other details:

+
    +
  • Rust's enum is something also known as a tagged union.
  • +
  • The combining of types to make a new type is what people mean when they say Rust has algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ie.html b/30_ie.html new file mode 100644 index 000000000..a5ac0465f --- /dev/null +++ b/30_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerationes con Data

+

Li elementes de enum posse haver un o plu data-tipes, quel es un poc simil a union in C.

+

Quande on fa un pattern match (filtrage de mustres) con match, on posse ligar un nómine de variabile a chascun data-valore.

+

Detallies pri enum in memorie:

+
    +
  • Un data-valore por un enum va posseder un grandore egal a su max grand element. Con to, omni possibil valores +va posser intrar li sam loc de memorie.
  • +
  • Ultra le data-tipes de elementes (si ili trova se), chascun element have un valore numeric +quel representa su tag (marcation).
  • +
+

Altri detallies:

+
    +
  • enum in Rust es anc conosset quam un tagged-union (marcat union)
  • +
  • Li combination de tipes por crear un nov tip es li cose pri quel li gente parla quande ili di que Rust +possede algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_it.html b/30_it.html new file mode 100644 index 000000000..eec91d403 --- /dev/null +++ b/30_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerazioni con dati

+

ogni elemento di una enum può avere uno o più dati associati, che si comportano come le union del C.

+

Quando facciamo pattern matching tramite match di una enum, possiamo associare un nome di variabile ad ogni valore.

+

Un dettaglio nell'uso di memoria di enum:

+
    +
  • Ogni valore di un determinato enum occuperà una dimensione di memoria pari a quella dell'elemento più grande. Questo permette a tutti i potenziali valori di essere contenuti nello stesso spazio di memoria.
  • +
  • Oltre al tipo di dati dell'elemento (se specificato), ogni componente ha anche un codice numerico che rappresenta quale dei possibili valori assume.
  • +
+

Altri dettagli:

+
    +
  • enum di Rust è qualcosa che in altri linguaggi è conosciuto come tagged union.
  • +
  • La combinazione di tipi per creare un nuovo tipo è una caratteristica per la quale possiamo dire che Rust ha i tipi algebrici, ovvero algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ja.html b/30_ja.html new file mode 100644 index 000000000..19cdefeea --- /dev/null +++ b/30_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

データを持つ列挙型

+

enum は一個もしくは複数な型のデータを持つことができ、C言語の union の様な表現ができます。

+

match を用いて列挙値に対するパターンマッチングを行う際、各データを変数名に束縛することができます。

+

列挙 のメモリ事情:

+
    +
  • 列挙型のメモリサイズはそれが持つ最大要素のサイズと等しい。これにより全ての代入可能な値が同じサイズのメモリ空間を利用することを可能にします。
  • +
  • 要素の型以外に、各要素には数字値がついており、どのタグであるかについて示しています。
  • +
+

その他の事情:

+
    +
  • Rust の 列挙tagged-union とも言われています。
  • +
  • 複数の型を組み合わせて新しい型を作ることができます。 これが Rust には algebraic types を持つと言われる理由です。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ko.html b/30_ko.html new file mode 100644 index 000000000..77672efaa --- /dev/null +++ b/30_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

열거형과 데이터

+

enum의 원소들은 C의 union처럼 동작할 수 있도록 한 개 이상의 자료형을 가질 수 있습니다.

+

enummatch를 통해 패턴 일치될 때, 각각의 데이터 값에 변수명을 붙일 수 있습니다.

+

enum의 메모리 상세:

+
    +
  • enum 데이터 값은 가장 큰 원소의 메모리 크기와 같은 메모리 크기를 가집니다. 이는 가능한 모든 값이 동일한 메모리 공간에 들어갈 수 있게 해줍니다.
  • +
  • 원소의 자료형(있는 경우)에 더하여, 각 원소는 무슨 태그에 해당하는지 나타내는 숫자값도 갖습니다.
  • +
+

다른 상세 정보:

+
    +
  • Rust의 enumtagged union으로도 알려져 있습니다.
  • +
  • Rust가 대수적 자료형(algebraic types)을 갖고 있다고 할 때 이는 자료형을 조합하여 새 자료형을 만드는 것을 의미합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ne.html b/30_ne.html new file mode 100644 index 000000000..0249e4a26 --- /dev/null +++ b/30_ne.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Enumerations With Data

+

enum elements can also have one or more data types allowing them to behave like union from C.

+

When an enum is pattern matched using match, you can bind a variable name to each data value.

+

Memory details of enum:

+
    +
  • An enum data value will have a memory size equal to its largest element. This allows for all potential values to fit in the same space of memory.
  • +
  • In addition to element data types (if any), each element also has a numeric value that represents which tag it is.
  • +
+

Other details:

+
    +
  • Rust's enum is something also known as a tagged union.
  • +
  • The combining of types to make a new type is what people mean when they say Rust has algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_pl.html b/30_pl.html new file mode 100644 index 000000000..72a99e1db --- /dev/null +++ b/30_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wyliczenia Zawierające Dane

+

Wyliczenia enum mogą w ramach swoich elementów zawierać inne typy danych. Przypomina to typ unii (ang. union) znany z języka C.

+

Podczas stosowania wyrażenia match na wyliczeniu enum, dostajemy możliwość przypisania wartości przechowywanych wewnątrz wyliczenia do tymczasowych zmiennych.

+

Kilka rzeczy na które warto zwrócić uwagę jeżeli chodzi o reprezentację wyliczeń w pamięci komputera:

+
    +
  • Wielkość danej typu wyliczenie enum w pamięci będzie wynosić tyle co największy zdefiniowany element tego wyliczenia. To pozwala na zmieszczenie wszystkich potencjalnych wartości wyliczenia w jednym obszarze pamięci o pewnej konkretnej wielkości
  • +
  • Oprócz widocznego dla programisty samego elementu z potencjalnymi przypisanymi typami danych, każdy element wyliczenia określa również typ liczbowy pozwalający na identyfikację danego elementu w ramach wyliczenia
  • +
+

Dodatkowo:

+
    +
  • Wyliczenia enum w Ruscie są czasem nazywane tagowanymi uniami (ang. tagged unions), ze względu na wspomnianą już unikalną charakterystykę pozwalającą na trzymanie danych wewnątrz elementów
  • +
  • Mówi się, że Rust posiada typy algebraiczne (ang. algebraic types). Oznacza to mniej więcej tyle, że możliwe jest kombinowanie typów w celu stworzenia z nich pewnego nowego typu.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_pt-br.html b/30_pt-br.html new file mode 100644 index 000000000..9ee805184 --- /dev/null +++ b/30_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerações com Dados

+

Os elementos enum também podem ter um ou mais tipos de dados permitindo que eles se comportem como o union da linguagem C.

+

Quando um enum corresponde ao padrão usando match, você pode vincular um nome de variável para cada valor de dados.

+

Detalhes de memória do enum:

+
    +
  • Um valor de dados enum terá um tamanho de memória igual ao seu maior elemento. Isso permite que todos os valores possíveis caibam no mesmo espaço de memória.
  • +
  • Além dos tipos de dados do elemento (se houver), cada elemento também possui um valor numérico que representa qual etiqueta (tag) ele é.
  • +
+

Outros detalhes:

+
    +
  • O enum do Rust também é conhecido como tagged-union
  • +
  • A combinação de tipos para criar um novo tipo é a o que nos referimos quando dizemos que Rust tem tipos algébricos.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ro.html b/30_ro.html new file mode 100644 index 000000000..92be45eb4 --- /dev/null +++ b/30_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerările care conțin tipuri de date

+

Elementele unui enum pot avea de asemenea unul sau mai multe tipuri de date, permițându-i acestuia să se comporte ca un union din limbajul C.

+

Atunci când un enum este utilizat într-un match, puteți atașa un nume de variabilă fiecărei valori din enum.

+

Detalii despre memorie pentru un enum:

+
    +
  • Spațiul de memorie alocat unei variabile de tip enumerare va fi egal cu spațiul de memorie necesar pentru stocarea celui mai mare element al enumerării. Acest lucru asigură faptul că orice valoare posibilă a enumerării va încăpea în același spațiu din memorie.
  • +
  • Pe lângă tipul de date al unui element (dacă acesta are un tip), fiecare element are de asemenea asociată o valoare numerică care reprezintă indexul acestuia în enumerare.
  • +
+

Alte detalii:

+
    +
  • enum-ul din Rust este cunoscut și ca uniune etichetată (tagged union).
  • +
  • Combinarea mai multor tipuri de date pentru a crea unul nou este ceea ce îi face pe oameni să afirme faptul că Rust are tipuri algebrice.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ru.html b/30_ru.html new file mode 100644 index 000000000..a568a4d58 --- /dev/null +++ b/30_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Перечисления с данными

+

Элементы enum также могут иметь один и больше типов данных, позволяя им вести себя как union из языка Cи.

+

Когда enum сопоставляется с серией шаблонов используя match (или матчится, англ. is pattern matched), вы можете связать имя переменной с каждым значением или полем структуры.

+

Детали для запоминания по enum:

+
    +
  • Перечисление будет иметь размер в памяти, равный наибольшей величине для наибольшего его элемента. Это позволяет всем потенциальным значениям вместиться в одну и ту же область памяти (без дополнительных выделений памяти).
  • +
  • Элементы перечисления имеют невидимый числовой тэг в дополнение к типу данных, который этот элемент и так имеет.
  • +
+

Еще немного информации:

+
    +
  • enum Rust(а) иногда называют типом-сумой (tagged-union)
  • +
  • Комбинирование разных типов для создания нового типа - это то, что люди имеют ввиду, когда говорят, что Rust имеет алгебраические типы
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_th.html b/30_th.html new file mode 100644 index 000000000..d513c8b92 --- /dev/null +++ b/30_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations With Data

+

ในองค์ประกอบ enum ยังอนุญาตให้สามารถมีประเภทข้อมูล ได้อย่างน้อยหนึ่งชนิดอีกด้วย ซึ่งจะมีพฤติกรรมคล้ายกับ union ในภาษาซี

+

เมื่อใช้ match มาจับคู่ของใน enum คุณสามารถผูกชื่อตัวแปรให้แต่ละค่านั้นได้เลย

+

รายละเอียดหน่วยความจำของ enum:

+
    +
  • ค่าข้อมูลของ enum จะมีขนาดในหน่วยความจำ เท่ากับขนาดขององค์ประกอบสมาชิกตัวที่ใหญ่ที่สุด นั่นทำให้ไม่ว่าจะเป็นค่าใดก็จะสามารถวางลงบนพื้นที่ในหน่วยความจำได้แน่นอน
  • +
  • นอกจากนี้แล้ว ประเภทข้อมูลของสมาชิก (ถ้ามี) แต่ละตัวจะมีเลขประจำตัวแทนแต่ละแท็กด้วย
  • +
+

รายละเอียดอื่นๆ:

+
    +
  • enum ใน Rust ก็คือสิ่งที่หลายๆคนรู้จักกันในชื่อ tagged union
  • +
  • เวลาที่ใครๆพูดกันว่า Rust มี algebraic types เขากำลังหมายถึงการเอา type หลายๆตัวมารวมกันสร้างเป็น type ใหม่นั่นเอง
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_tr.html b/30_tr.html new file mode 100644 index 000000000..abc0bfd60 --- /dev/null +++ b/30_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Veriler ve Numaralandırmalar

+

enum öğeleri C'deki birlikler gibi davranmalarına izin veren bir veya daha fazla veri türüne sahip olabilir.

+

Bir enum örüntü eşleme modelindeki match yardımıyla eşleştirildiğinde, eşleşen her alan veya değeri bir değişken adıyla bağlayabilirsiniz.

+

Bellek ayrıntıları:

+
    +
  • Bellek gereksinimi, en büyük öğesinin bellek boyutu kadardır. Bu şekilde, tüm olası değerlerin aynı bellek alanına sığması sağlanır.
  • +
  • Öğelerin veri türlerine ek olarak, etiket türlerini gösteren sayısal değerleri de bulunur.
  • +
+

Ek olarak:

+
    +
  • Rust'ın enumları, tagged union olarak bilinen etiketli birliklerdir.
  • +
  • Rust cebirsel türlere sahiptir denildiğinde anlatılmak istenen; türlerin, yeni bir tür oluşturmak amacıyla birleştirilmesinden başka bir şey değildir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_ua.html b/30_ua.html new file mode 100644 index 000000000..3182bb7ee --- /dev/null +++ b/30_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Переліки з даними

+

Елементи enum можуть мати один або більше типів даних, тобто мають ту ж саму поведінку, що й union з мови С. +Коли enum ставиться у відповідність за допомогою match, можна прив'язати змінну до кожного значення даних. +Деталі збереження переліків в пам'яті:

+
    +
  • Значення даних переліку буде займати в пам'яті стільки місця, скільки займає її найбільший елемент. +Це дозволяє усім потенційним значенням займати однакову кількість пам'яті.

  • +
  • На додачу до типу даних, кожен елемент переліку має числове значення, яке являє собою тег.

  • +
+

Інші деталі:

+
    +
  • Переліки в Rust також відомі як теговані об'єднання (tagged union)
  • +
  • Комбінування типів для створення нового типу - це те, що люди мають на увазі, коли кажуть, що Rust має алгебраїчні типи (algebraic types)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_vi.html b/30_vi.html new file mode 100644 index 000000000..8a203c4df --- /dev/null +++ b/30_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Liệt kê với dữ liệu

+

Các phần tử enum cũng có thể có một hoặc nhiều kiểu dữ liệu cho phép chúng hoạt động giống như union từ C.

+

Khi một mẫu enum được so khớp bằng cách sử dụng match, bạn có thể liên kết một tên biến với mỗi giá trị dữ liệu.

+

Chi tiết bộ nhớ của enum:

+
    +
  • Một giá trị dữ liệu enum sẽ có kích thước bộ nhớ bằng phần tử lớn nhất của nó. Điều này cho phép tất cả các giá trị tiềm năng nằm trong cùng một không gian bộ nhớ.
  • +
  • Ngoài các kiểu dữ liệu phần tử (nếu có), mỗi phần tử còn có một giá trị số thể hiện đó là thẻ nào.
  • +
+

Những chi tiết khác:

+
    +
  • Enum của Rust là một thứ còn được gọi là tagged union.
  • +
  • Khi nói rằng Rust có algebraic types(các kiểu đại số), đó là việc kết hợp các kiểu để tạo ra một kiểu mới.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_zh-cn.html b/30_zh-cn.html new file mode 100644 index 000000000..bab7ff693 --- /dev/null +++ b/30_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

带数据的枚举

+

enum 的元素可以有一个或多个数据类型,从而使其表现得像 C 语言中的联合

+

当使用 match 对一个 enum 进行模式匹配时,可以将变量名称绑定到每个数据值。

+

enum 的内存细节:

+
    +
  • 枚举数据的内存大小等于它最大元素的大小。此举是为了让所有可能的值都能存入相同的内存空间。
  • +
  • 除了元素数据类型(如果有)之外,每个元素还有一个数字值,用于表示它是哪个标签。
  • +
+

其他细节:

+
    +
  • Rust 的 enum 也被称为标签联合 (tagged-union)
  • +
  • 把类型组合成一种新的类型,这就是人们所说的 Rust 具有 代数类型 的含义。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/30_zh-tw.html b/30_zh-tw.html new file mode 100644 index 000000000..91ec1aa5c --- /dev/null +++ b/30_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

列舉與資料

+

enum 元素可以有一個或多個資料型別,這使得它們就像 C 語言裡的 union 一樣。

+

當一個 enummatch 匹配到時,你可以將一個變量名綁定到每一個資料數值。

+

enum 的記憶體詳細說明:

+
    +
  • 一個列舉資料數值會擁有一塊記憶體大小,而該大小等同於最大的元素。這允許所有可能的數值都可以放進同樣的記憶體空間。
  • +
  • 除了元素的資料型別 (如果有的話),每一個元素同時都還擁有一個數值用來表示他是哪個標籤。
  • +
+

其他細節:

+
    +
  • Rust 的 enum 也被稱作標記聯合 (tagged union)。
  • +
  • 型別組合在一起產生新的型別,即是人們所說 Rust 擁有代數型別 (algebraic types)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/31_al.html b/31_al.html new file mode 100644 index 000000000..5f37eae63 --- /dev/null +++ b/31_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitulli 3 - Konkluzion

+

Sa emocionuese! Tani kemi mjetet më themelore për përfaqësimin e formës së + ideve tona në kod. Shpresojmë tani ne

+

mund të shohim një dritë sesi funksionet themelore të Rust funksionojnë në harmoni dhe + koncizitet me llojet e tij. Në vazhdim do të flasim për

+

një koncept që u jep llojeve tona të të dhënave edhe më shumë fleksibilitet të përfaqësimit: + gjenerike.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_ar.html b/31_ar.html new file mode 100644 index 000000000..12e9cf5c4 --- /dev/null +++ b/31_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 3 - الخلاصة

+

كم هو مثير! لدينا الآن الأدوات الأساسية لتمثيل أفكارنا على شكل شيفرة برمجية (code). نأمل الآن أن نرى لمحة عن كيف يقوم رست (Rust) بعمل العمليات الأساسية بانسجام وإيجاز مع أنواعها. وسنتحدث بعد ذلك عن المفهوم الذي يمنح أنواع البيانات لدينا مرونة أكبر في التمثيل: التعميم (generics).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_de.html b/31_de.html new file mode 100644 index 000000000..d81b3f243 --- /dev/null +++ b/31_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 3 - Fazit

+

Wie aufregend! Wir haben jetzt das Werkzeug, womit wir unsere Ideen im Code repräsentieren können. +Diese Einblicke in Rust's fundamentale Operationen und wie sie im Einklang zueinander stehen, sollte bei so manchen von euch +hoffentlich einen Funken verursacht haben. Als nächstes wagen wir uns in noch mehr Flexibilität: den generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_en.html b/31_en.html new file mode 100644 index 000000000..3dcb3cbb8 --- /dev/null +++ b/31_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Conclusion

+

How exciting! We now have the most basic tools for representing the form of our ideas in code. Hopefully now we +can see a glimmer of how Rust's fundamental operations work in harmony and conciseness with its types. Next up we will talk about +a concept that gives our data types even more flexibility of representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_es.html b/31_es.html new file mode 100644 index 000000000..35ab6a2e8 --- /dev/null +++ b/31_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Conclusión

+

¡Genial! Ahora tenemos las herramientas más básicas para representar nuestras ideas en código. +Esperemos que ahora podamos ver un atisbo de cómo las operaciones fundamentales de Rust funcionan +en armonía y concisión con sus tipos. A continuación hablaremos de un concepto que da a nuestros +tipos de datos aún más flexibilidad de representación: los genéricos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_fa.html b/31_fa.html new file mode 100644 index 000000000..201ce19ce --- /dev/null +++ b/31_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Conclusion

+

How exciting! We now have the most basic tools for representing the form of our ideas in code. Hopefully now we +can see a glimmer of how Rust's fundamental operations work in harmony and conciseness with its types. Next up we will talk about +a concept that gives our data types even more flexibility of representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_fi.html b/31_fi.html new file mode 100644 index 000000000..1d22ffc82 --- /dev/null +++ b/31_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 3 - Conclusion

+

How exciting! We now have the most basic tools for representing the form of our ideas in code. Hopefully now we +can see a glimmer of how Rust's fundamental operations work in harmony and conciseness with its types. Next up we will talk about +a concept that gives our data types even more flexibility of representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_fr.html b/31_fr.html new file mode 100644 index 000000000..5b4862a08 --- /dev/null +++ b/31_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 3 - Conclusion

+

Super! Nous possédons désormais les outils qu'il nous faut pour représenter nos idées avec du code. +Espérons que maintenant nous pouvons voir plus clairement comment les opérations fondamentales de Rust fonctionnent +en harmonie et de manière concise avec les types. Dans le prochain chapitre, nous parlerons d'un concept qui +donne à nos données encore plus de flexibilité dans leur représentation: la généricité.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_gr.html b/31_gr.html new file mode 100644 index 000000000..de3b24696 --- /dev/null +++ b/31_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 3 - Κατάληξη

+

Τι συναρπαστικό! Έχουμε πλέον όλα τα πιο βασικά εργαλεία για να αναπαριστούμε τη μορφή των ιδεών μας σε κώδικα. Ευελπιστούμε πλέον να μπορούμε να δούμε έστω και λίγο το πώς οι θεμελιώδεις λειτουργείες της Rust εναρμονίζονται περιεκτικά με τους τύπους της. Μετά θα μιλήσουμε για κάτι που δίνει στους τύπους δεδομένων μας ακόμα μεγαλύτερη ευελιξία στην αναπαράσταση: Τις γενικότητες.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_hu.html b/31_hu.html new file mode 100644 index 000000000..6ed562446 --- /dev/null +++ b/31_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3. Fejezet - Konklúzió

+

Milyen izgalmas! Ezzel elsajátítottuk azokat az alapvető eszközöket, amikkel a gondolatainkat +kódban is reprezentálhatjuk. Remélhetőleg így már legalább egy kicsit átsejlik, hogy is működnek +a Rust alapvető műveletei összhangban a típusokkal. Legközelebb olyasvalamiről fogunk beszélni, +ami még több rugalmasságot ad az adatok reprezentációjára, név szerint: a generikus +típusok-ról.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_id.html b/31_id.html new file mode 100644 index 000000000..1cd35f283 --- /dev/null +++ b/31_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 3 - Conclusion

+

How exciting! We now have the most basic tools for representing the form of our ideas in code. Hopefully now we +can see a glimmer of how Rust's fundamental operations work in harmony and conciseness with its types. Next up we will talk about +a concept that gives our data types even more flexibility of representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_ie.html b/31_ie.html new file mode 100644 index 000000000..860205cf3 --- /dev/null +++ b/31_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 3 - Conclusion

+

Quam excitant! Noi ja nu possede un tre basic utensilarium por representar li forme de nor idés in nor code. +Esperabilmen desde nu noi va posseder un poc aclaration pri qualmen li operationes fundamental in Rust labora junt +in harmonie e con concision con su tipes. A sequer noi va parlar pri un concept quel da nor data-types +mem plu flexibilitá e plu representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_it.html b/31_it.html new file mode 100644 index 000000000..3a5636862 --- /dev/null +++ b/31_it.html @@ -0,0 +1,45 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 3 - Conclusioni

+

Molto interessante! Ora abbiamo gli strumenti fondamentali per rappresentare le nostre idee sotto forma di codice. Dovresti poter intravedere un barlume di come in Rust il codice ed i dati lavorano in modo armonico e conciso. Prossimamente parleremo di un concetto che da ancora più flessibilità di rappresentazione ai nostri tipi dato: i generics .

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_ja.html b/31_ja.html new file mode 100644 index 000000000..e8fe44a57 --- /dev/null +++ b/31_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 3 章 - まとめ

+

興奮するでしょう!これで我々は基本的なツールを手に入れ、コードで我々の思考を表現することができます。 +次の章では Generics について説明します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_ko.html b/31_ko.html new file mode 100644 index 000000000..61f0784f2 --- /dev/null +++ b/31_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3장 - 마무리

+

신난다! 이제 우리는 아이디어를 코드로 표현할 수 있는 가장 기본적인 도구를 갖게 되었습니다. +이제 Rust의 기본 기능이 어떻게 자료형들과 함께 조화롭고 간결하게 동작하는지 어렴풋이 보이길 바랍니다. +다음에는 자료형에 더 많은 표현의 유연함을 주는 개념인 제네릭(generics)에 대해 알아보겠습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_ne.html b/31_ne.html new file mode 100644 index 000000000..498fd8d6a --- /dev/null +++ b/31_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 - Conclusion

+

How exciting! We now have the most basic tools for representing the form of our ideas in code. Hopefully now we +can see a glimmer of how Rust's fundamental operations work in harmony and conciseness with its types. Next up we will talk about +a concept that gives our data types even more flexibility of representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_pl.html b/31_pl.html new file mode 100644 index 000000000..736a77eb1 --- /dev/null +++ b/31_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 3 - Podsumowanie

+

Ale super! Mamy już podstawowe narzędzia do reprezentowania bardziej skomplikowanych konstrukcji i idei w kodzie.

+

Mam nadzieję, że wszystkie dotychczas omówione elementy zaczynają tworzyć pewną całość i że zaczynasz dostrzegać potencjał Rusta.

+

W następnym rozdziale przyjrzymy się bardzo ciekawemu aspektowi języka, który pozwoli nam programować w jeszcze bardziej elastyczny sposób. Mowa oczywiście o notacji generycznej.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_pt-br.html b/31_pt-br.html new file mode 100644 index 000000000..89524a971 --- /dev/null +++ b/31_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Conclusão

+

Que legal! Agora temos as ferramentas mais básicas para representar as nossas idéias no código.

+

Esperamos que agora possamos ver como as operações fundamentais do Rust funcionam em harmonia e concisão com seus tipos. A seguir, falaremos sobre um conceito que oferece aos nossos tipos de dados ainda mais flexibilidade de representação: genéricos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_ro.html b/31_ro.html new file mode 100644 index 000000000..bccf946a4 --- /dev/null +++ b/31_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 3 - Concluzie

+

Ce palpitant! Acum avem în sfârșit toate uneltele de bază pentru a reprezenta ideile noastre în cod. Sper că acum +putem vedea puțin din felul în care operațiile fundamentale din Rust funcționează armonios și în mod concis cu tipurile sale de date. În cele ce urmează o să vorbim despre +un concept care atribuie tipurilor noastre de date și mai multă flexibilitate în reprezentare: genericitate (generics).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_ru.html b/31_ru.html new file mode 100644 index 000000000..2adad86ac --- /dev/null +++ b/31_ru.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 3 - Заключение

+

Как здорово! Теперь у нас есть большинство базовых инструментов для формирования наших идей в виде кода. +Надеемся, что теперь мы можем увидеть проблеск того, как основные операции Rust работают в гармонии и согласии с его типами. Далее мы поговорим о концепции, которая дает нашим типам данных ещё большую гибкость представления: обобщенные типы (generics).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_th.html b/31_th.html new file mode 100644 index 000000000..c1ada74a5 --- /dev/null +++ b/31_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 3 - สรุป

+

น่าตื่นเต้นไหม! ตอนนี้เครื่องมือขั้นพื้นฐานที่สุด ก็พร้อมให้เราเปลี่ยนไอเดียลงไปเป็นโค้ดได้แล้ว หวังว่าตอนนี้เราจะเห็นแสงรำไรหน่อยๆแล้ว สิ่งจำเป็นพื้นฐานของ Rust ทำงานสอดประสานและใกล้ชิดกับประเภทตัวแปรมากขนาดไหน ต่อจากนี้ เดี๋ยวเราจะพูดกันถึงเรื่อง แนวคิดที่จะทำให้ประเภทของข้อมูลมีความยืดหยุ่นมากขึ้น ผ่านการแทนด้วย: generics

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_tr.html b/31_tr.html new file mode 100644 index 000000000..dcc863c84 --- /dev/null +++ b/31_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 3 - Sonuç

+

Artık fikirlerimizi kodlarla ifade edebileceğimiz temel araçlara kavuşmamız harika! Umuyorum bu bölümde Rust'un temel işlemlerinin, türleriyle nasıl özlü ve uyumlu şekilde çalıştığını daha net kavrayabilmişizdir. +Sonraki bölümde veri yapılarının tek bir tür yerine, türden bağımsız şekilde genelleştirilmesine ve daha esnek biçimde gösterilmesine olanak sağlayan genel türler kavramına değineceğiz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_ua.html b/31_ua.html new file mode 100644 index 000000000..dbe3325c5 --- /dev/null +++ b/31_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 3 - Висновки

+

Чудово! Тепер ми маємо усі базові інструменти для надання форми нашим ідеям у коді. Сподіваюся, що тепер ви бачите, як фундаментальні операціі мови Rust працюють в гармонії з її типами.

+

Далі ми поговоримо про концепт, що надає типам даних ще більшої гнучкості в представленні: узагальненим типам (generics)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_vi.html b/31_vi.html new file mode 100644 index 000000000..ec857f50a --- /dev/null +++ b/31_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Tổng kết

+

Thật thú vị! Giờ đây, chúng ta có những công cụ cơ bản nhất để thể hiện dạng ý tưởng của chúng ta. Hy vọng rằng, bây giờ chúng ta có thể thấy một chút về cách các hoạt động cơ bản của Rust hoạt động một cách hài hòa và ngắn gọn với các loại của nó. Tiếp theo, chúng ta sẽ nói về một khái niệm cung cấp cho các kiểu dữ liệu của chúng ta khả năng biểu diễn linh hoạt hơn: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_zh-cn.html b/31_zh-cn.html new file mode 100644 index 000000000..2a84a0d02 --- /dev/null +++ b/31_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 总结

+

太好了!现在我们有了一些用代码来展示我们想法最基本的工具。 +希望现在我们能看到 Rust 的基本操作是如何与它的类型和谐一致地工作的。 +接下来我们将讨论一个概念,它为我们的数据类型提供了更大的灵活性:泛型

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/31_zh-tw.html b/31_zh-tw.html new file mode 100644 index 000000000..4eafb459e --- /dev/null +++ b/31_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 總結

+

多麼令人興奮!現在我們有了最基本的工具,可以用來將我們的點子以程式碼的方式呈現出來。 但願現在我們能看到些許 Rust 的基礎操作是如此簡潔和諧的與它的型別一起工作。 接下來我們會探討一個概念,它可以讓我們的資料型別在呈現上更有彈性:泛型 (generics)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/33_al.html b/33_al.html new file mode 100644 index 000000000..a666a9a2e --- /dev/null +++ b/33_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] What Are Generic Types?

+

Generic types allow us to partially define a struct or enum, enabling a compiler to create a fully +defined version at compile-time based off our code usage.

+

Rust generally can infer the final type by looking at our instantiation, but if it needs help you +can always be explicit using the ::<T> operator, also known by the name turbofish (he's a good friend of mine!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_ar.html b/33_ar.html new file mode 100644 index 000000000..57ead8acd --- /dev/null +++ b/33_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ما هي الأنواع المعممة (Generic types)؟

+

تسمح لنا الأنواع المعممة (Generic types) بتعريف جزئي لهيكل (struct) أو معدودة (enum)، وذلك لتمكين مترجم اللغة (compiler) من تعريف إصدارات كاملة أثناء وقت الترجمة (compile-time) بناءا على استخدام شيفرتنا البرمجية (code).

+

يمكن لرست (Rust) استنتاج النوع النهائي بعد النظر لتمثيلنا (instantiation) لذلك النوع، ولكن إذا أردت أن تكون واضح فيمكنك دائما إستخدام العامل <T>::، والذي يعرف أيضا باسم عنفة السمكة turbofish (إنه صديق جيد بالنسبة لي!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_de.html b/33_de.html new file mode 100644 index 000000000..d86051f48 --- /dev/null +++ b/33_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Was sind generische Typen?

+

Generische Typen ermöglichen es uns ein struct oder enum nur teilweise zu definieren, was dem Compiler ermöglicht +eine komplett definierte Version zur Compile-Zeit aus unserem Code zu generieren.

+

Generell kann sich Rust aus unserer Instanziierung den finalen Datentypen erschließen, aber wenn es einmal Hilfe +benötigt kannst du immer ganz einfach und explizit mit dem ::<T> operator, auch bekannt unter dem Namen turbofisch +(ein guter Freund von mir), nachhelfen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_en.html b/33_en.html new file mode 100644 index 000000000..3fd9440be --- /dev/null +++ b/33_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Are Generic Types?

+

Generic types allow us to partially define a struct or enum, enabling a compiler to create a fully +defined version at compile-time based off our code usage.

+

Rust generally can infer the final type by looking at our instantiation, but if it needs help you +can always be explicit using the ::<T> operator, also known by the name turbofish (he's a good friend of mine!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_es.html b/33_es.html new file mode 100644 index 000000000..5f8b37b1f --- /dev/null +++ b/33_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

¿Qué Son los Tipos Genéricos?

+

Los tipos genéricos nos permiten definir parcialmente una estructura (struct) o enum, +permitiendo a un compilador crear una versión completamente definida en tiempo de compilación +basada en el uso de nuestro código.

+

Por lo general, Rust puede inferir el tipo final mirando nuestra instanciación, pero si necesita +ayuda siempre puede indicarlo usando el operador ::<T>, también conocido con el nombre de turbofish.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_fa.html b/33_fa.html new file mode 100644 index 000000000..4610a924e --- /dev/null +++ b/33_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Are Generic Types?

+

Generic types allow us to partially define a struct or enum, enabling a compiler to create a fully +defined version at compile-time based off our code usage.

+

Rust generally can infer the final type by looking at our instantiation, but if it needs help you +can always be explicit using the ::<T> operator, also known by the name turbofish (he's a good friend of mine!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_fi.html b/33_fi.html new file mode 100644 index 000000000..394640521 --- /dev/null +++ b/33_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] What Are Generic Types?

+

Generic types allow us to partially define a struct or enum, enabling a compiler to create a fully +defined version at compile-time based off our code usage.

+

Rust generally can infer the final type by looking at our instantiation, but if it needs help you +can always be explicit using the ::<T> operator, also known by the name turbofish (he's a good friend of mine!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_fr.html b/33_fr.html new file mode 100644 index 000000000..59da53c38 --- /dev/null +++ b/33_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Qu'est-ce que les types génériques?

+

Les types génériques permettent de définir partiellement une structure ou une énumération, laissant le compilateur +créer une version parfaitement définie lors de la compilation du programme.

+

Rust peut généralement inférer le type final en observant de quelle manière est faite l'instantiation. Si besoin, +on peut explicitement utiliser l'opérateur ::<T> pour spécifier le type, +egalement appelé turbofish (c'est un bon ami à moi!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_gr.html b/33_gr.html new file mode 100644 index 000000000..3ff78056d --- /dev/null +++ b/33_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Τι είναι οι γενικοί τύποι;

+

Οι γενικοί τύποι μας επιτρέπουν να ορίσουμε τμηματικά μία δομή ή μία απαρίθμηση (struct ή enum αντιστοίχως), επιτρέποντας στο μεταφραστή να δημιουργήσει μία πλήρως ορισμένη εκδοχή την ώρα της μετάφρασης ανάλογα με το πώς τη χρησιμοποιούμε όντως.

+

Η Rust γενικότερα μπορεί να συμπεράνει τον τελικό τύπο κοιτώντας το πώς το χρησιμοποιούμε, αλλά αν χρειαστεί βοήθεια μπορείτε πάντοτε να το ορίσετε ρητά χρησιμοποιώντας τον τελεστή ::<T>, γνωστό επίσης και με το όνομα τουρμπόψαρο. Είμαστε καλοί φίλοι!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_hu.html b/33_hu.html new file mode 100644 index 000000000..2ffd0d9b7 --- /dev/null +++ b/33_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

De mik is azok a generikus típusok?

+

A generikus típusok lehetővé teszik számunkra, hogy részben definiáljunk egy struct-ot vagy +enum-ot. Ezt később a fordító automatikusan kiegészíti az alapján, hogy hogyan használjuk +őket. A Rust általában képes kitalálni, mi is lesz a végleges típus a példányosítás során, de ha +segítségre van szüksége, akkor expliciten te magad is megadhatod a ::<T>, becenevén +turbofish operátor segítségével is (aki nem mellesleg egy jó barátom is!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_id.html b/33_id.html new file mode 100644 index 000000000..9137d7e13 --- /dev/null +++ b/33_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] What Are Generic Types?

+

Generic types allow us to partially define a struct or enum, enabling a compiler to create a fully +defined version at compile-time based off our code usage.

+

Rust generally can infer the final type by looking at our instantiation, but if it needs help you +can always be explicit using the ::<T> operator, also known by the name turbofish (he's a good friend of mine!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_ie.html b/33_ie.html new file mode 100644 index 000000000..fdbb5d3aa --- /dev/null +++ b/33_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quo es Tipes Géneric?

+

Tipes géneric possibilisa li partial definition de un struct o enum, con quel li compilator va posser +crear un version completmen definat quande it compila se secun li code quel noi scri.

+

Rust por li pluparte posse inferer li tip final per regardar nor instantiation, ma si it besona auxilie tu posse +sempre esser plu explicit con li operator ::<T>, anc conosset con li nómine turbofish (un pisc quel es un +de mi bon amics!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_it.html b/33_it.html new file mode 100644 index 000000000..5ec73f345 --- /dev/null +++ b/33_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cosa sono i tipi generici ?

+

I tipi generici ci consentono di definire parzialmente una struct o un enum, lasciando al compilatore il compito di creare una versione completamente definita in base al nostro utilizzo nel codice.

+

Rust può dedurre il tipo finale in base all'utilizzo nel codice, ma se avesse bisogno di aiuto puoi esplicitare usando l'operatore ::<T>, conosciuto con il nomignolo turbofish (il caro pesceturbo è anche un mio vecchio amico!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_ja.html b/33_ja.html new file mode 100644 index 000000000..f6b257562 --- /dev/null +++ b/33_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ジェネリック型とは?

+

ジェネリック型は structenum を部分的に定義することを可能にします。 +コンパイル時にコードでの使用状況に基づいて完全に定義されたバージョンが生成されます。

+

Rust は通常、インスタンスを生成するコードから最終的な型を推論できます。 +しかし補助が必要な場合は、::<T> 演算子を使って明示的に指定できます。 +この演算子は turbofish という名前でも知られています(彼とは仲良しです!)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_ko.html b/33_ko.html new file mode 100644 index 000000000..098d89a55 --- /dev/null +++ b/33_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic 자료형이란?

+

generic 자료형은 structenum을 부분적으로 정의하여, 컴파일러가 +컴파일 타임에 코드 사용을 기반으로 완전히 정의된 버전을 만들 수 있게 해줍니다.

+

Rust는 일반적으로 인스턴스화 하는 것을 보고 최종 자료형을 유추할 수 있으나, +여러분의 도움이 필요한 경우에는 turbofish (내 친한 친구입니다!)로도 알려진 ::<T> 연산자를 사용해 언제든 명시적으로 지정할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_ne.html b/33_ne.html new file mode 100644 index 000000000..0f611f3da --- /dev/null +++ b/33_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] What Are Generic Types?

+

Generic types allow us to partially define a struct or enum, enabling a compiler to create a fully +defined version at compile-time based off our code usage.

+

Rust generally can infer the final type by looking at our instantiation, but if it needs help you +can always be explicit using the ::<T> operator, also known by the name turbofish (he's a good friend of mine!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_pl.html b/33_pl.html new file mode 100644 index 000000000..e7b064993 --- /dev/null +++ b/33_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Czym Są Typy Generyczne?

+

Typy generyczne pozwalają nam na stworzenie częściowej definicji struktury struct czy wyliczenia enum, która pozwoli kompilatorowi na stworzenie bardziej konkretnej implementacji naszej wersji kodu w procesie kompilacji.

+

Ogólnie rzecz biorąc, Rust jest w stanie domyśleć się większości typów zmiennych analizując nasz kod. Jeśli jednak kompilator nie będzie w stanie samodzielnie określić typu, zawsze możemy udzielić mu wskazówki korzystając z operatora ::<T>. Ze względu na swój osobliwy wygląd przypominający tekstową reprezentację niewielkiej (choć zwinnej) ryby, operator ten jest znany pod nazwą turbofish.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_pt-br.html b/33_pt-br.html new file mode 100644 index 000000000..26987182f --- /dev/null +++ b/33_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O Que São Tipos Genéricos?

+

Tipos genéricos nos permitem definir parcialmente uma struct ou enum, deixando que o compilador instancie uma versão dela definida em tempo de compilação totalmente com base em nosso código.

+

Geralmente o Rust pode inferir o tipo final observando a nossa instanciação, mas se ele precisar de ajuda você sempre pode ser explícito usando o operador ::<T>, também conhecido pelo nome turbofish (ele é um bom amigo meu!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_ro.html b/33_ro.html new file mode 100644 index 000000000..3e676b921 --- /dev/null +++ b/33_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ce sunt tipurile generice?

+

Tipurile generice ne lasă să definim parțial o structură (struct) sau o enumerare (enum), permițând compilatorului să creeze o +versiune definită complet în timpul compilării, bazată pe modul în care am folosit codul.

+

În general, Rust poate deduce tipul final analizând instanțierea noastră, dar dacă are nevoie de ajutor, +puteți oricând să instanțiați explicit folosind operatorul ::<T>, cunoscut sub numele de turbofish (e un bun prieten de-ai mei!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_ru.html b/33_ru.html new file mode 100644 index 000000000..e727ba9ea --- /dev/null +++ b/33_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Что такое обобщённые типы (Generic Types)?

+

Обобщённые типы позволяют частично определять struct или enum, позволяя компилятору создать полностью +объявленную версию во время компиляции, основываясь на использовании обобщенного типа.

+

Обычно компилятор может вывести конечный тип, анализируя код создания значения, но вы всегда можете +явно указать тип для обобщенного типа с помощью оператора турбо-рыба (turbofish) ::<T> (не бойтесь её).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_th.html b/33_th.html new file mode 100644 index 000000000..db445c2df --- /dev/null +++ b/33_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Types คืออะไร?

+

Generic types ช่วยให้เราสามารถ กำหนด struct หรือ enum เฉพาะบางส่วนได้ และยอมให้คอมไพเลอร์ สร้างส่วนที่เหลือให้เสร็จโดยอ้างอิงจากการใช้งานจริงในโค้ด

+

โดยปกติแล้ว Rust มีความสามารถในการ อนุมาน type ที่มันเป็นจริงๆได้ โดยดูจากค่าที่เราสร้างอินสแตนซ์นั้นขึ้นมา แต่ถ้าเราอยากที่จะทำให้มันชัดเจนไปเลยก็ให้ใช้ตัวดำเนินการ ::<T> ส่วนมากเราจะเรียกมันว่า turbofish (นี่เพื่อนรักของฉันเลยนะ!)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_tr.html b/33_tr.html new file mode 100644 index 000000000..39a3f5104 --- /dev/null +++ b/33_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Genel TürLer Nelerdir?

+

Bunlar, derleyicinin kısmen tanımladığımız bir yapı (struct) yahut numaralandırmayı (enum), kodun kullanım şekline göre değerlendirip, mükemmel şekilde tanımlanmış derleme zamanı sürümünü oluşturmasına olanak sağlayan genelleştirilmiş türlerdir.

+

Türlerin genellenerek tektipleştirildiği programlarda nihai tür, kod bağlamımının derleyici tarafından değerlendirimesiyle elde edilmektedir. Bununla birlikte bazı durumlarda, tür çıkarsama işlemi karmaşaya neden olabileceğinden, türün açıkça bildirilmesi gerekebilir. Bu gibi durumlarda bir yengecin en iyi arkadaşı olan ve benim de çok sevdiğim, turbofish adıyla bilinen ::<T> işlecini kullanabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_ua.html b/33_ua.html new file mode 100644 index 000000000..63e7f5e09 --- /dev/null +++ b/33_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Що таке узагальнені типи (Generic Types)?

+

Узагальнені типи дозволяють частково визначати структури(struct) чи переліки(enum), залишаючи компілятору створення повністю визначеної версії типу під час компіляції, базуючись на використанні цього типу.

+

Загалом, Rust може вивести кінечний тип на основі ініціалізаціі значення, але якщо він потребує допомоги, ви завжди можете явно його вказати, використовуючи оператор ::<T>, відомий як турбо-риба(turbofish) (він також наш гарний друг)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_vi.html b/33_vi.html new file mode 100644 index 000000000..6697cfa0c --- /dev/null +++ b/33_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic type là gì?

+

Các kiểu chung cho phép chúng ta xác định một phần một struct hoặc một enum, cho phép trình biên dịch tạo một phiên bản được xác định đầy đủ tại thời điểm biên dịch(compile-time) dựa trên việc sử dụng code của chúng ta.

+

Rust thường có thể suy ra kiểu cuối cùng bằng cách nhìn vào phần khởi tạo của chúng ta, nhưng nếu nó cần giúp đỡ, bạn luôn luôn có thể sử dụng toán tử :: <T> để làm cho nó mọi thứ rõ ràng hơn. Nó còn có tên khác đó là turbofish (anh ấy là một người bạn tốt đấy!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_zh-cn.html b/33_zh-cn.html new file mode 100644 index 000000000..ee8f7471c --- /dev/null +++ b/33_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型是什么?

+

泛型允许我们不完全定义一个 structenum,使编译器能够根据我们的代码使用情况,在编译时创建一个完全定义的版本。

+

Rust 通常可以通过查看我们的实例化来推断出最终的类型,但是如果需要帮助,你可以使用 ::<T> 操作符来显式地进行操作, +该操作符也被称为 turbofish (它是我的好朋友!)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/33_zh-tw.html b/33_zh-tw.html new file mode 100644 index 000000000..9e7710151 --- /dev/null +++ b/33_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什麼是泛型?

+

泛型允許我們定義一部份的結構 (struct) 或列舉 (enum),使編譯器根據我們的程式碼,在編譯時期就產生一個完整的版本。

+

Rust 大多時候可以根據我們的實體 (instantiation) 來推斷最終型別,但如果你需要幫忙的話,只要使用 ::<T> 運算子, 你也可以明確的表示出來,我們也稱之為 turbofish (他也是我的其中一個好朋友!)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_al.html b/34_al.html new file mode 100644 index 000000000..ee876ba08 --- /dev/null +++ b/34_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ar.html b/34_ar.html new file mode 100644 index 000000000..0a5a82872 --- /dev/null +++ b/34_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تمثيل لا شيء

+

في لغات أخرى، يتم استخدام الكلمة المفتاحية خالي (null) لتمثيل غياب القيمة. وهذا يسكل صعوبة في لغات البرمجة لأنه هناك احتمالية فشل برنامجنا عند التفاعل مع متغير (variable)/حقل (field).

+

رست (Rust) ليس له الكلمة المفتاحية خالي (null) لكنه لا يهمل أهمية تمثيل اللاشيء! بحيث فكرو في تمثيل بسيط باستخدام أداة نعرفها بالفعل.

+

لا شيء (None) هي نمط بديل شائع جدا في رست (Rust) لتمثيل قيمة أو عدة قيم خالية بسبب افتقاره إلى القيمة خالي (null). وتساعد الأنواع المعممة (Generic types) في حل هذا التحدي.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_de.html b/34_de.html new file mode 100644 index 000000000..3d2097978 --- /dev/null +++ b/34_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_en.html b/34_en.html new file mode 100644 index 000000000..0841d2951 --- /dev/null +++ b/34_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_es.html b/34_es.html new file mode 100644 index 000000000..5803901c6 --- /dev/null +++ b/34_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ausencia de Valor

+

En otros lenguajes de programación, la palabra reservada null se utiliza para representar la ausencia de valor. +Esto crea ciertas dificultades en dichos lenguajes, ya que aparece la posibilidad de que nuestro programa falle al +interactuar con una variable o campo.

+

En Rust no hay null, pero eso no quiere decir que ignore la importancia de representar la ausencia de valor. +Se puede representar usando herramientas que ya conocemos.

+

Este patrón de proporcionar una alternativa nula None para uno o muchos valores alternativos es muy común en +Rust debido a su falta de un valor null. Los tipos genéricos ayudan a resolver este desafío.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_fa.html b/34_fa.html new file mode 100644 index 000000000..878ea356d --- /dev/null +++ b/34_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_fi.html b/34_fi.html new file mode 100644 index 000000000..82e7c96c8 --- /dev/null +++ b/34_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_fr.html b/34_fr.html new file mode 100644 index 000000000..28a892401 --- /dev/null +++ b/34_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representation de valeurs nulles

+

Dans les autres languages, le mot-clé null est utilisé pour représenter l'abscence de valeur. +Cela crée des difficultés dans les langages de programmation car il est possible que le programme +s'arrête lorsque celui-ci essaie d'utiliser une valeur qui n'est pas présente.

+

Rust ne possède pas le mot-clé null, mais n'ignore pas la nécessité de représenter l'abscence de valeur! +Nous pouvons cependant créer une représentation naive en utilisant un outil que nous connaissons déjà.

+

Ce pattern fournissant une représentation alternative None pour une ou plusieurs valeurs est très souvent utilisé. +En effet Rust ne possède pas le mot-clé null comme dans les autres langages. Les types génériques peuvent cependant +aider à résoudre ce problème.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_gr.html b/34_gr.html new file mode 100644 index 000000000..85697fd33 --- /dev/null +++ b/34_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Αναπαράσταση του τίποτε

+

Σε άλλες γλώσσες, η λέξη κλειδί null χρησιμοποιείται για να αναπαραστήσει την απουσία μίας τιμής. Δημιουργεί όμως διάφορες δυσκολίες στις γλώσσες προγραμματισμού επειδή εισάγει την πιθανότητα να σφάλλει το πρόγραμμά μας όταν αλληλεπιδρά με κάποια μεταβλητή ή κάποιο πεδίο.

+

Στη Rust το null δεν υπάρχει, αλλά δεν αγνοείται η σημασία της αναπαράστασης του τίποτε! +Σκεφτείτε μία αφελή αναπαράσταση που χρησιμοποιεί ένα εργαλείο που γνωρίζουμε ήδη.

+

Το πρότυπο της συμπερίληψης μίας εναλλακτικής τιμής Ουδέν ανάμεσα σε μία ή περισσότερες άλλες εναλλακτικές πιθανότητες είναι πολύ σύνηθες στη Rust λόγω ακριβώς της έλλειψης της τιμής null. Οι γενικοί τύποι βοηθούν στην επίλυση αυτής της πρόκλησης.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_hu.html b/34_hu.html new file mode 100644 index 000000000..9e4794330 --- /dev/null +++ b/34_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A Semmi reprezentációja

+

Egyes nyelvek a null kulcsszóval jelölik, ha egy érték hiányzik valahonnan. Ez azonban gyakran +vezet komplikációkhoz, hisz ezek a nyelvek lehetővé teszik, hogy a program hibába fusson amikor +egy változóhoz hozzáfér. Éppen ezért a Rust nem rendelkezik ilyesfajta null értékkel. Viszont +ez nem jelenti azt, hogy a fejlesztők nem voltak tisztában a koncepció hasznosságával, de +mielőtt megnézzük az ő megoldásukat, próbáljuk meg mi magunk írni egy naiv megoldást a +problémára.

+

A None ("Üres"/"Semmi") mint alternatív érték amivel még nem létező adatot jelölünk +rengetegszer előfordul a Rust nyelvben a null hiánya miatt. Hogy ennek használata gyorsabb és +kevésbé nehézkes legyen, a fejlesztők kitaláltak egy egységes módszert erre a generikus típusok +segítségével, amit a következő oldalon mutatunk be.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_id.html b/34_id.html new file mode 100644 index 000000000..c2e35ce7a --- /dev/null +++ b/34_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ie.html b/34_ie.html new file mode 100644 index 000000000..6674dad9c --- /dev/null +++ b/34_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representar Nullcos

+

In altri lingues, on usa li clave-parol null por representar li absentie de un valore. To crea +desfacilitás in lingues de programmation pro que it crea li possibilitá de fallition de nor programma +quande it interacte con un variabile/camp.

+

Rust ne possede null, ma it conosse tre bon li importantie de posser representar nullcos! +Lass nos considerar un representation naiv usante un utensile quel noi ja conosse.

+

Ti-ci mustre quel provide un alternativ represantation usante None es tam comun in Rust pro su +manca de un valore null. Tipes géneric auxilia soluer ti-ci defí.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_it.html b/34_it.html new file mode 100644 index 000000000..327b7a247 --- /dev/null +++ b/34_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rappresentare il Nulla

+

Negli altri linguaggi viene usata la parola chiave null per rappresentare l'assenza di un valore. +Questo è spesso fonte di difficoltà, perchè lascia aperta la possibilità che il nostro programma possa fallire, dato che prima o poi potrebbe interagire con una variabile o campo senza alcun valore.

+

Rust non ha il null, ma non trascura l'importanza di poter rappresentare il concetto di "valore assente". +Considera qui a lato una semplice rappresentazione che usa un enunciato (enum) già conosciuto.

+

Questo schema che fornisce una rappresentazione None alternativa per uno o più valori è molto +comune in Rust, perchè non c'è il valure null. I tipi generici aiutano a risolvere questa problematica.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ja.html b/34_ja.html new file mode 100644 index 000000000..c31732e23 --- /dev/null +++ b/34_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

値がないことの表現

+

他の言語では、値が存在しないことを表すためにキーワード null が用いられます。 +これは変数やフィールドの操作に失敗する可能性があることを意味するため、プログラミング言語に困難をもたらします。

+

Rust には null はありませんが、値がないことを表現することの重要性を無視しているわけではありません。 +既に知っているツールを使った素朴な表現を考えてみましょう。

+

1つ以上の値を None によって代替するパターンは、null がない Rust ではとても一般的です。 +ジェネリック型はこの問題を解決するのに役立ちます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ko.html b/34_ko.html new file mode 100644 index 000000000..a250d3559 --- /dev/null +++ b/34_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

아무 것도 없는 것을 표현하기

+

다른 언어에서 null 키워드는 값이 없음을 나타내기 위해 사용됩니다. +이는 프로그래밍 언어에 어려움을 유발하는데, 변수나 field를 처리하는 중에 +프로그램이 실패할 수도 있기 때문입니다.

+

Rust에는 null이 없습니다만, 아무 것도 없음을 표현하는 것의 중요성을 무시하는 것은 아닙니다! +우리가 이미 아는 도구를 사용한 순수한 표현법을 고려해봅시다.

+

이렇게 한 개 이상의 선택 가능한 값에 대해 None 선택지를 제공하는 방법은 +null 값이 없는 Rust에서 매우 흔한 패턴입니다. generic 자료형은 이러한 어려움을 해결하는 데에 도움을 줍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ne.html b/34_ne.html new file mode 100644 index 000000000..72c08fc50 --- /dev/null +++ b/34_ne.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_pl.html b/34_pl.html new file mode 100644 index 000000000..35444b482 --- /dev/null +++ b/34_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Reprezentacja Niczego

+

W wielu językach programowania, słowo kluczowe null jest używane do oznaczenia braku wartości. Jednym z problemów związanych z takim podejściem jest sytuacja, w której nasz program może niespodziewanie zakończyć działanie kiedy próbujemy wejść w interakcję ze zmienną która akurat jest niczym. +W Ruscie nie istnieje koncepcja null. Nie oznacza to jednak braku możliwości reprezentacji niczego w tym języku!

+

Po prawej stronie mamy przykładową implementację wykorzystującą znane nam już narzędzie.

+

Taki wzorzec, polegający na reprezentacji niczego opcją None dla jednej lub więcej wartości, jest bardzo częstym widokiem w Ruscie. Powodem jest właśnie możliwość zastąpienia w ten sposów niewygodnego null. +Typy generyczne pomogą nam definiować uniwersalne rozwiązania z wykorzystaniem None zamiast null.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_pt-br.html b/34_pt-br.html new file mode 100644 index 000000000..b7569d0d6 --- /dev/null +++ b/34_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representando o Nada

+

Em outras linguagens, a palavra-chave null é usada para representar a ausência de um valor. Isso cria dificuldades nas linguagens de programação, porque possibilita que o nosso programa possa falhar ao interagir com uma variável/campo.

+

O Rust não tem null, mas não ignora a importância de representar o nada! Considere uma representação ingênua usando uma ferramenta que já conhecemos.

+

Esse padrão para fornecer uma representação alternativa ao None por um ou vários valores alternados é muito comum em Rust devido à falta de um valor null. Os tipos genéricos ajudam a resolver esse desafio.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ro.html b/34_ro.html new file mode 100644 index 000000000..cb0744984 --- /dev/null +++ b/34_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Reprezentarea nimicului

+

În alte limbaje, cuvântul cheie null este folosit pentru a reprezenta absența unei valori. El creează +dificultăți în limbajele de programare, pentru că este posibil ca aplicația noastră să eșueze +când interacționează cu o variabilă sau un câmp cu această valoare.

+

Rust nu are tipul null, dar nu este ignorant când vine vorba de importanța reprezentării nimicului! +Gândiți-vă la o reprezentare naivă folosind o unealtă pe care o cunoaștem deja.

+

Alternativa None pentru una sau mai multe valori care pot varia este așa de +des întâlnită în Rust din cauza lipsei unei valori null. Tipurile generice ne ajută însă să trecem de acest obstacol.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ru.html b/34_ru.html new file mode 100644 index 000000000..8a1b6e7d5 --- /dev/null +++ b/34_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Представление отсутствия значения (Representing Nothing)

+

В других языках ключевое слово null используется для обозначения отсутствия значения. +Это вызывает проблемы в языках программирования, потому что создает возможности того, что программа может завершиться ошибкой +при взаимодействии с переменной/полем.

+

Rust не имеет null, но это не игнорирует важность представления "ничего" (отсутствия значения)! +Рассмотрим наивное представление, используя инструмент, который мы уже знаем.

+

Данная схема предоставления альтернативного значения None для одного или нескольких альтернативных значений распространена в +Rust, потому что в нём отсутствует null значение. Обобщённые типы помогают решить эту ситуацию.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_th.html b/34_th.html new file mode 100644 index 000000000..da65420a7 --- /dev/null +++ b/34_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ตัวแทนของความว่างเปล่า

+

ในภาษาโปรแกรมมิ่งอื่นจะใช้คีย์เวิร์ด null แทนการไม่มีค่า แต่นั่นก็สร้างความยุ่งยากให้เราอีก ก็เพราะว่า มันเปิดโอกาสให้โปรแกรมเราล้มเหลวถ้าเราดันไปทำอะไรกับค่าพวกนี้เข้า

+

ดังนั้น Rust ก็เลยไม่มี null แต่ก็อย่าหาว่าเราละเลยความจำเป็นของการมีอยู่ของ ค่าความว่างเปล่า นะ ลองดูสิ่งที่เรานำเสนอแบบซื่อๆในแบบของเราที่เคยเห็นกันมาแล้ว

+

เราเสนอการใช้ None สำหรับค่าที่มีทางเลือกอย่างน้อย 1 อย่างว่าจะออกมาเป็นอะไรกันแน่ ซึ่งเกิดขึ้นได้บ่อยๆใน Rust เพราะเราไม่มี null นั่นเอง Generic types จึงมีบทบาทในการช่วยแก้ไขปัญหาเหล่านี้ให้เรา

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_tr.html b/34_tr.html new file mode 100644 index 000000000..53f3736a3 --- /dev/null +++ b/34_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Boş Değer Gösterimi

+

Pek çok programlama dilinde null anahtar sözcüğü, değer yokluğunun temsilinde kullanılır. Bu değerin varlık ya da yokluğunun denetlenmememesi, değişken ve nesne alanlarıyla etkileşime giren programlarda, çok ciddi sorunlara yol açabilmektedir.

+

Rust'ta null anahtar kelimesi olmamasına rağmen, boş değer denetimi hiçbir zaman ihmal edilmez. Bir değerin varlık ya da yokluğu enum türü kullanılarak temsil edilebilir.

+

Rust'ta null değerlerin yokluğu, olmayan değerlerin olası tüm hallerini temsil eden ve hiç biri anlamına gelen None ifadesinin, genelleştirilen türler aracılığıyla kullanılmasına neden olur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_ua.html b/34_ua.html new file mode 100644 index 000000000..8c027e8a7 --- /dev/null +++ b/34_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Представлення відсутності значення

+

В інших мовах ключове слово null використовується для представлення відсутності значення. Це створює деякі проблеми через наявність можливості нашої програми закінчитися з помилкою під час роботи зі змінною чи полем.

+

Rust не має null, але це не відкидає важивості представлення відсутності значення!

+

Розглянемо найпростіше представлення, використовуючи ті інструменти, які ми вже знаємо.

+

Цей паттерн надання значення None для одного чи більше альтернативних значень досить розповсюджений в Rust через відсутність значення null. Узагальнені типи допомагають вирішити цю проблему.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_vi.html b/34_vi.html new file mode 100644 index 000000000..1943d856a --- /dev/null +++ b/34_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đại diện cho "Nothing"

+

Trong các ngôn ngữ khác, từ khóa null được sử dụng để biểu thị sự vắng mặt của một giá trị. Nó tạo ra khó khăn trong các ngôn ngữ lập trình vì nó tạo ra khả năng chương trình của chúng ta có thể bị lỗi khi tương tác với một biến/trường.

+

Rust không có null, nhưng nó không phải là không biết tầm quan trọng của việc đại diện cho "Nothing"! Hãy xem xét một sự biểu diễn ngây thơ bằng cách sử dụng một công cụ mà chúng ta đã biết. Kiểu cung cấp sự đại diện thay thế None cho một hoặc nhiều giá trị thay thế này rất phổ biến trong Rust vì nó thiếu giá trị null. +Generic type giúp giải quyết thách thức này.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_zh-cn.html b/34_zh-cn.html new file mode 100644 index 000000000..cee54b0c5 --- /dev/null +++ b/34_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

表示空

+

在其他语言中,关键字 null 用于表示没有值。它给编程语言带来了困难,因为它使我们的程序在与变量字段交互时可能失败。

+

Rust 没有 null,但这并不代表我们不知道表示空的重要性!我们可以使用一个我们已经了解过的工具来简单地表示这一点。

+

因为缺少 null 值,这种为一个或多个替代值提供 None 替代表示的模式非常常见, +泛型有助于解决这一难题。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/34_zh-tw.html b/34_zh-tw.html new file mode 100644 index 000000000..9646f07c5 --- /dev/null +++ b/34_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

空值表示

+

在其他語言裡,關鍵字 null 用來表示空值。這在程式語言裡產生了一些問題,因為它有可能讓我們的程式因為存取變量或欄位時失敗。

+

Rust 沒有 null,但這不代表我們不知道表示空值的重要性!我們用一個已知的工具來簡單的表示。

+

透過給定一個 None 來表示一個或多個其他數值,在 Rust 是非常常見的,因為它沒有 null。泛型可以用來幫助解決這個問題。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_al.html b/35_al.html new file mode 100644 index 000000000..e1ecd8cf1 --- /dev/null +++ b/35_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ar.html b/35_ar.html new file mode 100644 index 000000000..0d2571f37 --- /dev/null +++ b/35_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الخيار (Option)

+

رست (Rust) يحتوي على معدودة عميمة (generic enum) تدعى بخيار Option تسمح لنا بتمثيل قيم خالية (nullable values) بدون استعمال الكلمة المفتاحية خالي (null).

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

هذه المعدودة (enum) شائعة جدا، ويمكن إنشاء مثلاء (instances) المعدودة في أي مكان مع خيارات المعدودة (enum variants) بعض (Some) و لاشيء (None)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_de.html b/35_de.html new file mode 100644 index 000000000..68f6bbd83 --- /dev/null +++ b/35_de.html @@ -0,0 +1,54 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_en.html b/35_en.html new file mode 100644 index 000000000..7403b5d93 --- /dev/null +++ b/35_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_es.html b/35_es.html new file mode 100644 index 000000000..027123526 --- /dev/null +++ b/35_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust tiene un enumerado genérico integrado llamado Option que nos permite representar +valores nulos sin usar null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Este enum es tan común que se pueden crear instancias del enum en cualquier lugar con las +palabras reservadas Some y None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_fa.html b/35_fa.html new file mode 100644 index 000000000..88b932e49 --- /dev/null +++ b/35_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_fi.html b/35_fi.html new file mode 100644 index 000000000..786bf4f24 --- /dev/null +++ b/35_fi.html @@ -0,0 +1,54 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_fr.html b/35_fr.html new file mode 100644 index 000000000..eb1177070 --- /dev/null +++ b/35_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Le langage Rust met à disposition une énumération générique Option qui permet de +représenter des valeurs pouvant être nulles sans utiliser null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Ce type d'énumération est tellement commun qu'on peut créer une instance de cette énumération directement avec les variantes d'énumération Some et None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_gr.html b/35_gr.html new file mode 100644 index 000000000..8bfdd9780 --- /dev/null +++ b/35_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Στη Rust υπάρχει μία προκατασκευασμένη γενική απαρίθμηση ονόματι «Προαίρεση» (Option) η οποία μας επιτρέπει να αναπαραστήσουμε ενδεχομένως εσφαλμένες τιμές χωρίς τη null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Αυτή η απαρίθμηση είναι τόσο συνήθης, που μπορούμε να δημιουργήσουμε μεταβλητές αυτού του τύπου οπουδήποτε και οποτεδήποτε με τις πιθανότητες της απαρίθμησης Some και None· αντιστοίχως, Κάποιο και Ουδέν.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_hu.html b/35_hu.html new file mode 100644 index 000000000..bb8812fef --- /dev/null +++ b/35_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option - Opcinális értékek

+

A Rust-ba bele van építve egy generikus enum, melyet Option-nak hívnak, mellyel nullázható +értékeket tudunk reprezentálni anélkül, hogy a null-ra szükségünk lenne.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Ez az enum annyira gyakori, hogy a kódban bárhol létrehozható a Some és None változatok +segítségével.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_id.html b/35_id.html new file mode 100644 index 000000000..97f2362bf --- /dev/null +++ b/35_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ie.html b/35_ie.html new file mode 100644 index 000000000..4aff1a54f --- /dev/null +++ b/35_ie.html @@ -0,0 +1,54 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust possede ja un enum géneric nominat Option quel lassa nos posser representar valores nullabil +sin li usation de null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Ti enum es tam frequent que on posse crear instanties de it úcunc con li clave-paroles Some e None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_it.html b/35_it.html new file mode 100644 index 000000000..1bdac639a --- /dev/null +++ b/35_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust ha di serie un tipo generico enum chiamato Option che ci permette di rappresentare valori nullabili senza usare null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Questa enum è molto comune, e le istanze di questa enum possono essere create ovunque con le varianti Some e None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ja.html b/35_ja.html new file mode 100644 index 000000000..85b72c590 --- /dev/null +++ b/35_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rustには Option と呼ばれるジェネリックな列挙型が組み込まれており、null を使わずに null 許容な値を表現できます。

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

この列挙型はとても一般的なもので、SomeNone を使えばどこでもインスタンスを生成できます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ko.html b/35_ko.html new file mode 100644 index 000000000..1438588d8 --- /dev/null +++ b/35_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

옵션

+

Rust에는 null을 쓰지 않고도 nullable한 값을 표현할 수 있는 +Option이라 불리는 내장된 generic enum이 있습니다.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

이 enum은 매우 흔해서, 어디서나 SomeNone으로 enum을 인스턴스화 할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ne.html b/35_ne.html new file mode 100644 index 000000000..d3b7cc984 --- /dev/null +++ b/35_ne.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_pl.html b/35_pl.html new file mode 100644 index 000000000..b98d8d863 --- /dev/null +++ b/35_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Opcja (Option)

+

Wbudowany w język Rust został specjalny generyczny typ wyliczenia o nazwie Option (ang. opcja), który pozwala na korzystanie z pustych wartości bez użycia null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

To wyliczenie jest niezwykle powszechne w Ruscie. Możemy z niego korzystać w jakimkolwiek miejscu w naszym kodzie, przywołując jego warianty Some (ang. coś) oraz None (ang. nic).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_pt-br.html b/35_pt-br.html new file mode 100644 index 000000000..a354371a2 --- /dev/null +++ b/35_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

O Rust possui uma enumeração genérica embutida chamada Option que nos permite representar valores nulos sem precisar usar o null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Essa enumeração é tão comum que as suas instâncias podem ser criadas em qualquer lugar com a palavra-chave Some e None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ro.html b/35_ro.html new file mode 100644 index 000000000..59d4fccdb --- /dev/null +++ b/35_ro.html @@ -0,0 +1,54 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust are o enumerare deja implementată numită Option care ne permite să reprezentăm valori care pot fi nule (nullable) +fără să folosim null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Această enumerare este foarte comună, instanțe ale acestei enumerări pot fi create oriunde prin intermediul elementelor din enumerare Some și None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ru.html b/35_ru.html new file mode 100644 index 000000000..b61f2238d --- /dev/null +++ b/35_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Option

+

В Rust есть встроенное (из стандартной библиотеки) обобщённое перечисление Option, которое позволяет представить +нулевые значения без использования null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Это перечисление так распространено, что варианты этого перечисления могут использоваться везде: достаточно просто +написать Some или None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_th.html b/35_th.html new file mode 100644 index 000000000..3a6a1ec96 --- /dev/null +++ b/35_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust มี generic enum ในตัว มีชื่อว่า Option มาช่วยเป็นตัวแทนให้ค่าที่อาจจะเป็น null ได้ โดยไม่ต้องใช้ null

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

enum นี้เป็นของส่วนรวม ทำให้อินสแตนซ์ของ enum ทุกตัว สามารถมีค่าเป็น Some และ None ได้เลย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_tr.html b/35_tr.html new file mode 100644 index 000000000..0730e9d74 --- /dev/null +++ b/35_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust'ta yerleşik olarak gelen ve boş değerlerin null kullanılmadan temsil edilmesine izin veren, Option adında genelleştirilmiş bir enum türü bulunur.

+

enum Option<T> { + None, + Some(T), +}

+

Yaygın olarak kullanılan bu türün örnekleri, Some ve None varyantlarının bir araya getirilmesiyle oluşturulur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_ua.html b/35_ua.html new file mode 100644 index 000000000..58f76ede8 --- /dev/null +++ b/35_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Option

+

Rust має вбудований узагальнений перелік Option, що дозволяє мати пусті значення без використання значення null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Цей перелік настільки загальновживаний, що його екземпляри можуть бути створені просто за допомогою значень Some або None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_vi.html b/35_vi.html new file mode 100644 index 000000000..20d8bf74d --- /dev/null +++ b/35_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust có một enum chung được tích hợp sẵn gọi là Option cho phép chúng tôi biểu diễn các giá trị có thể null mà không cần sử dụng null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Enum này rất phổ biến, các trường hợp của enum có thể được tạo ở bất kỳ đâu với các biến thể enum là SomeNone.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_zh-cn.html b/35_zh-cn.html new file mode 100644 index 000000000..7f91a83ab --- /dev/null +++ b/35_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust 有一个内置的泛型枚举叫做 Option,它可以让我们不使用 null 就可以表示可以为空的值。

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

这个枚举很常见,使用关键字 SomeNone 可以在任何地方创建其实例。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/35_zh-tw.html b/35_zh-tw.html new file mode 100644 index 000000000..85d7ef166 --- /dev/null +++ b/35_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

選項 (option)

+

Rust 有一個內建的泛型列舉 (generic enum) 稱作 Option,它允許我們表示空值而卻不使用 null

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

這種列舉非常常見,它可以在任何地方透過 SomeNone 來產生。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_al.html b/36_al.html new file mode 100644 index 000000000..7291604b0 --- /dev/null +++ b/36_al.html @@ -0,0 +1,55 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_ar.html b/36_ar.html new file mode 100644 index 000000000..156b944ff --- /dev/null +++ b/36_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

النتيجة (Result)

+

رست (Rust) يحتوي على معدودة عميمة (generic enum) تدعى بنتيجة Result يسمح لنا بإرجاع قيمة من المحتمل أن تكون فاشلة. إنها الطريقة الاصطلاحية التي تتعامل بها اللغة مع الأخطاء.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

لاحظ أن النوع المعمم (generic type) الخاص بنا يحتوي على أنواع على شكل معلمات (parameterized types) متعددة مفصولة بفاصلة.

+

هذه المعدودة (enum) شائعة جدا، ويمكن إنشاء مثلاء (instances) المعدودة في أي مكان مع خيارات المعدودة (enum variants) موافق (Ok) و خطأ (Err).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_de.html b/36_de.html new file mode 100644 index 000000000..6b19985ea --- /dev/null +++ b/36_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_en.html b/36_en.html new file mode 100644 index 000000000..b91db20ae --- /dev/null +++ b/36_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_es.html b/36_es.html new file mode 100644 index 000000000..7f5c84b6d --- /dev/null +++ b/36_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust tiene un enumerado genérico integrado llamado Result que nos permite devolver un +valor que puede dar error. Es la forma que este lenguaje tiene de gestionar los errores.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Ten en cuenta que nuestro tipo genérico tiene múltiples tipos parametrizados separados +por una coma.

+

Este enum es tan común que se pueden crear instancias del enum en cualquier lugar con las +palabras reservadas Ok y Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_fa.html b/36_fa.html new file mode 100644 index 000000000..293599b70 --- /dev/null +++ b/36_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_fi.html b/36_fi.html new file mode 100644 index 000000000..0bb26af82 --- /dev/null +++ b/36_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_fr.html b/36_fr.html new file mode 100644 index 000000000..969d9d3ce --- /dev/null +++ b/36_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Le langage Rust met à disposition une énumération générique Result qui permet de renvoyer une valeur qui a la possibilité d'échouer. +C'est la façon idiomatique avec laquelle le language gère les erreurs.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note que ce type générique a plusieurs types paramétrés séparés par une virgule.

+

Cette énumération est très utilisée et on peut créer une instance avec les variantes d'énumération Ok et Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_gr.html b/36_gr.html new file mode 100644 index 000000000..3822b15f4 --- /dev/null +++ b/36_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Η Rust έχει επίσης μία προκατασκευασμένη απαρίθμηση ονόματι Αποτέλεσμα (Result) που μας επιτρέπει να επιστρέψουμε μία τιμή που έχει την πιθανότητα να σφάλλει, επιστρέφοντας παράλληλα και το ποιο ακριβώς ήταν το σφάλμα. Είναι ο πλέον δόκιμος τρόπος της Rust για το χειρισμό σφαλμάτων.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Προσέξτε ότι ο γενικός μας τύπος έχει πλέον δύο παραμέτρους τύπων (<T, E>) οι οποίες χωρίζονται με κόμμα.

+

Και αυτή η απαρίθμηση είναι πολύ κοινότυπη, οπότε μπορούμε να ορίζουμε μεταβλητές με αυτόν τον τύπο χρησιμοποιώντας τις πιθανότητες της απαρίθμησης Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_hu.html b/36_hu.html new file mode 100644 index 000000000..af41e46af --- /dev/null +++ b/36_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result - Sikert kifejező értékek

+

Az Option-höz hasonlóan a Rust-ban egy másik beépített generikus enum is van, a Result. +Ennek segítségével egy olyan értékkel térhetünk vissza, aminek a létrejötte során lehetséges, +hogy hiba történt.

+

A nyelv ennek az enumnak a segítségével oldja meg a hibakezelést.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Figyeljük meg, ahogy a generikus típus több típus paramétert is fogad, melyek vesszővel vannak +elválasztva.

+

Társához hasonlóan ez az enum is nagyon gyakori, így a kódban bárhol példányosítható az Ok és +Err változatok segítségével.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_id.html b/36_id.html new file mode 100644 index 000000000..d3f916396 --- /dev/null +++ b/36_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_ie.html b/36_ie.html new file mode 100644 index 000000000..5de72dad2 --- /dev/null +++ b/36_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust possede su propri enum géneric nominat Result (resultate) quel lassa nos posser retornar un valore quel posse fallir. +To es li maniere idiomatic in ti lingue por tractar errores.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

A notar que nor tip géneric possede pluri tipes parametrisat separat per commas.

+

Ti enum es tam frequent que on posse crear instanties de it úcunc con li clave-paroles Ok e Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_it.html b/36_it.html new file mode 100644 index 000000000..d5f0f16b7 --- /dev/null +++ b/36_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust ha di serie un tipo generico enum chiamato Result che ci permette di ritornare un risultato che ha la possibilità di fallire. +E' il modo idiomatico con cui il linguaggio gestisce gli errori.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Nota che il nostro tipo generico ha tipi parametrici multipli, separati da virgola.

+

Questa enum è molto comune, e le istanze di questa enum possono essere create ovunque con le varianti Ok ed Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_ja.html b/36_ja.html new file mode 100644 index 000000000..c401656de --- /dev/null +++ b/36_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rustには Result と呼ばれるジェネリックな列挙型が組み込まれており、失敗する可能性のある値を返せます。 +これは言語がエラーを処理する際の慣用的な方法です。

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

このジェネリック型はカンマで区切られた複数のパラメータ化された型を持つことに注意してください。

+

この列挙型はとても一般的なもので、OkErr を使えばどこでもインスタンスを生成できます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_ko.html b/36_ko.html new file mode 100644 index 000000000..b3daef63d --- /dev/null +++ b/36_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

결과

+

Rust에는 실패할 가능성이 있는 값을 리턴할 수 있도록 해주는 Result라 불리는 내장된 generic enum이 있습니다. +이는 Rust에서 오류 처리를 하는 관용적인 방법입니다.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

우리의 generic 자료형이 쉼표로 구분된 여러개의 매개화된 자료형(parameterized types)을 갖고 있는 것을 기억해 두기 바랍니다.

+

이 enum은 매우 흔해서, 어디서나 OkErr로 enum을 인스턴스화 할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_ne.html b/36_ne.html new file mode 100644 index 000000000..ef2dfcf6a --- /dev/null +++ b/36_ne.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_pl.html b/36_pl.html new file mode 100644 index 000000000..83fe0d19a --- /dev/null +++ b/36_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rezultat (Result)

+

Kolejnym wbudowanym generycznym typem wyliczeniowym w Ruscie jest Result (ang. rezultat, wynik). Result pozwala nam zwracać wartość w sposób który bierze pod uwagę możliwość wystąpienia błędu. +Korzystanie z Result jest idiomatycznym (tj. przyjętym za najlepszą praktykę) sposobem obsługi błędów w Ruscie.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Zauważ, że nasz typ generyczny ma tutaj kilka parametryzowanych typów oddzielonych przecinkiem.

+

Tak jak w przypadu Option, typ Result jest na tyle powszechny, że jest dostępny na poziomie języka, więc możemy go używać gdziekolwiek bez konieczności importowania czegokolwiek - wystarczy wywołać jego warianty Ok lub Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_pt-br.html b/36_pt-br.html new file mode 100644 index 000000000..0863e090d --- /dev/null +++ b/36_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

O Rust possui uma enumeração genérica chamada Result que nos permite retornar um valor que tem a possibilidade de falhar.

+

Esta é a maneira idiomática pela qual a linguagem faz a manipulação de erros.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Observe que os nosso tipos genéricos possuem vários tipos parametrizados separados por vírgula.

+

Esta enumeração é tão comum que instâncias dela podem ser criadas em qualquer lugar com as palavras-chave Ok e Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_ro.html b/36_ro.html new file mode 100644 index 000000000..c498839e5 --- /dev/null +++ b/36_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust are o enumerare deja implementată numită Result care ne permite să returnăm o valoare care poate eșua în cadrul unei instrucțiuni. +Este modalitatea idiomatică în care limbajul Rust tratează posibilele erori.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Observăm ca aceste tipuri generice au multiple tipuri parametrizate separate prin virgulă.

+

Această enumerare este foarte comună, instanțe ale ei pot fi create oriunde prin intermediul elementelor din enumerare Ok și Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_ru.html b/36_ru.html new file mode 100644 index 000000000..55413942c --- /dev/null +++ b/36_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Result

+

Rust имеет встроенное перечисление Result, которое позволяет вернуть значение или ошибку. +Это идиоматический способ обработки ошибок в языке.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Заметьте, что шаблонный тип имеет несколько обощенных типов, разделенных запятой.

+

Это перечисление так распространено, что его варианты можно создавать везде, просто написав +Ok или Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_th.html b/36_th.html new file mode 100644 index 000000000..dd99c84ed --- /dev/null +++ b/36_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust มี generic enum ในตัว มีชื่อว่า Result มาช่วยให้เราสามารถคืนค่าที่มีความเป็นไปได้ที่จะล้มเหลว นี่เป็นสำนวนทางภาษาของเรา ในการจัดการ error

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

สังเกตดูว่า generic type ของเรามี parameterized types อยู่หลายตัว และแต่ละตัวคั่นด้วยลูกน้ำ

+

enum นี้เป็นของส่วนรวม ทำให้อินสแตนซ์ของ enum ทุกตัว สามารถมีค่าเป็น Ok และ Err ได้เลย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_tr.html b/36_tr.html new file mode 100644 index 000000000..5ddfcefe1 --- /dev/null +++ b/36_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust, yerleşik olarak gelen ve kodun başarısız olması durumunda değer döndürmemize izin veren, Result adında genellenmiş bir enum türüne de sahiptir. Genellenmiş bu enum türü bize, Rust ile hata işlemenin deyimsel yolunu sunar.

+

enum Result<T, E> { + Ok(T), + Err(E), +}

+

Result türünün, virgülle ayrık şekilde parametreleştirilmiş Ok ve Err adında iki farklı türden oluştuğuna dikkat edin.

+

Sıklıkla kullanılan Result türü örneklerini, dilediğiniz yer ve zamanda Ok ve Err varyantlarını belirterek oluşturulabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_ua.html b/36_ua.html new file mode 100644 index 000000000..ac8dff11d --- /dev/null +++ b/36_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Result

+

Rust має вбудований узагальнений тип Result, що дозволяє нам повертати значення або помилку. Це ідиоматичний шлях обробки помилок.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Відмітьте, що перелік має декілька узагальнених значень розділених комою. +Цей перелік також загальновживаний, його екземпляри можуть бути створені просто за допомогою значень Ok або Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_vi.html b/36_vi.html new file mode 100644 index 000000000..e967abdb2 --- /dev/null +++ b/36_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust có một enum chung được tích hợp sẵn có tên là Result cho phép chúng ta trả về một giá trị có khả năng bị lỗi. Đó là một cách đặc trung mà ngôn ngữ xử lý lỗi.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Lưu ý rằng Generic type của chúng ta có nhiều loại được tham số hóa được phân tách bằng dấu phẩy.

+

Enum này rất phổ biến, các phiên bản của enum có thể được tạo ở bất kỳ đâu với các biến thể enum là OkErr.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_zh-cn.html b/36_zh-cn.html new file mode 100644 index 000000000..445e3c7af --- /dev/null +++ b/36_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust 有一个内置的泛型枚举叫做 Result,它可以让我们返回一个可能包含错误的值。 +这是编程语言进行错误处理的惯用方法。

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

注意我们的泛型有多个用逗号分隔的参数化的类型

+

这个枚举很常见,使用关键字 OkErr 可以在任何地方创建其实例。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/36_zh-tw.html b/36_zh-tw.html new file mode 100644 index 000000000..bd265dbca --- /dev/null +++ b/36_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

結果 (result)

+

Rust 有一個內建的泛型列舉稱作 Result,它允許我們回傳一個可能會失敗的數值。 這是處理錯誤的慣用手法。

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

要注意我們的泛型型別有多個參數化型別,它們被逗號隔開。

+

這個列舉非常常見,它可以在任何地方透過 OkErr 來產生。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_al.html b/37_al.html new file mode 100644 index 000000000..c7c5e9a8e --- /dev/null +++ b/37_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_ar.html b/37_ar.html new file mode 100644 index 000000000..c0a6c9675 --- /dev/null +++ b/37_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الدالة الرئيسية القابلة للخطأ (Fallible Main)

+

الدالة الرئيسية main لديها امكانية إرجاع نتيجة (Result)!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_de.html b/37_de.html new file mode 100644 index 000000000..e344ae9a8 --- /dev/null +++ b/37_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_en.html b/37_en.html new file mode 100644 index 000000000..b5ca96ece --- /dev/null +++ b/37_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_es.html b/37_es.html new file mode 100644 index 000000000..79c2e89a9 --- /dev/null +++ b/37_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main Fallido

+

main tiene la capacidad de devolver un valor del enumerado Result

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_fa.html b/37_fa.html new file mode 100644 index 000000000..db3383b97 --- /dev/null +++ b/37_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_fi.html b/37_fi.html new file mode 100644 index 000000000..e5269d933 --- /dev/null +++ b/37_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_fr.html b/37_fr.html new file mode 100644 index 000000000..15111ea69 --- /dev/null +++ b/37_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

main retourne une erreur

+

main a la capacité de retourner une structure Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_gr.html b/37_gr.html new file mode 100644 index 000000000..2b921e736 --- /dev/null +++ b/37_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ενδεχομένως εσφαλμένη Main

+

Η main έχει τη δυνατότητα να επιστρέψει ένα Result! (Option δε γίνεται, το δοκίμασα)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_hu.html b/37_hu.html new file mode 100644 index 000000000..250c3a02c --- /dev/null +++ b/37_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hibát dobó Main

+

A main függvény is képes Result-tal visszatérni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_id.html b/37_id.html new file mode 100644 index 000000000..a765291ee --- /dev/null +++ b/37_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_ie.html b/37_ie.html new file mode 100644 index 000000000..7bf765b16 --- /dev/null +++ b/37_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Un Main Fallibil

+

Anc main posse retornar un Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_it.html b/37_it.html new file mode 100644 index 000000000..dcfc53f9b --- /dev/null +++ b/37_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main fallibile

+

main ha la possibilità di ritornare un Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_ja.html b/37_ja.html new file mode 100644 index 000000000..51103a8a2 --- /dev/null +++ b/37_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

失敗するかもしれない main

+

mainResult を返すことができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_ko.html b/37_ko.html new file mode 100644 index 000000000..536bda943 --- /dev/null +++ b/37_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

실패할 수 있는 메인

+

mainResult를 리턴할 수 있다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_ne.html b/37_ne.html new file mode 100644 index 000000000..8d8fd5f54 --- /dev/null +++ b/37_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_pl.html b/37_pl.html new file mode 100644 index 000000000..341c2570c --- /dev/null +++ b/37_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zawodna Funkcja Main

+

Główna funkcja wejściowa programu, main, posiada możliwość zwrócenia typu Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_pt-br.html b/37_pt-br.html new file mode 100644 index 000000000..5b7bb69c9 --- /dev/null +++ b/37_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main Falível

+

O main tem a capacidade de retornar um Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_ro.html b/37_ro.html new file mode 100644 index 000000000..26dec2799 --- /dev/null +++ b/37_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main-ul care poate eșua

+

main are capacitatea de a returna un Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_ru.html b/37_ru.html new file mode 100644 index 000000000..a6a41d132 --- /dev/null +++ b/37_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возврат результата в Main

+

Функция main может возвращать тип Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_th.html b/37_th.html new file mode 100644 index 000000000..c1736ebf5 --- /dev/null +++ b/37_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main ที่ผิดพลาดได้

+

main เองก็สามารถคืนค่า Result ได้เช่นกัน

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_tr.html b/37_tr.html new file mode 100644 index 000000000..af6cba6e5 --- /dev/null +++ b/37_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main İşlevinden Hata Döndürmek

+

Programlarımızın giriş noktası olan main işlevi, Result türü varyantlarına sarılı değerleri elde etme yeteneğine sahiptir!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_ua.html b/37_ua.html new file mode 100644 index 000000000..5ba456e84 --- /dev/null +++ b/37_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення результату з Main

+

Метод main може повертати тип Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_vi.html b/37_vi.html new file mode 100644 index 000000000..75ee4f0be --- /dev/null +++ b/37_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main lo được!

+

main có khả năng trả về một Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_zh-cn.html b/37_zh-cn.html new file mode 100644 index 000000000..6c6ee1ab0 --- /dev/null +++ b/37_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

可失败的主函数

+

main 函数有可以返回 Result 的能力!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/37_zh-tw.html b/37_zh-tw.html new file mode 100644 index 000000000..97cc9df19 --- /dev/null +++ b/37_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

失敗的主函式 (failable main)

+

main 有能力回傳一個 Result

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_al.html b/38_al.html new file mode 100644 index 000000000..9bdcaa8de --- /dev/null +++ b/38_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ar.html b/38_ar.html new file mode 100644 index 000000000..a5b17bad5 --- /dev/null +++ b/38_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التعال مع الأخطاء بطريقة سلسة (Graceful Error Handling)

+

نتيجة (Result) شائعة جدا لدرجة أن رست (Rust) لديها عامل قوي وهو ? للعمل معها. هذين صياغتين متساويان:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_de.html b/38_de.html new file mode 100644 index 000000000..c99502ea1 --- /dev/null +++ b/38_de.html @@ -0,0 +1,54 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_en.html b/38_en.html new file mode 100644 index 000000000..60e106eb1 --- /dev/null +++ b/38_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_es.html b/38_es.html new file mode 100644 index 000000000..a3b1714ab --- /dev/null +++ b/38_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionar Errores de Forma Elegante

+

Result es tan común que Rust cuenta con el operador ? para trabajar con él. +Estas dos afirmaciones son equivalentes:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_fa.html b/38_fa.html new file mode 100644 index 000000000..f2cdb84fc --- /dev/null +++ b/38_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_fi.html b/38_fi.html new file mode 100644 index 000000000..3c3bff82e --- /dev/null +++ b/38_fi.html @@ -0,0 +1,54 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_fr.html b/38_fr.html new file mode 100644 index 000000000..bb38df17b --- /dev/null +++ b/38_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestion élégante des erreurs

+

Result est tellement commun que Rust possède l'opérateur ? qui lui est associé. Ces deux bout de code sont équivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_gr.html b/38_gr.html new file mode 100644 index 000000000..586f1b234 --- /dev/null +++ b/38_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κομψός χειρισμός σφαλμάτων

+

Οι ενδεχομένως εσφαλμένοι τύποι δεδομένων Result και Option είναι τόσο συνήθεις που η Rust μας προσφέρει έναν πολυδύναμο τελεστή για να δουλεύουμε μ' αυτά: το ?. Οι παρακάτω δύο εκφράσεις είναι ισοδύναμες:

+
kane_kati_pou_mporei_na_sfalei()?
+
+
match kane_kati_pou_mporei_na_sfalei() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+

Ομοίως μπορεί να χρησιμοποιηθεί και για το Option.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_hu.html b/38_hu.html new file mode 100644 index 000000000..d2f056ea1 --- /dev/null +++ b/38_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kíméletes hibakezelés

+

A Result gyakorisága egy új operátor bevezetését is indokolttá tette. Ez a ?. Hogy +bemutassuk mit is tud, nézzünk meg két példát, melyek végeredménye ugyanaz:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_id.html b/38_id.html new file mode 100644 index 000000000..d9e2fb732 --- /dev/null +++ b/38_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ie.html b/38_ie.html new file mode 100644 index 000000000..207a8b7cf --- /dev/null +++ b/38_ie.html @@ -0,0 +1,54 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gracil Tractation de Errores

+

Result es tam frequent que Rust possede li potent operator ? por tractar con ili. Ti du declarationes es egal:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_it.html b/38_it.html new file mode 100644 index 000000000..4a4d4213a --- /dev/null +++ b/38_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestire gli errori elegantemente

+

L'uso di Result è talmente comune che Rust fornisce un comodo e potente operatore ? a questo scopo. Questi due pezzi di codice sono equivalenti:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ja.html b/38_ja.html new file mode 100644 index 000000000..0bf647cb5 --- /dev/null +++ b/38_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

簡潔なエラー処理

+

Result はとてもよく使うので、Rust にはそれを扱うための強力な演算子 ? が用意されています。 +以下の2つのコードは等価です。

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ko.html b/38_ko.html new file mode 100644 index 000000000..916472d1f --- /dev/null +++ b/38_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

우아한 오류 처리

+

Rust는 매우 흔히 사용되는 Result와 함께 쓸 수 있는 강력한 연산자 ?를 갖고 있습니다. 다음 두 구문은 동일합니다:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ne.html b/38_ne.html new file mode 100644 index 000000000..2eac518b9 --- /dev/null +++ b/38_ne.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_pl.html b/38_pl.html new file mode 100644 index 000000000..e30b1a72d --- /dev/null +++ b/38_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Elegancka Obsługa Błędów

+

Typ Result jest na tyle powszechny, że doczekał się swojego własnego operatora. Używając znaku zapytania ? możemy dokonać propagacji błędu w niezwykle zwięzły sposób. Oba z poniższych fragmentów kodu wykonują w praktyce tą samą pracę:

+
zrob_cos_co_moze_nie_zadzialac()?
+
+
match zrob_cos_co_moze_nie_zadzialac() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_pt-br.html b/38_pt-br.html new file mode 100644 index 000000000..c2d934c2b --- /dev/null +++ b/38_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manipulação de Erros Elegantes

+

O Result é tão comum que o Rust tem o poderoso operador ? para trabalhar com ele. Estas duas declarações são equivalentes:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ro.html b/38_ro.html new file mode 100644 index 000000000..3bf3765cd --- /dev/null +++ b/38_ro.html @@ -0,0 +1,54 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionare grațioasă a erorilor

+

Result e atât de des întâlnit încât Rust are un operator important, ?, pentru a le gestiona. Următoarele două afirmații sunt echivalente:

+
execută_ceva_ce_poate_eșua()?
+
+
match execută_ceva_ce_poate_eșua() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ru.html b/38_ru.html new file mode 100644 index 000000000..12db4f122 --- /dev/null +++ b/38_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Элегантная обработка ошибок

+

Тип Result так часто встречается, что в Rust есть могущественный оператор ? для него. Эти две конструкции одинаковы:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e), // возврат из функции
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_th.html b/38_th.html new file mode 100644 index 000000000..75575b32a --- /dev/null +++ b/38_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดการ Error แบบสวยงาม

+

อย่างที่รู้ว่า Result เป็นของกลางๆ Rust จึงมีตัวดำเนินการ ? เอาไว้ใช้คู่กับมัน ทำให้สองคำสั่งนี้ทำงานเหมือนกันเลย:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_tr.html b/38_tr.html new file mode 100644 index 000000000..73312b5c0 --- /dev/null +++ b/38_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hataları Zarif Şekilde İşlemek

+

Result türü o kadar yaygın kullanılmaktadır ki, Rust kendisiyle çalışabilmek için güçlü bir ? işleci sunar. Aşağıdaki iki ifade birbirinin eşdeğeridir: +basarisiz_durum_olustur()?

+

match basarisiz_durum_olustur() { + Ok(d) => d, + Err(e) => return Err(e), +}

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_ua.html b/38_ua.html new file mode 100644 index 000000000..ba3524119 --- /dev/null +++ b/38_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Елегантна обробка помилок

+

Result настільки розповсюджений, що в Rust є окремий оператор ? для роботи з ними. Ці два вирази є еквіватентними:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_vi.html b/38_vi.html new file mode 100644 index 000000000..17a08e739 --- /dev/null +++ b/38_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xử lý lỗi một cách duyên dáng

+

Result phổ biến đến nỗi Rust có một toán tử mạnh mẽ là ? để làm việc với nó. Hai lệnh này tương đương nhau:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_zh-cn.html b/38_zh-cn.html new file mode 100644 index 000000000..95dda07f3 --- /dev/null +++ b/38_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

优雅地错误处理

+

Result 如此常见以至于 Rust 有个强大的操作符 ? 来与之配合。 +以下两个表达式是等价的:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/38_zh-tw.html b/38_zh-tw.html new file mode 100644 index 000000000..bbac29682 --- /dev/null +++ b/38_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

優雅的錯誤處理

+

Result 實在太常見了,所以 Rust 有個強大的 ? 運算子來跟它們一起使用。 底下這兩個敘述是等價的:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_al.html b/39_al.html new file mode 100644 index 000000000..c1edaef1f --- /dev/null +++ b/39_al.html @@ -0,0 +1,69 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_ar.html b/39_ar.html new file mode 100644 index 000000000..e15c203be --- /dev/null +++ b/39_ar.html @@ -0,0 +1,68 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التعامل مع الخيار/النتيجة بطرية ملتوية (Ugly Option/Result Handling)

+

يمكن أن يكون العمل بخيار/نتيجة (Option/Result) أمرًا مملاً عندما تحاول كتابة بعض التعليمات البرمجية السريعة. كل من خيار (Option) و نتيجة (Result) يملكان تابعة تدعى فك (unwrap). يمكن أن يكون ذلك مفيدًا للحصول على قيمة بطريقة سريعة وملتوية. فك ( unwrap ) سوف:

+
    +
  1. تحصل على القيمة داخل الخيار/النتيجة (Option/Result).
  2. +
  3. وإذا كانت المعدودة (enum) من نوع لاشيء/خطأ (None/Err) سوف تنتج ترويع (panic!).
  4. +
+

هاتان القطعتان من التعليمات البرمجية متكافئتان:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

بصورة مماثلة:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

كن رستاسيًا (rustacean) جيدًا واستخدم مُطابقة (match) بشكل صحيح متى تستطيع!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_de.html b/39_de.html new file mode 100644 index 000000000..b4ae0c783 --- /dev/null +++ b/39_de.html @@ -0,0 +1,69 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_en.html b/39_en.html new file mode 100644 index 000000000..d4c9596de --- /dev/null +++ b/39_en.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_es.html b/39_es.html new file mode 100644 index 000000000..ae1dbf420 --- /dev/null +++ b/39_es.html @@ -0,0 +1,70 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionar Errores Option y Result de Forma Poco Elegante

+

Al escribir código rápido, puede que trabajar con Option/Result sea un fastidio. Tanto +Option como Result tienen una función llamada unwrap que puede ser útil para obtener +un valor de manera rápida pero poco elegante. unwrap puede:

+
    +
  1. Obtener el valor dentro de Option/Result.
  2. +
  3. Si la lista es del tipo None/Err, panic!
  4. +
+

Estos dos fragmentos de código son equivalentes:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

De igual manera:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

¡Sé un buen Rustacean y usa match siempre que puedas!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_fa.html b/39_fa.html new file mode 100644 index 000000000..891419948 --- /dev/null +++ b/39_fa.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_fi.html b/39_fi.html new file mode 100644 index 000000000..d57f8c205 --- /dev/null +++ b/39_fi.html @@ -0,0 +1,69 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_fr.html b/39_fr.html new file mode 100644 index 000000000..c60834f98 --- /dev/null +++ b/39_fr.html @@ -0,0 +1,72 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestion peu élégante de Option/Result

+

Utiliser Option et Result peut être fastidieux lorsqu'on souhaite rapidement écrire du code. +Option et Result ont tout les deux une fonction appelé unwrap qui permet d'obtenir une +valeur de manière rapide mais peu élégante. +unwrap va:

+
    +
  1. Renvoyer la valeur de notre Option ou Result

  2. +
  3. Faire 'paniquer' le code si la valeur de l'énumération est de type None ou Err. Lorsqu'un +programme Rust panique, il envoie un message d'erreur et s'arrête.

    +

    Ces deux bout de code sont équivalent

  4. +
+
 my_option.unwrap()
+
+
 match my_option {
+     Some(v) => v,
+     None => panic!("un message d'erreur généré par Rust!"),
+ }
+
+

De même:

+
 my_result.unwrap()
+
+
 match my_result {
+     Ok(v) => v,
+     Err(e) => panic!("un message d'erreur généré par Rust!"),
+ }
+
+

Tu doit être un bon rustacien et utiliser match comme il faut et quand tu peux.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_gr.html b/39_gr.html new file mode 100644 index 000000000..27e1234b2 --- /dev/null +++ b/39_gr.html @@ -0,0 +1,68 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Τσαπατσούλικος χειρισμός των `Option` και `Result`

+

Για την ταχεία συγγραφή κώδικα, ο χειρισμός των Option/Result μπορεί να γίνει πληκτικός. Αμφότεροι οι τύποι λοιπόν έχουν μία μέθοδο ονόματι unwrap η οποία είναι χρήσιμη για την εξαγωγή μίας τιμής «στα βρώμικα». Αυτή η μέθοδος:

+
    +
  1. Εξάγει την τιμή που περιέχεται στο Option/Result
  2. +
  3. Αν δε βρει κάποια τέτοια τιμή, τερματίζει ολόκληρο το πρόγραμμα, με τη χρήση της μακροεντολής panic!.
  4. +
+

Τα παρακάτω δύο τμήματα κώδικα είναι ισοδύναμα:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("κάποιο μήνυμα λάθους"),
+}
+
+

Ομοίως:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("Μήνυμα λάθους"),
+}
+
+

Είναι πάντοτε πολύ προτιμότερο να χρησιμοποιεί κανείς τις δυνατότητες που επιτρέπουν τη συνέχιση της ροής του προγράμματος ακόμα κι αν έχει συμβεί σφάλμα, όπως το match και το ?. Υπάρχουν και πιο εύχρηστες επιλογές βέβαια, όπως το unwrap_or ή το map και το and_then. Φροντίστε λοιπόν να χρησιμοποιείτε το unwrap όσο το δυνατόν σπανιότερα!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_hu.html b/39_hu.html new file mode 100644 index 000000000..f5ac9191d --- /dev/null +++ b/39_hu.html @@ -0,0 +1,72 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Egy ronda mód az Option/Result értékének kinyerésére

+

Néha kissé fárasztó lehet az Option és Result használata, amikor csak valamit gyorsan össze +szeretnénk dobni. Épp ezért mindkét enum rendelkezik egy unwrap 1 nevű metódussal, ami +képes kinyerni az enum-ból az értéket. A függvény a következőket teszi:

+
    +
  1. Kinyeri az Option/Result értékét.
  2. +
  3. Ha ennek az enum-nak az értéke None/Err, akkor panic!
  4. +
+

A következő két kód ugyanazt az eredményt adja:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Hasonlóképp:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Légy jó rustacean [2] és használd a match kulcsszót, amikor csak tudod!

+

[2]: A "rustacean" a "crustacean" vagyis "rákféle" és a "Rust" szavak összerakása. A Rust +közösség tagjai így nevezik egymást.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_id.html b/39_id.html new file mode 100644 index 000000000..47cde354b --- /dev/null +++ b/39_id.html @@ -0,0 +1,69 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_ie.html b/39_ie.html new file mode 100644 index 000000000..3d41b1190 --- /dev/null +++ b/39_ie.html @@ -0,0 +1,69 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desbell Tractation de Errores

+

Sempre usar Option/Result posse devenir íncomod quande on simplicmen vole scrir un poc code. Ambi Option e Result +have un metode nominat unwrap (aperter) quel es comod por strax obtenir un valore ma con un poc desbellesse. unwrap va:

+
    +
  1. trovar li valore intra Option/Result
  2. +
  3. si li valore es de tip None/Err, panic!
  4. +
+

Ti du pezzes de code es egal:

+
mi_option.unwrap()
+
+
match mi_option {
+  Some(v) => v,
+  None => panic!("alquel erra-missage generat de Rust!")
+}
+
+

Similmen:

+
mi_result.unwrap()
+
+
match mi_result {
+  Ok(v) => v,
+  Err(e) => panic!("alquel erra-missage generat de Rust!")
+}
+
+

Esse un bon Rustaceane e usa match sempre quande tu posse!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_it.html b/39_it.html new file mode 100644 index 000000000..50842f036 --- /dev/null +++ b/39_it.html @@ -0,0 +1,69 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestire gli errori e null in modo brutale

+

Quando vuoi solo provare e scrivere velocemente del codice senza badare troppo alla forma, lavorare con Option/Result può diventare noioso. Sia Option che Result hanno una +funzione chiamata unwrap che ti può essere utile per ottenere un valore senza troppe complicazioni. cosa fa unwrap:

+
    +
  1. Prende il valore dentro Option/Result
  2. +
  3. se il valore è di tipo None/Err, chiama panic!
  4. +
+

Questi due spezzoni di codice sono equivalenti:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

In modo simile:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Sii un buon rustacean e usa match in modo appropriato quando puoi!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_ja.html b/39_ja.html new file mode 100644 index 000000000..e89b90ce7 --- /dev/null +++ b/39_ja.html @@ -0,0 +1,70 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

やっつけな Option/Result 処理

+

Option/Result を使って作業するのは、ちょっとしたコードを書くのには厄介です。 +OptionResult の両方には unwrap と呼ばれる関数があり、手っ取り早く値を取得するのには便利です。 +unwrap は以下のことを行います。

+
    +
  1. Option/Result 内の値を取得します。
  2. +
  3. 列挙型が None/Err の場合、panic! します。
  4. +
+

以下の2つのコードは等価です。

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("Rust によって生成されたエラーメッセージ!"),
+}
+
+

同様に:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("Rust によって生成されたエラーメッセージ!"),
+}
+
+

良い Rust 使い(Rustacean)であるためには、可能な限り適切に match を使用してください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_ko.html b/39_ko.html new file mode 100644 index 000000000..b4f4e0f8e --- /dev/null +++ b/39_ko.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

추한 옵션/결과 처리

+

간단한 코드를 짤 때에도 Option/Result를 쓰는 것은 귀찮은 일일 수 있습니다. +OptionResult 둘 다 빠르고 더러운 방식으로 값을 가져오는데 유용한 unwrap이라는 함수를 갖고 있습니다. unwrap은:

+
    +
  1. Option/Result 내부의 값을 꺼내오고
  2. +
  3. enum이 None/Err인 경우에는 panic!
  4. +
+

다음 두 코드는 동일합니다:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

비슷합니다:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

좋은 러스타시안(rustacean)이 되어 가능한 제대로 match를 사용하세요!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_ne.html b/39_ne.html new file mode 100644 index 000000000..5d55df82d --- /dev/null +++ b/39_ne.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_pl.html b/39_pl.html new file mode 100644 index 000000000..ec3ac3110 --- /dev/null +++ b/39_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mniej Elegancka Obsługa Błędów

+

W przypadkach kiedy jesteśmy dopiero na etapie prototypowania, prawidłowa obsługa Option czy Result może okazać się niepotrzebnie żmudna.

+

Zarówno Option jak i Result definiują funkcję o nazwie unwrap, służącą, jak nazwa wskazuje, do "odwijania" opakowanej przez taki typ wartości.

+

Takie "odwijanie" ma jednak jeden problem: jeśli nasz typ okaże się być wariantem None/Err to unwrap wywoła panic!, czyli bez ogródek zatrzyma działanie całego programu.

+

Następujące dwa przykłady są równoważne:

+
moja_opcja.unwrap()
+
+
match moja_opcja {
+    Some(v) => v,
+    None => panic!("miejsce na Twoją wiadomość o błędzie!"),
+}
+
+

Podobnie:

+
moj_rezultat.unwrap()
+
+
match moj_rezultat {
+    Ok(v) => v,
+    Err(e) => panic!("miejsce na Twoją wiadomość o błędzie!"),
+}
+
+

Bądź dobrym rustowcem i korzystaj z wyrażenia match gdzie to tylko możliwe!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_pt-br.html b/39_pt-br.html new file mode 100644 index 000000000..227941142 --- /dev/null +++ b/39_pt-br.html @@ -0,0 +1,68 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manipulação de Option/Erros Deselegante

+

Trabalhar com Option/Result pode ser entediante quando você está apenas tentando escrever um código rápido. Tanto Option quanto Result têm uma função chamada unwrap que pode ser útil para obter um valor de maneira rápida e feia. unwrap irá:

+
    +
  1. Obter o valor de Option/Result
  2. +
  3. Se a enumeração for do tipo None/Err, panic!
  4. +
+

Esses dois trechos de código são equivalentes:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("alguma mensagem de erro gerada pelo Rust!"),
+}
+
+

Similarmente:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("alguma mensagem de erro gerada pelo Rust!"),
+}
+
+

Seja um bom rustáceo e use match apropriadamente quando puder!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_ro.html b/39_ro.html new file mode 100644 index 000000000..cedcb1d55 --- /dev/null +++ b/39_ro.html @@ -0,0 +1,69 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionarea inadecvată a enumerărilor Option/Result

+

Folosirea Option/Result poate fi obositoare când încercați doar să scrieți rapid niște cod. Și Option, și Result au o +funcție numită unwrap care poate fi utilă pentru a primi o valoare rapid, dar în mod periculos. unwrap va fi:

+
    +
  1. valoare din Option/Result
  2. +
  3. panic!, dacă enumerarea este de tip None/Err
  4. +
+

Următoarele bucăți de cod sunt echivalente:

+
opțiunea_mea.unwrap()
+
+
match opțiunea_mea {
+    Some(v) => v,
+    None => panic!("un mesaj de eroare generat de Rust!"),
+}
+
+

În mod similar:

+
rezultatul_meu.unwrap()
+
+
match rezultatul_meu {
+    Ok(v) => v,
+    Err(e) => panic!("un mesaj de eroare generat de Rust!"),
+}
+
+

Fiți un bun Rustaceu și folosiți-vă de match când puteți face asta!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_ru.html b/39_ru.html new file mode 100644 index 000000000..3a909dd8c --- /dev/null +++ b/39_ru.html @@ -0,0 +1,69 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Грязная обработка Option/Result

+

Обрабатывать каждый Option/Result может быть очень утомительным, когда вы всего-то хотите +написать немного кода по-быстрому. Оба Option и Result имеют метод unwrap(), который полезен для извлечения значения, быстрым и не аккуратным способом. Метод unwrap работает так:

+
    +
  1. Вернет внутреннее значение из Option/Result, если оно есть
  2. +
  3. Если значение было None или Err, то метод выполнит макрос 'panic!' (паника)
  4. +
+

Эти два блока кода эквивалентны:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Соответственно:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Будь хорошим разработчиком и используй match, где это необходимо!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_th.html b/39_th.html new file mode 100644 index 000000000..18fa934db --- /dev/null +++ b/39_th.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดการ Option/Result แบบขี้เหร่

+

บางทีการที่ต้องทำงานกับ Option/Result ก็แอบน่าเบื่ออยู่บ้าง เวลาที่เราเร่งเขียนโค้ดอยู่ ทีนี้เจ้า Option และ Result คู่นี้มันมีฟังก์ชันที่ชื่อว่า unwrap อยู่ด้วย เพื่อดึงค่าออกมาแบบเร็วๆ ซึ่งไม่ควรทำ โดย unwrap จะทำดังนี้:

+
    +
  1. ดึงค่าใน Option/Result ออกมา
  2. +
  3. ถ้าเจอค่าใน enum เป็น None/Err จะ panic!
  4. +
+

มาดูสองคำสั่งที่ทำงานเหมือนกันแต่เขียนคนละแบบ:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

ในทำนองเดียวกัน:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

จงเป็น rustacean ที่ดี และใช้ match เถอะ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_tr.html b/39_tr.html new file mode 100644 index 000000000..ef9428fa8 --- /dev/null +++ b/39_tr.html @@ -0,0 +1,69 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option/Result Türlerini Üstünkörü İşlemek

+

Bir programı hızlıca yazıp bitirmek gerektiğinde, Option/Result türlerini ayrı ayrı işlemek size yorucu gelebilir. Bu tür durumlarla karşılaştığınızda, kodunuzu hızlı ancak kaba şekilde tamamlamanıza olanak sağlayan ve her iki türün de uyguladığı unwrap işlevinden yararlanabilirsiniz. Aslında bir yöntem olan bu işlevle etkileşiminiz aşağıdaki gibi gelişecektir:

+
    +
  1. Önce Option/Result içindeki değeri alın,
  2. +
  3. Eğer enum türü None/Err türündeyse panic! üretmeyi düşünün.
  4. +
+

Panik üretildiğinde Rust programlarının işletilmeleri bir hata mesajı eşliğinde durdurulur. +Bu iki kod parçası birbirinin eşdeğeridir:

+
bir_option.unwrap()
+
+
match bir_option {
+    Some(v) => v,
+    None => panic!("Rust'ın hata mesajları!"),
+}
+
+

Benzer şekilde:

+
bir_result.unwrap()
+
+
match bir_result {
+    Ok(v) => v,
+    Err(e) => panic!("Rust'ın hata mesajları!!"),
+}
+
+

Ferris'in kıskaçlarını görür gibiyim: "İyi bir rustacean olun ve gerektiği hallerde match ifadesini doğru şekilde kullanın!"

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_ua.html b/39_ua.html new file mode 100644 index 000000000..63085f254 --- /dev/null +++ b/39_ua.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Брудна обробка Option/Result

+

Робота з Option/Result може бути достатньо стомлюючою, якщо ви хочете просто нашвидкоруч написати трохи коду. І Option, і Result мають функцію unwrap, яка може бути корисна для швидкого і не акуратного отримання значення. unwrap працює таким чином:

+
    +
  1. Поверне значення з Option/Result, якщо воно є.
  2. +
  3. Якщо це значення None чи Err, то метод виконає макрос panic!. +Ці дві частини коду еквівалентні:
  4. +
+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Відповідно:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Будь гарним розробником і правильно використовуй match коли можеш!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_vi.html b/39_vi.html new file mode 100644 index 000000000..2e43929aa --- /dev/null +++ b/39_vi.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xử lý Option/Result xấu

+

Làm việc với Option / Result có thể tẻ nhạt khi bạn chỉ cố gắng viết một số code nhanh. Cả OptionResult đều có một chức năng gọi là unwrap có thể hữu ích để nhận một giá trị một cách nhanh chóng và dễ dàng. unwrap sẽ:

+
    +
  1. Nhận giá trị bên trong Option/Result
  2. +
  3. Nếu enum thuộc loại None/Err, panic!
  4. +
+

Hai đoạn mã này tương đương nhau:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Tương tự:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Hãy là một rustacean giỏi và sử dụng đúng cách match khi bạn có thể!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_zh-cn.html b/39_zh-cn.html new file mode 100644 index 000000000..47cd28d0b --- /dev/null +++ b/39_zh-cn.html @@ -0,0 +1,70 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

丑陋的 Option/Result 处理

+

当你只是试图快速地写一些代码时,Option/Result 对付起来可能比较无聊。 +OptionResult 都有一个名为 unwrap 的函数:这个函数可以简单粗暴地获取其中的值。 +unwrap 会:

+
    +
  1. 获取 Option/Result 内部的值
  2. +
  3. 如果枚举的类型是 None/Err, 则会 panic!
  4. +
+

这两段代码是等价的:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

类似的:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

不过啊,做个好 Rustacean,正确地使用 match

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/39_zh-tw.html b/39_zh-tw.html new file mode 100644 index 000000000..e203f74f2 --- /dev/null +++ b/39_zh-tw.html @@ -0,0 +1,68 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

醜陋的選項 (optino)/結果 (result) 處理

+

如果你只是想快速寫點程式,使用 Option/Result 可能會讓你覺得煩躁。 OptionResult 都有個函式稱作展開 (unwrap),它可以幫你迅速但骯髒的取得數值。 unwrap 將會:

+
    +
  1. 取得選項 (optino)/結果 (result) 裡的數值
  2. +
  3. 如果列舉 (enum) 是 None/Err 型別,那將發生 panic
  4. +
+

下列這兩段程式碼是等價的:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

同樣的:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

當個良好的 Rust 人,當你可以的時候,盡量正確的使用 match

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_al.html b/40_al.html new file mode 100644 index 000000000..3f9ee33b0 --- /dev/null +++ b/40_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ar.html b/40_ar.html new file mode 100644 index 000000000..ada35b4e4 --- /dev/null +++ b/40_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المتجهات (Vectors)

+

من الانواع المعممة (generic types) المفيدة جدا في رست (Rust) هي أنواع التجميعات (collection types). المتجهة (vector) عبارة عن قائمة متغيرة الحجم من العناصر وهي تمثل عن طريق الهيكل (struct) ذو المعرف Vec.

+

الماكرو (macro) vec! يسمح لنا بسهولة إنشاء متجهة (vector) عوض بناء واحدة يدويا.

+

الهيكل Vec لديه تابعة تسمى ()iter والتي تنشئ مكرر (iterator) من المتجهة (vector)، وهذا يسمح لنا وضح المتجهة في حلقة من أجل (for).

+

تفاصيل الذاكرة:

+
    +
  • Vec هي هيكل (struct) ، ولكنه يحتوي داخليًا على مرجع (reference) لقائمة ثابتة لعناصره والموجودة في الكومة (heap)
  • +
  • المتجهة (vector) تبدأ بسعة إفتراضية؛ عند إضافة المزيد من العناصر أكثر من سعتها، فإنها تعيد تخصيص (reallocates) بياناتها على الكومة (heap) للحصول على قائمة ثابتة جديدة ذات سعة أكبر.
  • +
+

تنويه: لفظة ماكرو (macro) تستخدم للتعبير عن دمج عدة أوامر نمطية وكثيرة التكرار في أمر واحد بسيط يمكن استخدامه بسهولة،

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_de.html b/40_de.html new file mode 100644 index 000000000..fd43d7081 --- /dev/null +++ b/40_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_en.html b/40_en.html new file mode 100644 index 000000000..db3ccc17a --- /dev/null +++ b/40_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_es.html b/40_es.html new file mode 100644 index 000000000..09b5ba4bf --- /dev/null +++ b/40_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectores

+

Algunos de los tipos genéricos más útiles son los tipos de colección. Un vector es una lista de +tamaño variable de elementos representados por la estructura Vec.

+

La macro vec! nos permite crear fácilmente un vector en lugar de construirlo manualmente.

+

Vec tiene el método iter() que crea un iterador a partir de un vector, permitiéndonos poner +fácilmente un vector en un bucle for.

+

Detalles de memoria:

+
    +
  • Vec es una estructura, pero internamente contiene una referencia a una lista fija de sus +elementos en el montículo.
  • +
  • Un vector comienza con una capacidad por defecto, cuando se añaden más elementos de los que +tiene capacidad, reasigna sus datos en el montículo para tener una nueva lista fija con más capacidad.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_fa.html b/40_fa.html new file mode 100644 index 000000000..70215b915 --- /dev/null +++ b/40_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_fi.html b/40_fi.html new file mode 100644 index 000000000..b003c2367 --- /dev/null +++ b/40_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_fr.html b/40_fr.html new file mode 100644 index 000000000..30022e0a5 --- /dev/null +++ b/40_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vecteurs

+

Les types génériques les plus utiles sont les collections. Un vecteur est une liste de taille variable +et est représenté par la structure Vec.

+

La macro vec! permet de créer facilement un vecteur au lieu d'avoir à le construire manuellement.

+

Vec possède la méthode iter() qui crée un itérateur à partir d'un vecteur, permettant de parcourir les éléments de celui-ci dans une boucle for.

+

Détails de la mémoire:

+
    +
  • Vec est une structure qui contient une référence vers une liste fixe de ses éléments sur le tas.
  • +
  • Un vecteur est créé avec une capacité par défaut. Lorsque qu'on souhaite ajouter de nouveaux éléments et +qu'il n'y a pas la capacité suffisante, Rust réaffecte les données sur le tas de telle sorte à avoir une nouvelle +taille fixe et une capacité supérieure.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_gr.html b/40_gr.html new file mode 100644 index 000000000..6b12fb85b --- /dev/null +++ b/40_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ανύσματα (Vectors)

+

Κάποιοι απ' τους πιο χρήσιμους γενικούς τύπους είναι οι λεγόμενοι «τύποι συλλογών». Για παράδειγμα, ένα άνυσμα είναι μία αυθαιρέτου μήκους λίστα ομοειδών αντικειμένων που αντιπροσωπεύεται απ' τη δομή Vec.

+

Η μακροεντολή vec! μας επιτρέπει να δημιουργούμε εύκολα ένα άνυσμα αντί να το ορίζουμε με το χέρι στοιχείο-προς-στοιχείο.

+

Τα ανύσματα έχουν τη μέθοδο iter() η οποία μετατρέπει ένα άνυσμα σε διαδρομέα, επιτρέποντάς μας έτσι να χρησιμοποιήσουμε πολύ εύκολα ένα άνυσμα μέσα σε ένα βρόχο for.

+

Λεπτομέρειες μνήμης:

+
    +
  • Τα ανύσματα είναι δομές, και άρα αποθηκεύονται στη στοίβα· τα περιεχόμενα ενός ανύσματος όμως αποθηκεύονται στο σωρό ώστε να μπορούν ν' αυξομειώνονται σε μήκος. Στη στοίβα αποθηκεύεται η αναφορά στην εν λόγω θέση μνήμης του σωρού.
  • +
  • Ένα άνυσμα ξεκινάει με μία προεπιλεγμένη χωρητικότητα. Όταν προστεθούν περισσότερα στοιχεία απ' όσα αντιστοιχούν σε αυτήν, αναδεσμεύει μνήμη στο σωρό για τα δεδομένα του ώστε να έχει ένα νέο διαθέσιμο χώρο με μεγαλύτερη χωρητικότητα, συνήθως τη διπλάσια.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_hu.html b/40_hu.html new file mode 100644 index 000000000..be99eac05 --- /dev/null +++ b/40_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vektorok

+

A generikus típusok egyik leghasznosabb fajtája a gyűjtemény típusok. A vektor - melyet a Vec +struct-tal reprezentálunk - egy változtatható hosszúságú, azonos típusú elemeket tartalmazó +lista.

+

A vec! makró segítségével könnyedén hozhatunk létre vektorokat, ahelyett, hogy manuálisan +kellene azokat összeraknunk.

+

A Vec tartalmaz egy iter() nevű metódust, ami egy iterátort készít a vektorból, melyet, ha a +for ciklussal kombinálunk, könnyedén végiglépkedhetünk a lista összes elemén.

+

Vec a memóriában:

+
    +
  • A Vec egy struct, ami önmagában tartalmaz egy referenciát egy meghatározott hosszuságú +listához, ami a kupacon van tárolva.
  • +
  • A vektor egy bizonyos befogadóképességgel kezd; amikor ennél több értéket teszünk bele, akkor +új, nagyobb tárolóhelyre allokálja át az adatokat a kupacon.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_id.html b/40_id.html new file mode 100644 index 000000000..00bb259b0 --- /dev/null +++ b/40_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ie.html b/40_ie.html new file mode 100644 index 000000000..ebbc87605 --- /dev/null +++ b/40_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

Li tipes por colectiones es un del max util tipes géneric. Un vector es un variabilmen mesurat +liste de articules representat per li struct Vec.

+

Li macro vec! lassa nos facilmen crear un vector vice crear un manualmen.

+

Vec have li metode iter() quel crea un iterator de un vector, con quel noi posse facilmen +plazzar un vector in un loop for.

+

Detallies pri memorie:

+
    +
  • Vec es un struct, ma internmen it contene un referentie a un fix liste de su articules sur li heap.
  • +
  • Un vector comensa con un capacitá decidet, ma quande on adjunte coses a it queles superpassa su capacitá, it +realoca li data sur li heap por haver un nov liste fix con un plu grand capacitá
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_it.html b/40_it.html new file mode 100644 index 000000000..4006fac6f --- /dev/null +++ b/40_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vettori

+

Tra i tipi generici più utili ci sono le collezioni. Un vettore è una lista a dimensione variabile di valori, ed è rappresentato dalla struct Vec.

+

La macro vec! ci permette di popolare facilmente un vettore, invece di farlo a mano.

+

Vec ha il metodo iter() che crea un iteratore da un vettore, il che ci permette di usarlo facilmente in un loop for.

+

Dettagli sulla memoria:

+
    +
  • Vec è una struct, ma internamente contiene il riferimento ad una lista di elementi nello heap.
  • +
  • Un vettore inizia con una capacità predefinita; quando aggiungiamo più elementi di questa capacità, i dati vengono riallocati sullo heap in modo da avere una nuova lista con capacità più grande.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ja.html b/40_ja.html new file mode 100644 index 000000000..5a75c768e --- /dev/null +++ b/40_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ベクタ型

+

最も有用なジェネリック型のいくつかはコレクション型です。 +ベクタは構造体 Vec で表される可変サイズのリストです。

+

マクロ vec! を使えば、手動で構築するよりも簡単にベクタを生成できます。

+

Vec にはメソッド iter() があります。 +これによってベクタからイテレータを生成すれば、ベクタを簡単に for ループに入れることができます。

+

メモリに関する詳細:

+
    +
  • Vec は構造体ですが、内部的にはヒープ上の固定リストへの参照を含んでいます。
  • +
  • ベクタはデフォルトの容量で始まります。 +容量よりも多くの項目が追加された場合、ヒープ上により大きな容量の固定リストを生成して、データを再割り当てします。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ko.html b/40_ko.html new file mode 100644 index 000000000..393bf7053 --- /dev/null +++ b/40_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

벡터

+

가장 유용한 generic 자료형들 중 하나가 collection 자료형입니다. +vector는 Vec struct로 표현되는 가변 크기의 리스트입니다.

+

vec! macro는 vector를 수동으로 일일이 만드는 대신, 손쉽게 생성할 수 있게 해줍니다.

+

Vec는 vector를 for 반복문에 손쉽게 넣을 수 있도록 +vector로부터 반복자를 생성할 수 있는 iter() 메소드를 갖고 있습니다.

+

메모리 상세:

+
    +
  • Vec은 struct이나, 내부적으로는 내용물이 heap에 있는 고정 리스트에 대한 참조를 포함하고 있습니다.
  • +
  • vector는 기본 용량을 갖고 시작하는데, 용량보다 많은 내용물이 추가될 경우, +큰 용량을 가진 새 고정 리스트를 위해 heap에 데이터를 재할당합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ne.html b/40_ne.html new file mode 100644 index 000000000..08beb2720 --- /dev/null +++ b/40_ne.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_pl.html b/40_pl.html new file mode 100644 index 000000000..2c25a26ca --- /dev/null +++ b/40_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wektory

+

Jednym z najbardziej przydatnych typów generycznych są w Ruscie typy kolekcji. +Wektorem nazywamy w Ruscie listę elementów której długość jest zmienna. Typ ten reprezentuje struktura o nazwie Vec.

+

Makro vec! pozwala nam ułatwić nieco proces konstrukcji wektora i zaoszczędzić tym samym trochę czasu.

+

Vec posiada metodę iter() która jest w stanie stworzyć dla nas iterator danego wektora. W ten sposób możemy łatwo wrzucić wektor w pętlę for.

+

Kilka szczegółów odnośnie wykorzystania pamięci:

+
    +
  • Vec sam w sobie jest strukturą, ale jednocześnie wewnątrz niego znajduje się referencja do listy jego elementów na stercie, która to lista jest listą o stałej długości.
  • +
  • nowo stworzony wektor startuje z pewną domyślną wielkością; kiedy zostaje do niego dodane więcej elementów niż przewiduje obecna wielkość, dane wektora przechowywane na stercie zostają przeniesione w nowe miejsce na nową listę o stałej długości.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_pt-br.html b/40_pt-br.html new file mode 100644 index 000000000..16007262f --- /dev/null +++ b/40_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vetores

+

Alguns dos tipos genéricos mais úteis são os tipos de coleção. Um vetor é uma lista de itens de tamanho variável representada pela estrutura Vec.

+

A macro vec! nos permite criar facilmente um ao invés de contruir uma manualmente.

+

Vec possui o método iter() o qual cria um iterador a partir de uma matriz, permitindo-nos facilmente usar um vetor em um loop for.

+

Detalhes da Memória:

+
    +
  • Vec é um struct, mas internamente contém uma referência a uma lista fixa de seus itens no heap.
  • +
  • Um vetor começa com uma capacidade padrão. Quando são adicionados mais itens do que a capacidade inicial, ele realoca seus dados no heap para ter uma nova lista fixa com capacidade maior.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ro.html b/40_ro.html new file mode 100644 index 000000000..cf948de5a --- /dev/null +++ b/40_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectori

+

Unele din cele mai utile tipuri generice sunt colecțiile. Un vector este o listă de dimensiune variabilă de elemente +reprezentate de structura Vec.

+

Macro-ul vec! ne permite să creăm mai ușor un vector decât l-am construi manual.

+

Vec are metoda iter() care creează un iterator dintr-un vector, fiind astfel foarte ușor să +punem un vector în interiorul unei bucle for.

+

Detalii despre memorie:

+
    +
  • Vec este o structură, dar în interior conține o referință la o listă fixă a elementelor sale din heap.
  • +
  • Un vector începe cu o capacitate implicită; când sunt adăugate mai multe elemente decât poate conține, acesta +realocă elementele sale pe heap pentru a avea o nouă listă fixă mai mare.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ru.html b/40_ru.html new file mode 100644 index 000000000..cfea41636 --- /dev/null +++ b/40_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Векторы

+

Одни из самых полезных обобщённых типов - это коллекции. Структура Vec - это динамически изменяемый список.

+

Макрос vec! позволяет удобно создавать векторы, перечисляя его элементы.

+

Vec имеет метод iter(), который создаёт итератор по элементам вектора, позволяя легко использовать вектор в цикле for.

+

Детали для запоминания:

+
    +
  • Vec это структура, но внутри она содержит ссылку на фиксированной список элементов в куче.
  • +
  • При создании, вектор имеет вместимость по умолчанию. Когда в него добавляются элементы, а его вместимость заканчивается, он выделяет новую память (reallocate) в куче с большей вместимостью, чем была.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_th.html b/40_th.html new file mode 100644 index 000000000..0316df6ff --- /dev/null +++ b/40_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

generic type ที่มีประโยชน์ที่สุดประเภทหนึ่งคือพวกที่เป็นคอลเล็คชัน vector คือหนึ่งในนั้น มันเป็นลิสต์ที่มีขนาดแปรผันได้ มาในรูปของ struct Vec

+

มาโคร vec! ใช้สร้าง vector แบบง่ายๆ แทนที่จะไปสร้างเองด้วยมือ

+

Vec มาพร้อมเมธอด iter() ใช้สร้างตัววนซ้ำเวลาเอาไปใส่ใน for ลูป

+

รายละเอียดหน่วยความจำ:

+
    +
  • Vec เป็น struct แต่มันแค่ใช้เก็บการอ้างอิงไปยัง ลิสต์ตัวหนึ่งใน heap
  • +
  • vector เริ่มต้นด้วยความจุขนาดหนึ่ง เมื่อมีการเพิ่มของจนล้นความจุนั้น มันจะไป +จัดสรรเนื้อที่ใหม่บน heap เพื่อเก็บลิสต์ใหม่ ด้วยความจุที่ใหญ่ขึ้น
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_tr.html b/40_tr.html new file mode 100644 index 000000000..a7e54236d --- /dev/null +++ b/40_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vektörler

+

Koleksiyonlar kullanışlı şekilde genelleştirilebilen veri yapılarıdır. Bir koleksiyon türü olan Vec ise, içeriği dinamik olarak değişebilen dizileri ifade eder. +Vektörleri elle oluşturmak yerine basitçe vec! makrosunu kullanabilirsiniz.

+

Vektörler elemanları üzerinde yineleyici oluşturmayı sağlayan iter() özelliğini uyguladıklarından, her bir elemanı için for döngüsü kullanarak yineleme işlemleri gerçekleştirebilirsiniz.

+

Bellek ayrıntıları:

+
    +
  • Vec aslında bir yapı olmasına rağmen, öbek üzerinde konumlandırılan elemanlarının sabit uzunluktaki listesine atıf yapan bir referans içermektedir.
  • +
  • Belleğin öbek kısmında tutulduklarından, varsayılan kapasiteleri aşıldığı hallerde, daha büyük bir kapasiteyle yeniden konumlandırılırlar.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_ua.html b/40_ua.html new file mode 100644 index 000000000..5f1aa1111 --- /dev/null +++ b/40_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Вектори

+

Одні з найбільш корисних узагальнених типів - колекції. Вектор - це список елементів змінної довжини, представлений структурою Vec. +Вектор краще створювати за допомогою макросу vec!, аніж вручну.

+

Vec має метод iter(), котрий створює ітератор на базі вектора і дозволяє використовувати вектор в циклі for.

+

Деталі роботи за памяттю:

+
    +
  • Vec - це структура, але всередині вона має посилання на фіксований список елементів в купі (heap).
  • +
  • Після створення, вектор має довжину за замовчанням; якщо до нього додаються елементи для яких вже немає місця, він виділяє нову область більшої довжини в купі.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_vi.html b/40_vi.html new file mode 100644 index 000000000..b8983de5f --- /dev/null +++ b/40_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vector

+

Một số Generic type hữu ích nhất là kiểu tập hợp. Một vector là một danh sách các mục có kích thước thay đổi được đại diện bởi struct Vec.

+

Macro vec! cho phép chúng ta dễ dàng tạo một vectơ hơn là tạo một vectơ theo cách thủ công.

+

Vec có phương thức iter () tạo một trình vòng lặp từ một vectơ, cho phép chúng ta dễ dàng đưa một vectơ vào vòng lặp for.

+

Chi tiết bộ nhớ:

+
    +
  • Vec là một struct, nhưng bên trong nó chứa một tham chiếu đến một danh sách cố định các phần tử của nó trên heap.
  • +
  • Một vectơ bắt đầu với một dung lượng mặc định; khi nhiều mục được thêm vào hơn khả năng của nó, nó sẽ phân bổ lại dữ liệu của nó trên heap để có một danh sách cố định mới với dung lượng lớn.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_zh-cn.html b/40_zh-cn.html new file mode 100644 index 000000000..bd8642155 --- /dev/null +++ b/40_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

一些经常使用的泛型是集合类型。一个 vector 是可变长度的元素集合,以 Vec 结构表示。

+

比起手动构建,宏 vec! 让我们可以轻松地创建 vector。

+

Vec 有一个形如 iter() 的方法可以为一个 vector 创建迭代器,这允许我们可以轻松地将 vector 用到 for 循环中去。

+

内存细节:

+
    +
  • Vec 是一个结构体,但是内部其实保存了在堆上固定长度数据的引用。
  • +
  • 一个 vector 开始有默认大小容量,当更多的元素被添加进来后,它会重新在堆上分配一个新的并具有更大容量的定长列表。(类似 C++ 的 vector)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/40_zh-tw.html b/40_zh-tw.html new file mode 100644 index 000000000..7689d6219 --- /dev/null +++ b/40_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

向量 (vectors)

+

一些非常有用的泛型型別即是集合型別。一個向量是一個可變長度的物品清單 (list),用結構 (struct) Vec 來表示。

+

巨集 vec! 讓我們可以簡單的產生向量,而不用手動建立。

+

Vec 有個方法叫 iter(),它可以產生一個向量迭代器,讓我們可以簡單的把一個向量放到 for 迴圈裡。

+

記憶體細節:

+
    +
  • Vec 是一個結構 (struct),但在內部裡,它包含一個參考 (reference),該參考指向一個固定於堆 (heap) 上的物品清單。
  • +
  • 一個向量一開始有初始容量,當越來越多物品加入而超過它的容量時,它會重新配置位於在堆 (heap) 上的資料,得到一個有更大容量的固定清單。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/41_al.html b/41_al.html new file mode 100644 index 000000000..f0918e869 --- /dev/null +++ b/41_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_ar.html b/41_ar.html new file mode 100644 index 000000000..4b0687cd5 --- /dev/null +++ b/41_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 4 - الخلاصة

+

لقد تعلمنا في أحد الفصول مقدار القوة التي توفرها لنا الأنواع المعممة (generic types)! لا تقلق إذا كنت لا تعرف تمامًا كيفية استخدام كل شيء، فمن الجيد الآن أن تكون على دراية بالأفكار الرئيسية التي ستراها مرارًا وتكرارًا في الشيفرات البرمجية. أصبحت دوال طويلة نوعا ما! في الفصل التالي سنتحدث عن مفهوم مهم في رست (Rust): ملكية البيانات (data ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_de.html b/41_de.html new file mode 100644 index 000000000..f8f166632 --- /dev/null +++ b/41_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_en.html b/41_en.html new file mode 100644 index 000000000..a10b3aa28 --- /dev/null +++ b/41_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_es.html b/41_es.html new file mode 100644 index 000000000..41b5b2c8f --- /dev/null +++ b/41_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 4 - Conclusión

+

En sólo un capítulo hemos aprendido el poder de los tipos genéricos. No te preocupes si no sabes completamente +cómo usarlo todo, ahora mismo es bueno ser consciente de las principales ideas que verás una y otra vez en el código. +¡Nuestras funciones se están haciendo bastante largas! En el próximo capítulo hablaremos de un concepto importante de +Rust: pertenencia de datos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_fa.html b/41_fa.html new file mode 100644 index 000000000..d280d3a11 --- /dev/null +++ b/41_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_fi.html b/41_fi.html new file mode 100644 index 000000000..5ae65e2a4 --- /dev/null +++ b/41_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_fr.html b/41_fr.html new file mode 100644 index 000000000..6da5c6d53 --- /dev/null +++ b/41_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 4 - Conclusion

+

Dans un seul chapitre, nous avons découvert la puissance des types génériques! Ne t'inquiète pas si tu ne +sais pas parfaitement comment utiliser tout ce que nous venons de voir. Pour le moment il suffit de retenir les +principales idées, nous n'avons pas fini de les revoir encore et encore. Nos fonctions deviennent assez longues! +Dans notre prochain chapitre, nous allons parler d'un concept important dans +Rust: la possession des données (ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_gr.html b/41_gr.html new file mode 100644 index 000000000..703af34f8 --- /dev/null +++ b/41_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 4 - Κατάληξη

+

Μέσα σε ένα κεφάλαιο μάθαμε πόση δύναμη μας δίνουν οι γενικοί τύποι! Μην ανησυχείτε αν δεν καταλαβαίνετε ακόμα πώς να τα χρησιμοποιήσετε όλα, προς το παρόν θέλουμε απλώς να έχετε υπ' όψιν τις κυριότερες ιδέες που θα δείτε ξανά και ξανά στον κώδικα. Οι συναρτήσεις μας έχουν αρχίσει να γίνονται και αρκετά μακροσκελείς! Στο επόμενο κεφάλαιο θα αναλωθούμε σε μία πολύ σημαντική έννοια της Rust: την κυριότητα των δεδομένων.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_hu.html b/41_hu.html new file mode 100644 index 000000000..243e3934e --- /dev/null +++ b/41_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

4. Fejezet - Konklúzió

+

Ebben a fejezetben megtanultuk mennyire is erőteljesek a generikus típusok. Ne csüggedj, ha még +nem állt teljesen össze benned, a fontos az, hogy ismerd azokat az ötleteket, amik újra és újra +előfordulnak a kódban. A függvényeink egyre hosszabbá válnak! A következő fejezet a Rust egy +nagyon-nagyon fontos koncepciójáról fog szólni: arról, hogy ki birtokolja az adatokat.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_id.html b/41_id.html new file mode 100644 index 000000000..f35e282e9 --- /dev/null +++ b/41_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_ie.html b/41_ie.html new file mode 100644 index 000000000..24957114f --- /dev/null +++ b/41_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 4 - Conclusion

+

In un sol capitul noi ha aprendet pri li potentie quel li tipes géneric da nos! Ne sucia te si tu ancor +ne save qualmen usar omnicos. Por li moment, it es plu important solmen esser conscient pri li grand +idés queles tu va vider denov e denov in code. Nor functiones ha tam agrandat se! In li capitul a sequer +noi va transpassa li tot capitul per discusser qualmen passar data inter functioner por que noi mey posser +vider li detallies e devenir plu clar pri qualmen Rust regarda memorie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_it.html b/41_it.html new file mode 100644 index 000000000..181f7f38c --- /dev/null +++ b/41_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 4 - Conclusione

+

In un solo capitolo abbiamo imparato quanto siano potenti i tipi generici! Non +preoccuparti se ora non comprendi perfettamente come usarli tutti, per ora è sufficiente essere +a conoscenza che esistono, dato che li incontrerai sempre di più man mano che leggi del codice. Le nostre funzioni stanno diventanto sempre più lunghe! +Nel prossimo capitolo parleremo di un importante concetto in Rust: la proprietà del dato.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_ja.html b/41_ja.html new file mode 100644 index 000000000..1c13ae9cc --- /dev/null +++ b/41_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 4 章 - まとめ

+

この章でジェネリック型がどれだけの力を発揮するのかがわかりました。 +すべて使いこなせなくても心配しないでください。 +今は、コードの中で何度も目にするであろう主要なアイデアを意識するだけで良いと思います。 +私たちの関数はかなり長くなっています。 +次の章では、Rust の重要な概念であるデータの所有権について説明します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_ko.html b/41_ko.html new file mode 100644 index 000000000..54df3df6c --- /dev/null +++ b/41_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

4장 - 마무리

+

우리에게 generic 자료형이 얼마나 도움이 되는지 한 장만에 배웠습니다! +모든걸 완벽히 다 쓸줄 모른다고 걱정 마십시오. 지금은 코드에서 보고 또 보게 될 +주요 개념들을 알고 있는 것만으로도 충분합니다. 함수들이 꽤 길어지고 있습니다! +다음 장에서는 Rust의 중요한 개념인 데이터 소유권(data ownership)에 대해 알아봅시다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_ne.html b/41_ne.html new file mode 100644 index 000000000..9ba1f2ce1 --- /dev/null +++ b/41_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_pl.html b/41_pl.html new file mode 100644 index 000000000..e049a0609 --- /dev/null +++ b/41_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 4 - Podsumowanie

+

W tym rozdziale dowiedzieliśmy się jak wielką moc mają typy generyczne!

+

Nie przejmuj się jeśli nadal czujesz lekkie zagubienie i nie do końca rozumiesz "z czym to się je". Głównym celem tego rozdziału było bardziej ogólne przedstawienie pewnych pomysłów i cech języka z których istnienia należy sobie zdawać sprawę zanim będziemy w stanie przejść dalej.

+

Nasze przykłady zaczynają się robić coraz dłuższe! W następnym rozdziale poruszymy kolejny ważny temat stanowiący jeden z filarów języka Rust, mianowicie koncepcję własności danych.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_pt-br.html b/41_pt-br.html new file mode 100644 index 000000000..4a990786e --- /dev/null +++ b/41_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 4 - Conclusão

+

Em um capítulo aprendemos quanta força os tipos genéricos nos dão! Não se preocupe se você não souber como usar tudo, porque agora é bom estar ciente das principais idéias que você verá repetidas vezes no código. Nossas funções estão ficando muito longas! No próximo capítulo, falaremos sobre um conceito importante no Rust: propriedade de dados.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_ro.html b/41_ro.html new file mode 100644 index 000000000..8dfd20bdc --- /dev/null +++ b/41_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 4 - Concluzie

+

Într-un singur capitol, am învățat câtă putere ne oferă tipurile generice! Nu vă îngrijorați dacă nu +știți încă pe deplin cum să folosiți tot ce ați văzut în acest capitol, deocamdată este bine doar să fiți conștienți de aceste concepte majore pe care +le veți vedea des în cod. Funcțiile noastre devin destul de lungi! În următorul capitol vom +vorbi despre un alt concept important în Rust: proprietatea datelor (data ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_ru.html b/41_ru.html new file mode 100644 index 000000000..368f78dde --- /dev/null +++ b/41_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 4 - Заключение

+

За одну главу мы узнали, как много силы нам дают обобщённые типы! Не волнуйтесь, если Вы не +совсем понимаете, как это все применить. На данном этапе, Вам нужно только быть внимательным к идеям, +которые Вы увидите в коде ещё много раз. Наши функции становятся слегка громоздкие! В следующей +главе мы поговорим о важной концепции в Rust: владение данными (data ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_th.html b/41_th.html new file mode 100644 index 000000000..617e49446 --- /dev/null +++ b/41_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 4 - สรุป

+

ในเวลาเพียงบทเดียว เราก็ได้เรียนรู้ว่า generic type มอบพลังให้เรามากแค่ไหน แต่อย่ากังวลว่าเรายังไม่รู้วิธีใช้มันทั้งหมด เราแค่รู้แนวคิดหลักๆก็เพียงพอแล้ว และเดี๋ยวเราจะได้เจอกับมันอีกบ่อยๆในโค้ดแน่นอน +ยังมีเรื่องราวอีกเยอะ! ในบทต่อไปเราจะพูดถึงเรื่องแนวคิดที่สำคัญอย่างหนึ่งใน Rust: data ownership

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_tr.html b/41_tr.html new file mode 100644 index 000000000..77b892aa6 --- /dev/null +++ b/41_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 4 - Sonuç

+

Türleri genelleyerek kullanmanın kodlarımızı ne kadar güçlü ve esnek hale getirebildiğini fark ettiniz değil mi? Bu bölümde anlattığım konuların paratiğe nasıl döküleceği hakkında aklınızda soru işaretleri oluştuğunun farkındayım. Ancak şu an için, kodlarımızda sıkça karşılaşacağınız ana fikirlere aşina olmanızı yeterli sayıyorum. Artık gittikçe yoğunlaşan işlevlerimize soluk aldırmak için Veri Mülkiyeti kavramını incelemek zorundayız. Bir sonraki bölümümüzü Rust'ın önemli kavramlarından biri olan bu konuya ayıracağız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_ua.html b/41_ua.html new file mode 100644 index 000000000..b5a79c71a --- /dev/null +++ b/41_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 4 - Висновки

+

В цьому розділі ми побачили скільки потужності нам може дати використання узагальнених типів. Не переймайтеся, якщо ви не знаєте як використовувати правильно абсолютно усі можливості мови, на даному етапі добре просто знати про більшість ідей, які ви будете часто зустрічати в коді.

+

Наші функціі стають дедалі довші! В наступному розділі ми поговоримо про таку важливу концепцію як володіння даними (data ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_vi.html b/41_vi.html new file mode 100644 index 000000000..01aedf86f --- /dev/null +++ b/41_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 4 - Tổng kết

+

Trong chương này, chúng ta thấy rằng Generic Type thật mạnh mẽ và cung cấp cho chúng ta nhiều thứ! Đừng lo lắng nếu bạn không biết cách sử dụng mọi thứ một cách đầy đủ, ngay bây giờ bạn chỉ cần nhận thức được những ý tưởng chính mà bạn sẽ thấy lặp đi lặp lại trong code. Các chức năng của chúng ta đang trở nên khá dài dòng! Trong chương tiếp theo, chúng ta sẽ nói về một khái niệm quan trọng trong Rust: quyền sở hữu dữ liệu.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_zh-cn.html b/41_zh-cn.html new file mode 100644 index 000000000..df6b697d9 --- /dev/null +++ b/41_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 总结

+

在这一章中,我们了解了泛型给我们带来的强大功能!如果你还不完全知道该如何使用这一切, +别担心,仅仅是了解这些将会在代码中反复出现的中心思想就足够了。我们的功能在日趋强大! +在下一章中,我们将讨论 Rust 中的一个重要概念:数据所有权。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/41_zh-tw.html b/41_zh-tw.html new file mode 100644 index 000000000..2fa466451 --- /dev/null +++ b/41_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 總結

+

在這個章節,我們學到了泛型給了我們多強大的力量!如果你沒有完全理解你要怎麼使用,那也別擔心, 現在開始正是時候好好的注意這些主要概念,而且你將會一而再,再而三的在程式碼裡看到它們。 +我們的函數將將會越來越長!在下一章節裡,我們將會討論 Rust 裡很重要的概念:資料擁有權 (data ownership)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/43_al.html b/43_al.html new file mode 100644 index 000000000..cdba23aeb --- /dev/null +++ b/43_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Ownership

+

Instantiating a type and binding it to a variable name creates a memory resource that the Rust compiler will validate +through its whole lifetime. The bound variable is called the resource's owner.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_ar.html b/43_ar.html new file mode 100644 index 000000000..ddde7dc92 --- /dev/null +++ b/43_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الملكية (Ownership)

+

يؤدي إنشاء مثيل (instance) لنوع وربطه (binding) باسم متغير إلى إنشاء مورد ذاكرة (memory resource) بحيث سيقوم رست (Rust) بالتحقق من عمره (lifetime) الكلي. المتغير المرتبط (bound variable) يسمى مالك (owner) المورد.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_de.html b/43_de.html new file mode 100644 index 000000000..42e6503de --- /dev/null +++ b/43_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eigentum

+

Durch die Instanziierung eines Typs und dessen Bindung an einen Variablennamen wird ein Speicher erstellt Ressource, die der Rust-Compiler validiert +durch sein ganzes Leben. Die gebundene Variable wird als Ressource bezeichnet Eigentümer.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_en.html b/43_en.html new file mode 100644 index 000000000..90872c3bd --- /dev/null +++ b/43_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ownership

+

Instantiating a type and binding it to a variable name creates a memory resource that the Rust compiler will validate +through its whole lifetime. The bound variable is called the resource's owner.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_es.html b/43_es.html new file mode 100644 index 000000000..90db6cd3f --- /dev/null +++ b/43_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pertenencia

+

Instanciar un tipo y vincularlo (binding) a un nombre de variable crea un recurso de memoria que el compilador de Rust validará a lo largo de su tiempo de vida. La variable vinculada se denomina como propietaria del recurso.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_fa.html b/43_fa.html new file mode 100644 index 000000000..a0159b5dd --- /dev/null +++ b/43_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ownership

+

Instantiating a type and binding it to a variable name creates a memory resource that the Rust compiler will validate +through its whole lifetime. The bound variable is called the resource's owner.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_fi.html b/43_fi.html new file mode 100644 index 000000000..b659f5a7a --- /dev/null +++ b/43_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Ownership

+

Instantiating a type and binding it to a variable name creates a memory resource that the Rust compiler will validate +through its whole lifetime. The bound variable is called the resource's owner.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_fr.html b/43_fr.html new file mode 100644 index 000000000..9fedf6cce --- /dev/null +++ b/43_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Propriété (en anglais ownership)

+

L'instanciation d'un type et le fait de lier (en anglais binding) la ressource à une variable crée +une ressource mémoire que le compilateur Rust validera pendant toute sa durée de vie (en anglais lifetime). +La variable liée devient le propriétaire (en anglais owner) de la ressource.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_gr.html b/43_gr.html new file mode 100644 index 000000000..cc0c3b8c4 --- /dev/null +++ b/43_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κυριότητα

+

Η δημιουργία μίας μεταβλητής και η πρόσδεσή της σε κάποιο όνομα δημιουργεί έναν πόρο μνήμης, τον οποίο ο μεταφραστής της Rust θα επαληθεύσει για τη διάρκεια του βίου του. Η εν λόγω μεταβλητή αποκαλείται ιδιοκτήτρια του εν λόγω πόρου.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_hu.html b/43_hu.html new file mode 100644 index 000000000..14795d8a5 --- /dev/null +++ b/43_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Birtoklás

+

Egy típus példányosítása és változóhoz kötése létrehoz egy memóriában található erőforrást, +amit a fordító a változó egész lifetime-ja (élettartama) során ellenőrizni fog. Ezt a +változót ekkor az erőforrás owner-ének (tulajdonosának/birtokosának) nevezzük.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_id.html b/43_id.html new file mode 100644 index 000000000..cbe10ce63 --- /dev/null +++ b/43_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Ownership

+

Instantiating a type and binding it to a variable name creates a memory resource that the Rust compiler will validate +through its whole lifetime. The bound variable is called the resource's owner.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_ie.html b/43_ie.html new file mode 100644 index 000000000..0b7c252e4 --- /dev/null +++ b/43_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Proprietá (ownership)

+

Instantiar un tip e ligar (binding) it a un nómine de un variabile crea un ressurse de memorie quel li compilator de Rust +va validar durant su tot vive-témpor (lifetime). Li ligat variabile es nominat li "proprietario" (owner) de it.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_it.html b/43_it.html new file mode 100644 index 000000000..19235af2f --- /dev/null +++ b/43_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Proprietà

+

Istanziare un tipo e associarlo a un nome di variabile crea una memoria risorsa che il compilatore Rust convaliderà +per tutta la sua vita. La variabile associata è chiamata risorsa proprietario.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_ja.html b/43_ja.html new file mode 100644 index 000000000..fe4eff06b --- /dev/null +++ b/43_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

所有権

+

型のインスタンスを作成して変数に束縛するとメモリリソースが作成され、そのすべてのライフタイムに渡って Rust コンパイラが検証します。 +束縛された変数はリソースの所有者と呼ばれます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_ko.html b/43_ko.html new file mode 100644 index 000000000..f4b2b2285 --- /dev/null +++ b/43_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

소유권

+

자료형을 인스턴스화 하여 변수명에 할당(binding)하는 행위는 +Rust 컴파일러가 전체 생명주기(lifetime)동안 검증할 메모리 리소스를 생성하는 것입니다. +할당된 변수는 리소스의 소유자(owner)라고 불립니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_ne.html b/43_ne.html new file mode 100644 index 000000000..6f3fe8209 --- /dev/null +++ b/43_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Ownership

+

Instantiating a type and binding it to a variable name creates a memory resource that the Rust compiler will validate +through its whole lifetime. The bound variable is called the resource's owner.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_pl.html b/43_pl.html new file mode 100644 index 000000000..0ac371e23 --- /dev/null +++ b/43_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Posiadanie Danych

+

Tworząc nową instancję jakiegoś typu i przypisując ją do zmiennej sprawia, że stworzony zostaje pewien zasób pamięci który kompilator będzie próbował zweryfikować. +Weryfikacja ta odbędzie się na podstawie czegoś co nazywamy lifetime, czyli czasem życia danego zasobu. Zmienna do której przypisaliśmy zasób jest tutaj nazywana właścicielem (ang. owner) zasobu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_pt-br.html b/43_pt-br.html new file mode 100644 index 000000000..f1fa487af --- /dev/null +++ b/43_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Propriedade

+

Instanciar um tipo e vinculá-lo a um nome de variável cria um recurso de memória que o compilador Rust validará por toda sua a vida útil. A variável vinculada é chamada de proprietária do recurso.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_ro.html b/43_ro.html new file mode 100644 index 000000000..31042a876 --- /dev/null +++ b/43_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Proprietate

+

Instanțiind un tip și legându-l de un nume de variabilă vom crea o resursă în memorie pe care compilatorul de Rust o va valida +pe tot parcursul duratei sale de viață. Variabila de care a fost legată resursa este considerată proprietarul resursei.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_ru.html b/43_ru.html new file mode 100644 index 000000000..4a534525f --- /dev/null +++ b/43_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Владение (Ownership)

+

Создание объекта определенного типа и связывание (binding) его с именем переменной создаёт ресурс в памяти, который будет валидироваться на протяжении всего его времени жизни (lifetime). Такую переменную называют владельцем (owner) ресурса.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_th.html b/43_th.html new file mode 100644 index 000000000..d8f4714dc --- /dev/null +++ b/43_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ความเป็นเจ้าของ

+

การสร้างอินสแตนซ์สัก type หนึ่ง และ ผูกไว้ กับชื่อตัวแปรจะสร้างรีซอร์สหน่วยความจำ ที่คอมไพเลอร์ Rust จะตรวจสอบตลอด อายุการใช้งาน ตัวแปรที่ถูกผูกไว้ เราจะเรียกว่า เจ้าของ รีซอร์ส

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_tr.html b/43_tr.html new file mode 100644 index 000000000..7cac9c17c --- /dev/null +++ b/43_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mülkiyet

+

Bir türü örnekleyerek onu bir değişken adıyla bağlamak, Rust derleyicisinin, değişken var olduğu sürece doğrulamak zorunda kalacağı bellek kaynağı oluşturulmasına neden olur. Bu kaynak ile bağlanmış değişkenimiz ise kaynağın sahibi olarak adlandırılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_ua.html b/43_ua.html new file mode 100644 index 000000000..bf46e2ba5 --- /dev/null +++ b/43_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Володіння

+

Створення екземпляру типу та зв'язування його з іменем змінної створює ресурс пам'яті ресурс пам'яті, який компілятор Rust буде перевіряти +протягом усього його життя. Прив'язана змінна називається власником ресурсу, тобто вона володіє ним.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_vi.html b/43_vi.html new file mode 100644 index 000000000..7183ff3d2 --- /dev/null +++ b/43_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quyền sỡ hữu

+

Việc khởi tạo một kiểu và binding(ràng buộc) nó với một tên biến sẽ tạo ra một tài nguyên bộ nhớ mà trình biên dịch Rust sẽ xác thực thông qua toàn bộ lifetime(thời gian tồn tại) của nó. Biến bị ràng buộc được gọi là owner(chủ sở hữu) của tài nguyên.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_zh-cn.html b/43_zh-cn.html new file mode 100644 index 000000000..a4514fede --- /dev/null +++ b/43_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

所有权

+

实例化一个类型并且将其绑定到变量名上将会创建一些内存资源,而这些内存资源将会在其整个生命周期中被 Rust 编译器检验。 被绑定的变量即为该资源的所有者

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/43_zh-tw.html b/43_zh-tw.html new file mode 100644 index 000000000..55af078cd --- /dev/null +++ b/43_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權 (ownership)

+

實體化一種型別並到一個變量時,會產生記憶體資源,而該記憶體資源的整個生命週期都會被 Rust 編譯器驗證過。 綁定的變量就稱作記憶體資源的擁有者

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_al.html b/44_al.html new file mode 100644 index 000000000..ed73ffa31 --- /dev/null +++ b/44_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Scope-Based Resource Management

+

Rust uses the end of scope as the place to deconstruct and deallocate a resource.

+

The term for this deconstruction and deallocation is called a drop.

+

Memory detail:

+
    +
  • Rust does not have garbage collection.
  • +
  • This is also called Resource Acquisition Is Initialization ( RAII ) in C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ar.html b/44_ar.html new file mode 100644 index 000000000..72f1a81f0 --- /dev/null +++ b/44_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إدرارة الموارد على أساس النطاق (Scope-Based Resource Management)

+

يستخدم رست (Rust) نهاية النطاق (scope) كمكان لتفكيك (deconstruct) المورد وإلغاء تخصيصه (deallocate).

+

يُطلق على المصطلح الخاص بهذا التفكيك (deconstruction) وإلغاء التخصيص (deallocation) اسم اسقاط (drop)

+

تفاصيل الذاكرة:

+
    +
  • رست (Rust) لا يملك جمع القمامة (garbage collection).
  • +
  • يُطلق على هذا أيضًا اسم "اكتساب الموارد تهيئة (Resource Acquisition Is Initialization)" (RAII) في لغة ++C.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_de.html b/44_de.html new file mode 100644 index 000000000..e64133ddd --- /dev/null +++ b/44_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bereichsbasiertes Ressourcenmanagement

+

Rust verwendet das Ende des Gültigkeitsbereichs als Ort zum Dekonstruieren und Freigeben einer Ressource.

+

Der Begriff für diese Dekonstruktion und Freigabe wird Drop genannt.

+

Speicherdetail:

+
    +
  • Rust verfügt über keine Garbage Collection.
  • +
  • Dies wird in C++ auch als Ressourcenbelegung ist Initialisierung (RAII) bezeichnet.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_en.html b/44_en.html new file mode 100644 index 000000000..0f16a834f --- /dev/null +++ b/44_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scope-Based Resource Management

+

Rust uses the end of scope as the place to deconstruct and deallocate a resource.

+

The term for this deconstruction and deallocation is called a drop.

+

Memory detail:

+
    +
  • Rust does not have garbage collection.
  • +
  • This is also called Resource Acquisition Is Initialization ( RAII ) in C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_es.html b/44_es.html new file mode 100644 index 000000000..c4eefaaae --- /dev/null +++ b/44_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestión de Recursos Basada en el Alcance

+

Rust utiliza el último lugar de uso o el final de la función como el lugar para +deconstruir y ubicar un recurso.

+

El término para esta deconstrucción y colocación se llama drop.

+

Detalles de la memoria:

+
    +
  • Rust no tiene recolección de basura.
  • +
  • Esto también se llama «Adquirir Recursos es Inicializar» o RAII ( del inglés Resource Acquisition is Initialization ) en C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_fa.html b/44_fa.html new file mode 100644 index 000000000..4f595db7d --- /dev/null +++ b/44_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scope-Based Resource Management

+

Rust uses the end of scope as the place to deconstruct and deallocate a resource.

+

The term for this deconstruction and deallocation is called a drop.

+

Memory detail:

+
    +
  • Rust does not have garbage collection.
  • +
  • This is also called Resource Acquisition Is Initialization ( RAII ) in C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_fi.html b/44_fi.html new file mode 100644 index 000000000..4e1d7ea34 --- /dev/null +++ b/44_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Scope-Based Resource Management

+

Rust uses the end of scope as the place to deconstruct and deallocate a resource.

+

The term for this deconstruction and deallocation is called a drop.

+

Memory detail:

+
    +
  • Rust does not have garbage collection.
  • +
  • This is also called Resource Acquisition Is Initialization ( RAII ) in C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_fr.html b/44_fr.html new file mode 100644 index 000000000..c5f429ec9 --- /dev/null +++ b/44_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Management des ressources basé sur la portée (en anglais scope)

+

Rust prend en compte le dernier endroit où une variable a été utilisée ainsi +que la fin de la portée de la fonction pour déconstruire et désallouer une ressource.

+

On dira pour cette déconstruction et désallocation que la variable est "jetée" (en anglais dropped).

+

Détails de la mémoire:

+
    +
  • Rust ne possède pas de ramasse-miettes (en anglais garbage collector).
  • +
  • Cela est également connu sous le nom de RAII (l'acquisition d'une ressource est une initialisation) en C ++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_gr.html b/44_gr.html new file mode 100644 index 000000000..1a689027e --- /dev/null +++ b/44_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Διαχείριση πόρων βάσει ορατότητας

+

Η Rust χρησιμοποιεί το τέλος μίας ορατότητας ως το μέρος όπου αποδεσμεύει και αποδομεί έναν πόρο. Ο όρος γι' αυτήν την αποδέσμευση και αποδόμηση είναι «απόρρίψη».

+

Λεπτομέρειες:

+
    +
  • Στη Rust δεν υπάρχει αυτόματη «συλλογή απορριμάτων».
  • +
  • Αυτό στη C++ αποκαλείται Resource Acquisition Is Initialization ( RAII ).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_hu.html b/44_hu.html new file mode 100644 index 000000000..90c6e552b --- /dev/null +++ b/44_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hatáskör-alapú erőforráskezelés

+

Az egyes értékek az utolsó használatuk helyén vagy a létrehozó blokk hatáskörének végén +szabadulnak fel és deallokálódnak. Ezt a folyamatot drop-nak (ejtésnek) hívjuk.

+

Hogy érinti ez a memóriát:

+
    +
  • A Rust nem rendelkezik garbage collection-el (szemétgyűjtés)
  • +
  • A C++ nyelvben ennek a megközelítésnek a neve Resource Acquisition Is Initialization ("Az +erőforrás megszerzése egyben annak inicializálása is").
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_id.html b/44_id.html new file mode 100644 index 000000000..6462288c3 --- /dev/null +++ b/44_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Scope-Based Resource Management

+

Rust uses the end of scope as the place to deconstruct and deallocate a resource.

+

The term for this deconstruction and deallocation is called a drop.

+

Memory detail:

+
    +
  • Rust does not have garbage collection.
  • +
  • This is also called Resource Acquisition Is Initialization ( RAII ) in C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ie.html b/44_ie.html new file mode 100644 index 000000000..30ddd5f18 --- /dev/null +++ b/44_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gerentie de Ressurses Basat sur Cadre (Scope)

+

Rust usa li final loc de usation o li fine del cadre de un function quam li loc por deconstructer e dealocar +un ressurse. On nomina ti deconstruction e dealocation un "cade" (drop).

+

Detallies pri memorie:

+
    +
  • Rust ne possede jettallia-colection (garbage collection).
  • +
  • Tis qui save C++ va conosser ti concepte quam Resource Acquisition Is Initialization ( RAII ).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_it.html b/44_it.html new file mode 100644 index 000000000..48216a04c --- /dev/null +++ b/44_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestione delle risorse basata sull'ambito

+

Rust utilizza la fine dell'ambito come luogo in cui decostruire e deallocare una risorsa.

+

Il termine per questa decostruzione e deallocazione è chiamato drop.

+

Dettagli della memoria:

+
    +
  • Rust non prevede la raccolta dei rifiuti.
  • +
  • In C++ questa operazione viene anche chiamata Resource Acquisition Is Inizializzazione (RAII).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ja.html b/44_ja.html new file mode 100644 index 000000000..f5cb0dccf --- /dev/null +++ b/44_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

スコープベースのリソース管理

+

Rust では、スコープの終わりをリソースのデストラクトと解放の場所として使用します。

+

このデストラクトと解放のことをドロップ (drop) と呼びます。

+

メモリの詳細:

+
    +
  • Rust にはガベージコレクションがありません。
  • +
  • C++ では Resource Acquisition Is Initialization (RAII)「リソース取得は初期化である」とも呼ばれています。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ko.html b/44_ko.html new file mode 100644 index 000000000..1a6c19ec7 --- /dev/null +++ b/44_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

범위 기반 리소스 관리

+

Rust는 범위(scope)가 끝나는 곳에서 리소스를 소멸하고 할당 해제합니다.

+

이 소멸과 할당 해제를 의미하는 용어로 drop을 사용합니다.

+

메모리 상세:

+
    +
  • Rust에는 가비지 컬렉션이 없습니다.
  • +
  • 이는 C++에서는 Resource Acquisition Is Initialization ( RAII ) 라고 부릅니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ne.html b/44_ne.html new file mode 100644 index 000000000..437cfd1ce --- /dev/null +++ b/44_ne.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Scope-Based Resource Management

+

Rust uses the end of scope as the place to deconstruct and deallocate a resource.

+

The term for this deconstruction and deallocation is called a drop.

+

Memory detail:

+
    +
  • Rust does not have garbage collection.
  • +
  • This is also called Resource Acquisition Is Initialization ( RAII ) in C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_pl.html b/44_pl.html new file mode 100644 index 000000000..cf9a21741 --- /dev/null +++ b/44_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zarządzanie Zasobami Z Użyciem Zasięgów

+

Rust korzysta z końca danego zasięgu (ang. scope) jako miejsca w którym +następuje dekonstrukcja i dealokacja zasobu.

+

Termin opisujący ten proces dekonstrukcji i dealokacji zasobu to drop, czy +wypuszczanie.

+

Kilka szczegółów:

+
    +
  • W Ruscie nie ma odśmiecania pamięci.
  • +
  • Opisany wyżej model jest też nazywany "RAII" w środowisku C++. Jest to skrót +od angielskiego: "Resource Acquisition Is Initialization".
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_pt-br.html b/44_pt-br.html new file mode 100644 index 000000000..264b267c6 --- /dev/null +++ b/44_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gerenciamento de Recursos Baseado em Escopo

+

O Rust usa o final do escopo como o lugar para desconstruir e desalocar um recurso. +O termo para esta descontrução e desalocação é chamado descarte (ou drop).

+

Detalhes da memória:

+
    +
  • O Rust não tem garbage collection.
  • +
  • Também conhecido por Aquisição de Recursos é Inicialização (sigla RAII, em inglês) em C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ro.html b/44_ro.html new file mode 100644 index 000000000..0286c1e79 --- /dev/null +++ b/44_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionarea resurselor bazată pe domeniul de existență

+

Rust folosește finalul unui domeniu de existență ca moment pentru a destructura și a dealoca o resursă.

+

Termenul pentru această acțiune se numește drop.

+

Detalii despre memorie:

+
    +
  • Rust nu are un colector pentru deșeuri în memorie.
  • +
  • Acest aspect este cunoscut în C++ ca Achiziția Resurselor înseamnă Inițializare ( RAII ).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ru.html b/44_ru.html new file mode 100644 index 000000000..4d641b05b --- /dev/null +++ b/44_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Управление ресурсами на основе области видимости

+

Rust использует последнее место использования ресурса или конец области видимости функции в качестве места, где свою работу выполняет деструктор и освобождает ранее выделенные ресурсы.

+

Термин для обозначения деструктора и освобождения ресурсов/памяти называется drop (дроп или удаление).

+

Детали для запоминания:

+
    +
  • В Rust нет сборщика мусора
  • +
  • Это может быть вам знакомо как идиома RAII (Resource Acquisition Is Initialization) из С++
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_th.html b/44_th.html new file mode 100644 index 000000000..60ff8d4c4 --- /dev/null +++ b/44_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดการรีซอร์สโดยอิงตามขอบเขตข้อมูล

+

Rust ใช้จุดสิ้นสุดของขอบเขตเป็นจุดในการ ทำลายโครงสร้าง(deconstruct) และ คืนหน่วยความจำ(deallocate)

+

ตอนนี้เราจะเรียกการ ทำลายโครงสร้าง และการคืนหน่วยความจำนี้ว่า drop

+

รายละเอียดหน่วยความจำ:

+
    +
  • Rust ไม่มี garbage collection
  • +
  • เราเรียกสิ่งนี้ว่า Resource Acquisition Is Initialization ( RAII ) ในภาษา C++
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_tr.html b/44_tr.html new file mode 100644 index 000000000..46550622d --- /dev/null +++ b/44_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapsam Tabanlı Kaynak Yönetimi

+

Rust, bir kaynağın sonlandırılarak belleğe iade edilebilmesi için kapsamın bitiş noktasını baz alır.

+

Bu sonlandırma ve iade etme işlemine drop yani değişkenin düşürülmesi denir.

+

Bellek ayrıntıları:

+
    +
  • Rust'ta çöp toplama özelliği bulunmaz.

  • +
  • C++'tan aşina olduğumuz bu yaklaşım, Resource Acquisition Is Initialization (RAII) olarak da bilinir.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_ua.html b/44_ua.html new file mode 100644 index 000000000..ac6d9bc09 --- /dev/null +++ b/44_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Управління даними на основі розміру.

+

Rust використовує кінець області видимості як місце для деконструкції та +перерозподілу ресурсу.

+

Термін для такої деконструкції та вивільнення називається drop (скидання).

+

Деталі роботи за памяттю:

+
    +
  • У Rust не передбачено збирання сміття через і без того гарний менеджмент +пам'яті.
  • +
  • У C++ це також називається "Отримання ресурсу є ініціалізацією" +(Resource Acquisition Is Initialization, RAII).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_vi.html b/44_vi.html new file mode 100644 index 000000000..b7696d14b --- /dev/null +++ b/44_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quản lý tài nguyên dựa trên phạm vi(Scope-Based)

+

Rust sử dụng phần cuối của scope(phạm vi) làm nơi để giải cấu trúc(deconstruct) +và thu hồi(deallocate) tài nguyên.

+

Thuật ngữ để giải cấu trúc và thu hồi giao dịch này được gọi là drop.

+

Chi tiết bộ nhớ:

+
    +
  • Rust không có bộ sưu tập rác.
  • +
  • Đây còn được gọi là Khởi tạo Tài nguyên (Resource Acquisition Is Initialization - RAII) trong C ++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_zh-cn.html b/44_zh-cn.html new file mode 100644 index 000000000..27c66512c --- /dev/null +++ b/44_zh-cn.html @@ -0,0 +1,52 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基于域的资源管理

+

Rust 将使用资源最后被使用的位置或者一个函数域的结束来作为资源被析构和释放的地方。 此处析构和释放的概念被称之为 drop(丢弃)。

+

内存细节:

+
    +
  • Rust 没有垃圾回收机制。
  • +
  • 在 C++ 中,这被也称为“资源获取即初始化“(RAII)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/44_zh-tw.html b/44_zh-tw.html new file mode 100644 index 000000000..2fcc662ad --- /dev/null +++ b/44_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

範圍 (scope-based) 資源管理

+

Rust 以範圍的邊界來解構及回收資源。 +這類解構及回收的專有名詞稱作徹下 (drop)。

+

記憶體細節:

+
    +
  • Rust 沒有垃圾回收 (garbage collection)
  • +
  • 在 C++ 這被稱作資源取得即初始化 (resource acquisition is initialization)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_al.html b/45_al.html new file mode 100644 index 000000000..3eea36a4b --- /dev/null +++ b/45_al.html @@ -0,0 +1,52 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Dropping is Hierarchical

+

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

+

Memory Details:

+
    +
  • By automatically freeing memory Rust helps ensure that there are fewer memory leaks.
  • +
  • Memory resources can only be dropped once.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ar.html b/45_ar.html new file mode 100644 index 000000000..0e72cb67b --- /dev/null +++ b/45_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الاسقاط يكون هرمي (Dropping is Hierarchical)

+

عندما يسقط هيكل (struct)، فإنه يتم إسقاط الهيكل (struct) نفسه أولاً، ثم يتم إسقاط أبنائه بشكل فردي، وهكذا.

+

تفاصيل الذاكرة:

+
    +
  • عن طريق التحرير التلقائي للذاكرة فإن رست (Rust) يساعد على ضمن تقليل تسربات الذاكرة (memory leaks).
  • +
  • لا يمكن إسقاط (drop) موارد الذاكرة (Memory resources) إلا مرة واحدة.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_de.html b/45_de.html new file mode 100644 index 000000000..4121edd44 --- /dev/null +++ b/45_de.html @@ -0,0 +1,52 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Das Löschen ist hierarchisch

+

Wenn eine Struktur gelöscht wird, wird zuerst die Struktur selbst und dann die Struktur selbst gelöscht Kinder werden einzeln abgesetzt und so weiter.

+

Speicherdetails:

+
    +
  • Durch die automatische Freigabe von Speicher trägt Rust dazu bei, dass es weniger Speicher gibt Speicherlecks.
  • +
  • Speicherressourcen können nur einmal gelöscht werden.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_en.html b/45_en.html new file mode 100644 index 000000000..fa1f65932 --- /dev/null +++ b/45_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dropping is Hierarchical

+

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

+

Memory Details:

+
    +
  • By automatically freeing memory Rust helps ensure that there are fewer memory leaks.
  • +
  • Memory resources can only be dropped once.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_es.html b/45_es.html new file mode 100644 index 000000000..bccbebc4c --- /dev/null +++ b/45_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Liberación (drop) Jerárquica

+

Cuando se libera una estructura, la estructura en sí es la primera en hacerlo, después se liberarán sus hijos de forma individual y así sucesivamente.

+

Detalles de la memoria:

+
    +
  • Rust nos ayuda a asegurar que haya menos fugas de memoria al liberarla automáticamente.
  • +
  • Los recursos sólo se pueden liberar una vez.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_fa.html b/45_fa.html new file mode 100644 index 000000000..c0a737131 --- /dev/null +++ b/45_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dropping is Hierarchical

+

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

+

Memory Details:

+
    +
  • By automatically freeing memory Rust helps ensure that there are fewer memory leaks.
  • +
  • Memory resources can only be dropped once.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_fi.html b/45_fi.html new file mode 100644 index 000000000..8edbc0b46 --- /dev/null +++ b/45_fi.html @@ -0,0 +1,52 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Dropping is Hierarchical

+

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

+

Memory Details:

+
    +
  • By automatically freeing memory Rust helps ensure that there are fewer memory leaks.
  • +
  • Memory resources can only be dropped once.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_fr.html b/45_fr.html new file mode 100644 index 000000000..77891ed2d --- /dev/null +++ b/45_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

La déconstruction et désallocation est hiérarchique

+

Lorsqu'une structure est jetée (déconstruite et désallouée), la structure elle-même est jetée en première puis +on jete ses enfants un par un et ainsi de suite.

+

Détails de la mémoire:

+
    +
  • En libérant automatiquement la mémoire, Rust aide à s'assurer qu'il y a moins de fuites de mémoire.
  • +
  • Les ressources mémoire ne peuvent être déconstruites et désallouées qu'une seule fois.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_gr.html b/45_gr.html new file mode 100644 index 000000000..2ce55c497 --- /dev/null +++ b/45_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Η απόρριψη είναι ιεραρχική

+

Όταν μία δομή απορρίπτεται, η καθ' αυτή δομή απορρίπτεται πρώτα, και μετά το κάθε στοιχείο της απορρίπτεται μεμονωμένα, και πάει λέγοντας.

+

Λεπτομέρειες:

+
    +
  • Η αυτόματη ελευθέρωση μνήμης επιτρέπει στη Rust να βεβαιώνεται ότι υπάρχουν λιγότερες διαρροές μνήμης.
  • +
  • Κάθε πόρος μνήμης μπορεί ν' απορριφθεί μόνο μία φορά.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_hu.html b/45_hu.html new file mode 100644 index 000000000..7bf0b4e68 --- /dev/null +++ b/45_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A drop-olás hierarchikus

+

Mikor egy struct drop-olásra kerül, először maga a struct, majd a hozzá tartozó mezők +drop-olnak.

+

Hogy érinti ez a memóriát:

+
    +
  • Az automatikus memória-felszabadítás elősegíti a felszabadítatlanul hagyott memóriarégiók +létrejöttét (memory leak).
  • +
  • A memóriában elhelyezett erőforrások csupán egyszer drop-olhatók.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_id.html b/45_id.html new file mode 100644 index 000000000..27681a2a7 --- /dev/null +++ b/45_id.html @@ -0,0 +1,52 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Dropping is Hierarchical

+

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

+

Memory Details:

+
    +
  • By automatically freeing memory Rust helps ensure that there are fewer memory leaks.
  • +
  • Memory resources can only be dropped once.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ie.html b/45_ie.html new file mode 100644 index 000000000..f9de1b6c9 --- /dev/null +++ b/45_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

On Cade Secun Hierarchie

+

Quande un struct es lassat cader, su elementes infantal cade in prim. +Detallies pri memorie:

+
    +
  • Li automatic liberation memorie in Rust auxilia in esser cert que minu memorie-fugida va evenir
  • +
  • Ressurses de memorie posse cader solmen un vez.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_it.html b/45_it.html new file mode 100644 index 000000000..d819116b4 --- /dev/null +++ b/45_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

L'eliminazione è gerarchica

+

Quando una struttura viene eliminata, viene eliminata prima la struttura stessa, poi la sua i bambini vengono abbandonati individualmente e così via.

+

Dettagli sulla memoria:

+
    +
  • Liberando automaticamente la memoria, Rust aiuta a garantire che ce ne siano di meno perdite di memoria.
  • +
  • Le risorse di memoria possono essere eliminate solo una volta.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ja.html b/45_ja.html new file mode 100644 index 000000000..ae899832a --- /dev/null +++ b/45_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ドロップは階層的

+

構造体がドロップされると、まず構造体自体がドロップされ、次にその子要素が個別に削除されます。

+

メモリの詳細:

+
    +
  • メモリを自動的に解放することで、メモリリークを軽減できます。
  • +
  • メモリリソースのドロップは一度しかできません。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ko.html b/45_ko.html new file mode 100644 index 000000000..7c009bb39 --- /dev/null +++ b/45_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dropping은 계층적이다

+

struct가 drop 될 때는, struct 자신이 제일 먼저 drop 되고, 이후에 그 자식들이 각각 drop 되고, 등의 순서로 처리됩니다.

+

메모리 상세:

+
    +
  • Rust에서는 메모리를 자동으로 해제함으로써 메모리 누수가 덜 일어나도록 합니다.
  • +
  • 메모리 리소스는 단 한 번 drop 될 수 있습니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ne.html b/45_ne.html new file mode 100644 index 000000000..46217e5ab --- /dev/null +++ b/45_ne.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Dropping is Hierarchical

+

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

+

Memory Details:

+
    +
  • By automatically freeing memory Rust helps ensure that there are fewer memory leaks.
  • +
  • Memory resources can only be dropped once.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_pl.html b/45_pl.html new file mode 100644 index 000000000..71e2503f5 --- /dev/null +++ b/45_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wypuszczanie Zasobów Następuje Hierarchicznie

+

Kiedy zasób jakiejś struktury zostaje wypuszczony (ang. dropped), najpierw wypuszczona musi zostać ta struktura a dopiero potem osobno wypuszczane zostają jej obiekty podrzędne. I tak do samego końca hierarchii.

+

Kilka szczegółów:

+
    +
  • Dokonując automatycznego zwalniania pamięci, Rust pomaga drastycznie zmniejszyć ryzyko wycieków pamięci.
  • +
  • Zasoby pamięci mogą być wypuszczone tylko raz.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_pt-br.html b/45_pt-br.html new file mode 100644 index 000000000..adc699626 --- /dev/null +++ b/45_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O Descarte é Hierárquico

+

Quando uma estrutura é descartada, a estrutura em si é descartada primeiro, depois os filhos são descartados individualmente e assim por diante.

+

Detalhes da Memória:

+
    +
  • Ao liberar automaticamente a memória, o Rust ajuda a garantir que haja menos vazamentos de memória.
  • +
  • Os recursos de memória só podem ser descartados uma vez.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ro.html b/45_ro.html new file mode 100644 index 000000000..3a19833e8 --- /dev/null +++ b/45_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Drop-ul este o acțiune ierarhică

+

Atunci când se renunță la o structură (drop), mai întâi se renunță la structura efectivă, apoi la copiii acesteia individual și așa mai departe.

+

Detalii despre memorie:

+
    +
  • Prin eliberarea automată a memoriei, Rust ne asigură că vor fi mai puține pierderi de memorie.
  • +
  • Se poate renunța la resurse din memorie o singură dată.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ru.html b/45_ru.html new file mode 100644 index 000000000..7b6ebc50b --- /dev/null +++ b/45_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Иерархическое удаление (Dropping is Hierarchical)

+

Когда структура drop'ается, в начале происходит drop самой структуры, а потом её детей по очереди и так далее.

+

Детали для запоминания:

+
    +
  • Автоматически очищая память, Rust помогает уменьшить количество утечек памяти
  • +
  • Ресурсы должны быть drop'нуты только один раз!
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_th.html b/45_th.html new file mode 100644 index 000000000..839ef4f3e --- /dev/null +++ b/45_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การ drop ตามลำดับชั้น

+

เมื่อ struct ถูก drop ลง ตัว struct เองจะถูก drop ก่อน จากนั้นลูกๆของมันจึงจะ drop ตัวเอง และเป็นแบบนี้ไปเรื่อยๆ

+

รายละเอียดหน่วยความจำ:

+
    +
  • การที่ Rust ใช้วิธีคืนหน่วยความจำโดยอัตโนมัติ จะช่วยให้มั่นใจได้ว่าจะเกิดการรั่วน้อยลง
  • +
  • การ drop ทำได้เพียงครั้งเดียว
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_tr.html b/45_tr.html new file mode 100644 index 000000000..971dd58d9 --- /dev/null +++ b/45_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Düşürmek Hiyerarşiktir

+

Bir yapı düşürüldüğünde başta yapının kendisi, ardından alt yapısını oluşturan tüm parçaları peşi sıra düşürülür.

+

Bellek ayrıntıları:

+
    +
  • Rust, kaynakları otomatik olarak serbest bırakarak bellek sızıntılarının azaltılmasına yardımcı olur.
  • +
  • Bellek kaynakları yalnızca bir kez serbest bırakılabilir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_ua.html b/45_ua.html new file mode 100644 index 000000000..55dedc850 --- /dev/null +++ b/45_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Видалення відбувається по іерархії

+

Якщо ви видаляте якусь структуру, то спочатку видаляється сама структура, а потім дочірні елементи, потім дочірні дочірніх. Тобто зверху вниз.

+

Деталі роботи за памяттю:

+
    +
  • При автоматичному вивільненні пам'яті, Rust зробить все, щоб не відбулося витоків пам'яті.
  • +
  • Ресурс пам'яті можна звільнити лише 1 раз.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_vi.html b/45_vi.html new file mode 100644 index 000000000..10ac6ce71 --- /dev/null +++ b/45_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Việc Drop là có thứ bậc

+

Khi một cấu trúc bị drop, bản thân cấu trúc đó sẽ bị drop trước tiên, sau đó các phần tử con của nó bị drop riêng lẻ, v.v.

+

Chi tiết bộ nhớ:

+
    +
  • Bằng cách tự động giải phóng bộ nhớ, Rust giúp đảm bảo rằng có ít bộ nhớ bị rò rỉ hơn.
  • +
  • Tài nguyên bộ nhớ chỉ có thể bị drop một lần.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_zh-cn.html b/45_zh-cn.html new file mode 100644 index 000000000..48e4b1339 --- /dev/null +++ b/45_zh-cn.html @@ -0,0 +1,52 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

释放是分级进行的

+

删除一个结构体时,结构体本身会先被释放,紧接着才分别释放相应的子结构体并以此类推。

+

内存细节:

+
    +
  • Rust 通过自动释放内存来帮助确保减少内存泄漏。
  • +
  • 每个内存资源仅会被释放一次。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/45_zh-tw.html b/45_zh-tw.html new file mode 100644 index 000000000..4722742b5 --- /dev/null +++ b/45_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

徹下是有階級的

+

當一備結構被徹下時,該結構本身會先被徹下,再來是它的子結構逐一被徹下。

+

記憶體細節:

+
    +
  • 當自動釋放記憶體時,Rust 會幫你確保有更少的記憶體洩漏 (memory leaks)
  • +
  • 記憶體資源只能被徹下一次
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_al.html b/46_al.html new file mode 100644 index 000000000..df3461bcf --- /dev/null +++ b/46_al.html @@ -0,0 +1,52 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Moving Ownership

+

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

+

After a move the variable in the original function can no longer be used.

+

Memory details:

+
    +
  • During a move the stack memory of the owners value is copied to the function call's parameter stack memory.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ar.html b/46_ar.html new file mode 100644 index 000000000..a807993d2 --- /dev/null +++ b/46_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

نقل الملكية (Moving Ownership)

+

عندما يتم تمرير مالك (owner) كوسيطة (argument) إلى دالة (function)، يتم نقل الملكية (ownership) إلى معلمة (parameter) الدالة.

+

بعد النقل (move) لن يكون من الممكن استخدام المتغير الموجود في الدالة الأصلية.

+

تفاصيل الذاكرة:

+
    +
  • عند النقل (move) فإن ذاكرة المكدس (stack memory) الخاصة بقيمة المالكين (owners) تنسخ الى ذاكرة مكدس معلمة (parameter stack memory) الخاصة باستدعاء الدالة.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_de.html b/46_de.html new file mode 100644 index 000000000..e0da7c61e --- /dev/null +++ b/46_de.html @@ -0,0 +1,52 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eigentumsübertragung

+

Wenn ein Eigentümer als Argument an eine Funktion übergeben wird, wird der Eigentümer dorthin verschoben der Funktionsparameter. +Nach einer Verschiebung kann die Variable in der ursprünglichen Funktion nicht mehr vorhanden sein gebraucht.

+

Speicherdetails:

+
    +
  • Während einer Verschiebung wird der Stapelspeicher des Eigentümerwerts in den kopiert Parameterstapelspeicher des Funktionsaufrufs.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_en.html b/46_en.html new file mode 100644 index 000000000..5c0c85f37 --- /dev/null +++ b/46_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Moving Ownership

+

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

+

After a move the variable in the original function can no longer be used.

+

Memory details:

+
    +
  • During a move the stack memory of the owners value is copied to the function call's parameter stack memory.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_es.html b/46_es.html new file mode 100644 index 000000000..559358d3d --- /dev/null +++ b/46_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cesión de Pertenencia

+

Cuando un recurso se pasa como argumento a una función, la pertenencia se cede al parámetro de la función.

+

Después de una cesión move, la variable de la función original ya no se puede utilizar.

+

Detalles de la memoria:

+
    +
  • Durante una cesión, la memoria de la pila del valor del recurso se copia en la memoria de la pila del parámetro de la llamada de la función.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_fa.html b/46_fa.html new file mode 100644 index 000000000..442277a64 --- /dev/null +++ b/46_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Moving Ownership

+

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

+

After a move the variable in the original function can no longer be used.

+

Memory details:

+
    +
  • During a move the stack memory of the owners value is copied to the function call's parameter stack memory.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_fi.html b/46_fi.html new file mode 100644 index 000000000..f09fe14b1 --- /dev/null +++ b/46_fi.html @@ -0,0 +1,52 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Moving Ownership

+

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

+

After a move the variable in the original function can no longer be used.

+

Memory details:

+
    +
  • During a move the stack memory of the owners value is copied to the function call's parameter stack memory.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_fr.html b/46_fr.html new file mode 100644 index 000000000..7c6bb770c --- /dev/null +++ b/46_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Transfert de propriétaire

+

Lorsqu'une ressource est passée en argument d'une fonction, le propriétaire de cette ressource devient le paramètre de la fonction.

+

Après cela, la variable passée en argument ne peut plus être utilisée, car la variable a été déplacée.

+

Détails de la mémoire:

+
    +
  • Lors du transfert de propriétaire, les éléments de la pile concernant la variable à déplacer sont copié sur la pile du paramètre de la fonction appelée.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_gr.html b/46_gr.html new file mode 100644 index 000000000..60cb44af2 --- /dev/null +++ b/46_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μεταβίβαση κυριότητας

+

Όταν ένας ιδιοκτήτης δίδεται ως όρισμα σε μία συνάρτηση, η κυριότητα μεταφέρεται στην παράμετρο της συνάρτησης.

+

Μετά από μία μεταβίβαση η μεταβλητή στην αρχική συνάρτηση δεν μπορεί να χρησιμοποιηθεί πλέον.

+

Λεπτομέρειες:

+
    +
  • Κατά τη διάρκεια μίας μεταβίβασης η μνήμη στοίβας της ιδιοκτήτριας τιμής αντιγράφεται στη μνήμη στοίβας της κλήσης της συνάρτησης.
  • +
  • Οι απλοί τύποι δεδομένων (ακέραιοι, λογικές μεταβλητές κτλ) ορίζονται ως αντιγράψιμοι (Copy) και άρα δεν έχουν τέτοιου είδους περιορισμούς.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_hu.html b/46_hu.html new file mode 100644 index 000000000..3d81e6529 --- /dev/null +++ b/46_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A birtoklás átadása

+

Mikor egy tulajdonost argumentumként átadunk egy függvénynek, a birtokolt erőforrás a függvény +paraméterének tulajdonává válik.

+

Egy move (mozgatás) után a hívó függvényben lévő változó már nem használható.

+

Hogy érinti ez a memóriát:

+
    +
  • Egy move közben a tulajdonos veremmemóriája a meghívott függvény paramétereinek +veremmmemóriájába másolódik.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_id.html b/46_id.html new file mode 100644 index 000000000..873d76cab --- /dev/null +++ b/46_id.html @@ -0,0 +1,52 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Moving Ownership

+

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

+

After a move the variable in the original function can no longer be used.

+

Memory details:

+
    +
  • During a move the stack memory of the owners value is copied to the function call's parameter stack memory.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ie.html b/46_ie.html new file mode 100644 index 000000000..6f48bf380 --- /dev/null +++ b/46_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Transferentie de Proprietá

+

Quande li proprietario es passat quam un argument a un function, li proprietá move se al parametre del function. +Pos un move on ne plu posse usar li variabile in li function original. +Detallies pri memorie:

+
    +
  • Durant un move li memorie sur li stack del valore del proprietario es copiat al memorie stack del parametre +del vocator del function.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_it.html b/46_it.html new file mode 100644 index 000000000..0347ed613 --- /dev/null +++ b/46_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trasferimento di proprietà

+

Quando un proprietario viene passato come argomento a una funzione, la proprietà viene spostata su il parametro della funzione.

+

Dopo uno spostamento la variabile nella funzione originale non può più essere usato.

+

Dettagli della memoria:

+
    +
  • Durante uno spostamento la memoria dello stack del valore del proprietario viene copiata nel file memoria dello stack dei parametri della chiamata di funzione.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ja.html b/46_ja.html new file mode 100644 index 000000000..c7bf85718 --- /dev/null +++ b/46_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

所有権の移動

+

所有者が関数の実引数として渡されると、所有権は関数の仮引数に移動 (move) します。

+

移動後は、元の関数内の変数は使用できなくなります。

+

メモリの詳細:

+
    +
  • 移動している間、所有者の値のスタックメモリは、関数呼び出しパラメータのスタックメモリにコピーされます。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ko.html b/46_ko.html new file mode 100644 index 000000000..f8edc432b --- /dev/null +++ b/46_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

소유권 이전

+

owner가 함수의 인자로 전달되면, ownership은 그 함수의 매개변수로 이동(move)됩니다.

+

move 이후에는 원래 함수에 있던 변수는 더 이상 사용할 수 없습니다.

+

메모리 상세:

+
    +
  • move 중에는 owner 값의 stack 메모리가 함수 호출의 매개변수 stack 메모리로 복사됩니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ne.html b/46_ne.html new file mode 100644 index 000000000..2d2c1635e --- /dev/null +++ b/46_ne.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Moving Ownership

+

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

+

After a move the variable in the original function can no longer be used.

+

Memory details:

+
    +
  • During a move the stack memory of the owners value is copied to the function call's parameter stack memory.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_pl.html b/46_pl.html new file mode 100644 index 000000000..bc11b05e2 --- /dev/null +++ b/46_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Przenoszenie Własności

+

Kiedy zmienna zostaje wysłana jako argument do funkcji, własność zasobu tej zmiennej zostaje przeniesiona do odpowiedniego parametru w ramach tej funkcji.

+

Po takim przeniesieniu (ang. move) zmienna w jej oryginalnym wydaniu nie może zostać ponownie wykorzystana.

+

Kilka szczegółów:

+
    +
  • Podczas przenoszenia własności, wartość właściciela zasobu na stosie zostaje skopiowana na stos wywoływanej funkcji.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_pt-br.html b/46_pt-br.html new file mode 100644 index 000000000..701af22e7 --- /dev/null +++ b/46_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Movendo a Propriedade

+

Quando um proprietário é passado como argumento para uma função, a propriedade é movida para o parâmetro da função.

+

Após um movimento, a variável na função original não pode mais ser usada.

+

Detalhes da memória:

+
    +
  • Durante uma movimentação, a memória da pilha do proprietário do valor é copiada para a memória da pilha dos parâmetros da função chamada.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ro.html b/46_ro.html new file mode 100644 index 000000000..9b8c9c7d0 --- /dev/null +++ b/46_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cedarea proprietății

+

Proprietatea unei resurse din memorie (a cărei proprietar este o variabilă) poate fi cedată atunci când folosim variabila respectivă ca argument în interiorul unei funcții, noul proprietar fiind parametrul funcției.

+

După o cedare a proprietății, variabila din funcția originală nu mai poate fi folosită.

+

Detalii despre memorie:

+
    +
  • În timpul cedării proprietății, valoarea din memoria stivei proprietarului este copiată în memoria stivei parametrului funcției apelate.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ru.html b/46_ru.html new file mode 100644 index 000000000..bbf317a5c --- /dev/null +++ b/46_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Передача владения (Moving Ownership)

+

Когда владелец ресурса используется в качестве аргумента функции, владение передаётся параметру этой функции.

+

После передачи (move) переменной из оригинальной функции, перемещённую переменную больше нельзя использовать в месте откуда мы её передали.

+

Детали для запоминания:

+
    +
  • Во время передачи (move) память владельца из стека копирует в стек параметров вызываемой функции.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_th.html b/46_th.html new file mode 100644 index 000000000..8d6179636 --- /dev/null +++ b/46_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การเปลี่ยนเจ้าของ

+

มื่อเจ้าของถูกส่งผ่านเป็นอาร์กิวเมนต์ไปยังฟังก์ชันความเป็นเจ้าของจะถูกย้ายไปที่พารามิเตอร์ฟังก์ชัน

+

หลังจาก ย้าย ไปแล้ว ตัวแปรในฟังก์ชันเดิมจะไม่สามารถใช้งานได้อีกต่อไป

+

รายละเอียดหน่วยความจำ:

+
    +
  • ในระหว่างการ ย้าย หน่วยความจำ stack ของค่าเจ้าของจะถูกคัดลอกไปยังหน่วยความจำ stack พารามิเตอร์ของการเรียกฟังก์ชัน
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_tr.html b/46_tr.html new file mode 100644 index 000000000..239882b03 --- /dev/null +++ b/46_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mülkiyetin Taşınması

+

Kaynağın sahibi değişken, herhangi bir işleve argüman olarak iletildiğinde, o kaynağın mülkiyeti işlev parametresine taşınır. Bu taşınma işlemine move yani taşıma adı verilir. +Bir değişkenin sahip olduğu kaynak taşındıktan sonra, orijinal işlevdeki değişken artık kullanılamaz. +Bellek ayrıntıları:

+
    +
  • Mülkiyetin taşınması sırasında taşınanan değişkenle ilgili yığın öğeleri, çağrılan işlevin parametre yığınınına kopyalanır.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_ua.html b/46_ua.html new file mode 100644 index 000000000..319ffbbff --- /dev/null +++ b/46_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Передача володіння

+

Коли власник передає дані як аргумент у функцію, то до аргументу також переходить право власності.

+

Після передачі володіння, минолого власника (тобто наприклад змінну) використовувати не можна, через те що володіння передано іншому власнику.

+

Деталі роботи за памяттю:

+
    +
  • Під час переміщення пам'ять власника копіюється до пам'яті параметра у пам'ять параметрів виклику функції.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_vi.html b/46_vi.html new file mode 100644 index 000000000..da7b6347d --- /dev/null +++ b/46_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuyển quyền sở hữu

+

Khi một chủ sở hữu được chuyển làm đối số cho một hàm, quyền sở hữu sẽ được chuyển đến tham số của hàm đó.

+

Sau khi move(di chuyển), biến trong hàm ban đầu không thể được sử dụng nữa.

+

Chi tiết bộ nhớ:

+
    +
  • Trong một move bộ nhớ ngăn xếp của giá trị của chủ sở hữu được sao chép vào bộ nhớ ngăn xếp tham số của lệnh gọi hàm.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_zh-cn.html b/46_zh-cn.html new file mode 100644 index 000000000..55c9c8f60 --- /dev/null +++ b/46_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

移交所有权

+

将所有者作为参数传递给函数时,其所有权将移交至该函数的参数。 在一次移动后,原函数中的变量将无法再被使用。

+

内存细节:

+
    +
  • 移动期间,所有者的堆栈值将会被复制到函数调用的参数堆栈中。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/46_zh-tw.html b/46_zh-tw.html new file mode 100644 index 000000000..fda6e82cb --- /dev/null +++ b/46_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權轉移

+

當一個擁有者被當作參數 (argument) 傳遞到函數時,擁有權則被轉移給該函式的參數 (parameter)。

+

在經過轉移後,在原本函數的變量就無法再被使用了。

+

記憶體細節:

+
    +
  • 轉移的過程中,堆疊記憶體的擁有者將被複製到函數參數的堆疊記憶體。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_al.html b/47_al.html new file mode 100644 index 000000000..7b89f80a7 --- /dev/null +++ b/47_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Returning Ownership

+

Ownership can also be returned from a function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ar.html b/47_ar.html new file mode 100644 index 000000000..6b4c5dd63 --- /dev/null +++ b/47_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع الملكية (Returning Ownership)

+

يمكن أيضًا إرجاع الملكية من إحدى الدوال.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_de.html b/47_de.html new file mode 100644 index 000000000..1894078b6 --- /dev/null +++ b/47_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rückgabe des Eigentums

+

Der Besitz kann auch von einer Funktion zurückgegeben werden.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_en.html b/47_en.html new file mode 100644 index 000000000..3c63768d4 --- /dev/null +++ b/47_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Ownership

+

Ownership can also be returned from a function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_es.html b/47_es.html new file mode 100644 index 000000000..04ca017fc --- /dev/null +++ b/47_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Devolver la Pertenencia

+

La pertenencia también puede devolverse desde una función.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_fa.html b/47_fa.html new file mode 100644 index 000000000..2d32300b5 --- /dev/null +++ b/47_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Ownership

+

Ownership can also be returned from a function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_fi.html b/47_fi.html new file mode 100644 index 000000000..9670f7ac4 --- /dev/null +++ b/47_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Returning Ownership

+

Ownership can also be returned from a function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_fr.html b/47_fr.html new file mode 100644 index 000000000..a83a0627c --- /dev/null +++ b/47_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retourner la propriété d'une ressource

+

Une fonction peut retourner la propriété d'une ressource.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_gr.html b/47_gr.html new file mode 100644 index 000000000..04b133fbe --- /dev/null +++ b/47_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Επιστροφή κυριότητας

+

Η κυριότητα μπορεί να επιστραφεί και από κάποια συνάρτησης

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_hu.html b/47_hu.html new file mode 100644 index 000000000..798bc68d0 --- /dev/null +++ b/47_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A birtoklás visszaadása

+

Egy függvény vissza is adhatja az erőforrás birtoklását.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_id.html b/47_id.html new file mode 100644 index 000000000..f8eca97a2 --- /dev/null +++ b/47_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Returning Ownership

+

Ownership can also be returned from a function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ie.html b/47_ie.html new file mode 100644 index 000000000..f3a9f5cad --- /dev/null +++ b/47_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornar Proprietá

+

On posse anc retornar proprietá tra un function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_it.html b/47_it.html new file mode 100644 index 000000000..0a62840cc --- /dev/null +++ b/47_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Restituzione della proprietà

+

La proprietà può anche essere restituita da una funzione.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ja.html b/47_ja.html new file mode 100644 index 000000000..87ee4ac57 --- /dev/null +++ b/47_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

所有権を返す

+

所有権を関数から返すこともできます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ko.html b/47_ko.html new file mode 100644 index 000000000..5c1022a45 --- /dev/null +++ b/47_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

소유권 리턴하기

+

ownership은 함수에서도 리턴될 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ne.html b/47_ne.html new file mode 100644 index 000000000..e1d3a4b87 --- /dev/null +++ b/47_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Returning Ownership

+

Ownership can also be returned from a function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_pl.html b/47_pl.html new file mode 100644 index 000000000..060cc5d9e --- /dev/null +++ b/47_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Własności

+

Funkcja może też zwrócić własność nad danym zasobem.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_pt-br.html b/47_pt-br.html new file mode 100644 index 000000000..97ef609dc --- /dev/null +++ b/47_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando a Propriedade

+

A propriedade também pode ser retornada de uma função.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ro.html b/47_ro.html new file mode 100644 index 000000000..d71300b57 --- /dev/null +++ b/47_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea proprietății

+

Proprietatea poate fi de asemenea returnată de o funcție.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ru.html b/47_ru.html new file mode 100644 index 000000000..8d8776fef --- /dev/null +++ b/47_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возвращение владения (Returning Ownership)

+

Владение также может быть возвращено обратно из функции.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_th.html b/47_th.html new file mode 100644 index 000000000..441256395 --- /dev/null +++ b/47_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การกลับมาเป็นเจ้าของ

+

แน่นอนว่า ความเป็นเจ้าของก็สามารถได้คืนจากฟังก์ชันได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_tr.html b/47_tr.html new file mode 100644 index 000000000..ffb548ab9 --- /dev/null +++ b/47_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mülkiyetin İade Edilmesi

+

Bir değişkenin mülkiyeti, bir işlevin dönüş değeri olarak kullanılabilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_ua.html b/47_ua.html new file mode 100644 index 000000000..1ac800757 --- /dev/null +++ b/47_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення володіння

+

При поверненнф значення з функції, повертається також і володіння. +Тому володіння даними отримує той, хто прийме повернуті значення, +будь то змінна, чи параметр іншої функції.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_vi.html b/47_vi.html new file mode 100644 index 000000000..6793021ce --- /dev/null +++ b/47_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hoàn trả quyền sở hữu

+

Quyền sở hữu cũng có thể được trả lại từ một hàm.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_zh-cn.html b/47_zh-cn.html new file mode 100644 index 000000000..221f26a1c --- /dev/null +++ b/47_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

归还所有权

+

所有权也可以从一个函数中被归还。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/47_zh-tw.html b/47_zh-tw.html new file mode 100644 index 000000000..a42f43797 --- /dev/null +++ b/47_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權歸還

+

擁有權可以從一個函式被歸還。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_al.html b/48_al.html new file mode 100644 index 000000000..68bdc1599 --- /dev/null +++ b/48_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Borrowing Ownership with References

+

References allow us borrow access to a resource with the & operator.

+

References are also dropped like other resources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ar.html b/48_ar.html new file mode 100644 index 000000000..84e4f1d67 --- /dev/null +++ b/48_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إستعارة الملكية عن طريق المراجع (Borrowing Ownership with References)

+

تتيح لنا المراجع (References) استعارة الوصول إلى أحد الموارد باستخدام العامل &.

+

يتم أيضًا إسقاط المراجع (References) مثل الموارد الأخرى.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_de.html b/48_de.html new file mode 100644 index 000000000..b7b07fccb --- /dev/null +++ b/48_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eigentumsleihe mit Referenzen

+

Referenzen ermöglichen uns den Zugriff auf eine Ressource mit dem Operator '&'.

+

Referenzen werden ebenso gelöscht wie andere Ressourcen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_en.html b/48_en.html new file mode 100644 index 000000000..631ed66ef --- /dev/null +++ b/48_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Borrowing Ownership with References

+

References allow us borrow access to a resource with the & operator.

+

References are also dropped like other resources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_es.html b/48_es.html new file mode 100644 index 000000000..c3c72fef4 --- /dev/null +++ b/48_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Préstamo de Pertenencias con Referencias

+

Las referencias nos permiten pedir prestado el acceso a un recurso con el operador &.

+

Al igual que otros recursos, las referencias también se liberan (drop).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_fa.html b/48_fa.html new file mode 100644 index 000000000..91495aba7 --- /dev/null +++ b/48_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Borrowing Ownership with References

+

References allow us borrow access to a resource with the & operator.

+

References are also dropped like other resources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_fi.html b/48_fi.html new file mode 100644 index 000000000..b4b4e5f05 --- /dev/null +++ b/48_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Borrowing Ownership with References

+

References allow us borrow access to a resource with the & operator.

+

References are also dropped like other resources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_fr.html b/48_fr.html new file mode 100644 index 000000000..75646ecfd --- /dev/null +++ b/48_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

S'approprier une ressource avec des références.

+

Les références nous permettent d'emprunter l'accès à une ressource grâce à l'opérateur &.

+

Les références sont également jetées (déconstruites et désallouées) comme les autres ressources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_gr.html b/48_gr.html new file mode 100644 index 000000000..a4f28b839 --- /dev/null +++ b/48_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Δανεισμός κυριότητας μέσω αναφορών

+

Οι αναφορές μας επιτρέπουν να δανειστούμε πρόσβαση σε κάποιον πόρο μέσω του τελεστή &. Οι αναφορές απορρίπτονται όπως και κάθε άλλος πόρος.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_hu.html b/48_hu.html new file mode 100644 index 000000000..75323574e --- /dev/null +++ b/48_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kölcsönkérés referenciák használatával

+

A referenciák használata lehetővé teszi számunkra, hogy "kölcsönkérjünk" egy erőforrást a & +operátor segítségével.

+

Ezek a referenciák ugyanúgy drop-olhatók, mint bármilyen más erőforrás is.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_id.html b/48_id.html new file mode 100644 index 000000000..d68d58e60 --- /dev/null +++ b/48_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Borrowing Ownership with References

+

References allow us borrow access to a resource with the & operator.

+

References are also dropped like other resources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ie.html b/48_ie.html new file mode 100644 index 000000000..a1a5fbcae --- /dev/null +++ b/48_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pruntar Proprietá con Referenties

+

Con referenties noi posse prunta accesse a un ressurse con li operator &.

+

Referenties cade in Rust just quam omni altri ressurses.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_it.html b/48_it.html new file mode 100644 index 000000000..facd100cf --- /dev/null +++ b/48_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Proprietà in prestito con referenze

+

I riferimenti ci consentono di prendere in prestito l'accesso a una risorsa con l'operatore "&".

+

Anche i riferimenti vengono eliminati come le altre risorse.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ja.html b/48_ja.html new file mode 100644 index 000000000..3a750e284 --- /dev/null +++ b/48_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照による所有権の借用

+

参照は、& 演算子を使ってリソースへのアクセスを借用できるようにしてくれます。

+

参照も他のリソースと同様にドロップされます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ko.html b/48_ko.html new file mode 100644 index 000000000..4ca2ef232 --- /dev/null +++ b/48_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조로 소유권 대여하기

+

& 연산자를 통해 참조로 리소스에 대한 접근권한을 대여할 수 있습니다.

+

참조도 다른 리소스와 마찬가지로 drop 됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ne.html b/48_ne.html new file mode 100644 index 000000000..e77686d82 --- /dev/null +++ b/48_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Borrowing Ownership with References

+

References allow us borrow access to a resource with the & operator.

+

References are also dropped like other resources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_pl.html b/48_pl.html new file mode 100644 index 000000000..71254374e --- /dev/null +++ b/48_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pożyczanie Zasobu Przy Pomocy Referencji

+

Referencje pozwalają nam pożyczyć dostęp do zasobu, a dokładniej do odczytu +danego zasobu. Żeby stworzyć referencję wystarczy użyć operatora &.

+

Referencje obowiązują te same zasady wypuszczania z pamięci co inne zasoby.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_pt-br.html b/48_pt-br.html new file mode 100644 index 000000000..c489bacb6 --- /dev/null +++ b/48_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Emprestando Propriedade com Referências

+

As referências nos permitem emprestar o acesso a um recurso com o operador &.

+

As referências também são descartadas do mesmo jeito que os outros recursos.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ro.html b/48_ro.html new file mode 100644 index 000000000..d06716285 --- /dev/null +++ b/48_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Împrumutul proprietății prin referințe

+

Referințele ne permit să împrumutăm accesul la o resursă din memorie prin operatorul &.

+

Asemănător altor resurse, se poate renunța (drop) și la referințe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ru.html b/48_ru.html new file mode 100644 index 000000000..ed04da3d3 --- /dev/null +++ b/48_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Заимствование во владение с помощью ссылок

+

Ссылки позволяют нам заимствовать доступ к ресурсу с помощью оператора &.

+

Ссылки drop'аются (удаляются) точно так же как и остальные ресурсы на основании области видимости.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_th.html b/48_th.html new file mode 100644 index 000000000..19a752c4c --- /dev/null +++ b/48_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การยืมความเป็นเจ้าของด้วยวิธีอ้างอิง

+

การอ้างอิงถึงช่วยให้เรายืมการเข้าถึงรีซอร์สได้ด้วยการใช้ตัวดำเนินการ &

+

การอ้างอิงก็สามารถ drop ได้เหมือนกัน

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_tr.html b/48_tr.html new file mode 100644 index 000000000..7ba0a528f --- /dev/null +++ b/48_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referanslar Yardımıyla Mülkiyeti Ödünç Almak

+

Referanslar bir kaynağın mülkiyetini & işleci yardımıyla ödünç almamızı sağlar.

+

Tıpkı diğer kaynaklar gibi referanslar da sonlandırılarak serbest bırakılırlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_ua.html b/48_ua.html new file mode 100644 index 000000000..6394b67b9 --- /dev/null +++ b/48_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Отримання володіння через посилання

+

Володіння також можна передати за допомогою посилання, для цього треба перед змінною +поставити оператор &.

+

Посилання видаляються з пам'яті так само як і будь-які інші ресурси даних.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_vi.html b/48_vi.html new file mode 100644 index 000000000..2a862d5e9 --- /dev/null +++ b/48_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mượn quyền sở hữu với Tham chiếu

+

Tham chiếu cho phép chúng tôi mượn quyền truy cập vào tài nguyên với toán tử &.

+

Tham chiếu cũng bị loại bỏ giống như các tài nguyên khác.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_zh-cn.html b/48_zh-cn.html new file mode 100644 index 000000000..15149af53 --- /dev/null +++ b/48_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

使用引用借用所有权

+

引用允许我们通过 & 操作符来借用对一个资源的访问权限。 +引用也会如同其他资源一样被释放。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/48_zh-tw.html b/48_zh-tw.html new file mode 100644 index 000000000..bca5b9302 --- /dev/null +++ b/48_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從參考 (references) 借擁有權

+

參考允許我們透過 & 運算子向一個資源借進入權。

+

參考與其他資源一樣會被徹下。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_al.html b/49_al.html new file mode 100644 index 000000000..961b307d9 --- /dev/null +++ b/49_al.html @@ -0,0 +1,52 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Borrowing Mutable Ownership with References

+

We can also borrow mutable access to a resource with the &mut operator.

+

A resource owner cannot be moved or modified while mutably borrowed.

+

Memory detail:

+
    +
  • Rust prevents having two ways to mutate an owned value because it introduces the possibility of a data race.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ar.html b/49_ar.html new file mode 100644 index 000000000..eb23fc882 --- /dev/null +++ b/49_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إستعارة ملكية قابلة للتغيير عن طريق المراجع (Borrowing Mutable Ownership with References)

+

يمكننا أيضًا استعارة الوصول إلى أحد الموارد وتكون قابلة لإحداث تغيير باستخدام العامل &mut.

+

لا يمكن نقل مالك (owner) المورد أو تعديله أثناء استعارته بشكل قابل للتغيير (mutably borrowed).

+

تفاصيل الذاكرة:

+
    +
  • في رست (Rust) طريقتين لتغيير (mutate) قيمة مملوكة (owned value) لأنه يقدم إحتمالية حدوث سباق بيانات (data race).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_de.html b/49_de.html new file mode 100644 index 000000000..f6e88a554 --- /dev/null +++ b/49_de.html @@ -0,0 +1,52 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Veränderliches Eigentum mit Referenzen ausleihen

+

Mit dem Operator „&mut“ können wir auch veränderlichen Zugriff auf eine Ressource ausleihen.

+

Ein Ressourceneigentümer kann nicht verschoben oder geändert werden, während er veränderlich ausgeliehen ist.

+

Speicherdetail:

+
    +
  • Rust verhindert, dass es zwei Möglichkeiten gibt, einen eigenen Wert zu ändern führt die Möglichkeit eines Datenwettlaufs ein.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_en.html b/49_en.html new file mode 100644 index 000000000..a18de85ac --- /dev/null +++ b/49_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Borrowing Mutable Ownership with References

+

We can also borrow mutable access to a resource with the &mut operator.

+

A resource owner cannot be moved or modified while mutably borrowed.

+

Memory detail:

+
    +
  • Rust prevents having two ways to mutate an owned value because it introduces the possibility of a data race.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_es.html b/49_es.html new file mode 100644 index 000000000..19e9deb08 --- /dev/null +++ b/49_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Préstamo de Pertenencias Mutables con Referencias

+

Podemos tomar prestado el acceso mutable a un recurso con el operador &mut.

+

El propietario de dicho recurso no se puede mover o modificar mientras se encuentra prestado.

+

Detalles de la memoria:

+
    +
  • Rust impide tener dos formas de mutar un valor de propiedad porque introduce la posibilidad de una condición de carrera.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_fa.html b/49_fa.html new file mode 100644 index 000000000..e83ac6231 --- /dev/null +++ b/49_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Borrowing Mutable Ownership with References

+

We can also borrow mutable access to a resource with the &mut operator.

+

A resource owner cannot be moved or modified while mutably borrowed.

+

Memory detail:

+
    +
  • Rust prevents having two ways to mutate an owned value because it introduces the possibility of a data race.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_fi.html b/49_fi.html new file mode 100644 index 000000000..85dc4f4f0 --- /dev/null +++ b/49_fi.html @@ -0,0 +1,52 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Borrowing Mutable Ownership with References

+

We can also borrow mutable access to a resource with the &mut operator.

+

A resource owner cannot be moved or modified while mutably borrowed.

+

Memory detail:

+
    +
  • Rust prevents having two ways to mutate an owned value because it introduces the possibility of a data race.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_fr.html b/49_fr.html new file mode 100644 index 000000000..1723ad112 --- /dev/null +++ b/49_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

S'approprier une ressource mutable avec des références

+

On peut créer une référence mutable qui permet d'emprunter l'accès à une ressource mutable (celles-ci sont +créées avec le mot-clé let) en utilisant l'opérateur &mut.

+

Le propriétaire d'une ressource ne peut pas changer lorsque la ressource +est empruntée avec une référence mutable.

+

Détails de la mémoire:

+
    +
  • Rust empêche d'avoir deux moyens de modifier une valeur car cela introduirait +des problèmes concurrentiels d'accès aux données.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_gr.html b/49_gr.html new file mode 100644 index 000000000..1ba7e7ac0 --- /dev/null +++ b/49_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μεταβίβαση επικαρπίας κυριότητας («μεταβλητός δανεισμός») μέσω αναφορών

+

Μπορούμε επίσης να ζητήσουμε μεταβλητή πρόσβαση σε κάποιον πόρο μέσω του τελεστή &mut.

+

Μία ιδιοκτήτρια πόρου δεν μπορεί ούτε να μετακινηθεί ούτε να μεταβληθεί ενώ είναι μεταβλητά δανεισμένη.

+

Λεπτομέρειες:

+
    +
  • Η Rust αποτρέπει την ύπαρξη δύο τρόπων να μεταβληθεί μία τιμή που έχει ιδιοκτήτη, καθώς αυτό εισάγει την πιθανότητα αγώνων δεδομένων (data races)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_hu.html b/49_hu.html new file mode 100644 index 000000000..57aec7e33 --- /dev/null +++ b/49_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Megváltoztatásra is jogosult birtoklás kölcsönkérése referenciák használatával

+

A &mut operátor használatával úgy is kölcsönkérhetjük az erőforrást, ami annak +megváltoztatását is megengedi.

+

Az ilyen kölcsönkérés során a tulajdonost nem mozgathatjuk máshova és meg se változtathatjuk.

+

Hogyan érinti ez a memóriát:

+
    +
  • A Rust nem engedi, hogy egyszerre többen is úgy birtokolják az adatot, hogy az +megváltoztatható, mivel ez lehetővé tenné az úgy nevezett data race-k létrejöttét.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_id.html b/49_id.html new file mode 100644 index 000000000..02811df4a --- /dev/null +++ b/49_id.html @@ -0,0 +1,52 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Borrowing Mutable Ownership with References

+

We can also borrow mutable access to a resource with the &mut operator.

+

A resource owner cannot be moved or modified while mutably borrowed.

+

Memory detail:

+
    +
  • Rust prevents having two ways to mutate an owned value because it introduces the possibility of a data race.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ie.html b/49_ie.html new file mode 100644 index 000000000..ca3cb0fdd --- /dev/null +++ b/49_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pruntation de Mutabil Proprietá con Referenties

+

Noi posse anc pruntar accesse mutabil a un ressurse con li operator &mut.

+

Un proprietario de un ressurse ne posse mover o modificar se durant que it es pruntat mutabilmen.

+

Detallies pri memorie:

+
    +
  • Rust preveni li duplic mutabil pruntation de un valore pro que con to on have li possibilitá de data-concurrentie.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_it.html b/49_it.html new file mode 100644 index 000000000..9c5d31fae --- /dev/null +++ b/49_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prestito di proprietà mutevole con referenze

+

Possiamo anche prendere in prestito l'accesso mutabile a una risorsa con l'operatore &mut.

+

Un proprietario di una risorsa non può essere spostato o modificato mentre è preso in prestito in modo mutabile.

+

Dettagli della memoria:

+
    +
  • Rust impedisce di avere due modi per modificare un valore posseduto perché introduce la possibilità di una gara di dati.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ja.html b/49_ja.html new file mode 100644 index 000000000..e4a1c6dfc --- /dev/null +++ b/49_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照による所有権の可変な借用

+

&mut 演算子を使えば、リソースへの変更可能なアクセスを借用することもできます。

+

リソースの所有者は、可変な借用の間は移動や変更ができません。

+

メモリの詳細:

+
    +
  • データ競合を防止するため、Rust では同時に 2 つの変数から値を変更することはできません。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ko.html b/49_ko.html new file mode 100644 index 000000000..d0eec9460 --- /dev/null +++ b/49_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조로 변경 가능한 소유권 대여하기

+

&mut 연산자를 통해 리소스에 대한 mutable한 접근 권한도 대여할 수 있습니다.

+

리소스의 owner는 mutable하게 대여된 상태에서는 move 되거나 변경될 수 없습니다.

+

메모리 상세:

+
    +
  • Rust는 데이터 경합의 가능성 때문에 소유된 값을 변경하는 방법이 여러 개 생기는 것을 방지합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ne.html b/49_ne.html new file mode 100644 index 000000000..d06e5db3b --- /dev/null +++ b/49_ne.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Borrowing Mutable Ownership with References

+

We can also borrow mutable access to a resource with the &mut operator.

+

A resource owner cannot be moved or modified while mutably borrowed.

+

Memory detail:

+
    +
  • Rust prevents having two ways to mutate an owned value because it introduces the possibility of a data race.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_pl.html b/49_pl.html new file mode 100644 index 000000000..ca05811aa --- /dev/null +++ b/49_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pożyczanie z Możliwością Dokonania Zmian Przy Pomocy Referencji Mutowalnych

+

Możemy też pożyczyć dany zasób w sposób który pozwoli nam na dokonywanie zmian, czyli tzw. mutowanie. Dokonamy tego używając operatora '&mut'.

+

Właściciel zasobu nie może być przenoszony ani modyfikowany podczas istnienia mutowalnej referencji.

+

Kilka szczegółów:

+
    +
  • Rust zabrania więcej niż jednego sposobu na modyfikację posiadanej wartości, ponieważ doprowadziłoby to do możliwości zaistnienia wyścigu do danych.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_pt-br.html b/49_pt-br.html new file mode 100644 index 000000000..d9804b820 --- /dev/null +++ b/49_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Emprestando Propriedades Mutáveis Usando Referências

+

Também podemos emprestar um acesso mutável a um recurso usando o operador & mut.

+

O proprietário de um recurso não pode ser movido ou modificado durante um empréstimo mutável.

+

Detalhes de memória:

+
    +
  • O Rust evita ter duas maneiras de alterar um valor que tenha um dono, pois introduz a possibilidade de uma corrida de dados.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ro.html b/49_ro.html new file mode 100644 index 000000000..5e92b68d4 --- /dev/null +++ b/49_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Împrumutul proprietății mutabile prin referințe

+

Putem de asemenea să împrumutăm accesul mutabil la o resursă cu ajutorul operatorului &mut.

+

Proprietarul unei resurse nu poate fi mutat sau modificat în timp ce este împrumutat accesul mutabil.

+

Detalii despre memorie:

+
    +
  • Rust previne existența a două căi de a modifica o valoare deținută, deoarece acest lucru ar introduce posibilitatea intercalării datelor (data race).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ru.html b/49_ru.html new file mode 100644 index 000000000..61074aab5 --- /dev/null +++ b/49_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Заимствование во владение с правами на изменение (Mutable Borrow)

+

Мы также можем заимствовать доступ к ресурсу с правами на его изменение с помощью оператора &mut.

+

Оригинальный владелец ресурса не может быть еще раз передан (move'нут) или одновременно изменён (для&mut ссылки), все время пока он заимствован mut'абельно другой функцией/переменной.

+

Детали для запоминания:

+
    +
  • Rust предотвращает возможность изменения одного ресурса в двух и более местах, так как это может привести к гонкам данных (data race).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_th.html b/49_th.html new file mode 100644 index 000000000..48a3a8e44 --- /dev/null +++ b/49_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การยืมความเป็นเจ้าของ กับของที่เปลี่ยนแปลงค่าได้ ด้วยวิธีอ้างอิง

+

นอกจากนี้เรายังสามารถยืมการเข้าถึงรีซอร์สที่เปลี่ยนค่าได้ด้วยตัวดำเนินการ &mut

+

โดยที่ตัวเจ้าของเองจะไม่สามารถย้ายหรือแก้ไขอะไรได้ในขณะที่ถูกยืม

+

รายละเอียดหน่วยความจำ:

+
    +
  • Rust ป้องกันการเข้าถึงจากทั้งสองทางให้กับ คนที่จะเปลี่ยนค่า กับตัวเจ้าของเอง เพราะว่า ไม่เช่นนั้นอาจทำให้เกิดปัญหาแย่งข้อมูลกัน(data race)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_tr.html b/49_tr.html new file mode 100644 index 000000000..3b5cdced2 --- /dev/null +++ b/49_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referanslar Yardımıyla Değişebilen Mülkiyeti Ödünç Almak

+

Yine bir referans olanağı olan &mut işleci yardımıyla, değişebilen bir kaynağın mülkiyetini ödünç alabiliriz. +Bir kaynak değişebilen referansla ödünç alındığında, kaynağı sahibi, borç alınan mülkiyet iade edilene dek taşınamaz ve değiştirilemez. +Bellek ayrıntıları:

+
    +
  • Rust, bir kaynağın birden fazla yerden değiştirilme ihtimalini, veri yarışlarına sebep olabileceğinden dolayı engeller.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_ua.html b/49_ua.html new file mode 100644 index 000000000..abba96161 --- /dev/null +++ b/49_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Отримання володіння через мутабельні посилання

+

Якщо ви хочете отримати володіння у мутабельному посиланні, то замість оператора & треба писати &mut.

+

Ресурс не можна змінювати чи переміщувати, поки на нього вказує мутабельне посилання.

+

Деталі роботи за памяттю:

+
    +
  • Rust не дає можливості мати декілька мутабельних посилань, задля забезпечення цілістності даних.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_vi.html b/49_vi.html new file mode 100644 index 000000000..759777918 --- /dev/null +++ b/49_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mượn quyền sở hữu có thể thay đổi(Mutable Ownership) với tham chiếu

+

Chúng ta cũng có thể mượn quyền truy cập có thể thay đổi vào tài nguyên bằng toán tử &mut.

+

Không thể di chuyển hoặc sửa đổi chủ sở hữu tài nguyên trong khi mượn lẫn nhau.

+

Chi tiết bộ nhớ:

+
    +
  • Rust ngăn cản việc có hai cách để thay đổi một giá trị đã bị sở hữu bởi vì nó dẫn đến khả năng xảy ra một cuộc chạy đua dữ liệu.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_zh-cn.html b/49_zh-cn.html new file mode 100644 index 000000000..8c6e2faf3 --- /dev/null +++ b/49_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

通过引用借用可变所有权

+

我们也可以使用 &mut 操作符来借用对一个资源的可变访问权限。 在发生了可变借用后,一个资源的所有者便不可以再次被借用或者修改。

+

内存细节:

+
    +
  • Rust 之所以要避免同时存在两种可以改变所拥有变量值的方式,是因为此举可能会导致潜在的数据争用(data race)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/49_zh-tw.html b/49_zh-tw.html new file mode 100644 index 000000000..6a58efd9b --- /dev/null +++ b/49_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從參考借可變 (mutable) 的擁有權

+

我們可以透過 &mut 運算子向一個資源借可變的進入權。

+

在可變動的借出時,一個資源擁有者無法被轉移或修改。

+

記憶體細節:

+
    +
  • Rust 避免有兩種方式可以修改一個被他人擁有的數值,因為這使得資料競爭 (data race) 有機會發生。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_al.html b/50_al.html new file mode 100644 index 000000000..0747b2545 --- /dev/null +++ b/50_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of an owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ar.html b/50_ar.html new file mode 100644 index 000000000..9bbde166d --- /dev/null +++ b/50_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إلغاء المرجعية (Dereferencing)

+

عندما تستخدم المراجع المنشئ بـ &mut، فإنه يمكنك تعيين قيمة المالك باستخدام العامل *.

+

يمكنك أيضًا الحصول على نسخة من القيمة المملوكة (owned value) باستخدام العامل * (وهذا إذا كان من الممكن نسخ القيمة - سنناقش الأنواع القابلة للنسخ في الفصول اللاحقة).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_de.html b/50_de.html new file mode 100644 index 000000000..44c60c2c5 --- /dev/null +++ b/50_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferenzierung

+

Mithilfe von '&mut'-Referenzen können Sie den Wert des Eigentümers mithilfe des '*'' festlegen Operator.

+

Sie können auch eine Kopie eines eigenen Werts erhalten, indem Sie den Operator '*'' verwenden (wenn der Wert können kopiert werden (wir werden kopierbare Typen in späteren Kapiteln besprechen).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_en.html b/50_en.html new file mode 100644 index 000000000..697a93a31 --- /dev/null +++ b/50_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of an owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_es.html b/50_es.html new file mode 100644 index 000000000..eb7f5a450 --- /dev/null +++ b/50_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Indirección

+

Usando la referencia &mut, puedes establecer el valor del propietario usando el operador *. +También puedes obtener una copia del valor de pertenencia utilizando el operador * (Si el valor se puede copiar. Trataremos estos tipos más adelante).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_fa.html b/50_fa.html new file mode 100644 index 000000000..5819179d8 --- /dev/null +++ b/50_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_fi.html b/50_fi.html new file mode 100644 index 000000000..69a652d39 --- /dev/null +++ b/50_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of an owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_fr.html b/50_fr.html new file mode 100644 index 000000000..1af2985c1 --- /dev/null +++ b/50_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Déréférencement

+

Avec une référence, on peut modifier la valeur avec l'opérateur de déréférencement *.

+

Tu peux également obtenir une copie de la valeur en utilisant également l'opérateur de déférencement * +(à condition que la valeur puisse être copiée, nous discuterons des types qui peuvent l'être +dans un prochain chapitre).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_gr.html b/50_gr.html new file mode 100644 index 000000000..dbad02d41 --- /dev/null +++ b/50_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of an owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_hu.html b/50_hu.html new file mode 100644 index 000000000..1541c6929 --- /dev/null +++ b/50_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferenciálás

+

Ha van egy &mut referenciád, a * operátor segítségével férhetsz hozzá a hivatkozott adathoz.

+

Emellett a * operátor képes még egy birtokolt érték lemásolására is (már ha az adott érték +másolható - de erről egy későbbi fejezetben lesz szó).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_id.html b/50_id.html new file mode 100644 index 000000000..8ab6129da --- /dev/null +++ b/50_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of an owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ie.html b/50_ie.html new file mode 100644 index 000000000..bd04e8257 --- /dev/null +++ b/50_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferentiar

+

Con referenties, on posse etablisser li valore del proprietario con li operator *.

+

On posse anc obtener un copie del propri valore con li operator * +(si li valore es copiabil. Noi va parlar pri tipes copiabil in li capitules a sequer.)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_it.html b/50_it.html new file mode 100644 index 000000000..c06fc533c --- /dev/null +++ b/50_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferenziazione

+

Utilizzando i riferimenti &mut, puoi impostare il valore del proprietario utilizzando * operatore.

+

Puoi anche ottenere una copia di un valore posseduto utilizzando l'operatore "*" (se value possono essere copiati - discuteremo dei tipi copiabili nei capitoli successivi).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ja.html b/50_ja.html new file mode 100644 index 000000000..c45e3f1ad --- /dev/null +++ b/50_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照外し

+

&mut による参照では、* 演算子によって参照を外す (dereference) ことで、所有者の値を設定できます。

+

* 演算子によって所有者の値のコピーを取得することもできます(コピー可能な型については後の章で説明します)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ko.html b/50_ko.html new file mode 100644 index 000000000..8bb0c5055 --- /dev/null +++ b/50_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

역참조

+

&mut 참조를 이용해 * 연산자로 owner의 값을 설정할 수 있습니다.

+

* 연산자로 own된 값의 복사본도 가져올 수 있습니다 (복사 가능한 경우만 - 복사 가능한 자료형에 대해서는 이후에 설명하겠습니다).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ne.html b/50_ne.html new file mode 100644 index 000000000..d5a82ff0f --- /dev/null +++ b/50_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of an owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_pl.html b/50_pl.html new file mode 100644 index 000000000..307300a72 --- /dev/null +++ b/50_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencja

+

Używając referencji '&mut' mamy możliwość modyfikacji danych na którą ona wskazuje. Możemy to zrobić używając operatora gwiazdki *.

+

W określonych warunkach użycie gwiazdki może też oznaczać skopiowanie zasobu. O typach kopiowalnych powiemy sobie więcej w dalszych rozdziałach.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_pt-br.html b/50_pt-br.html new file mode 100644 index 000000000..73b90d085 --- /dev/null +++ b/50_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desreferenciando

+

Usando referências você pode definir o valor do proprietário usando o operador *.

+

Você também pode obter uma cópia do valor de propriedade usando o operador * (Se o valor puder ser copiado. Discutiremos tipos copiáveis nos próximos capítulos).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ro.html b/50_ro.html new file mode 100644 index 000000000..a16bb3d6b --- /dev/null +++ b/50_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferențiere

+

Folosind referințe prin &mut, putem seta valoarea proprietarului inițial prin folosirea operatorului *.

+

Puteți de asemenea copia valoarea unei resurse deținute folosind operatorul * (dacă valoarea poate fi copiată - vom discuta despre tipuri care se pot copia în capitole viitoare).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ru.html b/50_ru.html new file mode 100644 index 000000000..ce6a11461 --- /dev/null +++ b/50_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Разыменование (Dereferencing)

+

Используя &mut ссылки, Вы можете установить новое значение переменной, используя * оператор разыменования ссылки.

+

Вы также можете получить копию значения, используя * (только если значение может быть скопировано. Мы поговорим о копируемых типах в следующих главах).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_th.html b/50_th.html new file mode 100644 index 000000000..4ed45dc83 --- /dev/null +++ b/50_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การอ้างอิง

+

การอ้างอิงด้วยการใช้ &mut เช่นนี้ เวลาที่คุณจะกำหนดค่าใหม่ให้มัน ให้ใช้ตัวดำเนินการ *

+

ในการกลับกัน คุณก็สามารถสำเนาค่านั้นออกมาด้วยตัวดำเนินกาารเดียวกัน * (ซึ่งขึ้นอยู่ด้วยว่าค่านั้นยอมให้ทำสำเนาได้หรือไม่ - ไว้เราจะไปคุยกันเรื่อง type ที่ยอมให้สำเนาได้อีกทีในภายหลัง)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_tr.html b/50_tr.html new file mode 100644 index 000000000..faa3405ac --- /dev/null +++ b/50_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referansı Kaldırmak

+

Bir kaynağa &mut ile değişebilir başvuru yapıldığında, o kaynağa ait değer * işleci kullanılarak yeniden ayarlanabilir. +Akıllı işaretçiler bölümünde daha yakından inceleyeceğimiz bu işleç yardımıyla, kopyalama özelliği uygulayan bir türün kopyasına da erişmemiz mümkündür.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_ua.html b/50_ua.html new file mode 100644 index 000000000..22f53195f --- /dev/null +++ b/50_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розіменування посилань

+

Використовуючи &mut ви можете встановити значення ресурсу на котрий посилаються за допомогою оператора*. +Щоб зкопіювати значення з ресурсу через посилання також можна використати оператор * (про копіювання данних різних типів ми поговоримо пізніше).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_vi.html b/50_vi.html new file mode 100644 index 000000000..494e2f4ff --- /dev/null +++ b/50_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Sử dụng tham chiếu &mut, bạn có thể đặt giá trị của chủ sở hữu bằng toán tử *.

+

Bạn cũng có thể nhận được một bản sao của một giá trị được sở hữu bằng cách sử dụng toán tử * (nếu giá trị có thể được sao chép - chúng ta sẽ thảo luận về các loại có thể sao chép trong các chương sau).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_zh-cn.html b/50_zh-cn.html new file mode 100644 index 000000000..03309628c --- /dev/null +++ b/50_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

解引用

+

使用 &mut 引用时, 你可以通过 * 操作符来修改其指向的值。 你也可以使用 * 操作符来对所拥有的值进行拷贝(前提是该值可以被拷贝——我们将会在后续章节中讨论可拷贝类型)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/50_zh-tw.html b/50_zh-tw.html new file mode 100644 index 000000000..6b5af569d --- /dev/null +++ b/50_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

解參考 (dereferencing)

+

使用 &mut 參考時,你可以透過 * 運算子來設定擁有者的數值。

+

你也可以透過 * 運算子得到一份複製的數值 (如果該數值是可以被複製的話,我們將會在後續章節探討型別的可複製性)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_al.html b/51_al.html new file mode 100644 index 000000000..eb3ad2193 --- /dev/null +++ b/51_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ar.html b/51_ar.html new file mode 100644 index 000000000..68228f074 --- /dev/null +++ b/51_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تمرير البيانات المستعارة (Passing Around Borrowed Data)

+

من الأفضل تلخيص قواعد رست (Rust) فيما يتعلق بالمراجع في مايلي:

+
    +
  • رست (Rust) يسمح فقط بوجود مرجع واحد قابل للتغيير (mutable reference) أو عدة مراجع غير قابلة للتغيير (non-mutable references) ولكن ليس كلاهما.
  • +
  • يجب ألا يعيش المرجع (reference) لفترة أطول من مالكه (owner).
  • +
+

لا يمثل هذا مشكلة عند تمرير المراجع إلى الدوال.

+

تفاصيل الذاكرة:

+
    +
  • القاعدة الأولى للمراجع تمنع سباقات البيانات (data races). ما هو سباق البيانات؟ يحدث سباق البيانات عندما تكون البيانات لديها إحتمالية لوجودها خارج النطاق الغير متزامن (sync) ونتيجة وجود أيضا كاتب آخر على هذه البيانات في نفس الوقت. يحدث هذا غالبًا في البرمجة متعددة الخيوط (multi-threaded programming).
  • +
  • القاعدة الثانية للمراجع تمنع إساءة استخدام المراجع التي تشير إلى بيانات غير موجودة (تسمى المؤشرات المتدلية - dangling pointers - في لغة C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_de.html b/51_de.html new file mode 100644 index 000000000..2eb1c6507 --- /dev/null +++ b/51_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Weitergabe geliehener Daten

+

Rusts Regeln für Referenzen lassen sich am besten wie folgt zusammenfassen:

+
    +
  • Rust erlaubt nur eine veränderbare Referenz oder mehrere nicht veränderliche Referenzen aber nicht beides.
  • +
  • Eine Referenz darf niemals länger leben als ihr Besitzer.
  • +
+

Dies stellt in der Regel kein Problem dar, wenn Verweise weitergegeben werden Funktionen.

+

Speicherdetails:

+
    +
  • Die erste Referenzregel verhindert Datenwettläufe. Was ist ein Datenwettlauf? A Beim Datenwettlauf kann es beim Lesen von Daten zu Abweichungen kommen aufgrund der gleichzeitigen Existenz eines Schreibers für die Daten. Das passiert häufig in der Multithread-Programmierung.
  • +
  • Die zweite Referenzregel verhindert den Missbrauch von Referenzen, die verweisen auf nicht vorhandene Daten (in C baumelnde Zeiger genannt).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_en.html b/51_en.html new file mode 100644 index 000000000..d7cb4833d --- /dev/null +++ b/51_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_es.html b/51_es.html new file mode 100644 index 000000000..904445095 --- /dev/null +++ b/51_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mover los Datos Prestados

+

Las reglas de referencia de Rust se resumen de la siguiente manera:

+
    +
  • Rust solo permite que haya una referencia mutable o múltiples referencias no mutables, pero no ambas.
  • +
  • Una referencia nunca debe vivir más tiempo que su propietario.
  • +
+

Esto no suele ser un problema cuando se pasan referencias a funciones.

+

Detalles de la memoria:

+
    +
  • La primera regla de referencia impide las condiciones de carrera. ¿Qué es una condición de carrera (data race)? Esta se da cuando uno o más hilos acceden a una posición de memoria variable de manera concurrente en la programación multi-hilo y existe la posibilidad de estar fuera de sincronía debido a que al menos uno está escribiendo y otro no está sincronizado con los demás hilos.
  • +
  • La segunda regla de referencia previene el mal uso de referencias a datos inexistentes (llamados punteros colgantes en C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_fa.html b/51_fa.html new file mode 100644 index 000000000..f6d66f6f0 --- /dev/null +++ b/51_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_fi.html b/51_fi.html new file mode 100644 index 000000000..3e00856b3 --- /dev/null +++ b/51_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_fr.html b/51_fr.html new file mode 100644 index 000000000..8c8c58486 --- /dev/null +++ b/51_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Transfert de données empruntées

+

Les règles de Rust en ce qui concerne les références peuvent être résumées en:

+
    +
  • Rust n'autorise qu'une seule référence mutable (mot-clé &mut) ou plusieurs références immuables mais pas les deux.
  • +
  • Une référence ne doit pas vivre plus longtemps que son propriétaire.
  • +
+

Cela n'est pas un problème lorsque que la référence est passée en paramètre +d'une fonction puisque la référence n'exite que dans la portée de la fonction.

+

Détails de la mémoire:

+
    +
  • La première règle empêche les accès concurrentiels. On parle d'accès concurrentiels lorsque plusieurs acteurs +essayent d'accéder à une ressource en même temps. Par exemple j'essaie de lire une valeur mais quelqu'un d'autre +la modifie en même temps, résultat je ne sais pas si je lis la valeur avant ou après modification. Cela arrive +fréquemment dans les programme utilisant plusieurs fils d'exécution (en anglais threads).
  • +
  • La deuxième règle nous évite la mauvaise utilisation de références qui pourrait faire référence à une donnée +inexistante (les fameux dandling pointers du language C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_gr.html b/51_gr.html new file mode 100644 index 000000000..fa9fc4035 --- /dev/null +++ b/51_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_hu.html b/51_hu.html new file mode 100644 index 000000000..bbc23b7f4 --- /dev/null +++ b/51_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A kölcsönkért adatok ide-oda helyezése

+

A Rust referenciáinak szabályait talán így lehet a legjobban megfogalmazni:

+
    +
  • Egyszerre csak egy megváltoztatható referencia létezhet vagy több nem-megváltoztatható, de +sosem mindkettő.
  • +
  • A referenciák élettartama sose lehet hosszabb a tulajdonosnál. Ez általában nem okoz +problémát, ha a függvények egymásnak adogatják át a referenciákat.
  • +
+

Hogyan érinti ez a memóriát:

+
    +
  • Az első szabály a data race-k létrejöttét akadályozza meg. De mi is ez a data race +("adatverseny")? Egy data race akkor jön létre, amikor egy olyan adatot próbálunk kiolvasni, +ami időközben felülírásra került, mivel egyszerre próbálunk belőle olvasni és bele írni is. Ez +gyakran előfordul több szálon futó programokban.

  • +
  • A második szabály pedig a már megsemmisült adatokra mutató referenciákat akadályozza meg. A C +nyelvben járatosak ezeket dangling pointer-nek (lógó mutatónak) nevezik.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_id.html b/51_id.html new file mode 100644 index 000000000..b12cf1005 --- /dev/null +++ b/51_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ie.html b/51_ie.html new file mode 100644 index 000000000..fd572e6be --- /dev/null +++ b/51_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Transferer Pruntat Data

+

On posse curtmen resumar li regules de Rust pri referenties quam seque:

+
    +
  • Un mutabil referentie es permisset, o multiplic non-mutabil referenties, ma ne ambi
  • +
  • Un referentie ne mey viver plu long quam su proprietario.
  • +
+

To por li pluparte ne es un problema quande on transfere referenties a functiones.

+

Detallies pri memorie:

+
    +
  • Li unesim regul de referenties preveni data-concurrentie. Quo es to? Data-concurrentie eveni quande on lee data con li possibilitá de un scritor al sam data in li sam moment. To eveni sovente in multi-filat programmation.
  • +
  • Li duesim regul de referenties preveni li misusa de referenties referent a data quel ne existe ( nominat dangling pointers in C ).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_it.html b/51_it.html new file mode 100644 index 000000000..98c7da095 --- /dev/null +++ b/51_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passaggio di dati presi in prestito

+

Le regole di Rust per i riferimenti potrebbero essere meglio riassunte da:

+
    +
  • Rust permette che ci sia solo un riferimento mutabile o multiplo +riferimenti non mutabili ma non entrambi.

  • +
  • Un riferimento non deve mai vivere più a lungo del suo proprietario.

    +

    Questo non tende a essere un problema quando si passano riferimenti a +funzioni.

    +

    Dettagli della memoria:

  • +
  • La prima regola di riferimento previene le gare di dati. Cos'è una corsa ai dati? UN +la corsa dei dati durante la lettura dei dati può non essere sincronizzata +a causa dell'esistenza di un autore dei dati allo stesso tempo. Questo succede +spesso nella programmazione multi-thread.

  • +
  • La seconda regola dei riferimenti impedisce l'uso improprio dei riferimenti che rimandano +a dati inesistenti (chiamati puntatori pendenti in C).

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ja.html b/51_ja.html new file mode 100644 index 000000000..2d95b5695 --- /dev/null +++ b/51_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

借用したデータの受け渡し

+

Rust の参照に関するルールは、以下のようにまとめられます。

+
    +
  • Rust では、可変な参照が 1 つだけか、不変な参照が複数かのどちらかが許可されます。両方を同時には使用できません
  • +
  • 参照は所有者よりも長く存在してはなりません。
  • +
+

これは関数へ参照を渡す際に問題となることはありません。

+

メモリの詳細:

+
    +
  • 参照の最初のルールはデータ競合を防ぎます。データ競合とは? +データを読み込む際、データへの書き込みが同時に行われると、同期が取れなくなる可能性があります。 +これはマルチスレッドプログラミングでよく起こります。
  • +
  • 参照の 2 番目のルールは、存在しないデータへの参照(C 言語ではダングリングポインタと呼ばれる)による誤動作を防ぐためのものです。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ko.html b/51_ko.html new file mode 100644 index 000000000..8703a63b8 --- /dev/null +++ b/51_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

대여한 데이터 전달하기

+

Rust의 참조 규칙은 다음과 같이 요약될 수 있습니다:

+
    +
  • Rust는 단 하나의 mutable한 참조 또는 여러개의 non-mutable 참조만 허용하며, 둘 다는 안됨.
  • +
  • 참조는 그 owner보다 더 오래 살 수 없음.
  • +
+

이는 보통 함수로 참조를 넘겨줄 때에는 문제가 되지 않습니다.

+

메모리 상세:

+
    +
  • 첫 번째 참조 규칙은 데이터 경합을 방지합니다. 데이터 경합이 뭐냐구요? 데이터 경합은 데이터를 읽는 행위가 동시에 데이터를 쓰는 이의 존재로 인해 동기화가 어긋날 가능성이 있을 때 일어납니다. 이는 멀티쓰레드 프로그래밍에서 종종 발생합니다.
  • +
  • 두 번째 참조 규칙은 존재하지 않는 데이터를 바라보는 잘못된 참조를 사용하는 것을 방지합니다 (이를 C에서는 허상 포인터(dangling pointers)라고 부릅니다).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ne.html b/51_ne.html new file mode 100644 index 000000000..1ac8e1f6f --- /dev/null +++ b/51_ne.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_pl.html b/51_pl.html new file mode 100644 index 000000000..7fdbd556e --- /dev/null +++ b/51_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Przekazywanie Pożyczonych Danych

+

Zasady Rusta dotyczące refencji i pożyczania mogą być ujęte w następujących dwóch punktach:

+
    +
  • Dla każdego zasobu, Rust pozwala na istnienie tylko jednej mutowalnej referencji albo dowolnej ilości nie-mutowalnych referencji. Istnienie dwóch typów referencji do jednego zasobu jest niedozwolone.
  • +
  • Referencja nie może żyć dłużej niż właściciel, czyli zasób na który wskazuje.
  • +
+

Te zasady nie powinny nam sprawiać zbyt wielu problemów w przypadku przekazywania referencji do wywoływanych funkcji.

+

Kilka szczegółów:

+
    +
  • Pierwsza z wymienionych wyżej zasad gwarantuje nam brak wyścigów do danych. Czym jest wyścig do danych? Jest to sytuacja w której odczyt danych z zasobu może być niezgodny z aktualnym stanem zmiennej, ze względu na istniejący jednocześnie wątek który wypisuje do tego samego zasobu w tym samym czasie. Ten problem jest częsty w programowaniu wielowątkowym.
  • +
  • Druga z wymienionych wyżej zasad eliminuje problem z referencjami które wskazują na nie istniejące dane (w nomenklaturze języka C nazywamy to zjawisko dangling pointer).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_pt-br.html b/51_pt-br.html new file mode 100644 index 000000000..4c737480a --- /dev/null +++ b/51_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passando Dados Emprestados

+

As regras do Rust para referências podem ser melhor resumidas assim:

+
    +
  • O Rust permite que haja apenas uma referência mutável ou múltiplas referências não-mutáveis, mas não ambas.
  • +
  • Uma referência nunca deve viver mais do que o seu proprietário.
  • +
+

Isso não costuma ser um problema ao passar referências a funções.

+

Detalhes da memória:

+
    +
  • A primeira regra das referências previnem as corridas de dados. O que é uma corrida de dados? Uma corrida de dados acontece quando, na leitura dos dados, temos a possibilidade de conflito com a existência de outras escritas de dados ao mesmo tempo. Isso acontece frequentemente na programação multithread.
  • +
  • A segunda regra de referências evita o uso indevido de referências que se referem a dados inexistentes (chamados ponteiros pendentes em C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ro.html b/51_ro.html new file mode 100644 index 000000000..b3f0b2aca --- /dev/null +++ b/51_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trimiterea datelor împrumutate

+

Regulile din Rust pentru referințe pot fi rezumate foarte bine de:

+
    +
  • Rust permite existența unei singure referințe mutabile sau a mai multor referințe imutabile, dar nu a celor două în același timp.
  • +
  • O referință nu trebuie niciodată să aibă o durată de viață mai lungă decât proprietarul ei.
  • +
+

Aceste lucruri nu tind să fie o problemă atunci când trimitem referințe unor funcții.

+

Detalii despre memorie:

+
    +
  • Prima regula pentru referințe previne intercalarea datelor (data races). Ce este o intercalare a datelor? Există posibilitatea ca atunci când citim niște date, acestea să fie desincronizate din cauza existenței unei entități (funcție sau alt mecanism) care modifică acele date în același timp. Acest lucru se întâmplă des în programarea pe mai multe thread-uri (multi-threaded).
  • +
  • A doua regulă pentru referințe previne folosirea greșită a referințelor legate de resurse care nu mai există în memorie (numite și dangling pointers în C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ru.html b/51_ru.html new file mode 100644 index 000000000..39f6b5e63 --- /dev/null +++ b/51_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Передача заимствованных данных

+

Правила Rust'a для ссылок можно просуммировать так:

+
    +
  • В Rust позволяет иметь только одну изменяемую ссылку на объект или несколько неизменяемых, но не оба типа ссылок одновременно.

  • +
  • Ссылка не должна жить дольше, чем существует её владелец, который может быть удален по выходу из области видимости.

  • +
+

Обычно это не вызывает проблем при передаче ссылок в функции.

+

Детали для запоминания:

+
    +
  • Первое правило ссылок предотвращает гонки данных. Что такое гонки данных? Это когда чтение переменной +одновременно происходит с записью в эту переменную, из-за чего возможно Undefined Behaviour (UB). +Такое часто происходит в многопоточных программах.

  • +
  • Второе правило для ссылок предотвращает некорректное их использование, когда она ссылается на несуществующие данные +( висячие указатели, dangling pointers ).

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_th.html b/51_th.html new file mode 100644 index 000000000..05f2f9983 --- /dev/null +++ b/51_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การส่งผ่านข้อมูลที่ยืมมา

+

กฎที่ใช้กับการอ้างอิงใน Rust อาจจะสรุปออกมาได้ดังนี้:

+
    +
  • Rust ยอมให้มีการอ้างอิงถึงของที่เปลี่ยนแปลงค่าได้แค่ตัวเดียว หรือ หลายตัวก็ได้แต่ต้องเป็นแบบเปลี่ยนแปลงค่าไม่ได้ แต่ทำทั้งสองอย่างพร้อมกันไม่ได้
  • +
  • ตัวที่อ้างอิงถึงตัวอื่น จะต้องไม่มี lifetimes นานกว่าเจ้าของ
  • +
+

สิ่งนี้ไม่มีแนวโน้มที่จะเป็นปัญหาเมื่อส่งต่อการอ้างอิงถึงฟังก์ชัน

+

รายละเอียดหน่วยความจำ:

+
    +
  • กฎข้อแรกของ การอ้างอิง ใช้ป้องกันการแย่งข้อมูลกัน แล้วการแย่งข้อมูลกันคืออะไร? การแย่งข้อมูลกัน เกิดขึ้น ในขณะมีการอ่านข้อมูล ข้อมูลที่ได้อาจจะไม่ตรงกับปัจจุบัน หากมีการเขียนข้อมูลเกิดขึ้นในเวลาเดียวกัน สิ่งนี้เกิดขึ้นบ่อยครั้งในการเขียนโปรแกรมแบบมัลติเธรด
  • +
  • กฎข้อที่สอง ใช้ป้องกันการเกิดตัวอ้างอิง ที่อ้างถึงของที่ไม่มีอยู่จริง (เรียกว่า dangling pointers ในภาษา C)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_tr.html b/51_tr.html new file mode 100644 index 000000000..758e33926 --- /dev/null +++ b/51_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ödünç Alınan Verinin Taşınması

+

Rust'un referans kuralları aşağıdaki şekilde özetlenebilir:

+
    +
  • Rust sadece; ya bir tane &mut değişebilir referansın, ya da dilediğiniz sayıda değişebilir olmayan referansın bulunmasına izin verir. +Aynı anda bunların her ikisinin de olmasına izin verilmez!

  • +
  • Bir referans hiç bir zaman kaynağın asıl sahibinden daha uzun süre yaşatılamaz!

  • +
+

Bir işleve parametre olarak aktarılan referanslar, yalnızca işlev kapsamı içinde var olacaklarından, herhangi bir sorun teşkil etmezler.

+

Bellek ayrıntıları:

+
    +
  • İlk kuralımız, "Eş zamanlı programlarda sıklıkla karşılaştığımız, bir veriye aynı anda erişmeye çalışan birden fazla iş parçasının yarattığı kaotik durum" +olarak özetleyebileceğimiz veri yarışlarını engeller.

  • +
  • İkinci kuralımız ise, "C programlama dilinde sarkan işaretçiler olarak bilinen", var olmayan verilere atıfta bulunan referansların +kötüye kullanılmalarının önüne geçer.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_ua.html b/51_ua.html new file mode 100644 index 000000000..c8f998dd3 --- /dev/null +++ b/51_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Передача запозичених даних

+

Тепер можно коротко підсумувати правила використання посилань в Rust:

+
    +
  • Rust дозволяє створювати лише одне мутабельне посилання на ресурс або декілька не мутабельних посилань, і ні в якому разі неможна мати і ті і ті одночасно.
  • +
  • Посилання не повинні жити довше ніж ресурс на котрий вони посилаються.
  • +
+

Зазвичай це до речі не є проблемою, якщо посилання веде на функцію.

+

Деталі роботи за памяттю:

+
    +
  • Перше правило запобігає так званому "перегону даних", або якщо більш по людьськи - розсінхрону, таке відбувається якщо по двум різним посиланням одразу починають записувати данні. Зустрічається таке переважно в асінхронному програмувані.
  • +
  • Друге правило запобігає утворенню так званих "посилань-зомбі", котрі звертаються до вже не існуючих даних.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_vi.html b/51_vi.html new file mode 100644 index 000000000..21c97c6e0 --- /dev/null +++ b/51_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Truyền xung quanh dữ liệu đã mượn

+

Các quy tắc tham chiếu của Rust tốt nhất có thể được tóm tắt bằng:

+
    +
  • Rust chỉ cho phép có một tham chiếu có thể thay đổi hoặc nhiều tham chiếu không thể thay đổi chứ không phải cả hai.
  • +
  • Tham chiếu không bao giờ được tồn tại lâu hơn so với chủ sở hữu của nó.
  • +
+

Điều này không có xu hướng là một vấn đề khi chuyển xung quanh các tham chiếu đến các hàm.

+

Chi tiết bộ nhớ:

+
    +
  • Quy tắc tham chiếu đầu tiên ngăn chặn các cuộc chạy đua dữ liệu(data race). Cuộc đua dữ liệu là gì? Một cuộc chạy đua dữ liệu khi đọc từ dữ liệu có khả năng không đồng bộ do sự tồn tại của người ghi vào dữ liệu cùng một lúc. Điều này xảy ra thường xuyên trong lập trình đa luồng.
  • +
  • Quy tắc thứ hai về tham chiếu ngăn chặn việc lạm dụng tham chiếu tham chiếu đến dữ liệu không tồn tại (được gọi là con trỏ treo-dangling pointer trong C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_zh-cn.html b/51_zh-cn.html new file mode 100644 index 000000000..d4f60b023 --- /dev/null +++ b/51_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

传递借用的数据

+

Rust 对于引用的规则也许最好用以下的方式总结:

+
    +
  • Rust 只允许同时存在一个可变引用或者多个不可变引用,不允许可变引用和不可变引用同时存在
  • +
  • 一个引用永远也不会比它的所有者存活得更久。
  • +
+

而在函数间进行引用的传递时,以上这些通常都不会成为问题。

+

内存细节:

+
    +
  • 上面的第一条规则避免了数据争用的出现。什么是数据争用?在对数据进行读取的时候,数据争用可能会因为同时存在对数据的写入而产生不同步。这一点往往会出现在多线程编程中。
  • +
  • 而第二条引用规则则避免了通过引用而错误的访问到不存在的数据(在 C 语言中被称之为悬垂指针)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/51_zh-tw.html b/51_zh-tw.html new file mode 100644 index 000000000..6eb90a043 --- /dev/null +++ b/51_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

傳遞借來的資料 (borrowed data)

+

對 Rust 的參考規則最好的總結可能是: Rust's rules for references might best be summarized by:

+
    +
  • Rust 只允許一個可變的參考或者多個不可變的參考,但不會同時發生
  • +
  • 一個參考絕對不能活得比它的擁有者還長
  • +
+

這並不會造成當你想傳遞參考到一個函式的困擾。

+

記憶體細節:

+
    +
  • 參考的第一條規則是為了避免資料競爭 (data race)。什麼是資料競爭?當你在讀取資料時,有機會因為其他寫入而拿到舊資料即是資料競爭。 +這常常發生在多執行緒 (multi-threaded) 的程式裡。
  • +
  • 第二條規則是為了避免誤用了參考到不存在的資料的參考 (在 C 裡稱作懸空指標 (dangling pointers))。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_al.html b/52_al.html new file mode 100644 index 000000000..fe57fbb58 --- /dev/null +++ b/52_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_ar.html b/52_ar.html new file mode 100644 index 000000000..0499c1007 --- /dev/null +++ b/52_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مراجع المراجع (References Of References)

+

يمكنك تطبيق المراجع على أجزاء من مراجع أخرى.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_de.html b/52_de.html new file mode 100644 index 000000000..c388b1154 --- /dev/null +++ b/52_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenzen von Referenzen

+

Referenzen können sogar auf Referenzteile verwendet werden.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_en.html b/52_en.html new file mode 100644 index 000000000..c375e4fb0 --- /dev/null +++ b/52_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_es.html b/52_es.html new file mode 100644 index 000000000..3f75db833 --- /dev/null +++ b/52_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencias de las Referencias

+

Podemos hacer uso de las referencias incluso en otras referencias.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_fa.html b/52_fa.html new file mode 100644 index 000000000..1d31a9928 --- /dev/null +++ b/52_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_fi.html b/52_fi.html new file mode 100644 index 000000000..5f10a6d09 --- /dev/null +++ b/52_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_fr.html b/52_fr.html new file mode 100644 index 000000000..a429d4eea --- /dev/null +++ b/52_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Réferences de réferences

+

Une référence peut faire référence à une autre.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_gr.html b/52_gr.html new file mode 100644 index 000000000..99b59ab03 --- /dev/null +++ b/52_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_hu.html b/52_hu.html new file mode 100644 index 000000000..84f10e707 --- /dev/null +++ b/52_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciák referenciái

+

Egy referencia egy másik referencia egy részére is mutathat.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_id.html b/52_id.html new file mode 100644 index 000000000..3bb5d71bb --- /dev/null +++ b/52_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_ie.html b/52_ie.html new file mode 100644 index 000000000..00a2f7191 --- /dev/null +++ b/52_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenties de Referenties

+

On mem posse usar referenties sur referenties.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_it.html b/52_it.html new file mode 100644 index 000000000..1c34d7d50 --- /dev/null +++ b/52_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Riferimenti di riferimenti

+

I riferimenti possono essere utilizzati anche su pezzi di riferimento.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_ja.html b/52_ja.html new file mode 100644 index 000000000..8472f9ef4 --- /dev/null +++ b/52_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照の参照

+

参照の一部を参照することができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_ko.html b/52_ko.html new file mode 100644 index 000000000..df922aa02 --- /dev/null +++ b/52_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조의 참조

+

참조는 심지어 참조에도 사용될 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_ne.html b/52_ne.html new file mode 100644 index 000000000..039d17741 --- /dev/null +++ b/52_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_pl.html b/52_pl.html new file mode 100644 index 000000000..eb6901617 --- /dev/null +++ b/52_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencje Do Referencji

+

Jeśli chcemy możemy stworzyć referencję do części zasobu na który wskazuje +inna referencja.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_pt-br.html b/52_pt-br.html new file mode 100644 index 000000000..37a0cc2f0 --- /dev/null +++ b/52_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referências de Referências

+

Referências podem ser usadas até mesmo em pedaços de referências.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_ro.html b/52_ro.html new file mode 100644 index 000000000..23370cc48 --- /dev/null +++ b/52_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referințele unor referințe

+

Referințele pot fi folosite și pentru a referi alte referințe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_ru.html b/52_ru.html new file mode 100644 index 000000000..6f38f5a37 --- /dev/null +++ b/52_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ссылки на ссылки (References Of References)

+

Ссылки можно также получить из ссылок.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_th.html b/52_th.html new file mode 100644 index 000000000..360746a9a --- /dev/null +++ b/52_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การอ้างอิงถึงตัวอ้างอิงตัวอื่น

+

การอ้างอิงสามารถใช้อ้างถึงการอ้างอิงอื่นได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_tr.html b/52_tr.html new file mode 100644 index 000000000..75aac9e34 --- /dev/null +++ b/52_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referansların Referansları

+

Bir referans, başka referans parçaları üzerinde bile kullanılabilir. +Başka bir ifadeyle, bir referans diğer bir referansa atıfta bulunabilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_ua.html b/52_ua.html new file mode 100644 index 000000000..8af032afb --- /dev/null +++ b/52_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Посилання на посилання

+

Посилання можна використовувати навіть у фрагментах посилань.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_vi.html b/52_vi.html new file mode 100644 index 000000000..f36015340 --- /dev/null +++ b/52_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu của tham chiếu

+

Tham chiếu thậm chí còn có thể được sử dụng trên các phần của tham chiếu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_zh-cn.html b/52_zh-cn.html new file mode 100644 index 000000000..0ccfd193c --- /dev/null +++ b/52_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

引用的引用

+

引用甚至也可以用在其他引用上。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/52_zh-tw.html b/52_zh-tw.html new file mode 100644 index 000000000..deed91b56 --- /dev/null +++ b/52_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

參考的參考 (references of references)

+

參考甚至可以被用在其他參考上。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_al.html b/53_al.html new file mode 100644 index 000000000..2638399db --- /dev/null +++ b/53_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ar.html b/53_ar.html new file mode 100644 index 000000000..2553d88c2 --- /dev/null +++ b/53_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

العمر الصريح (Explicit Lifetimes)

+

على الرغم من أن رست (Rust) لا يظهر العمر دائمًا في التعليمات البرمجية، إلا أن المترجم (compiler) يفهم عمر (lifetime) كل متغير ويحاول التحقق من أن المرجع (reference) لن يكون موجود بعد مالكه (owner).

+

يمكن أن تكون الدوالة صريحة العمر من خلال تعليم معلمات توقيع الدالة (function signature) برموز تساعد في تحديد أين من المعلمات (parameters) وقيم الإرجاع (return values) التي تشترك في نفس العمر (lifetime).

+

محددات العمر (Lifetime specifiers) دائما تبدأ بالرمز ' (مثال: a' أو b' أو c' … )

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_de.html b/53_de.html new file mode 100644 index 000000000..6d93b9eab --- /dev/null +++ b/53_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explizite Lebenszeiten

+

Auch wenn Rust es nicht immer im Code anzeigt, versteht der Compiler es die Lebensdauer jeder Variablen und wird versucht +um zu bestätigen, dass eine Referenz nie länger existiert als ihr Besitzer. +Funktionen können explizit sein, indem die Funktionssignatur mit parametrisiert wird Symbole, die bei der Identifizierung helfen +welche Parameter und Rückgabewerte dieselbe Lebensdauer haben.

+

Lebensdauerspezifizierer beginnen immer mit einem ' (z. B. 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_en.html b/53_en.html new file mode 100644 index 000000000..b0efc4fa7 --- /dev/null +++ b/53_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_es.html b/53_es.html new file mode 100644 index 000000000..3ef752e3e --- /dev/null +++ b/53_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tiempo de Vida Explícito

+

Aunque Rust no siempre lo muestra en el código, el compilador entiende la vida útil de cada variable e intentará validar que una referencia nunca existe más allá de su propietario.

+

Las funciones pueden ser explícitas mediante la parametrización de la firma de la función con símbolos que ayuden a identificar qué parámetros y valores de retorno comparten el mismo tiempo de vida.

+

Para especificar la vida útil siempre comenzaremos con un ' (por ejemplo, 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_fa.html b/53_fa.html new file mode 100644 index 000000000..27a7194ed --- /dev/null +++ b/53_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_fi.html b/53_fi.html new file mode 100644 index 000000000..cff9fe536 --- /dev/null +++ b/53_fi.html @@ -0,0 +1,51 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_fr.html b/53_fr.html new file mode 100644 index 000000000..c3a1b4c6c --- /dev/null +++ b/53_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durée de vie explicite

+

Même si cela ne se voit pas, le compilateur porte une attention particulière à la durée de vie +de chaque variable et veillera à ce qu'une référence n'existe pas au delà de +l'existance de son propriétaire.

+

Avec Rust, on peut explicitement spécifier la durée de vie des paramètres d'une fonction. +Ceci permet à un ou plusieurs paramètres d'une fonction de partager la durée de vie de valeurs de retour.

+

Les spécifieurs de durée de vie commencent toujours par le symbole ' (e.g. 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_gr.html b/53_gr.html new file mode 100644 index 000000000..959d54510 --- /dev/null +++ b/53_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_hu.html b/53_hu.html new file mode 100644 index 000000000..6b9ea5931 --- /dev/null +++ b/53_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explicit élettartamok

+

Bár a Rust nem mindig mutatja magában a kódban, a fordító figyelembe veszi minden egyes változó +élettartamát és megpróbálja biztosítani, hogy semelyik referencia se létezik tovább, mint a +tulajdonosa.

+

A függvények explicit módon is kijelölhetik a paramétereik élettartamát olyan szimbólumokkal, +amik megmutatják a fordítónak melyik értékek osztoznak azonos élettartalmakon.

+

Az élettartamot kifejező szimbólumok mindig '-fal kezdődnek. Például 'a, 'b, 'valami, +stb.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_id.html b/53_id.html new file mode 100644 index 000000000..e05626fd9 --- /dev/null +++ b/53_id.html @@ -0,0 +1,51 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ie.html b/53_ie.html new file mode 100644 index 000000000..712a4016f --- /dev/null +++ b/53_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vive-témpores Explicit

+

Benque Rust ne sempre monstra it nos in li code, li compilator save li vive-témpor de chascun variabil e va provar validar +que referenties ne vive plu long quam lor proprietarios.

+

Un function posse esser explicit per parametrisar li function-signatura con simboles queles auxilia identificar +quel parametres e quel retorn-valores partiprende li sam vive-témpor.

+

Specificatores de vive-témpores sempre comensa con un ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_it.html b/53_it.html new file mode 100644 index 000000000..c9ec34de4 --- /dev/null +++ b/53_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vite di vita esplicite

+

Anche se Rust non sempre lo mostra nel codice, il compilatore lo capisce la durata di ogni variabile e tenterà +per convalidare che un riferimento non esiste mai più a lungo del suo proprietario.

+

Le funzioni possono essere esplicite parametrizzando la firma della funzione con simboli che aiutano a identificare +quali parametri e valori restituiti condividono la stessa durata.

+

Gli identificatori di durata iniziano sempre con ' (ad esempio 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ja.html b/53_ja.html new file mode 100644 index 000000000..9951b4d8e --- /dev/null +++ b/53_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

明示的なライフタイム

+

Rust では、常にコードに表れるわけではありませんが、コンパイラはすべての変数のライフタイムを管理しており、参照がその所有者よりも長く存在しないことを検証しようとします。

+

関数は、どの引数と戻り値とがライフタイムを共有しているかを、識別のための指定子で明示的に指定できます。

+

ライフタイム指定子は常に ' で始まります(例: 'a, 'b, 'c)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ko.html b/53_ko.html new file mode 100644 index 000000000..50104193e --- /dev/null +++ b/53_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

명시적인 생명주기

+

Rust 코드에서 항상 볼 수 있는 것은 아니지만, 컴파일러는 모든 변수의 lifetime을 이해하며 +참조가 절대로 그 owner보다 더 오래 존재하지 못하도록 검증을 시도합니다.

+

함수에서는 어떤 매개변수와 리턴 값이 서로 같은 lifetime을 공유하는지 식별할 수 있도록 +심볼로 표시하여 명시적으로 생명주기를 지정할 수 있습니다.

+

lifetime 지정자는 언제나 '로 시작합니다. (예: 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ne.html b/53_ne.html new file mode 100644 index 000000000..9d4ce4c81 --- /dev/null +++ b/53_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_pl.html b/53_pl.html new file mode 100644 index 000000000..7797a022e --- /dev/null +++ b/53_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wyraźne Określanie Czasów Życia Zmiennych

+

Nawet jeśli nie widać tego w większości kodu, kompilator Rusta nadal jest w stanie, działając "za kulisami", dociec optymalnego czasu życia zmiennych. Jest on też w stanie dokonać na tej podstawie walidacji referencji tak, aby żadna z nich nie istniała dłużej niż jej "właściciel", czyli oryginalny zasób na który wskazuje.

+

Aby zapewnić nam większą kontrolę nad domysłami kompilatora, Rust daje nam możliwość modyfikacji definicji funkcji w sposób, który wyraźnie oznaczy czas życia konkretnych zmiennych oraz podobieństwa w czasie życia pomiędzy różnymi zmiennymi. Dotyczy to zarówno parametrów funkcji oraz zmiennej przez nią zwracanej.

+

Oznaczenia czasu życia zmiennych używają operatora ' (np. 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_pt-br.html b/53_pt-br.html new file mode 100644 index 000000000..9ed5a4b5a --- /dev/null +++ b/53_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tempo de Vida Explícito

+

Mesmo que o Rust nem sempre nos mostre no código, o compilador conhece o tempo de vida de cada variável e tentará validar uma referência que nunca deve existir por mais tempo que seu proprietário.

+

As funções podem ser explícitas parametrizando a assinatura da função com símbolos que ajudam a identificar quais parâmetros e valores de retorno compartilham a mesma tempo de vida.

+

Os especificadores de tempo de vida sempre começam com um ' (por exemplo 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ro.html b/53_ro.html new file mode 100644 index 000000000..6bd14a864 --- /dev/null +++ b/53_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durate de viață explicite

+

Cu toate că Rust nu arată acest lucru în cod, compilatorul înțelege duratele de viață a fiecărei variabile sau resurse și va încerca +să se asigure că nu există nicio referință cu durată de viață mai mare decât proprietarul ei.

+

Funcțiile pot fi explicite prin parametrizarea semnăturii cu simboluri care ajută la identificarea +parametrilor și valorilor de retur care au aceeași durată de viață.

+

Specificatorii duratelor de viață mereu încep cu ' (ex: 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ru.html b/53_ru.html new file mode 100644 index 000000000..e5db134c3 --- /dev/null +++ b/53_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Явное указание времени жизни (Explicit Lifetimes)

+

Даже если в Rust коде не указаны времена жизни, компилятор знает время жизни +для каждой переменной и будет проверять, чтобы ссылка никогда не существовала бы дольше существования своего владельца.

+

Функции можно явно параметризовать в сигнатуре фунции символами, которые помогут идентифицировать, +какие параметры и возвращаемые значения имеют одинаковое время жизни.

+

Имена времён жизни всегда начинаются с ' (пример 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_th.html b/53_th.html new file mode 100644 index 000000000..0d3ad4c38 --- /dev/null +++ b/53_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

lifetimes ที่ชัดเจน

+

ถึงแม้ว่า Rust จะไม่ได้ให้คุณเห็น lifetime ของตัวแปรในโค้ด แต่คอมไพเลอร์เข้าใจเรื่องนี้เป็นอย่างดี และตรวจสอบอยู่เสมอว่าจะไม่มีตัวอ้างอิงใดมี lifetime นานกว่าเจ้าของ

+

ฟังก์ชันมีวิธีการกำหนดค่าพารามิเตอร์ให้ชัดเจนด้วยสัญลักษณ์ว่า พารามิเตอร์และค่าที่ส่งคืนจะใช้ lifetime เดียวกัน

+

การระบุ lifetime ให้เริ่มด้วย ' (เช่น 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_tr.html b/53_tr.html new file mode 100644 index 000000000..3f4c38198 --- /dev/null +++ b/53_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yaşam Sürelerini Açık Şekilde Belirtmek

+

Her ne kadar bu durum açıkça gösterilmiyor olsa da, derleyici her değişkenin yaşam süresine denetleyerek, bir referansın kaynağın asıl sahibinden hiçbir zaman daha fazla yaşatılmadığını doğrulamaya çalışır.

+

İşlev parametrelerinin yaşam sürelerini açıkça belirtebilirsiniz. Bu açık bildirim, işlev parametreleri ve dönüş değerlerinin, aynı yaşam sürelerini paylaşmalarına olanak sağlar.

+

Yaşam süresi belirteçleri daima ' ile başlar ve geleneksel olarak 'a şeklinde belirtilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_ua.html b/53_ua.html new file mode 100644 index 000000000..e47acdb1c --- /dev/null +++ b/53_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Явний час життя

+

Хоч компілятор вам цього не покаже, але він розуміє час життя кожної змінної. І саме це дає йому можливість аналізувати код, і сказати вам, чи буде посилання жити довше ніж сама змінна. +Але ви також можете самостійно сказати якому ресурсу скільки жити. Для цього існують спеціальні параметри. +Щоб виставити час життя, або якщо більш корректно - пріоритети , вам лише треба поставити символ ', а потім додати одну із латинських букв (наприклад 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_vi.html b/53_vi.html new file mode 100644 index 000000000..3e2e2955a --- /dev/null +++ b/53_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thời gian tồn tại minh bạch(Explicit Lifetimes)

+

Mặc dù Rust không phải lúc nào cũng hiển thị nó trong code, trình biên dịch hiểu thời gian tồn tại của mọi biến và sẽ cố gắng xác thực rằng một tham chiếu không bao giờ tồn tại lâu hơn chủ sở hữu của nó.

+

Các hàm có thể minh bạch bằng cách tham số hóa chữ ký hàm bằng các ký hiệu giúp xác định các tham số và giá trị trả về có cùng thời gian tồn tại.

+

Các từ chỉ định thời gian tồn tại luôn bắt đầu bằng dấu ' (ví dụ: 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_zh-cn.html b/53_zh-cn.html new file mode 100644 index 000000000..241712bef --- /dev/null +++ b/53_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

显式生命周期

+

尽管 Rust 不总是在代码中将它展示出来,但编译器会理解每一个变量的生命周期并进行验证以确保一个引用不会有长于其所有者的存在时间。 同时,函数可以通过使用一些符号来参数化函数签名,以帮助界定哪些参数和返回值共享同一生命周期。 生命周期注解总是以 ' 开头,例如 'a'b 以及 'c

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/53_zh-tw.html b/53_zh-tw.html new file mode 100644 index 000000000..5ade4680e --- /dev/null +++ b/53_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

明確的生命週期

+

雖然 Rust 並不一定會把生命週期顯示在程式碼中,但編譯器會理解每個變量的生命週期,並試著驗證參考不會存在比它的擁有者還久。

+

函式可以透過參數化函式簽章幫助我們確認哪些參數及回傳值是共享相同的生命週期。

+

生命週期標示永遠都以 ' 開頭 (例如:'a'b'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_al.html b/54_al.html new file mode 100644 index 000000000..0fe27e003 --- /dev/null +++ b/54_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ar.html b/54_ar.html new file mode 100644 index 000000000..810cb64a1 --- /dev/null +++ b/54_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

أعمار متعددة (Multiple Lifetimes)

+

تتيح لنا محددات العمر (Lifetime specifiers) أن نكون واضحين في بعض السيناريوهات التي لا يستطيع مترجم اللغة (compiler) حلها بنفسه وذلك عن طريق التمييز بين جميع أعمار (lifetimes) مكونات توقيع الدالة (function signature component).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_de.html b/54_de.html new file mode 100644 index 000000000..0882b4fbe --- /dev/null +++ b/54_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mehrere Leben

+

Lebensdauerspezifizierer ermöglichen es uns, bestimmte Szenarien explizit zu definieren Der Compiler kann sich nicht selbst auflösen +durch Unterscheidung aller Lebensdauern einer Funktionssignaturkomponente.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_en.html b/54_en.html new file mode 100644 index 000000000..f446c4e47 --- /dev/null +++ b/54_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_es.html b/54_es.html new file mode 100644 index 000000000..989e92fd5 --- /dev/null +++ b/54_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tiempos de Vida Múltiples

+

Los especificadores de vida útil nos permiten ser explícitos con ciertos escenarios que el compilador no puede resolver por sí mismo, distinguiendo todas las vidas útiles de los componentes de la firma de la función.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_fa.html b/54_fa.html new file mode 100644 index 000000000..3f6662b6f --- /dev/null +++ b/54_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_fi.html b/54_fi.html new file mode 100644 index 000000000..25a52f39f --- /dev/null +++ b/54_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_fr.html b/54_fr.html new file mode 100644 index 000000000..7dba45ecd --- /dev/null +++ b/54_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durée de vie multiple

+

Les spécifieurs de durée de vie permettent d'être explicite dans certains cas où le compilateur +ne puisse pas résoudre lui-même les durées de vie des éléments de la signature d'une fonction.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_gr.html b/54_gr.html new file mode 100644 index 000000000..e3015e5f8 --- /dev/null +++ b/54_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_hu.html b/54_hu.html new file mode 100644 index 000000000..ea5830382 --- /dev/null +++ b/54_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Több élettartam

+

Bizonyos esetekben a fordító nem képes magától kikövetkeztetni minden élettartamot. Ezekben az +esetekben lehetőségünk van egy függvény paramétereihez különböző élettartamokat rendelni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_id.html b/54_id.html new file mode 100644 index 000000000..aa1cc2f0c --- /dev/null +++ b/54_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ie.html b/54_ie.html new file mode 100644 index 000000000..902a40b48 --- /dev/null +++ b/54_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiplic Vive-témpores

+

Con specificatores de vive-témpores noi posse esser explicit quande li compilator ne posse self comprender les. +Tande noi fa distint li vive-témpores de omni componentes de un function-signatura.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_it.html b/54_it.html new file mode 100644 index 000000000..014391d1a --- /dev/null +++ b/54_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vite multiple

+

Gli specificatori di durata ci consentono di essere espliciti con determinati scenari il compilatore non può risolversi da solo +distinguendo tutte le durate di un componente della firma di funzione.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ja.html b/54_ja.html new file mode 100644 index 000000000..1ea84c3df --- /dev/null +++ b/54_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

複数のライフタイム

+

ライフタイム指定子は、関数の引数や戻り値のライフタイムをコンパイラが解決できない場合に、明示的に指定することができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ko.html b/54_ko.html new file mode 100644 index 000000000..cfa5e989c --- /dev/null +++ b/54_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러 개의 생명주기

+

lifetime 지정자는 컴파일러가 스스로 함수 매개변수들의 lifetime을 판별하지 못하는 경우, +이를 명시적으로 지정할 수 있게 도와줍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ne.html b/54_ne.html new file mode 100644 index 000000000..31bcbf65c --- /dev/null +++ b/54_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_pl.html b/54_pl.html new file mode 100644 index 000000000..afe74d40f --- /dev/null +++ b/54_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Więcej Niż Jeden Znacznik Czasu Życia Zmiennych

+

Znaczniki czasu życia zmiennych pozwalają nam na sprecyzowanie naszych zamiarów w sytuacjach które mogą okazać się zbyt skomplikowane dla kompilatora.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_pt-br.html b/54_pt-br.html new file mode 100644 index 000000000..be39bf19e --- /dev/null +++ b/54_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tempos de Vida Múltiplos

+

Os especificadores de tempo de vida nos permitem ser explícitos em certos cenários que o compilador não pode resolver sozinho, distinguindo todas os tempo de vida dos componentes na assinatura de uma função.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ro.html b/54_ro.html new file mode 100644 index 000000000..fd5cf18cb --- /dev/null +++ b/54_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durate de viață multiple

+

Specificatorii duratelor de viață ne permit să fim expliciți pentru anumite scenarii pe care compilatorul nu le poate rezolva singur +prin distingerea duratelor de viață a tuturor componentelor semnăturii unei funcții.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ru.html b/54_ru.html new file mode 100644 index 000000000..93f2c7608 --- /dev/null +++ b/54_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Несколько времён жизни (Multiple Lifetimes)

+

Спецификация времени жизни позволяет явно ее указать, когда компилятор не может сам определить, как соотносятся +все времена жизни параметров функции и возвращаемого значения.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_th.html b/54_th.html new file mode 100644 index 000000000..28042f508 --- /dev/null +++ b/54_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes หลายตัว

+

ตัวระบุ lifetime ช่วยเพิ่มความชัดเจนได้ก็จริง แต่บางทีคอมไพเลอร์เองก็ยังไม่สามารถแยกแยะ lifetime ของทุกตัวได้ทั้งหมด

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_tr.html b/54_tr.html new file mode 100644 index 000000000..2187839bb --- /dev/null +++ b/54_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çoklu Yaşam Süreleri

+

Yaşam süresi belirteçlerinin bir diğer faydası da, derleyicinin değişken ömürlerini anlayamadığı hallerde, işlev parametreleri ve dönüş değeri ömürlerinin açıkça bildirilmelerine izin vermeleridir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_ua.html b/54_ua.html new file mode 100644 index 000000000..7ee11b8f2 --- /dev/null +++ b/54_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Кілька модифікаторів пріорітету

+

Модифікатори часу життя, або ж приорітету, дозволяють нам створювати сценарії, котрі мають деякі відмінності від тих що за замовчуванням створює компілятор. +Це досягається за допомогою використання декількох модифікаторів часу життя, а точніше, їх комбінування.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_vi.html b/54_vi.html new file mode 100644 index 000000000..12e6b7e3b --- /dev/null +++ b/54_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đa thời gian tồn tại(Multiple Lifetimes)

+

Các chỉ định thời gian tồn tại cho phép chúng ta rõ ràng với các tình huống nhất định mà trình biên dịch không thể tự giải quyết bằng cách phân biệt tất cả các vòng đời của thành phần chữ ký hàm(signature component).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_zh-cn.html b/54_zh-cn.html new file mode 100644 index 000000000..f7db42003 --- /dev/null +++ b/54_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多个生命周期

+

生命周期注解可以通过区分函数签名中不同部分的生命周期,来允许我们显式地明确某些编译器靠自己无法解决的场景。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/54_zh-tw.html b/54_zh-tw.html new file mode 100644 index 000000000..3e1781f2f --- /dev/null +++ b/54_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多個生命週期

+

在編譯器無法解析的特定場合裡,生命週期標示允許我們明確的分辨所有函式簽章的生命週期。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_al.html b/55_al.html new file mode 100644 index 000000000..73a7c5de6 --- /dev/null +++ b/55_al.html @@ -0,0 +1,59 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ar.html b/55_ar.html new file mode 100644 index 000000000..528721032 --- /dev/null +++ b/55_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الأعمارة الساكنة (Static Lifetimes)

+

المتغير الساكن (static) هو مورد ذاكرة (memory resource) تم إنشاؤه في وقت الترجمة (compile-time)، وهو موجود من بدء البرنامج حتى نهايته. ويجب حديد أنواعه بشكل صريح.

+

العمر الساكن (static) هو مورد ذاكرة (memory resource) يبقى حتى نهاية البرنامج. ولاحظ أنه بموجب هذا التعريف فإنه يمكن إنشاء بعض الموارد ساكنة العمر (static lifetime) في وقت التشغيل (runtime).

+

الموارد ذات الأعمار الساكنة لها محدد عمر خاص وهو 'static.

+

الموارد ذات الأعمار الساكنة 'static لا تسقط (drop) أبدا.

+

إذا كانت الموارد ذات الأعمار الساكنة تحتوي على مراجع (references)، فيجب أن تكون جميع المراجع ساكنة 'static (ي شيء غير ذلك لن يقى طويلا بما فيه الكفاية).

+

تفاصيل الذاكرة:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_de.html b/55_de.html new file mode 100644 index 000000000..ab8bee541 --- /dev/null +++ b/55_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Statische Lebensdauern

+

Eine statische Variable ist eine Speicherressource, die zur Kompilierungszeit erstellt wird existiert durch einen Programmstart +beenden. Ihre Typen müssen explizit angegeben werden.

+

Eine statische Lebensdauer ist eine Speicherressource, die unbegrenzt vorhanden ist Ende eines Programms. Beachten Sie, dass nach dieser Definition +Einige statische Lebenszeitressourcen können zur Laufzeit erstellt werden.

+

Ressourcen mit statischer Lebensdauer haben einen speziellen Lebensdauerspezifizierer 'static.

+

'static Ressourcen werden niemals verloren.

+

Wenn statische Lebenszeitressourcen Referenzen enthalten, müssen sie alle 'statisch sein (Alles andere würde nicht lange genug leben).

+

Speicherdetail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_en.html b/55_en.html new file mode 100644 index 000000000..7e82030f2 --- /dev/null +++ b/55_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_es.html b/55_es.html new file mode 100644 index 000000000..3d3972b8f --- /dev/null +++ b/55_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tiempo de Vida Estático ( static )

+

Una variable estática (static) es un recurso de memoria creado en tiempo de compilación que existe desde el inicio de un programa hasta su fin. Los tipos deben estar explícitamente especificados. +Un tiempo de vida estático (static) es un recurso de memoria que dura indefinidamente hasta el final de un programa. Hay que tener en cuenta que, según esta definición, algunos recursos de vida estática pueden crearse en tiempo de ejecución.

+

Los recursos con tiempos de vida estáticos tienen un especificador especial de tiempo de vida 'static.

+

Los recursos 'static nunca se liberarán.

+

Si los recursos de tiempo de vida estáticos contienen referencias, éstas deben ser 'static (cualquier otra tendrá un tiempo de vida inferior).

+

Detalles de la memoria:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_fa.html b/55_fa.html new file mode 100644 index 000000000..e9648c82f --- /dev/null +++ b/55_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_fi.html b/55_fi.html new file mode 100644 index 000000000..845e758ec --- /dev/null +++ b/55_fi.html @@ -0,0 +1,59 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_fr.html b/55_fr.html new file mode 100644 index 000000000..2ebd279a2 --- /dev/null +++ b/55_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durées de vie statiques

+

Une variable statique (en anglais static) est une ressource mémoire créée lors de la compilation +et qui existe du début jusqu'à la fin du programme. le type doit être défini explicitement.

+

Une durée de vie statique est une ressource mémoire qui existe indéfiniment jusqu'à la fin du programme. +Une ressource statique peut être créée lors de l'exécution du programme.

+

Elle est créée avec le mot-clé 'static.

+

Elle ne sera jamais déconstruite et désallouée avant la fin du programme.

+

Si une ressouce statique contient une référence, celle-ci doit également être statique +(sinon la durée de vie de la référence pourrait s'arrêter avant la fin du programme).

+

Détails de la mémoire:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_gr.html b/55_gr.html new file mode 100644 index 000000000..7dbf2b6ca --- /dev/null +++ b/55_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_hu.html b/55_hu.html new file mode 100644 index 000000000..50c762bce --- /dev/null +++ b/55_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Statikus élettartam

+

A statikus változók olyan, memóriában létrehozott erőforrások, amik a program kezdetétől végéig +léteznek. Az ilyen változók típusait mindig explicit módon meg kell adni.

+

Egy statikus élettartammal rendelkező erőforrás a program végéig folyamatosan +létezik. Fontos megjegyezni, hogy a statikus változókkal ellentétben, statikus élettartammal +rendelkező értékek bizonyos esetekben a program futása közben is létrejöhetnek. Az ilyen +élettartamot a 'static kulcsszóval jelöljük és az ilyen értékek sose drop-olnak.

+

Ha egy ilyen élettartammal rendelkező adat referenciát is tartalmaz, ennek a referenciának +szintén egy másik 'static élettartamú tulajdonosra kell mutatnia (bármilyen más esetben a +tulajdonos előbb megszűnne létezni, minthogy a program véget ér).

+

Hogyan érinti ez a memóriát:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_id.html b/55_id.html new file mode 100644 index 000000000..10945dc22 --- /dev/null +++ b/55_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ie.html b/55_ie.html new file mode 100644 index 000000000..5ad620ee2 --- /dev/null +++ b/55_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vive-témpores Static

+

Un variabil static es un ressurse de memorie creat al moment de compilation quel existe durant li programma +desde de comense til li fine. Ili besona un tip explicitmen specificat.

+

Un vive-témpor static es un ressurse de memorie quel continua til li fine del programma. A notar que secun ti definition +quelc ressurses con vive-témpor static posse esser creat ye li execution del programma.

+

Ressurses con vive-témpores static possede un special specificator 'static.

+

'static ressurses nequande cade

+

Si un ressurse con un vive-témpor static possede referenties, ili deve omnis esser 'static (quelcunc altri vive-témpor +ne vell viver sat long).

+

Detallies pri memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_it.html b/55_it.html new file mode 100644 index 000000000..7d358ad51 --- /dev/null +++ b/55_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durata statica

+

Una variabile statica è una risorsa di memoria creata in fase di compilazione esiste attraverso un programma start to +fine. I tipi devono essere specificati esplicitamente.

+

Una durata statica è una risorsa di memoria che dura indefinitamente fine di un programma. Si noti che con questa definizione +alcune risorse a durata statica possono essere create in fase di esecuzione.

+

Le risorse con durate statiche hanno uno speciale specificatore di durata "static".

+

Le risorse 'statiche non verranno mai cadute.

+

Se le risorse con durata statica contengono riferimenti, devono essere tutte "statiche". (niente di meno non vivrebbe abbastanza a lungo).

+

Dettagli della memoria:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ja.html b/55_ja.html new file mode 100644 index 000000000..eac18067f --- /dev/null +++ b/55_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

スタティックライフタイム

+

スタティック変数は、コンパイル時に作成され、プログラムの開始から終了まで存在するメモリリソースです。 +これらの変数の型は明示的に指定しなければなりません。

+

スタティックライフタイムは、プログラムの終了まで無期限に持続するメモリリソースです。 +この定義では、スタティックライフタイムを持つリソースは実行時にも作成できることに注意してください。

+

スタティックライフタイムを持つリソースには、特別なライフタイム指定子 'static があります。

+

'static リソースは決してドロップすることはありません。

+

スタティックライフタイムを持つリソースが参照を含む場合、それらはすべて 'static でなければなりません(そうでなければ、参照はプログラムの終了前にドロップする可能性があります)。

+

メモリの詳細:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ko.html b/55_ko.html new file mode 100644 index 000000000..64b48cb91 --- /dev/null +++ b/55_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

정적인 생명주기

+

static 변수는 컴파일 타임에 생성되어 프로그램의 시작부터 끝까지 존재하는 메모리 리소스입니다. +이들은 명시적으로 자료형을 지정해 주어야 합니다.

+

static lifetime은 프로그램이 끝날 때까지 무한정 유지되는 메모리 리소스입니다. +이 정의에 따르면, 어떤 static lifetime의 리소스는 런타임에 생성될 수도 있다는 점 알아두세요.

+

static lifetime을 가진 리소스는 'static이라는 특별한 lifetime 지정자를 갖습니다.

+

'static한 리소스는 절대 drop 되지 않습니다.

+

만약 static lifetime을 가진 리소스가 참조를 포함하는 경우, 그들도 모두 'static이어야 합니다 (그 이하의 것들은 충분히 오래 살아남지 못합니다).

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ne.html b/55_ne.html new file mode 100644 index 000000000..2d787e9c5 --- /dev/null +++ b/55_ne.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_pl.html b/55_pl.html new file mode 100644 index 000000000..442c2cc4e --- /dev/null +++ b/55_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Statyczne Czasy Życia

+

Statyczna zmienna to taki zasób w pamięci który istnieje przez cały czas trwania programu, od początku aż do samego końca. Statyczne zmienne są definiowane w kodzie i następnie przetwarzane w specjalny sposób podczas kompilacji. Wymagają one zawsze aby ich typ był wyraźnie sprecyzowany.

+

Statyczny czas życia definiuje zasób który istnieje na czas nieokreślony, domyślnie aż do końca trwania programu. Zauważ, że taka definicja oznacza, że w niektórych sytuacjach będziemy w stanie stworzyć zasoby z takim czasem życia podczas wykonywania programu.

+

Aby przypisać zasobom statyczny czas życia musimy skorzystać ze specjalnego znacznika 'static.

+

Zasoby oznaczone jako 'static nigdy, tj. dopóki nasz program jest wykonywany, nie zostaną wypuszczone z pamięci.

+

Jeśli zasób o czasie życia 'static zawiera referencje, wszystkie one muszą być również oznaczone jako 'static (cokolwiek innego będzie po prostu żyć zbyt krótko).

+

Kilka szczegółów:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_pt-br.html b/55_pt-br.html new file mode 100644 index 000000000..4bea0591d --- /dev/null +++ b/55_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tempos de Vida Estáticos

+

Uma variável estática é um recurso de memória criado em tempo de compilação que existe do início ao fim dentro de um programa. Eles devem ter seus tipos especificados explicitamente.

+

Um recurso com tempo de vida estático é um recurso de memória que dura indefinidamente até o término de um programa. Observe que, por essa definição, alguns recursos com tempo de vida estático podem ser criados em tempo de execução.

+

Recursos com tempo de vida estático têm o especificador de tempo de vida especial 'static.

+

Recursos 'static nunca serão descartados.

+

Se os recursos com tempo de vida estático contiverem referências, todos deverão ser 'static (nada menos do que isso viveria tempo suficiente).

+

Detalhes da memória:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ro.html b/55_ro.html new file mode 100644 index 000000000..526f372f7 --- /dev/null +++ b/55_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durate de viață statice

+

O variabilă statică e o resursă în memorie creată la momentul compilării care există de la începutul rulării unui program și până la +sfârșit. Acestea trebuie să aibă tip explicit.

+

O resursă cu durată de viață statică e o resursă în memorie care poate exista dincolo de terminarea programului. Observați că după această definiție +unele resurse cu durată de viață statică pot fi create în timpul rulării.

+

Resursele cu durată de viață statică au specificatorul special 'static.

+

Nu se renunță niciodată (drop) la resursele cu durată de viață statică.

+

Dacă o resursă cu durată de viață statică conține referințe, atunci toate trebuie să fie 'static. (orice cu durată de viață mai mică nu va exista suficient de mult).

+

Detalii despre memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ru.html b/55_ru.html new file mode 100644 index 000000000..2639c4adc --- /dev/null +++ b/55_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Статические времена жизни (Static Lifetimes)

+

Static переменная - это область памяти, создаваемая во время компиляции, и которая существует +на протяжении всего времени выполнения программы. Такие переменные должны иметь явно объявленный тип.

+

Статическое время жизни - это наибольшее возможное время жизни у памяти, то есть на протяжении всего +времени выполнения программы. Заметьте, что также можно создать переменную со статическим временем жизни и +во время исполнения программы.

+

Ресурсы со статическими временами жизни имеют спецификатор 'static.

+

Для 'static никогда не будет вызван drop.

+

Если ресурсы со статическим временем жизни содержат ссылки, то они также должны быть 'static (любое другое +время жизни будет существовать не достаточно долго)

+

Детали для запоминания:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_th.html b/55_th.html new file mode 100644 index 000000000..3dd7ab55b --- /dev/null +++ b/55_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Static Lifetimes

+

ตัวแปรแบบ static เป็นรีซอร์สในหน่วยความจำที่ถูกสร้างตั้งแต่ compile-time และจะคงอยู่ ตั้งแต่โปรแกรมเริ่มทำงานจนจบ พวกมันต้องระบุ type ให้ชัดเจน

+

static lifetime เป็นรีซอร์สในหน่วยความจำที่จะอยู่ตลอดจนจบโปรแกรม ข้อสังเกตคือ จากนิยามนี้ static lifetime บางตัวอาจจะเกิดตอน runtime ก็ได้

+

รีซอร์สของ static lifetime ใช้ 'static เป็นตัวกำหนด

+

รีซอร์สของ 'static จะไม่มีวันโดน drop

+

ถึงแม้ว่าจะใช้รีซอร์สของ static lifetime มาเก็บการอ้างอิง พวกมันก็ยังต้องเป็น 'static` เหมือนกัน (ถ้าน้อยไปมันจะอยู่ได้ไม่นานพอ)

+

รายละเอียดหน่วยความจำ:

+
    +
  • การแก้ไขข้อมูลในตัวแปรแบบ static ที่จริงแล้วเป็นเรื่องที่อันตรายเพราะว่า +ปกติตัวแปรนี้เป็น golbal และมันสามารถถูกอ่านได้จากที่ไหนก็ได้ซึ่งอาจจะทำให้เกิดการแย่งข้อมูลกันได้ +แล้วเราจะมาพูดกันเรื่องที่ว่า การใช้ตัวแปรแบบ global นี้มีความท้าทายอย่างไรบ้างในภายหลัง
  • +
  • Rust ยอมให้เราใช้บล็อค unsafe { ... } เพื่อทำบางอย่างที่ตัวคอมไพเลอร์เองไม่อาจรับประกัน +ได้ว่าจะเกิดอะไรขึ้นกับหน่วยความจำ และ เรื่อง The R̸͉̟͈͔̄͛̾̇͜U̶͓͖͋̅Ṡ̴͉͇̃̉̀T̵̻̻͔̟͉́͆Ơ̷̥̟̳̓͝N̶̨̼̹̲͛Ö̵̝͉̖̏̾̔M̶̡̠̺̠̐͜Î̷̛͓̣̃̐̏C̸̥̤̭̏͛̎͜O̶̧͚͖͔̊͗̇͠N̸͇̰̏̏̽̃ นี้ เราควรพูดกันแบบจริงจัง
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_tr.html b/55_tr.html new file mode 100644 index 000000000..ea1a40c2a --- /dev/null +++ b/55_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Statik Yaşam Süreleri

+

Açık tür bildirimiyle tanımlanan static değişkenler, derleme zamanında oluşturulan ve programın başından sonuna kadar var olan bellek kaynaklarıdır.

+

Statik yaşam süresi ise bellekteki kaynağın, programın yürütülmesi sona erene kadar, yani mümkün olan en uzun süre boyunca yaşatılması anlamına gelmektedir. Bu tanıma göre, statik yaşam süresine sahip bazı kaynakların çalışma zamanında oluşturulabileceğini göz önünde bulundurmamız gerekir.

+

Statik Yaşam sürelerine sahip olan kaynaklar, özel bir tanımlayıcı olan 'static belirteciyle bildirilirler.

+

Ve 'static kaynaklar hiç bir zaman düşürülmezler.

+

Eğer statik yaşam süreleri olan kaynaklar referans içeriyorlarsa, başka bir yaşam süresi yeterince uzun olamayacağından, bu referanslar da 'static olarak belirtilmelidirler.

+

Bellek ayrıntıları:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_ua.html b/55_ua.html new file mode 100644 index 000000000..bb40eabea --- /dev/null +++ b/55_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Статичний час життя

+

Статичні змінні - це змінні котрі створюються на початку, або під час роботи програми, і існують до самого її кінця. Такі змінні повинні мати чітко вказані типи. +Статичні ресурси можуть існувати невизначено довго, але лише до моменту вимкнення програми. Також треба зауважити що такі ресурси можуть бути створені прямо під час виконання програми.

+

Статичні ресурси мають спеціальну позначку - static. Такі ресурси не будуть видалятися під час виконання програми, поки цього не захоче сам користувач.

+

Якщо на ресурс є якісь посилання - вони повинні бути також статичними, інакше вони можуть не "прожити" потрібний період часу.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_vi.html b/55_vi.html new file mode 100644 index 000000000..93ab1fa78 --- /dev/null +++ b/55_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thời gian tồn tại tĩnh(Static Lifetimes)

+

Biến static(tĩnh) là tài nguyên bộ nhớ được tạo tại thời điểm biên dịch, tồn tại thông qua một chương trình từ đầu đến cuối. Loại của nó phải được chỉ định rõ ràng.

+

Thời gian tồn tại tĩnh là tài nguyên bộ nhớ tồn tại vô thời hạn cho đến cuối chương trình. Lưu ý rằng theo định nghĩa này, một số tài nguyên lâu dài tĩnh có thể được tạo trong thời gian chạy.

+

Các tài nguyên có vòng đời tĩnh có một chỉ định thời gian tồn tại đặc biệt là 'static(tĩnh).

+

Tài nguyên 'static sẽ không bao giờ bị drop.

+

Nếu tài nguyên thời gian tồn tại tĩnh chứa các tham chiếu thì tất cả chúng phải là 'static (bất kỳ thứ gì ít hơn sẽ không tồn tại đủ lâu).

+

Chi tiết bộ nhớ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_zh-cn.html b/55_zh-cn.html new file mode 100644 index 000000000..d4a4d1d7a --- /dev/null +++ b/55_zh-cn.html @@ -0,0 +1,52 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

静态生命周期

+

一个静态变量是一个在编译期间即被创建并存在于整个程序始末的内存资源。他们必须被明确指定类型。 一个静态生命周期是指一段内存资源无限期地延续到程序结束。需要注意的一点是,在此定义之下,一些静态生命周期的资源也可以在运行时被创建。 拥有静态生命周期的资源会拥有一个特殊的生命周期注解 'static'static 资源永远也不会被 drop 释放。 如果静态生命周期资源包含了引用,那么这些引用的生命周期也一定是 'static 的。(任何缺少了此注解的引用都不会达到同样长的存活时间)

+

内存细节:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/55_zh-tw.html b/55_zh-tw.html new file mode 100644 index 000000000..378522939 --- /dev/null +++ b/55_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

靜態生命週期 (static lifetimes)

+

一個靜態變量是在編譯時間就被產生的記憶體資源,它從程式一開始就存在,直到結束。它們一定要明確的表示型別。

+

一個靜態生命週期為一塊記憶體資源,它永遠存在直到程式結束。要注意的是,根據這項定義,有些靜態生命週期可以在執行時間才被產生出來。

+

有著靜態生命週期的資源,會有一個特殊的標示 'static'

+

'static' 資源永遠不會被徹下 (drop)。

+

如果靜態生命週期資源包含了參考,那它們必須都得是 'static' (少了任何東西則將活得不夠久)。

+

記憶體細節:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_al.html b/56_al.html new file mode 100644 index 000000000..0c81fa711 --- /dev/null +++ b/56_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ar.html b/56_ar.html new file mode 100644 index 000000000..4638b4def --- /dev/null +++ b/56_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الأعمار في أنواع البيانات (Lifetimes In Data Types)

+

كما هو الحال مع الدوال، يمكن لأنواع البيانات أن تعلم باستخدام محددات عمر أعضائها (lifetime specifiers).

+

يتحقق رست (Rust) من أن محتوى هيكل البيانات (data structure) الذي به مراجع (references) أنها لا تدوم أبدًا لفترة أطول من المالكين الذين تشير اليهم تلك المراجع.

+

لا يمكن أن يكون لدينا هياكل (structs) بها مراجع تشير إلى اللا شيء (nothingness)!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_de.html b/56_de.html new file mode 100644 index 000000000..9e03c4600 --- /dev/null +++ b/56_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lebensdauern in Datentypen

+

Ähnlich wie bei Funktionen können Datentypen mit der Lebensdauer parametrisiert werden Spezifizierer seiner Mitglieder.

+

Rust validiert, dass die enthaltende Datenstruktur der Referenzen niemals vorhanden ist hält länger als die Besitzer, auf die seine Referenzen hinweisen.

+

Wir können keine Strukturen herumlaufen lassen, auf die Referenzen verweisen Nichts!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_en.html b/56_en.html new file mode 100644 index 000000000..756e2bb25 --- /dev/null +++ b/56_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_es.html b/56_es.html new file mode 100644 index 000000000..e1fd58623 --- /dev/null +++ b/56_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tiempos de Vida en los Tipos de Datos

+

Al igual que las funciones, los tipos de datos se pueden parametrizar con especificadores de vida útil de sus miembros.

+

Rust valida que la estructura de datos que contiene las referencias nunca dure más que los propietariosa los que apuntan sus referencias.

+

¡No podemos tener estructuras corriendo por ahí con referencias que no nos indiquen nada!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_fa.html b/56_fa.html new file mode 100644 index 000000000..1f7cda30c --- /dev/null +++ b/56_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_fi.html b/56_fi.html new file mode 100644 index 000000000..e78bc9752 --- /dev/null +++ b/56_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_fr.html b/56_fr.html new file mode 100644 index 000000000..3ddea0c60 --- /dev/null +++ b/56_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durée de vie dans les structures

+

De la même manière que les fonctions, les champs d'une structure peuvent +être paramétrés avec des spécifieurs de durée de vie pour un ou plusieurs +de ses membres.

+

Si une structure contient une référence, alors le compilateur Rust s'assure +que la durée de vie de la structure n'excède pas celle du 'propriétaire' de +la référence.

+

Le compilateur Rust ne permet pas d'avoir une structure possédant +des références pointant vers rien du tout.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_gr.html b/56_gr.html new file mode 100644 index 000000000..adb8f2b32 --- /dev/null +++ b/56_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_hu.html b/56_hu.html new file mode 100644 index 000000000..2eaef413a --- /dev/null +++ b/56_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Élettartamok adattípusokban

+

A függvényekhez hasonlóan az adattípusok mezőinek élettartamát is meghatározhatjuk. A fordító +tesz róla, hogy ezek a referenciák sose rendelkezzenek a bennük tárolt adatnál hosszabb +élettartammal.

+

Hisz mégse lehetnek olyan struct-jaink, amik a semmire mutatnak!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_id.html b/56_id.html new file mode 100644 index 000000000..eae1cd959 --- /dev/null +++ b/56_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ie.html b/56_ie.html new file mode 100644 index 000000000..55dbc0fc1 --- /dev/null +++ b/56_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vive-témpores in tipes de data

+

Similmen a functiones, data-tipes posse esser parametrisat con specificatores de vive-témpores de lor membres. +Rust fa cert que li data-structura del contenent referenties ne vive plu long quam li proprietarios a queles lor referenties monstra. +Noi ne posse tolerar structs con referenties monstrant nullcos!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_it.html b/56_it.html new file mode 100644 index 000000000..4254ba404 --- /dev/null +++ b/56_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durata nei tipi di dati

+

Analogamente alle funzioni, i tipi di dati possono essere parametrizzati con durata specificatori dei suoi membri.

+

Rust verifica che la struttura dati contenente i riferimenti non sia mai presente dura più a lungo dei proprietari a cui fanno riferimento i suoi riferimenti.

+

Non possiamo avere strutture che vanno in giro con riferimenti che puntano a il nulla!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ja.html b/56_ja.html new file mode 100644 index 000000000..126f902e9 --- /dev/null +++ b/56_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

データ型のライフタイム

+

関数と同様に、データ型はメンバのライフタイムを指定できます。

+

Rust は、参照を含む構造体が、その参照が指す所有者よりも長く存在しないことを検証します。

+

構造体には、何もないところを指している参照を含めることはできません。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ko.html b/56_ko.html new file mode 100644 index 000000000..e5ec8bbf8 --- /dev/null +++ b/56_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

데이터 자료형의 생명주기

+

함수와 마찬가지로, 데이터 자료형의 구성원들도 lifetime 지정자로 지정할 수 있습니다.

+

Rust는 참조가 품고 있는 데이터 구조가 참조가 가리키는 owner보다 절대 오래 살아남지 못하도록 검증합니다.

+

아무 것도 아닌 것을 가리키는 참조를 들고 다니는 struct란 있을 수 없습니다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ne.html b/56_ne.html new file mode 100644 index 000000000..3beafa6e6 --- /dev/null +++ b/56_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_pl.html b/56_pl.html new file mode 100644 index 000000000..91abfab85 --- /dev/null +++ b/56_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Czasy Życia Wewnątrz Typów

+

Podobnie jak w przypadku funkcji, również elementy typów zawierających dane mogą być parametryzowane z użyciem znaczników czasów życia.

+

Rust pozwala nam mieć pewność, że struktura zawierająca w sobie referencję do innego obiektu nigdy nie będzie istnieć dłużej niż oryginalny zasób na który wskazuje referencja.

+

Bo przecież nie możemy godzić się na sytuację w której okazuje się, że mamy w naszym programie struktury z niesprawdzonymi referencjami wskazującymi na nieistniejące zasoby w pamięci!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_pt-br.html b/56_pt-br.html new file mode 100644 index 000000000..bc84d66a3 --- /dev/null +++ b/56_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tempos de Vida em Tipos de Dados

+

Da mesma forma que as funções, os tipos de dados podem ser parametrizados com os especificadores de tempos de vida.

+

O Rust valida a estrutura de dados que contém as referências para que nunca dure mais do que os proprietários para os quais as suas referências apontam.

+

Não podemos ter estruturas rodando por aí com referências apontando para o nada!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ro.html b/56_ro.html new file mode 100644 index 000000000..9256bab1d --- /dev/null +++ b/56_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durate de viață în interiorul structurilor de date

+

Similar funcțiilor, structurile de date pot fi parametrizate cu specificatorul duratei de viață al membrilor lor.

+

Rust se asigură că o structură de date care conține referințe nu va exista niciodată mai mult timp decât proprietarii resurselor la care acestea se referă.

+

Nu putem avea structuri alergând de colo-colo cu referințe către nimic!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ru.html b/56_ru.html new file mode 100644 index 000000000..afdff185d --- /dev/null +++ b/56_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Времена жизни у типов данных (Lifetimes In Data Types)

+

Так же как и функции, типы данных могут быть параметризированы временами жизни своих полей.

+

Rust проверяет, чтобы структура содержащая ссылку, никогда не пережила объект, на который эта ссылка указывает.

+

Нельзя иметь структуры, в которых ссылки указывают в никуда!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_th.html b/56_th.html new file mode 100644 index 000000000..bfbe1bea1 --- /dev/null +++ b/56_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes In Data Types

+

ประเภทข้อมูลทั่วไปก็สามารถใส่ lifetime ให้สมาชิกแต่ละตัวได้ เหมือนกับฟังก์ชัน

+

Rust จะคอยตรวจสอบให้ว่า โครงสร้างข้อมูลที่มีการอ้างอิงไปที่อื่น จะไม่มีทางมีอายุ ยืนยาวไปกว่าเจ้าของตัวจริงที่มันอ้างไปถึง

+

เพราะเราจะไม่ยอมให้มี struct ที่อ้างอิงไปหาของที่ไม่มีอยู่จริง มาวิ่งเล่นแถวนี้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_tr.html b/56_tr.html new file mode 100644 index 000000000..b2a6a46c6 --- /dev/null +++ b/56_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Veri Türlerinin Yaşam Süresi

+

Gerektiğinde tıpkı işlevlerde olduğu gibi, veri türlerinin sahip olduğu yapı üyeleri ve alanları da yaşam süresi belirteçleriyle parametrelendirilir. +Eğer bir veri türü referans içeriyorsa, Rust bu referansların, işaret ettikleri asıl sahiplerinden daha uzun süre yaşayıp yaşamadıklarını doğrulamaya çalışır.

+

Bu nedenle Rust derleyicisi, hiçbir şeye işaret etmeyen referansların bulunduğu bir yapıyı kullanmanıza izin vermez.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_ua.html b/56_ua.html new file mode 100644 index 000000000..627f2466d --- /dev/null +++ b/56_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Час життя в типах даних

+

Подібно до функцій, типи даних можна параметризувати за допомогою специфікаторів часу життя специфікаторами часу життя його членів.

+

Rust перевіряє, що структура даних, яка містить посилання, ніколи не існує довше, ніж власники, на яких вона посилається.

+

Ми не можемо мати структури, які працюють з посиланнями, що вказують на неіснуючі дані!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_vi.html b/56_vi.html new file mode 100644 index 000000000..0f69471d8 --- /dev/null +++ b/56_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thời gian tồn tại trong các loại dữ liệu

+

Tương tự như các hàm, các kiểu dữ liệu có thể được tham số hóa với các chỉ định thời gian tồn tại của các thành viên của chúng.

+

Rust xác nhận rằng phần chứa cấu trúc dữ liệu của các tham chiếu không bao giờ tồn tại lâu hơn chủ sở hữu mà các tham chiếu của nó trỏ tới.

+

Chúng ta không thể có cấu trúc chạy xung quanh với các tham chiếu trỏ đến hư vô!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_zh-cn.html b/56_zh-cn.html new file mode 100644 index 000000000..659fa46de --- /dev/null +++ b/56_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

数据类型中的生命周期

+

和函数相同,数据类型也可以用生命周期注解来参数化其成员。 Rust 会验证引用所包含的数据结构永远也不会比引用指向的所有者存活周期更长。 我们不能在运行中拥有一个包括指向虚无的引用结构存在!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/56_zh-tw.html b/56_zh-tw.html new file mode 100644 index 000000000..75825dbf7 --- /dev/null +++ b/56_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

資料型別的生命週期

+

與函式類似,資料型別也可以透過參數對它的成員設定生命週期。

+

Rust 會驗證包含資料結構的參考永遠不會存活的比它的擁有者的參考還久。

+

我們無法讓一個結構有一個不指到任何地方的參考到處執行。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/57_al.html b/57_al.html new file mode 100644 index 000000000..d2742f8a8 --- /dev/null +++ b/57_al.html @@ -0,0 +1,56 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_ar.html b/57_ar.html new file mode 100644 index 000000000..5c5865e24 --- /dev/null +++ b/57_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 5 - الخلاصة

+

واو، تهانينا على تحقيق كل هذا! أعلم أن الأمر تطلب الكثير لأخذ هذه المعلومات، لكنك في طريقك لتصبح من الرستاسيين (Rustacean). نأمل أن يكون قد اتضحت لك أهداف لغة رست (Rust) في حل العديد من التحديات الشائعة في برمجة الأنظمة التي من بينها:

+
    +
  • التعديل غير المقصود للموارد
  • +
  • نسيان تفكيك (deconstruct) الموارد
  • +
  • تفكيك الموارد عن طريق الخطأ مرتين
  • +
  • استخدام الموارد بعد أن تم تفكيكها
  • +
  • سباقات البيانات (Data races) الناتجة عن الكتابة إلى مورد بينما هناك الآخرون يقرؤون من نفس الموارد
  • +
  • ضمان توضيح مناطق التعليمات البرمجية للمترجم حيث لا يستطيع هو أن يقدم ضمانات
  • +
+

في الفصل التالي، سنطبق بعضًا من هذه المعرفة عندما نتطرق إلى كيفية تعامل رست (Rust) مع النص.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_de.html b/57_de.html new file mode 100644 index 000000000..fa41e83ee --- /dev/null +++ b/57_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 5 - Abschluss

+

Puh, herzlichen Glückwunsch, dass du es geschafft hast! Ich weiß, es ist eine Menge zu verdauen, aber du sind gut +auf dem Weg, ein Rustaceaner zu werden. Hoffentlich ist klar, wie Rust als Sprache zielt darauf ab +Lösen Sie viele dieser häufigen Herausforderungen in der Systemprogrammierung:

+
    +
  • Unbeabsichtigte Änderung von Ressourcen
  • +
  • Vergessen, Ressourcen abzubauen
  • +
  • Ressourcen wurden versehentlich zweimal dekonstruiert
  • +
  • Nutzung von Ressourcen, nachdem sie dekonstruiert wurden
  • +
  • Datenwettläufe, die dadurch verursacht werden, dass auf Ressourcen geschrieben wird, während andere lesen Ressourcen
  • +
  • Klare Sicht auf Bereiche des Codes, für die der Compiler keine Garantien geben kann
  • +
+

Im nächsten Kapitel werden wir einen Teil dieses Wissens anwenden und uns ansehen, wie Rust verarbeitet Text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_en.html b/57_en.html new file mode 100644 index 000000000..ca4b85ca9 --- /dev/null +++ b/57_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_es.html b/57_es.html new file mode 100644 index 000000000..cf177476e --- /dev/null +++ b/57_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 5 - Conclusión

+

¡Buen trabajo! Sabemos que estas lecciones son algo densas y hay mucho que asimilar, pero vas bien encaminado a convertirte en un auténtico Rustáceo. Esperamos que quede clara la manera en la que Rust resuelve muchos de estos retos comunes en la programación de sistemas:

+
    +
  • La modificación involuntaria de recursos.
  • +
  • Olvidar liberar recursos.
  • +
  • Los recursos liberados dos veces por accidente.
  • +
  • Usar los recursos después de haber sido liberados.
  • +
  • Las condiciones de carrera (data race) causadas por la escritura a recursos mientras que otros están leyendo de los mismos.
  • +
  • Ver claramente las áreas del código donde el compilador no puede dar garantías.
  • +
+

En el próximo capítulo aplicaremos algunos de estos conocimientos mientras vemos cómo Rust maneja el texto.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_fa.html b/57_fa.html new file mode 100644 index 000000000..a11dc13c3 --- /dev/null +++ b/57_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_fi.html b/57_fi.html new file mode 100644 index 000000000..ae721e1e1 --- /dev/null +++ b/57_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_fr.html b/57_fr.html new file mode 100644 index 000000000..09efd6225 --- /dev/null +++ b/57_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 5 - Conclusion

+

Ouf, félicitations pour être arrivé jusque là! Je sais que c'est beaucoup à apprendre mais tu es en bonne +voie pour devenir un Rustacean. J'espère que tu arrive à voir comment Rust en tant que langage vise à +résoudre bon nombre des défis communs à la programmation système:

+
    +
  • Modification involontaire de ressources.
  • +
  • Oubli de déconstruire les ressources.
  • +
  • Ressources accidentellement déconstruites deux fois.
  • +
  • Utilisation des ressources après leur déconstruction.
  • +
  • Accès concurrentiels causés par l'écriture d'une ressource tandis que quelqu'un est en train de la lire.
  • +
  • Voir clairement les zones du code dont le compilateur ne garantit pas les effets.
  • +
+

Dans le chapitre suivant, nous appliquerons une partie de nos connaissances en examinant comment Rust gère le texte.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_gr.html b/57_gr.html new file mode 100644 index 000000000..671025790 --- /dev/null +++ b/57_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_hu.html b/57_hu.html new file mode 100644 index 000000000..04936dcb0 --- /dev/null +++ b/57_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5. Fejezet - Konklúzió

+

Ejha! Hosszú fejezeten rágtuk át magunkat, de ezért cserébe jó úton vagy, hogy belőled is igazi +Rustacean váljék!

+

Az eddigi ismereteidet figyelembe véve tisztává válhat, hogy a Rust célja, hogy elkerüljön olyan +hibákat, amik más nyelvekben nagyon is gyakoriak:

+
    +
  • Változók akaratlan módosítása
  • +
  • Felszabadítatlan erőforrások
  • +
  • Már felszabadított erőforrások mégegyszeri felszabadítása
  • +
  • Erőforrások felszabadítás után való használata
  • +
  • Data race-k
  • +
  • A fordító által garantált biztonság nem egyértelműsége
  • +
+

A következő fejezetben a Rust szövegkezelésével fogunk foglalkozni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_id.html b/57_id.html new file mode 100644 index 000000000..c317371a4 --- /dev/null +++ b/57_id.html @@ -0,0 +1,56 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_ie.html b/57_ie.html new file mode 100644 index 000000000..f6da9336b --- /dev/null +++ b/57_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 5 - Conclusion

+

Gratulationes pro har leet omnicos til nu! Yo save que it es mult a aprender ma tu es ja sur li via de devenir +un rustaceane. Noi espera que li explication ha esset clar pri qualmen Rust vole soluer li defís comun in li +programmation de sistemas:

+
    +
  • Modification ínintentionat de ressurses
  • +
  • Obliviar deconstructer ressurses
  • +
  • Errari duplic deconstruction de ressurses
  • +
  • Usation de ressurses ja deconstructet
  • +
  • Data-concurrentie causat per scrition a ressurses durant que altris lee les
  • +
  • Vider clarmen locs del code in quel li compilator ne posse da nos un garantie +In li capitul a sequer noi va aplicar ti-ci conossentie per vider qualmen Rust tracta se con textu.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_it.html b/57_it.html new file mode 100644 index 000000000..5e768aa01 --- /dev/null +++ b/57_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 5 - Conclusione

+

Wow, congratulazioni per avercela fatta! So che è molto da accettare, ma tu stanno bene +in procinto di diventare un Rustacean. Speriamo che sia chiaro come Rust as a il linguaggio mira a +risolvere molte di queste sfide comuni nella programmazione dei sistemi:

+
    +
  • Modifica involontaria delle risorse
  • +
  • Dimenticare di decostruire le risorse
  • +
  • Le risorse sono state demolite accidentalmente due volte
  • +
  • Utilizzo delle risorse dopo che sono state decostruite
  • +
  • Gara di dati causata dalla scrittura su risorse mentre altri leggono risorse
  • +
  • Vedere chiaramente le aree del codice in cui il compilatore non può fornire garanzie
  • +
+

Nel prossimo capitolo applicheremo parte di questa conoscenza mentre vedremo come Rust gestisce il testo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_ja.html b/57_ja.html new file mode 100644 index 000000000..04c4ad28a --- /dev/null +++ b/57_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 5 章 - まとめ

+

ここまでお疲れ様でした。 +所有権を受け入れるのは大変だと思いますが、あなたは Rustacean への道を歩んでいます。 +言語としての Rust が、システムプログラミングに共通する課題の多くを解決しようとしているのが、はっきりしたのではないでしょうか。

+
    +
  • リソースの意図しない変更
  • +
  • リソースの解放漏れ
  • +
  • リソースを誤って複数回解放
  • +
  • 解放されたリソースの利用
  • +
  • 他でリソースを読み込んでいる最中にリソースへの書き込みが行われた場合に発生するデータ競合
  • +
  • コンパイラが保証できない部分の明確化
  • +
+

次の章では、所有権を応用して、Rust がどのようにテキストを扱うかを見ていきます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_ko.html b/57_ko.html new file mode 100644 index 000000000..b3e511a82 --- /dev/null +++ b/57_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5장 - 마무리

+

휴, 끝까지 오신 것을 축하드립니다! +배워야 할 게 많긴 하지만, rustacean이 되는 길을 잘 따라오고 있습니다. +어떻게 Rust가 이런 시스템 프로그래밍의 일반적인 도전과제들을 해결하고자 하는지는 잘 아셨길 바랍니다:

+
    +
  • 의도하지 않은 리소스 변경
  • +
  • 리소스를 깜빡하고 소멸하지 않음
  • +
  • 리소스를 실수로 두 번 소멸함
  • +
  • 리소스가 소멸된 뒤에 사용함
  • +
  • 다른 곳에서 읽고 있는 리소스에 쓰기를 하여 데이터 경합을 일으킴
  • +
  • 컴파일러가 보증할 수 없는 코드가 뻔히 보임
  • +
+

다음 장에서는 Rust가 어떻게 텍스트를 다루는지 보면서 이런 지식들을 적용해볼 예정입니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_ne.html b/57_ne.html new file mode 100644 index 000000000..9c3148e79 --- /dev/null +++ b/57_ne.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_pl.html b/57_pl.html new file mode 100644 index 000000000..8b95b8830 --- /dev/null +++ b/57_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 5 - Podsumowanie

+

Uf, gratulacje, że udało Ci się przebrnąć przez ten rozdział! Jesteś coraz bliżej zostania zawodowym rustowcem.

+

Mam nadzieję, że dobrze wyjaśniłem podstawy tego w jaki sposób Rust podchodzi do rozwiązania wielu fascynujących problemów stojących przed współczesnym światem programowania na poziomie systemów, czyli:

+
    +
  • Nieumyślnego modyfikowania zasobów
  • +
  • Zapominania o dekonstrukcji zasobów
  • +
  • Przypadkowego dekonstruowania zasobów więcej niż jeden raz
  • +
  • Prób korzystania z zasobów po tym jak zostały zdekonstruowane
  • +
  • Wyścigów do danych, powodowanych przez wypisywanie do zasobów podczas gdy inne wątki czytają z tych samych zasobów
  • +
  • Jasnego organizowania kodu wobec którego kompilator nie jest w stanie nałożyć żadnych gwarancji dotyczących poprawności czy bezpieczeństwa
  • +
+

W następnym rozdziale zastosujemy nieco z naszej nowo zdobytej wiedzy ucząc się obsługi danych tekstowych w Ruscie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_pt-br.html b/57_pt-br.html new file mode 100644 index 000000000..8a92ea907 --- /dev/null +++ b/57_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 5 - Conclusão

+

Ufa, parabéns por passar! Eu sei que é muito para absorver, mas você está bem encaminhado para se tornar um Rustáceo. Espero que esteja claro que o Rust como linguagem visa solucionar muitos desses desafios comuns na programação de sistemas:

+
    +
  • Modificação não intencional de recursos.
  • +
  • Esquecendo de desconstruir recursos.
  • +
  • Recursos sendo desconstruídos duas vezes acidentalmente.
  • +
  • Usando recursos depois que eles foram desconstruídos.
  • +
  • Corridas de dados causadas pela gravação nos recursos enquanto outros estão lendo os mesmos recursos.
  • +
  • Vendo claramente áreas do código em que o compilador não pode dar garantias
  • +
+

No próximo capítulo aplicaremos um pouco desse conhecimento ao ver como o Rust manipula textos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_ro.html b/57_ro.html new file mode 100644 index 000000000..491bb3885 --- /dev/null +++ b/57_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 5 - Concluzie

+

Pfiu, felicitări că ai ajuns până aici! Știu că este foarte mult de digerat, dar sunteți deja +pe drumul cel bun pentru a deveni un Rustaceu. Sper că este clar cum Rust ca limbaj de programare încearcă să +rezolve multe provocări obișnuite din programarea sistemelor:

+
    +
  • Modificarea neintenționată a resurselor
  • +
  • Neglijarea eliberării resurselor
  • +
  • Eliberarea accidentală a resurselor de două ori
  • +
  • Folosirea resurselor după ce acestea au fost eliberate
  • +
  • Intercalări de date cauzate de modificarea resurselor citite în același timp de către alți utilizatori
  • +
  • Distingerea zonelor din cod unde compilatorul nu poate garanta anumite lucruri
  • +
+

În următorul capitol vom aplica o parte din aceste noi cunoștințe în timp ce învățăm cum Rust gestionează textul.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_ru.html b/57_ru.html new file mode 100644 index 000000000..7fe34ea1d --- /dev/null +++ b/57_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 5 - Заключение

+

Уф, Вы через многое прошли, поздравляю! Я знаю, тут было много информации, но Вы на пути +становления Rust разработчика. Надеюсь, теперь немного понятней, как Rust пытается решить многие из +проблем системного программирования:

+
    +
  • Непреднамеренного изменения ресурсов

  • +
  • Забыть очистить память/ресурсы

  • +
  • Нечаянная очистка одной и той же памяти дважды ( double free )

  • +
  • Использование памяти после того, как она была удалена ( use after free )

  • +
  • Гонки данных, вызванные записью в область памяти, пока другие считывают данные из этой области

  • +
  • Обозначение областей, где компилятор не дает нам гарантий безопасности

  • +
+

В следующеей главе мы применим эти знания, когда будем смотреть, как Rust обрабатывает текстовые +данные.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_th.html b/57_th.html new file mode 100644 index 000000000..2926462bc --- /dev/null +++ b/57_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 5 - สรุป

+

โว้ว ยินดีด้วยนะที่ผ่านมาถึงตรงนี้จนได้ ฉันรู้ว่ามันเยอะ แต่นี่เป็นหนทางสู่การเป็น Rustacean และหวังว่ามันจะช่วยให้เข้าใจ Rust ดียิ่งขึ้นในฐานะที่เป็นภาษาโปรแกรมมิ่งที่มีเป้าหมายในการ แก้ปัญหาที่เป็นความท้าทายหลายๆสิ่งเหล่านี้ ที่มักจะเกิดขึ้นในการโปรแกรมงานระบบ

+
    +
  • การแก้ไขรีซอร์สโดยไม่ตั้งใจ
  • +
  • ลืมทำลายโครงสร้างรีซอร์ส
  • +
  • ทำลายโครงสร้างรีซอร์สโดยไม่ตั้งใจสองครั้ง
  • +
  • ไปใช้รีซอร์สที่ถูกทำลายโครงสร้างไปแล้ว
  • +
  • มีการแย่งเขียนรีซอร์สในขณะที่มีคนอื่นกำลังอ่านอยู่
  • +
  • ในกรณีที่คอมไพเลอร์ไม่สามารถรับประกันได้ ก็ยังตรวจดูเองได้เนื่องจากโค้ดมีความชัดเจนในตัวมันเอง
  • +
+

เราจะนำความรู้ที่มีในตอนนี้ไปลองดูว่า Rust จะจัดการข้อมูลที่เป็นข้อความได้อย่างไรในบทหน้า

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_tr.html b/57_tr.html new file mode 100644 index 000000000..5c378f9dd --- /dev/null +++ b/57_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 5 - Sonuç

+

Turun bu bölümüne kadar gelebildiğiniz için bir kutlamayı hak ediyorsunuz: Tebrikler:-) Öğrenilecek çok şey olduğunun ben de farkındayım ama yine de size, iyi bir Rustacean olma yolunda olduğunuzu bildirmek istiyorum. Ve bir programlama dili olarak Rust'ın, sistem programlama alanında yaygın şekilde karşılaşılan ve aşağıda özetlemeye çalıştığım bu zorlukların üstesinden nasıl geldiği umarım anlaşılabiliyordur:

+
    +
  • Kaynakların kasıtsız olarak değiştirilmesi.
  • +
  • Kaynakların serbest bırakılmasını unutmak.
  • +
  • Yanlışlık eseri aynı kaynağın iki kere serbest bırakılması.
  • +
  • Serbest bırakılmış kaynakları kullanmaya çalışmak.
  • +
  • Bir gurup iş parçası tarafından okunan kaynağa yazma girişiminin sebep olduğu veri yarışları.
  • +
  • Derleyicinin güvenlik garantisi veremediği kodları açıkça belirtmemek.
  • +
+

Öğrendiklerimizden bir kısmını, "Metin Verileriyle Çalışmak" adlı yeni bölümümüzde uygulamaya ne dersiniz?

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_ua.html b/57_ua.html new file mode 100644 index 000000000..d27eeff9f --- /dev/null +++ b/57_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 5 - Висновки

+

Вітаємо, ви впоралися! Я знаю, це важко прийняти, але ти +на шляху до того, щоб стати Іржавцем (оріг. - Rustacean). Сподіваюся, тепер зрозуміло, що Rust як мова має на меті +вирішити багато з цих поширених проблем у системному програмуванні:

+
    +
  • ненавмисна модифікація ресурсів
  • +
  • забути деконструювати ресурси
  • +
  • випадкова деконструкція ресурсів двічі
  • +
  • використання ресурсів після їх деконструкції
  • +
  • Перегони даних, спричинені записом до ресурсів у той час, коли інші читають з них
  • +
  • чітке бачення ділянок коду, де компілятор не може надати гарантій
  • +
+

У наступному розділі ми застосуємо деякі з цих знань, розглядаючи, як Rust працює з текстом.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_vi.html b/57_vi.html new file mode 100644 index 000000000..95fbd9591 --- /dev/null +++ b/57_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 5 - Tổng kết

+

Chà chà, chúc mừng vì đã vượt qua được! Tôi biết còn rất nhiều thứ làm, nhưng bạn đang tiến hành rất tốt để trở thành một Rustacean. Hy vọng rằng, rõ ràng Rust với tư cách là một ngôn ngữ nhằm giải quyết nhiều thách thức phổ biến trong lập trình hệ thống như thế nào:

+
    +
  • Sửa đổi tài nguyên không chủ ý

  • +
  • Quên giải mã tài nguyên

  • +
  • Tài nguyên vô tình bị giải cấu trúc hai lần

  • +
  • Sử dụng tài nguyên sau khi chúng đã được giải cấu trúc

  • +
  • Dữ liệu chạy đua gây ra bởi việc ghi vào tài nguyên trong +khi những người khác đang đọc từ tài nguyên

  • +
  • Nhìn rõ các vùng mã mà trình biên dịch không thể đảm bảo

  • +
+

Trong chương tiếp theo, chúng ta sẽ áp dụng một số kiến thức này khi chúng ta xem xét cách Rust xử lý văn bản.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_zh-cn.html b/57_zh-cn.html new file mode 100644 index 000000000..29886aaea --- /dev/null +++ b/57_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 总结

+

哇,恭喜您成功走完了本章!我知道这下可能会有很多需要吸收的东西,但是您已经在成为一名 Rustacean 的路上走得很好了。希望您能愈发清晰地认识到 Rust 是如何致力于解决系统编程中的诸多常见挑战:

+
    +
  • 无意间对资源的修改
  • +
  • 忘记及时地释放资源
  • +
  • 资源意外地被释放两次
  • +
  • 在资源被释放后使用了它
  • +
  • 由于读取数据的同时有其他人正在向资源中写入数据而引起的数据争用
  • +
  • 在编译器无法做担保时,清晰看到代码的作用域
  • +
+

在下一章中,我们会研究一些 Rust 如何处理文本的相关知识。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/57_zh-tw.html b/57_zh-tw.html new file mode 100644 index 000000000..6eca92f9b --- /dev/null +++ b/57_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 總結

+

呼,恭喜撐過這章!我知道你有很多要消化,但你正以很棒的姿態成為一名 Rust 人。 希望你清楚的了解 Rust 以一門語言來說,是如何解決下列許多系統程式 (systems programming) 的共同問題:

+
    +
  • 無意的修改資源
  • +
  • 忘記釋放資源
  • +
  • 資源不小心被釋放了兩次
  • +
  • 在資源被釋放後還使用它
  • +
  • 當有人正在讀取資料,而另外有人正在修改資料而引起的資料競爭
  • +
  • 清楚的看到哪一段 code 是編譯器無法保證的
  • +
+

在下一章節裡,我們將會應用一些這裡的知識,來看看 Rust 怎麼處理文字。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/59_al.html b/59_al.html new file mode 100644 index 000000000..bcb14e53b --- /dev/null +++ b/59_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ar.html b/59_ar.html new file mode 100644 index 000000000..b23654097 --- /dev/null +++ b/59_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلاسل النصية الحرفية (String Literals)

+

تكون السلاسل النصية الحرفية دائنا يونيكود (Unicode).

+

نوع السلاسل النصية الحرفية هو &'static str

+
    +
  • الرمز & يعني أنه يشير إلى مكان في الذاكرة، وبما أنه ليس &mut فهذا يعني أن المترجم (compiler) لن يسمح بالتعديل.
  • +
  • الرمز 'static يعني أنه بيانات السلسلة النصية تبقى متاحة حتى نهاية البرنامج (لا تسقط أبدا).
  • +
  • الرمز str يعني أنها تشير إلى تسلسل من البايتات وهي دائما بترميز utf-8 صالح.
  • +
+

تفاصيل الذاكرة:

+
    +
  • المرجح هو أن يقوم مترجم (compiler) رست (Rust) بوضع السلسلة النصية الخاصة بك في مقطع البيانات (ذاكرة البيانات) الخاص بذاكرة البرنامج
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_de.html b/59_de.html new file mode 100644 index 000000000..47717b414 --- /dev/null +++ b/59_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String-Literale

+

String-Literale werden immer dargestellt unter Verwendung der utf-8-Kodierung des Unicode-Zeichensatzes. +String-Literale sind vom Typ „&'static str“:

+
    +
  • '&' dient als Verweis auf den Speicherort, ohne dass „&mut“ vom Compiler verwendet wird Sie haben keine Änderungserlaubnis.
  • +
  • 'static' bedeutet, dass die String-Daten bis zum Ende verfügbar sind das Programm (es stürzt nie ab).
  • +
  • 'str' bezeichnet eine Folge von Bytes, die immer gültigen Text im utf-8-Format bilden +Speicherdetails:
  • +
  • Der Rust-Compiler wird die Zeichenfolge wahrscheinlich in das Datensegment von einfügen Programmspeicher.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_en.html b/59_en.html new file mode 100644 index 000000000..3d1ea74ae --- /dev/null +++ b/59_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_es.html b/59_es.html new file mode 100644 index 000000000..49d3a4240 --- /dev/null +++ b/59_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadenas de Caracteres Literales

+

Las cadenas de caracteres literales son siempre unicode y de tipo &'static str:

+
    +
  • & es una referencia a una posición de memoria y carece de &mut, lo que significa que el compilador no permitirá modificarla.
  • +
  • 'static significa que los datos de la cadena estarán disponibles hasta el final de nuestro programa (nunca se libera).
  • +
  • str apunta a una secuencia de bytes que son siempre válidos UTF-8
  • +
+

Detalles de la memoria:

+
    +
  • El compilador de Rust probablemente pondrá la cadena de texto en el segmento de datos de la memoria del programa.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_fa.html b/59_fa.html new file mode 100644 index 000000000..1b7a193d0 --- /dev/null +++ b/59_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_fi.html b/59_fi.html new file mode 100644 index 000000000..6dfc0f18b --- /dev/null +++ b/59_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_fr.html b/59_fr.html new file mode 100644 index 000000000..05f587f39 --- /dev/null +++ b/59_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chaînes de caractères

+

Les chaînes de caractères (en anglais string literals) sont toujours encodées avec le standard Unicode.

+

Le type d'une chaîne de caractères est &'static str.

+
    +
  • & signifie que c'est une référence. Remarque l'abscence du mot-clé &mut, +cela nous dit également que le compilateur n'autorisera pas la modification.
  • +
  • 'static signifie que la donnée sera disponible jusqu'à la fin du programme (celle-ci n'est jamais désallouée).
  • +
  • str signifie que la référence pointe vers une séquence de bytes qui sera toujours interprétable en tant qu'utf-8.
  • +
+

Détails de la mémoire:

+
    +
  • Le compilateur Rust va dans la plupart des cas placer les données de la chaîne de caractères +sur le segment de données (en anglais data segment) de la mémoire du programme.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_gr.html b/59_gr.html new file mode 100644 index 000000000..1e64b21b6 --- /dev/null +++ b/59_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_hu.html b/59_hu.html new file mode 100644 index 000000000..62dfac739 --- /dev/null +++ b/59_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szöveg értékek

+

A szöveg értékek mindig Unicode kódolásúak.

+

A típusuk &'static str:

+
    +
  • A & azt jelöli, hogy egy memóriában található helyre mutatunk, a mut hiánya pedig, hogy ez +egy megváltoztathatatlan érték.
  • +
  • A 'static élettartam azt mondja meg, hogy a szöveg a program futásának egésze alatt elérhető +számunkra (sose drop-ol).
  • +
  • Az str pedig azt jelenti, hogy ez az érték egy olyan bájtsorozat, ami mindig érvényes +utf-8 bájtokat tartalmaz.
  • +
+

Hogyan érinti ez a memóriát:

+
    +
  • A fordító az ilyen szövegeket majdnem mindig az adatmemóriába fogja helyezni.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_id.html b/59_id.html new file mode 100644 index 000000000..1e2db2867 --- /dev/null +++ b/59_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ie.html b/59_ie.html new file mode 100644 index 000000000..b5a13c5d8 --- /dev/null +++ b/59_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals

+

String literals (caten-litterales) es sempre Unicode

+

Li tip por string literals es &'static str

+
    +
  • & significa que it refere a un loc in memorie, e it manca un &mut nam li compilator nequande va permisser modificar it
  • +
  • static significa que li data del string va sempre esser disponibil til li fine del programma (it nequande cade)
  • +
  • str significa que it indica un sequentie de bytes queles sempre es valid utf-8
  • +
+

Detallies pri memorie:

+
    +
  • max probabilmen li compilator Rust va plazzar tui string in li segment de data del memorie de tui programma
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_it.html b/59_it.html new file mode 100644 index 000000000..365a066bc --- /dev/null +++ b/59_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe letterali

+

Le stringhe letterali sono sempre Unicode.

+

I tipi di stringhe letterali sono &'static str:

+
    +
  • & significa che si riferisce a un luogo nella memoria e manca a &mut significa che il compilatore non consentirà modifiche
  • +
  • 'statico significa che i dati della stringa saranno disponibili fino alla fine del nostro programma (non si interrompe mai)
  • +
  • str significa che punta a una sequenza di byte sempre validi utf-8
  • +
+

Dettagli della memoria:

+
    +
  • Il compilatore Rust probabilmente inserirà la tua stringa nel segmento dati del tuo file memoria del programma
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ja.html b/59_ja.html new file mode 100644 index 000000000..67b309adc --- /dev/null +++ b/59_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列リテラル

+

文字列リテラルは常にUnicodeです。 +文字列リテラルの型は&'static strです。:

+
    +
  • & はメモリ中の場所を参照していることを意味しており、 &mut を欠いているのは、 コンパイラがそれを修正することを認めていないということです。
  • +
  • 'static は文字列データがプログラムの終了まで有効であるということを意味しています。(文字列データは決して消えません。)
  • +
  • str は常に有効なutf-8であるバイト列を指していることを意味しています。
  • +
+

メモリに関する詳細:

+
    +
  • Rustのコンパイラは文字列をプログラムメモリのデータセグメントに入れるでしょう。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ko.html b/59_ko.html new file mode 100644 index 000000000..48aaef6e2 --- /dev/null +++ b/59_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

문자열

+

문자열은 언제나 유니코드로 되어 있습니다.

+

문자열의 자료형은 &'static str입니다:

+
    +
  • &는 메모리 내의 장소를 참조하고 있다는 의미이며, &mut가 빠졌다는 것은 컴파일러가 값의 변경을 허용하지 않을 것이라는 뜻입니다
  • +
  • 'static은 string 데이터가 프로그램이 끝날 때까지 유효하다는 의미입니다 (절대 drop 되지 않습니다)
  • +
  • str은 언제나 유효한 utf-8인 바이트 열을 가리키고 있다는 의미입니다
  • +
+

메모리 상세:

+
    +
  • Rust 컴파일러는 문자열을 프로그램 메모리의 데이터 세그먼트에 저장할 것입니다
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ne.html b/59_ne.html new file mode 100644 index 000000000..e5f832d02 --- /dev/null +++ b/59_ne.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_pl.html b/59_pl.html new file mode 100644 index 000000000..38cb8afce --- /dev/null +++ b/59_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_pt-br.html b/59_pt-br.html new file mode 100644 index 000000000..24004e02b --- /dev/null +++ b/59_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literais string

+

Asd literais string são sempre Unicode.

+

O tipo de literais String é &'static str:

+
    +
  • & significa que está se referindo a uma posição na memória e a falta de um & mut significa que o compilador não permitirá modificações.
  • +
  • 'static significa que os dados da string estarão disponíveis até o final da execução do nosso programa (isto é, nunca será descartada).
  • +
  • str significa que aponta para uma sequência de bytes que serão sempre utf-8 válidos.
  • +
+

Detalhes da memória:

+
    +
  • O compilador Rust provavelmente colocará sua string no segmento de dados da memória do seu programa.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ro.html b/59_ro.html new file mode 100644 index 000000000..4e0b880df --- /dev/null +++ b/59_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere literale

+

Șirurile de caractere literale (în engleză string literals) sunt întotdeauna reprezentate folosind codificarea utf-8 al setului de caractere Unicode. +Șirurile de caractere literale sunt de tipul &'static str:

+
    +
  • & înseamnă că referențiază o locație din memorie, neavând &mut compilatorul nu va permite modificări.
  • +
  • 'static înseamnă că datele șirului de caractere vor fi disponibile până la sfârșitul programului (nu se dă drop niciodată).
  • +
  • str înseamnă că indică o secvență de octeți ce formează întotdeauna un text valid în formatul utf-8
  • +
+

Detalii legate de memorie:

+
    +
  • Compilatorul de Rust va pune probabil șirul de caractere în segmentul de date al memoriei programului dumneavoastră.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ru.html b/59_ru.html new file mode 100644 index 000000000..0f2eb8c49 --- /dev/null +++ b/59_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип строковые литералы (String Literals)

+

Строковые литералы Rust всегда в кодировке Unicode.

+

Типом строковых литералов всегда является описание &'static str:

+
    +
  • & означает это ссылка на место в памяти, у нее нет &mut и это означает, что компилятор не позволит делать изменения
  • +
  • 'static означает, что строковые данные будут доступны с начала и до конца нашей программы (они никогда не удаляются)
  • +
  • тип str означает, что он указывает на последовательность байтов, которые являются всегда действительным текстом в utf-8 кодировке
  • +
+

Тонкости памяти:

+
    +
  • Компилятор Rust скорее всего разместит эту строку в памяти сегмента данных +вашей программы
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_th.html b/59_th.html new file mode 100644 index 000000000..d355612b0 --- /dev/null +++ b/59_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การประกาศ String

+

String เป็น Unicode เสมอ

+

type ของ String ประกาศโดยใช้ &'static str:

+
    +
  • & หมายความว่านี่คือการอ้างถึงพื้นที่หนึ่งในหน่วยความจำ และมันไม่ใช่ &mut นั่นแปลว่าคอมไพเลอร์จะไม่ยอมให้แก้ไขข้อความนี้ได้
  • +
  • 'static แปลว่า ข้อความสตริงนี้จะคงอยู่ไปจนกว่าโปรแกรมจะสิ้นสุด(มันจะไม่โดน drop แน่นอน)
  • +
  • str แปลว่า มันชี้ไปที่สายลำดับของไบต์ที่เป็น utf-8 ที่ถูกต้องแน่นอน
  • +
+

รายละเอียดหน่วยความจำ:

+
    +
  • คอมไพเลอร์ของ Rust มีแนวโน้มที่จะวางสตริงของคุณไว้ใน หน่วยความจำของโปรแกรมส่วนที่เป็น data segment
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_tr.html b/59_tr.html new file mode 100644 index 000000000..ca09a4df5 --- /dev/null +++ b/59_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgi Değişmezleri

+

Dilimize dizgi değişmezleri olarak çevirebileceğimiz String literals verileri, daima Unicode standardında kodlanırlar.

+

Ve bu değişmezlerin türü her zaman &'static str şeklindedir:

+
    +
  • Referans belirteci olan & ise bellekte bir yere atıfta bulunulduğu anlamına gelir ve &mut biçiminde kullanılmadığından, derleyicinin değişiklik yapılmasına izin vermeyeceğini göstermektedir.
  • +
  • 'static belirtecinin varlığı, dizgi verilerinin program sonlanana kadar yaşamlarını sürdüreceği ve asla düşürülmeyeceğini ifade eder.
  • +
  • str belirtecinin varlığı bize, bu referansın daima utf-8 olarak yorumlanacak bir bayt dizisine işaret ettiğini gösterir.
  • +
+

Bellek ayrıntıları:

+
    +
  • Rust derleyicisi çoğu durumda dizgi verilerini, belleğin veri bölümüne yerleştirecektir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_ua.html b/59_ua.html new file mode 100644 index 000000000..51207daa1 --- /dev/null +++ b/59_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Рядкові літерали

+

Рядкові літерали завжди представлені у Unicode.

+

Тип рядкових літералів - &'static str:

+
    +
  • & значить, що він посилається на певне місце у пам'яті, відсутність &mut значить, що компілятор не дозволить робити зміни
  • +
  • 'static значить, що цей рядок даних буде доступним до самого кінця виконання нашої програми (він ніколи не видалиться)
  • +
  • str означає, що він вказує на послідовність байтів, які завжди будуть дійсні у utf-8
  • +
+

Деталі про роботу з пам'яттю:

+
    +
  • Компілятор Rust найімовірніше покладе ваш рядок у сегмент пам'яті, де зберігаються дані вашої програми
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_vi.html b/59_vi.html new file mode 100644 index 000000000..66517dce6 --- /dev/null +++ b/59_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi ký tự(String Literal)

+

Chuỗi ký tự luôn là Unicode.

+

Loại của chuỗi ký tự là &'static str:

+
    +
  • & nghĩa là nó đề cập đến một vị trí trong bộ nhớ, và nó thiếu một &mut nghĩa là trình biên dịch sẽ không cho phép sửa đổi
  • +
  • 'staticcó nghĩa là dữ liệu chuỗi sẽ có sẵn cho đến khi kết thúc chương trình của chúng ta (nó không bao giờ drop)
  • +
  • str có nghĩa là nó trỏ đến một chuỗi các byte luôn hợp lệ utf-8
  • +
+

Chi tiết bộ nhớ:

+
    +
  • Trình biên dịch Rust có thể sẽ đưa chuỗi của bạn vào phân đoạn dữ liệu của bộ nhớ chương trình của bạn.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_zh-cn.html b/59_zh-cn.html new file mode 100644 index 000000000..d2f690835 --- /dev/null +++ b/59_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串常量(String Literals)

+

字符串常量(String Literals)采用 Unicode 编码(注:下文提及的 utf-8 为 Unicode 的一部分)。

+

字符串常量的类型为 &'static str

+
    +
  • & 意味着该变量为对内存中数据的引用,没有使用 &mut 代表编译器将不会允许对该变量的修改
  • +
  • 'static 意味着字符串数据将会一直保存到程序结束(它不会在程序运行期间被释放(drop)
  • +
  • str 意味着该变量总是指向一串合法的 utf-8 字节序列。
  • +
+

内存细节:

+
    +
  • Rust 编译器可能会将字符串储存在程序内存的数据段中。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/59_zh-tw.html b/59_zh-tw.html new file mode 100644 index 000000000..85cc8edac --- /dev/null +++ b/59_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串常量 (string literals)

+

字串常量總是以萬國碼 (unicode) 表示。

+

字串常量型別為 &'static str

+
    +
  • & 表示它參考到記憶體裡某個位址,且因為沒有 &mut 所以表示編譯器不允許它被修改
  • +
  • 'static 表示字串資料將一直存活到我們的程式結束為止 (它永不會徹下)
  • +
  • str 表示它指向一連串的位元組 (bytes),且總是合法的 utf-8
  • +
+

記憶體細節:

+
    +
  • Rust 編譯器將會很有可能將你的字串放在程式記憶體的資料區間裡
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/60_al.html b/60_al.html new file mode 100644 index 000000000..4d53e6269 --- /dev/null +++ b/60_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_ar.html b/60_ar.html new file mode 100644 index 000000000..b3cc5f8d6 --- /dev/null +++ b/60_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ماهو utf-8

+

نظرًا لاستخدام المزيد من اللغات على أجهزة الكمبيوتر، كان العالم بحاجة إلى تمثيل عدد أكبر من الأحرف النصية +أكثر مما يسمح به ASCII (يسمح البايت الواحد بـ 256 حرفًا فقط).

+

utf-8 تم تقديمه مع طول بايت متغير يتراوح من 1 إلى 4 بايت مما أدى إلى زيادة نطاق الأحرف الممكنة بشكل كبير.

+

من مميزات الأحرف ذات الحجم المتغير أن النص لا يحتوي على بايتات غير ضرورية للأحرف الشائعة جدًا في ASCII (يتطلب بايت واحد فقط في utf-8).

+

الجانب السلبي للأحرف ذات الحجم المتغير هو أنه لم يعد من الممكن إجراء البحث عن الأحرف بسرعة +(O(1) وقت ثابت) باستخدام فهرسة بسيطة (على سبيل المثال، my_text[3] للحصول على الحرف الرابع). وأنه من الممكن أن يكون للأحرف السابقة +عرض متغير، مما يؤدي إلى تغيير المكان الذي يبدأ فيه الحرف الرابع فعليًا في تسلسل البايتات.

+

بدلاً من ذلك كله، فإنه يجب علينا عمل تكرار عبر تسلسل بايت utf-8 لمعرفة من أين تبدأ أماكان أحرف Unicode فعليًا (O(n) الزمن الخطي).

+

فيريس: "أنا سعيد في الغالب بوجود utf-8 لتمثيل الرموز التعبيرية لأصدقائي تحت الماء."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_de.html b/60_de.html new file mode 100644 index 000000000..2c0f57288 --- /dev/null +++ b/60_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Was ist utf-8

+

Da immer mehr Sprachen auf Computern verwendet wurden, brauchte die Welt Möglichkeiten, mehr Textzeichen darzustellen, als ASCII erlaubte (1 Byte erlaubte nur 256 Zeichen).

+

Es wurde utf-8 eingeführt , mit einer variablen Länge von Bytes (1-4 Bytes), was den Bereich möglicher Zeichen erheblich vergrößert.

+

Ein Vorteil von Zeichen variabler Größe besteht darin, dass der Text keine unnötigen Bytes mehr für sehr häufige ASCII-Zeichen enthält (die nur 1 erfordern). Byte in utf-8).

+

Ein Nachteil von Zeichen variabler Größe besteht darin, dass Zeichensuchen nicht mehr schnell durchgeführt werden können +(** konstante Zeit O(1 )**) mit einfacher Indizierung (Beispiel : my_text[3], um das 4. Zeichen zu erhalten). +Die vorherigen Zeichen können variable Breiten haben, wodurch sich ändert, wo das 4. Zeichen tatsächlich in der Bytefolge beginnt.

+

Stattdessen müssen wir eine Schleife durch ein utf- 8 Bytefolge, um zu verstehen, wo die Unicode-Zeichen tatsächlich beginnen (** lineare Zeit O(n)).

+

Ferris: „Meistens bin ich einfach nur froh, dass ich **utf-8 habe ** um Emoticons mit meinen Unterwasserfreunden zu rendern."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_en.html b/60_en.html new file mode 100644 index 000000000..7c82425f1 --- /dev/null +++ b/60_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_es.html b/60_es.html new file mode 100644 index 000000000..8da70f400 --- /dev/null +++ b/60_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

¿Qué es UTF-8?

+

A medida que se incorporaban más idiomas en los ordenadores, estos necesitaban representar más caracteres de texto que los permitidos por el ASCII (1 byte sólo permitía 256 caracteres).

+

UTF-8 se introdujo con una longitud variable de 1 a 4 bytes, lo que aumentó enormemente el rango de caracteres posibles.

+

Una ventaja de los caracteres de tamaño variable es que el texto no tiene bytes innecesarios para el ASCII (en UTF-8 sólo se requería 1 byte).

+

Una desventaja de los caracteres de tamaño variable es que la búsqueda de caracteres ya no puede hacerse rápidamente +(O(1) constant time) con una simple indexación (por ejemplo my_text[3] para obtener el 4º carácter). Es posible que los caracteres previos tengan tamaños variables, alterando la posición de inicio del 4º carácter en la secuencia de bytes.

+

En cambio, debemos iterar a través de una secuencia de bytes UTF-8 para entender dónde comienzan realmente los caracteres unicode (O(n) tiempo lineal).

+

Ferris: " Gracias a UTF-8 puedo representar a mis amigos acuáticos con emojis."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_fa.html b/60_fa.html new file mode 100644 index 000000000..cacb5a6d5 --- /dev/null +++ b/60_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_fi.html b/60_fi.html new file mode 100644 index 000000000..9cde67b9d --- /dev/null +++ b/60_fi.html @@ -0,0 +1,54 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_fr.html b/60_fr.html new file mode 100644 index 000000000..7565bd3c5 --- /dev/null +++ b/60_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Introduction à l'utf-8

+

De plus en plus de langues doivent être supportées par les ordinateurs d'aujourd'hui. +Malheureusement, le système d'encodage ASCII initialement utilisé sur les premiers ordinateurs ne suffit plus +pour représenter tout les caractères. L'encodage ASCII ne permet d'encoder seulement 256 caractères sur 1 byte.

+

L'introduction du standard unicode utf-8 a permis d'augmenter grandement le nombre caractères utilisable en +offrant un encodage pouvant varier de 1 à 4 bytes.

+

Un avantage d'avoir des caractères à taille variable est qu'on n'utilise pas de bytes superflues +pour représenter les caractères communs ASCII (requiert un seul byte même avec l'encodage utf-8).

+

Un désavantage d'avoir des caractères à taille variable est que l'accès ne peut plus être fait +rapidemment (temps constant O(1)) avec un simple accès par index (e.g. +my_text[3] pour récupérer le 4ème caractère). +En effet, il est possible que les caractères précédants le caractère que l'on souhaite lire aient une taille variable, altérant +la position où le 4ème caractère se situe dans la séquence d'octets.

+

Au lieu de cela, nous devons itérer sur la séquence de byte utf-8 pour trouver où se situe +le caractère unicode (temps linéaire O(n)).

+

Ferris: "Je suis surtout content d'avoir l'encodage ** utf-8 ** pour représenter les emojis de mes amis sous-marins!"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_gr.html b/60_gr.html new file mode 100644 index 000000000..711f7eed5 --- /dev/null +++ b/60_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_hu.html b/60_hu.html new file mode 100644 index 000000000..2adf8456e --- /dev/null +++ b/60_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mi is az az utf-8?

+

Ahogy egyre több nyelvet kezdtünk használni a számítógépeken, hirtelen szükségessé vált, hogy +több karaktert tudjunk reprezentálni, mint arra az ASCII képes volt (mely 1 byteon tárolt a +karaktereket, így összesen 256 különböző karaktert megengedve).

+

Az utf-8 egy olyan formátum, ami 1-4 bájt közötti hosszal rendelkezik karakterenként, ezzel +lényegesen megnövelve, hány karaktert is képes reprezentálni. Mivel a gyakori, ASCII-ban is +előforduló karakterek itt is egy bájton vannak reprezentálva, ezért a kódolás nem pazarolja a +helyet fölöslegesen. Ugyanakkor, a változó hossz iatt így már nem lehet egyszerűen lekérni a +szöveg egyes karaktereit (O(1) időben) azzal, hogy a szövegbe indexelünk (pl.: +szövegem[3]), hisz könnyen meglehet, hogy mindegyik karakter más hosszúságú, így az indexelt +karakter lehet nem is ott van, ahol a program keresné. Ehelyett a megoldás az, hogy +végigiterálunk a szövegen, amíg a keresett karaktert el nem érjük (O(n) időben).

+

Ferris: "Csak örülni tudok, hogy az utf-8 segítségével a víz alatti barátaim képei +megjelenhetnek!"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_id.html b/60_id.html new file mode 100644 index 000000000..5815725f9 --- /dev/null +++ b/60_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_ie.html b/60_ie.html new file mode 100644 index 000000000..ce4457e0c --- /dev/null +++ b/60_ie.html @@ -0,0 +1,54 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pri utf-8

+

Con plu e plu lingues usat in computatores, li munde besonat representar li caracteres usat in ili +queles ASCII sol ne posset monstrar (1 byte possibilisat solmen 256 caracteres).

+

On introductet utf-8 con un byte-longore variant inter 1-4 bytes, creante un spacie por mult plu caracteres possibil.

+

Un avantage de caracteres con grandore variabil es que con li max comun caracteres (ASCII) on besonat solmen un sol byte mem in utf-8

+

Un desavantage es que caractere-serchada ne plu esset possibil con rapiditá +(O(1) constant témpor) con un simplic indexation (p.ex. my_text[3] por trovar li 4im caractere). Nam in ti-ci exemple it es +possibil que chascun caractere possede un largore diferent, e in li sequentie de bytes on ne posse garantir li loc ú it comensa e fini se.

+

Pro to noi deve iterar tra un sequentie de bytes in utf-8 por comprender ú comensa li caracteres unicode (O(n) lineari témpor).

+

Ferris: "Por mi parte yo es felici posser usar utf-8 por usar li emojis de mi amics submarin."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_it.html b/60_it.html new file mode 100644 index 000000000..16a516d8c --- /dev/null +++ b/60_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cos'è utf-8

+

Poiché sui computer venivano utilizzate più lingue, il mondo aveva bisogno di rappresentare più caratteri di testo +di quelli consentiti dall'ASCII (1 byte consentiva solo 256 caratteri).

+

utf-8 è stato introdotto con una lunghezza in byte variabile di 1 -4 byte aumentando notevolmente la gamma di caratteri possibili.

+

Un vantaggio dei caratteri di dimensione variabile è che il testo non ha byte non necessari per ASCII molto comuni (richiede solo 1 byte ancora in utf-8). + nUno svantaggio dei caratteri di dimensione variabile è che la ricerca dei caratteri non può più essere eseguita rapidamente +(O(1) tempo costante) con una semplice indicizzazione (ad esempio mio_testo[3] per ottenere il quarto carattere). possibile che i +caratteri precedenti possano avere larghezze variabili, alterando il punto in cui inizia effettivamente il 4° carattere nella sequenza di byte.

+

Dobbiamo invece scorrere una sequenza di byte utf-8 per capire dove iniziano effettivamente i caratteri Unicode (O(n) tempo lineare).

+

Ferris: "Per lo più sono semplicemente felice di avere utf-8 per rappresentare gli emoji dei miei amici sott'acqua."

+

< span class="emoji">🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_ja.html b/60_ja.html new file mode 100644 index 000000000..4a5d648b8 --- /dev/null +++ b/60_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

utf-8とは

+

様々な言語がコンピューター上で使われるようになるにつれて, ASCIIで許可されている以上のテキスト文字を表現する必要が出てきました。(ASCIIで許可されているのは1バイト、つまり256文字です)

+

utf-8 は1~4バイトの可変バイト長で導入され、それによって表現可能な文字の範囲が大幅に広がりました。

+

可変サイズ文字の利点として挙げられるのは、一般的なASCIIで使われる文字について余計なバイトを必要としなかったことです。(一般的なASCIIで使われる文字についてutf-8 で必要とするのはASCIIと変わらずたった1バイトです)

+

可変サイズの文字の欠点として挙げられるのは、簡単なインデキシング(例:4番目の文字を取得するために my_text[3] を使用すること)における文字の検索が(O(1) 定数時間で)素早くできなくなることです。すぐ前にある文字が可変幅を持つことで、4番目の文字がバイト列のどこから実際に始まるのかが変わってしまう可能性があります。

+

その代わり、Unicode文字が実際にどこから始まるのかを知るために utf-8 バイトのシーケンスを繰り返さなければなりません。(計算量は線形時間 O(n)

+

Ferris「水中にいるお友達の絵文字を表現するのに utf-8 があると嬉しいね!」

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_ko.html b/60_ko.html new file mode 100644 index 000000000..a68c2df66 --- /dev/null +++ b/60_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

utf-8이란 무엇인가

+

컴퓨터로 점점 더 많은 나라의 언어가 사용되면서, 세계는 ASCII가 허용하던 것보다 +(1 바이트는 256 문자 밖에 허용하지 않음) 더 많은 문자를 필요로 하게 되었습니다.

+

utf-8은 1에서 4 바이트의 가변 길이 바이트로 도입되어, 사용 가능한 문자의 범위를 엄청나게 늘려 주었습니다.

+

가변 크기 문자의 한 가지 장점은 매우 흔한 ASCII 문자(utf-8에서도 여전히 1 바이트만 필요로 함)에 쓸데 없는 바이트를 필요로 하지 않는다는 점입니다.

+

한 가지 단점은 단순한 인덱싱(예: my_text[3]으로 네 번째 문자를 가져옴)으로는 +더 이상 빠르게(O(1) 상수 시간으로) 문자를 찾을 수 없다는 점입니다. +바로 앞의 글자가 가변 길이를 가질 수 있어, 바이트 열에서 4번째 문자가 실제로 시작하는 위치가 달라질 수도 있습니다.

+

우리는 그 대신에 utf-8 바이트 열을 하나하나 돌면서 각각의 유니코드 문자가 실제로 어디에서 시작하는지 찾아야 합니다 (O(n) 선형 시간).

+

Ferris: "utf-8로 내 물밑 친구들의 이모지를 보여줄 수 있어서 기쁩니다."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_ne.html b/60_ne.html new file mode 100644 index 000000000..8ca547af6 --- /dev/null +++ b/60_ne.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_pl.html b/60_pl.html new file mode 100644 index 000000000..1cccdc36d --- /dev/null +++ b/60_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_pt-br.html b/60_pt-br.html new file mode 100644 index 000000000..897c53d99 --- /dev/null +++ b/60_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O que é utf-8

+

À medida que mais idiomas eram usados nos computadores o mundo precisava representar mais caracteres de texto do que o permitido pelo ASCII (1 byte permitia apenas 256 caracteres).

+

O utf-8 foi introduzido com um comprimento em bytes variável de 1 a 4 bytes, aumentando bastante o intervalo de caracteres possíveis.

+

Uma vantagem dos caracteres de tamanho variável é que o texto não tem bytes desnecessários para os caracteres ASCII comumente usados (requer apenas 1 byte mesmo em utf-8).

+

Uma desvantagem dos caracteres de tamanho variável é que a pesquisa de caracteres não pode mais ser feita rapidamente (tempo constante de O(1)) com uma indexação simples (por exemplo my_text[3] para obter o 4º caractere). É possível que os caracteres anteriores tenham larguras variáveis, alterando onde o quarto caractere realmente começa na sequência de bytes.

+

Em vez disso, devemos iterar por uma sequência de bytes utf-8 para entender onde os caracteres Unicode realmente começam (tempo linear de O(n)).

+

Ferris: "Estou muito feliz por ter utf-8 para representar os emojis dos meus amigos subaquáticos."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_ro.html b/60_ro.html new file mode 100644 index 000000000..74a4387f5 --- /dev/null +++ b/60_ro.html @@ -0,0 +1,54 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ce este utf-8

+

Pe măsură ce tot mai multe limbi au început a fi folosite pe calculatoare, lumea a avut nevoie de modalități de reprezentare a mai multor caractere de text +decat ASCII permitea (1 byte permitea numai 256 de caractere).

+

A fost introdus utf-8, având o lungime variabilă de bytes (1-4 bytes), lucru ce a crescut considerabil gama de caractere posibile.

+

Un avantaj al caracterelor de dimensiuni variabile este că textul nu mai are octeți inutili pentru caractere ASCII foarte comune (necesitând doar 1 octet în utf-8).

+

Un dezavantaj al caracterelor de dimensiuni variabile este faptul că căutarea caracterelor nu se mai poate face rapid +(timp constant O(1)) cu o simplă indexare (exemplu: my_text[3] pentru a obține al patrulea caracter). Este posibil ca +caracterele anterioare să aibă lățimi variabile, modificând locul în care începe de fapt al 4-lea caracter în secvența de octeți.

+

Trebuie în schimb să parcurgem o secvență utf-8 de octeți pentru a înțelege unde încep de fapt caracterele Unicode (timp liniar O(n)).

+

Ferris: "În mare parte, doar mă bucur că am utf-8 pentru a reprezenta emoticoane cu prietenii mei subacvatici."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_ru.html b/60_ru.html new file mode 100644 index 000000000..f14d38769 --- /dev/null +++ b/60_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Что такое utf-8

+

Поскольку на компьютерах использовалось все больше языков, то миру нужно было представлять больше текстовых символов, +чем допускала кодировка ASCII (где 1 байт допускал хранение только 256 символов).

+

utf-8 кодировка была введена с переменной длиной в 1-4 байта, значительно увеличивая диапазон возможных символов.

+

Преимуществом символов переменного размера является то, что текст не имеет не нужных байт для очень распространенной кодировки ASCII (для нее все также требуется только 1 байт в utf-8).

+

Недостатком символов переменного размера является то, что поиск символов больше не может быть выполнен быстро +(за постоянное время O(1)) простой индексацией (например, my_text[3] для получения 4-го символа). Вполне возможно, что +предшествующие символы могли иметь переменную ширину, влияя на место где 4-й символ фактически начинается в последовательности байт.

+

Вместо этого нам нужно пройти последовательность utf-8 байт, чтобы понять, где на самом деле Unicode символы начинаются (за линейное время O(n)).

+

Ferris: "Я в основном счастлив иметь utf-8 для представления смайликов моих подводных друзей."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_th.html b/60_th.html new file mode 100644 index 000000000..13fcd8f8c --- /dev/null +++ b/60_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

utf-8 คืออะไร

+

ด้วยเหตุที่ว่ามีการใช้ภาษาที่หลากหลายมากบนคอมพิวเตอร์ โลกนี้จำเป็นต้องมีอะไรสักอย่าง ที่สามารถแสดงอักขระที่เกินกว่าที่ ACSII เคยทำได้ (1ไบต์แสดงได้เพียง 256 อักขระ)

+

utf-8 จึงถูกนำมาใช้แทนด้วยขนาดที่แปรผันได้ 1-4ไบต์ ทำให้การแสดงอักขระมีความเป็นไปได้เพิ่มขึ้นอย่างมาก

+

ข้อได้เปรียบของขนาดอักขระที่แปรผันได้ก็คือเราจะไม่ต้องมีอักขระที่ไม่จำเป็น แบบที่เคยพบใน ASCII (ใน utf-8 ยังมีบางตัวที่มีขนาด 1ไบต์อยู่ด้วย)

+

แต่ข้อเสียของมันก็มี นั่นคือมันทำให้การค้นหาอักขระจะไม่เร็วเหมือนเดิม(O(1) เสมอ) ด้วยการบอก index ไปตรงๆ (ตัวอย่างเช่น my_text[3] เพื่อรับอักขระตัวที่ 4 ออกมา) เพราะมันอาจเป็นไปได้ว่าอักขระก่อนหน้าจะมีขนาดแปรผัน ทำให้อักขระตัวที่ 4 อาจะเปลี่ยนตำแหน่งไป

+

นั่นทำให้เราจำเป็นต้องวนหาของตามลำดับไบต์ของ utf-8 เพื่อหาว่า Unicode ตัวนั้นจริงๆเริ่มต้นที่ไหน (O(n) ในเชิงเส้น)

+

Ferris: "ฉันมีความสุขมากที่เรามี utf-8 เพราะมันแสดงอิโมจิของเหล่าเพื่อนใต้น้ำของฉันได้"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_tr.html b/60_tr.html new file mode 100644 index 000000000..888945180 --- /dev/null +++ b/60_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8 Nedir?

+

Bilgisayarların ortaya çıkışının ilk dönemlerinde, karakterleri kodlamakta kullanılan ve +1 baytlık bilgi ile sadece 256 karakterin temsil edilebildiği ASCII sistemi, teknoloji gelişip +bilgiye erişim talebi arttıkça, daha fazla dilin temsil edilmesine ihtiyaç duyulduğundan yetersiz hale geldi.

+

Ardından gelen ve bir unicode standardı olan, 1-4 byte arası değişken karakter uzunluklarını destekleyen +utf-8 tanıtılarak, daha fazla karakterin temsil edilmesi sağlandı.

+

Değişken boyutlu karakterlerin avantajı, yaygın kullanılan ASCII karakterler tek 1 bayt ile temsil +edildiklerinden, gereksiz baytların kullanılmasına ihtiyaç duymamalarıdır.

+

Ancak bunların dezavantajı, karakter aramanın, örneğin; bir_metin[3] dizgisinin 4. karakterini elde etmenin, +artık basit bir indekslemeyle, yani O(1) sabit zamanda hızlı bir şekilde yapılamıyor olmasıdır. +Bununla birlikte, okunacak karakterden önceki karakterlerin değişken bir boyuta sahip olması ve bayt +dizisindeki 4. karakterin bulunduğu konumu değiştirmesi de mümkündür.

+

Bu nedenle, Unicode karakterlerinin gerçekte nerede başladığını anlayabilmek için utf-8 dizgisini, +bayt dizisi boyunca yani O(n) doğrusal zamanda yinelememiz gerekir.

+

Ferris: "Su altı arkadaşlarımın emojilerini temsil eden utf-8 kodlamasına sahip olduğum için çok mutluyum!"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_ua.html b/60_ua.html new file mode 100644 index 000000000..f5ffcb136 --- /dev/null +++ b/60_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Що таке utf-8

+

Чим більше мов використовувалось при роботі з комп'ютером, тим потрібніше світу було мати змогу +відображати більше символів ніж дозволяв ASCII( 1 байт міг передавати тільки 256 різних символів)

+

utf-8 була представлена зі змінною кількістю у 1-4 байтів. Це сильно збільшило діапазон доступних символів.

+

Перевага змінного розміру символів це те, що текст не містить зайвих байтів для простих символів з ASCII( у utf-8 вони так само потребують 1 байт).

+

Зворотньою стороною змінного розміру символів є те, що пошук символів більше не може бути швидким +(O(1) константний час) за допомогю простого індексування (наприклад my_text[3] для отримання 4 символу). Цілком +можливо, що попередні символи можуть мати змінну ширину, змінюючи місце фактичного початку 4 символу в послідовності байтів.

+

Натомість ми повинні пройти через послідовність байтів utf-8, щоб зрозуміти, де насправді починаються символи Unicode (O(n) лінійний час).

+

Ферріс: "Я просто щасливий, що маю utf-8 для використання емодзі, що зображують моїх підводних друзів."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_vi.html b/60_vi.html new file mode 100644 index 000000000..ac2d03546 --- /dev/null +++ b/60_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

utf-8 là gì?

+

Khi nhiều ngôn ngữ được sử dụng trên máy tính, thế giới cần phải biểu diễn nhiều ký tự văn bản hơn ASCII cho phép (1 byte chỉ cho phép 256 ký tự).

+

utf-8 đã được giới thiệu với độ dài byte thay đổi từ 1-4 byte làm tăng đáng kể phạm vi ký tự có thể có.

+

Một lợi thế của các ký tự có kích thước thay đổi là văn bản không có các byte không cần thiết cho những mã ASCII rất phổ biến (chỉ yêu cầu 1 byte vẫn ở trong utf-8).

+

Nhược điểm của các ký tự có kích thước thay đổi là việc tra cứu ký tự không còn được thực hiện nhanh chóng. + (O(1) thời gian không đổi) với một lập chỉ mục đơn giản (ví dụ: my_text[3] để lấy ký tự thứ 4). Việc các ký tự trước đó có thể có độ rộng thay đổi là khả thi, thay đổi vị trí của ký tự thứ 4 thực sự bắt đầu trong chuỗi byte.

+

Thay vào đó, chúng ta phải lặp qua chuỗi byte utf-8 để hiểu vị trí các ký tự Unicode thực sự bắt đầu (O(n) thời gian tuyến tính).

+

Ferris: "Tớ rất vui vẻ với utf-8, tớ có các emoji thú vị để đại diện cho những người bạn dưới nước của tớ."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_zh-cn.html b/60_zh-cn.html new file mode 100644 index 000000000..e8fc14b55 --- /dev/null +++ b/60_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什么是 utf-8

+

随着在计算机上使用的语言增加,需要一个能比 ASCII 编码(1 字节表示 1 个字符,总共可表示 256 个字符)表示更多字符的编码来容纳其它语言的字符。

+

utf-8 编码这时被引入来解决这个问题,它用 1-4 个字节来表示 1 个字符,这使得可以表示的字符数大大增加。

+

使用可变长度的字节来表示字符有一个优点,就是常见的 ASCII 编码字符在 utf-8 编码中无需使用更多的字节(也是 1 字节表示 1 个字符)。

+

但是这样做也有缺点,在 utf-8 文本中通过索引来匹配字符(例:my_text[3] 获取 my_text 的第 4 个字符)将不能像以前的编码标准那么快(以前编码标准花费 O(1) 常数时间)。 这是因为前面的字符具有可变的对应字节,从而无法直接确定第 4 个字符在字节序列中的起始字节。

+

我们需要遍历 utf-8 的字节序列才可以得到对应 Unicode 字符的起始位置(这将花费 O(n) 线性时间)。

+

Ferris:“我只是为 utf-8 编码有表示我水中好友的表情符号感到高兴。“

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/60_zh-tw.html b/60_zh-tw.html new file mode 100644 index 000000000..e2aa943d1 --- /dev/null +++ b/60_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什麼是 utf-8

+

隨著越來越多語言在電腦上使用,這個世界就需要顯示更多文字字元,而不是單單 ASCII 允許的 1 個位元、256 個字元。

+

utf-8 以有著 1-4 個位元組的可變長度登場,這大幅增加可能的字元。

+

使用可變長度有個優勢是,對於那些常用的 ASCII (在 utf-8 裡仍只需要一個位元組),文字將不會有不必要的位元組。

+

可變長度的缺點是,查找字元時無法快速地 (O(1) 常數時間) 用索引完成 (例如:my_text[3] 以取得第 4 個元)。 +的確有可能在前面的字元可以有可變的寬度,修改第 4 個字元事實上是從第一個位元組開始。

+

取而代之的是,我們必定得迭代整個 utf-8 位元序列,才有辦法知道萬國碼是從哪裡開始 (O(n) 線性時間)。

+

Ferris:「我非常高興有 utf-8 可以用 emoji 來表示我的水底朋友們。」"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/61_al.html b/61_al.html new file mode 100644 index 000000000..eba9e640b --- /dev/null +++ b/61_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ar.html b/61_ar.html new file mode 100644 index 000000000..8027b2d57 --- /dev/null +++ b/61_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

أحرف الهروب (Escaping Characters)

+

من الصعب تمثيل أحرف معينة بصريًا، لذا تسمح لنا رموز الهروب (escape codes) بوضع رمز في مكانها.

+

يدعم رست (Rust) رموز الهروب الشائعة في اللغات المستندة إلى لغة C:

+
    +
  • \n - سطر جديد
  • +
  • \r - الرجوع إلى أول السطر
  • +
  • \t - تبويبة (tab)
  • +
  • \\ - شرطة مائلة عكسية (backslash)
  • +
  • \0 - اللاشَيْء (null)
  • +
  • \' - علامة إقتباس أحادية (single-quote)
  • +
+

القائمة الكاملة موجودة هنا.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_de.html b/61_de.html new file mode 100644 index 000000000..a60cc04b7 --- /dev/null +++ b/61_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escape-Sequenzen

+

Es ist eine Herausforderung, bestimmte Zeichen visuell darzustellen, daher müssen Escape-Sequenzen (Escape-Codes) Sie ermöglichen es uns, ein Symbol an ihre Stelle zu setzen.

+

Rust unterstützt gängige Escape-Codes von C-basierten Sprachen:

+
    +
  • \n - Neue Zeile
  • +
  • \r - Wagenrücklauf
  • +
  • \t - tab
  • +
  • \\\ - backslash
  • +
  • \0 - nul
  • +
  • \' - Einzelzitate
  • +
+

Die vollständige Liste ist vorhanden Hier.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_en.html b/61_en.html new file mode 100644 index 000000000..39d7c4548 --- /dev/null +++ b/61_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_es.html b/61_es.html new file mode 100644 index 000000000..73af6b099 --- /dev/null +++ b/61_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caracteres de Escape

+

Es un reto representar visualmente ciertos caracteres, pero los códigos de escape nos permiten usar símbolos.

+

Rust soporta los códigos de escape comunes de los lenguajes basados en C.

+
    +
  • \n - salto de línea.
  • +
  • \r - retorno de carro.
  • +
  • \t - tabulación.
  • +
  • \\ - barra invertida.
  • +
  • \0 - nulo.
  • +
  • \' - comilla simple.
  • +
+

Puedes encontrar la lista completa aquí.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_fa.html b/61_fa.html new file mode 100644 index 000000000..de8865a6d --- /dev/null +++ b/61_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_fi.html b/61_fi.html new file mode 100644 index 000000000..dbf36e881 --- /dev/null +++ b/61_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_fr.html b/61_fr.html new file mode 100644 index 000000000..3c3df5c65 --- /dev/null +++ b/61_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caractères d'échappement

+

Certains caractères spéciaux posent problèmes dans les chaînes de caractères. +Mais fort heureusement, les caractères d'échappement nous permettent de les représenter.

+

Rust supporte la plupart des codes d'échappement communs aux langages de programmation basés sur le C:

+
    +
  • \n - nouvelle ligne
  • +
  • \r - retour charriot
  • +
  • \t - tabulation
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - apostrophe
  • +
+

La liste complète existe ici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_gr.html b/61_gr.html new file mode 100644 index 000000000..f47e6b460 --- /dev/null +++ b/61_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_hu.html b/61_hu.html new file mode 100644 index 000000000..3a29bcc3e --- /dev/null +++ b/61_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escape-elt karakterek

+

Van pár karakter, amit nehéz vizuálisan reprezentálni, ezért ezekre úgynevezett escape +code-okat (kikerülési kódokat) alkalmazunk, amikkel szimbólumokra cserélhetjük ezeket a +karaktereket.

+

A Rust a már C-ben is megszokott escape code-okat támogatja:

+
    +
  • \n - soremelés / újsor
  • +
  • \r - kocsivissza / kurzor a sor elejére
  • +
  • \t - tab
  • +
  • \\ - rep-jel / visszaper
  • +
  • \0 - null karakter
  • +
  • \' - aposztróf
  • +
+

Az ilyen szimbólumok teljes listáját itt találod angolul.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_id.html b/61_id.html new file mode 100644 index 000000000..adf2796dd --- /dev/null +++ b/61_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ie.html b/61_ie.html new file mode 100644 index 000000000..906469343 --- /dev/null +++ b/61_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caracteres de escapa

+

Quande representar un caractere es desfacil, un code de escapa fa it possibil.

+

In Rust es usat li comun codes de escapa trovat in lingues basat sur C.

+
    +
  • \n - nov linea
  • +
  • \r - coche-retorna (carriage return)
  • +
  • \t - tabellator
  • +
  • \\ - barre inversat
  • +
  • \0 - null
  • +
  • \' - quote singul
  • +
+

Li liste complet trova se ci

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_it.html b/61_it.html new file mode 100644 index 000000000..4eaa44f20 --- /dev/null +++ b/61_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Personaggi in fuga

+

È difficile rappresentare visivamente alcuni personaggi, quindi scappare i codici ci permettono di mettere un simbolo al loro posto.

+

Rust supporta i comuni codici di escape dei linguaggi basati su C:

+
    +
  • \n - nuova riga
  • +
  • \r - ritorno a capo
  • +
  • \t - tab
  • +
  • \\ - barra rovesciata
  • +
  • \0 - nullo
  • +
  • \' - virgoletta singola
  • +
+

L'elenco completo esiste here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ja.html b/61_ja.html new file mode 100644 index 000000000..dd8ddf5d1 --- /dev/null +++ b/61_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

エスケープ文字

+

特定の文字を視覚的に表現するのは難しいので、エスケープ コード を使用することでその場所に記号を挿入することができます。

+

RustではC言語の共通エスケープコードがサポートされています。:

+
    +
  • \n - 改行
  • +
  • \r - キャリッジ・リターン
  • +
  • \t - タブ
  • +
  • \\ - バックスラッシュ
  • +
  • \0 - null
  • +
  • \' - シングルクォート
  • +
+

エスケープ文字の一覧はここにあります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ko.html b/61_ko.html new file mode 100644 index 000000000..c3dad5454 --- /dev/null +++ b/61_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

예외처리문자

+

어떤 문자들은 시각적으로 표현하기 어려우므로, 예외처리 코드(escape code) 로 대체하여 씁니다.

+

Rust는 C 기반 언어들의 일반적인 예외처리 코드를 지원합니다:

+
    +
  • \n - 줄바꿈
  • +
  • \r - 캐리지리턴
  • +
  • \t - 탭
  • +
  • \\ - 역슬래시
  • +
  • \0 - null
  • +
  • \' - 작은 따옴표
  • +
+

전체 목록은 여기서 보실 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ne.html b/61_ne.html new file mode 100644 index 000000000..1057ee082 --- /dev/null +++ b/61_ne.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_pl.html b/61_pl.html new file mode 100644 index 000000000..aa46398ec --- /dev/null +++ b/61_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_pt-br.html b/61_pt-br.html new file mode 100644 index 000000000..599407863 --- /dev/null +++ b/61_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caractere de escape

+

É um desafio representar visualmente certos caracteres, portanto os códigos de escape nos permitem colocar um símbolo em seu lugar.

+

O Rust suporta códigos de escape comuns de linguagens baseadas em C:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

A lista completa está aqui.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ro.html b/61_ro.html new file mode 100644 index 000000000..7abce879f --- /dev/null +++ b/61_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Secvențe Escape

+

Este o provocare să reprezinți vizual anumite caractere, așa că secvențele escape (eng. escape codes) ne permit să le înlocuim cu un simbol.

+

Rust permite folosirea secvențelor escape comune ale limbajelor bazate pe C:

+
    +
  • \n - linie nouă (eng. newline)
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - bară oblică inversă (eng. backslash)
  • +
  • \0 - nul (eng. null)
  • +
  • \' - apostrof (eng. single-quote)
  • +
+

Lista completă poate fi consultată aici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ru.html b/61_ru.html new file mode 100644 index 000000000..e54b10c40 --- /dev/null +++ b/61_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Экранирующие символы (Escaping Characters)

+

Некоторые символы сложно представлять визуально, поэтому экранирующие коды (escape codes) позволяют размещать такие символы на их месте

+

Rust поддерживает общие экранирующие коды взятые из Cи-подобных яызков:

+
    +
  • \n - новая строка
  • +
  • \r - возврат каретки
  • +
  • \t - табуляция
  • +
  • \\ - обратный слэш
  • +
  • \0 - null
  • +
  • \' - одна кавычка
  • +
+

Полный список смотрите по ссылке здесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_th.html b/61_th.html new file mode 100644 index 000000000..ef5ad9d8e --- /dev/null +++ b/61_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escaping Characters

+

มีอักขระหลายตัวที่ไม่สามารถเห็นได้ด้วยตา escape codes จึงเข้ามาช่วยในเรื่องนี้

+

Rust รับรอง escape codes ที่ภาษา C ใช้กันอยู่แล้ว:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

ดูทั้งหมดได้ ที่นี่.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_tr.html b/61_tr.html new file mode 100644 index 000000000..1876f8198 --- /dev/null +++ b/61_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kaçış Karakterleri

+

Bazı karakterleri görsel olarak temsil etmek zor olduğundan, onları gösterebilmek için yerlerine kaçış kodu sembolleri koymamız gerekir.

+

Rust, C tabanlı dillerde yaygın olarak kullanılan kaçış kodlarını destekler:

+
    +
  • \n - yeni satır
  • +
  • \r - satır başı
  • +
  • \t - sekme
  • +
  • \\ - ters eğik çizgi
  • +
  • \0 - boş sonlandırma karakteri
  • +
  • \' - tek tırnak
  • +
+

Desteklenen kaçış karakterleri Listesinin tam hali burada yer almaktadır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_ua.html b/61_ua.html new file mode 100644 index 000000000..7ad9d4f25 --- /dev/null +++ b/61_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Екранування символів

+

Візуально представити певні символи складно, тому екранування дозволяє нам розмістити символ у потрібному місці.

+

Rust підтримує типові екрановані символи з С-подібних мов:

+
    +
  • \n - перехід на новий рядок
  • +
  • \r - повернення каретки
  • +
  • \t - табуляція
  • +
  • \\ - зворотній слеш
  • +
  • \0 - нуль
  • +
  • \' - одинарні лапки
  • +
+

Повний список знаходиться тут.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_vi.html b/61_vi.html new file mode 100644 index 000000000..4c4cd97bb --- /dev/null +++ b/61_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ký tự thoát(Escaping Characters)

+

Thật khó để thể hiện một cách trực quan các ký tự nhất định, vì vậy ** mã thoát ** cho phép chúng ta đặt một biểu tượng vào vị trí của chúng. +Rust hỗ trợ các mã thoát phổ biến từ các ngôn ngữ dựa trên C:

+
    +
  • \n - xuống dòng mới
  • +
  • \r - di chuyển con trỏ về đầu dòng
  • +
  • \t - tab
  • +
  • \\ - In ký tự \
  • +
  • \0 - NULL có mã ASII là 0
  • +
  • \' - In ký tự '
  • +
+

Danh sách hoàn chỉnh ở đây.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_zh-cn.html b/61_zh-cn.html new file mode 100644 index 000000000..1df7b4d4d --- /dev/null +++ b/61_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

转义字符

+

有些字符难以使用可视字符表示,这时可通过转义字符来表示这些字符。

+

Rust 支持类 C 语言中的常见转义字符;

+
    +
  • \n - 换行符
  • +
  • \r - 回车符(回到本行起始位置)
  • +
  • \t - 水平制表符(即键盘 Tab 键)
  • +
  • \\ - 代表单个反斜杠 \
  • +
  • \0 - 空字符(null)
  • +
  • \' - 代表单引号 '
  • +
+

完整的转义字符表在这

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/61_zh-tw.html b/61_zh-tw.html new file mode 100644 index 000000000..690207f6c --- /dev/null +++ b/61_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

跳脫字元

+

在畫面上要表示某些特定的字元是非常有挑戰性的,所以 跳脫符號 (escape codes) 允許我們用一個符號來表示。

+

Rust 支援 C 語言相關的跳脫符號:

+
    +
  • \n - 換行 (newline)
  • +
  • \r - 回車 (carriage return)
  • +
  • \t - tab
  • +
  • \\ - 反斜線 (backslash)
  • +
  • \0 - 空字元 (null)
  • +
  • \' - 單引號 (single-quote)
  • +
+

完整列表在這裡.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_al.html b/62_al.html new file mode 100644 index 000000000..f787ff243 --- /dev/null +++ b/62_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_ar.html b/62_ar.html new file mode 100644 index 000000000..e6dfc072e --- /dev/null +++ b/62_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلاسل النصية الحرفية متعددة الأسطر (Multi-line String Literals)

+

تكون السلاسل النصية في رست (Rust) متعددة الأسطر بشكل افتراضي.

+

استخدم \ في نهاية السطر إذا كنت لا تريد فاصل الأسطر.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_de.html b/62_de.html new file mode 100644 index 000000000..15f0e6a4b --- /dev/null +++ b/62_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String-Literale in mehreren Zeilen

+

Strings in Rust sind standardmäßig mehrzeilig.

+

Verwenden Sie am Ende der Zeile ein \, wenn Sie keinen Zeilenumbruch wünschen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_en.html b/62_en.html new file mode 100644 index 000000000..144b95323 --- /dev/null +++ b/62_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_es.html b/62_es.html new file mode 100644 index 000000000..d5f5318ab --- /dev/null +++ b/62_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadenas de Texto Multilínea

+

Las cadenas de Rust son multilíneas por defecto.

+

Usa \ al final de una línea si no quieres un salto de línea.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_fa.html b/62_fa.html new file mode 100644 index 000000000..073de1a76 --- /dev/null +++ b/62_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_fi.html b/62_fi.html new file mode 100644 index 000000000..11ed08d9a --- /dev/null +++ b/62_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_fr.html b/62_fr.html new file mode 100644 index 000000000..33422920a --- /dev/null +++ b/62_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chaînes de caractères sur plusieurs lignes

+

Avec Rust, les chaînes de caractères sont 'multi-lignes' par défaut.

+

Utilise \ à la fin d'une ligne si tu ne veux pas de retour à la ligne.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_gr.html b/62_gr.html new file mode 100644 index 000000000..17be6ca57 --- /dev/null +++ b/62_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_hu.html b/62_hu.html new file mode 100644 index 000000000..28161dfbe --- /dev/null +++ b/62_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Többsoros szöveg értékek

+

A Rust nyelv szövegei alapból többsorosak.

+

Ha szükséges egy \ jelet tehetsz a sor végére, mely esetén nem kerül sortörés a szövegbe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_id.html b/62_id.html new file mode 100644 index 000000000..227cb558a --- /dev/null +++ b/62_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_ie.html b/62_ie.html new file mode 100644 index 000000000..44faa0d9c --- /dev/null +++ b/62_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals sur Lineas Multiplic

+

Catenes in Rust es predefinit quam multilineal.

+

On usa un \ al fine de un linea si on ne vole que li linea mey rupter se.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_it.html b/62_it.html new file mode 100644 index 000000000..1d4a08151 --- /dev/null +++ b/62_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe letterali su più righe

+

Le stringhe di ruggine sono multiline per impostazione predefinita.

+

Usa un \ alla fine di una riga se non si desidera una pausa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_ja.html b/62_ja.html new file mode 100644 index 000000000..c45a804c1 --- /dev/null +++ b/62_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

複数行の文字列リテラル

+

Rustにおける文字列はデフォルトで複数行に対応しています。

+

改行したくない場合は、行の最後に \ を挿入しましょう。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_ko.html b/62_ko.html new file mode 100644 index 000000000..36be02f01 --- /dev/null +++ b/62_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러 줄로 된 문자열

+

Rust의 문자열은 기본적으로 여러 줄로 되어 있습니다.

+

줄바꿈 문자를 원하지 않을 경우, 줄 맨 뒤에 \를 사용하세요.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_ne.html b/62_ne.html new file mode 100644 index 000000000..302d66b9e --- /dev/null +++ b/62_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_pl.html b/62_pl.html new file mode 100644 index 000000000..beae512f3 --- /dev/null +++ b/62_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_pt-br.html b/62_pt-br.html new file mode 100644 index 000000000..c0d3f8003 --- /dev/null +++ b/62_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literais de string multilinhas

+

As strings no Rust são multilinha por padrão.

+

Use um \ no final da linha se você não quiser uma quebra de linha.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_ro.html b/62_ro.html new file mode 100644 index 000000000..1b7891e06 --- /dev/null +++ b/62_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere literale pe mai multe linii

+

Șirurile de caractere din Rust se întind, în mod implicit, pe mai multe linii.

+

Folosiți un \ la sfârșitul rândului dacă nu doriți să se facă o întrerupere de rând.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_ru.html b/62_ru.html new file mode 100644 index 000000000..7637c20c8 --- /dev/null +++ b/62_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Многострочные строковые литералы (Multi-line)

+

Строки в Rust являются по умолчанию многострочными.

+

Используйте символ \ в конце строки, если не хотите разрыва строки.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_th.html b/62_th.html new file mode 100644 index 000000000..3a2a127e4 --- /dev/null +++ b/62_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-line String Literals

+

สตริงใน Rust สามารถมีหลายบรรทัดมาตั้งแต่ต้น

+

หากไม่ต้องให้ตัดบรรทัดข้อความ ให้ใช้ \ ปิดท้ายบรรทัด

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_tr.html b/62_tr.html new file mode 100644 index 000000000..3cfad88f3 --- /dev/null +++ b/62_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çok Satırlı Dizgi Değişmezleri

+

Rust'ta dizgilerin çok satırlı olduğu varsayılır.

+

Eğer metninize otomatik olarak yeni satırların eklenmesini istemiyorsanız, satır sonlarında \ kullanmalısınız.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_ua.html b/62_ua.html new file mode 100644 index 000000000..c4b4a3f98 --- /dev/null +++ b/62_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Багаторядкові рядкові літерали

+

Текст у Rust є багаторядковим за замовчуванням.

+

Ви можете використовувати \ у кінці рядка, якщо ви не хочете +щоб він був перенесений на інший.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_vi.html b/62_vi.html new file mode 100644 index 000000000..a363319c3 --- /dev/null +++ b/62_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi ký tự nhiều dòng

+

Theo mặc định, các chuỗi của Rust là đa dòng(nhiều dòng).

+

Hãy dùng dấu \ ở cuối dòng nếu bạn không muốn ngắt dòng.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_zh-cn.html b/62_zh-cn.html new file mode 100644 index 000000000..9b6a8262c --- /dev/null +++ b/62_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多行字符串常量

+

Rust 中字符串默认支持分行。

+

使用 \ 可以使多行字符串不换行。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/62_zh-tw.html b/62_zh-tw.html new file mode 100644 index 000000000..bcffeee17 --- /dev/null +++ b/62_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多行字串常量

+

Rust 字串預設是多行的。

+

如果你不想要換行,在行尾使用一個 \ 就可以達成。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_al.html b/63_al.html new file mode 100644 index 000000000..8ca53dd8a --- /dev/null +++ b/63_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ar.html b/63_ar.html new file mode 100644 index 000000000..d1074ee7a --- /dev/null +++ b/63_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلاسل النصية الحرفية الخام (Raw String Literals)

+

تسمح لنا السلاسل النصية الخام (Raw strings) بكتابة سلسلة من الأحرف اللفظية (characters verbatim) تبدأ بـ r#" وتنتهي بـ "#. وهي تتيح لنا إدراج أحرف قد تخلط السلسلة النصية العادية عادية كونها حرفية (مثل علامات الاقتباس المزدوجة - double quotes - والخطوط المائلة العكسية - backslashes -).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_de.html b/63_de.html new file mode 100644 index 000000000..5326fe359 --- /dev/null +++ b/63_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rohe Literalzeichenfolgen

+

Rohzeichenfolgen (auf Englisch raw strings) ermöglichen es uns, eine Folge von Zeichen zu schreiben, Wort für Wort, beginnend mit r# und endend mit #. Dies ermöglicht uns das Einfügen +Zeichen, die sonst dazu führen könnten, dass wir eine normale Zeichenfolge mit einem Literal verwechseln (z. B. doppelte Anführungszeichen und Backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_en.html b/63_en.html new file mode 100644 index 000000000..7fc9e0870 --- /dev/null +++ b/63_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_es.html b/63_es.html new file mode 100644 index 000000000..733cefb2e --- /dev/null +++ b/63_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadenas de Texto sin Formato

+

Estas cadenas sin formato (raw) nos permiten escribir una secuencia de caracteres al pie de la letra, comenzando con r#" y terminando con "#. Gracias a ellos podemos insertar caracteres que de otra manera podrían confundir los textos de una cadena normal (como comillas dobles y barras invertidas).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_fa.html b/63_fa.html new file mode 100644 index 000000000..987a0e8f0 --- /dev/null +++ b/63_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_fi.html b/63_fi.html new file mode 100644 index 000000000..930b56d9a --- /dev/null +++ b/63_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_fr.html b/63_fr.html new file mode 100644 index 000000000..52b1a8ecc --- /dev/null +++ b/63_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chaînes de caractères bruts

+

Les chaînes de caractères bruts (en anglais raw string literals) permettent d'écrice textuellement +une séquence de caractères en commençant par r#" et finissant par "#. +Cela nous permet d'insérer des caractères qui seraient autrement pris +pour un autre (notamment les caractères " et **).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_gr.html b/63_gr.html new file mode 100644 index 000000000..a67de6da9 --- /dev/null +++ b/63_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_hu.html b/63_hu.html new file mode 100644 index 000000000..c029d275c --- /dev/null +++ b/63_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Nyers szöveg értékek

+

Az úgynevezett raw string-ek (nyers szövegek) lehetővé teszik számunkra, hogy a fordító +bármiféle átalakítás nélkül értelmezze a szövegünk. Egy ilyet a következő módon tudunk +készíteni:

+

r#"Ide jön a szöveg"#

+

Ezt használva bátran írhatunk olyan karaktereket és szimbólumokat, amiknek egyéb esetben más +jelentése vagy hatása volna, mint például az idézőjelek vagy az előbb említett escape code-ok.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_id.html b/63_id.html new file mode 100644 index 000000000..1e1095e66 --- /dev/null +++ b/63_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ie.html b/63_ie.html new file mode 100644 index 000000000..b4f05e28d --- /dev/null +++ b/63_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals Crud

+

Con raw strings (crud catenes de caracteres) noi posse scrir un sequentie de caracteres quel comensa con r#" e fini se con "# Talmen +noi posse inserter caracteres tales quam "" o \ queles normalmen es confusent in normal string literals.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_it.html b/63_it.html new file mode 100644 index 000000000..9ae4b7a08 --- /dev/null +++ b/63_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe letterali grezze

+

Le stringhe grezze ci consentono di scrivere una sequenza di caratteri parola per parola iniziando con r#" e termina con "#. Ci consente di inserire +caratteri che altrimenti potrebbero confondere una stringa normale come letterali (come virgolette doppie e barre rovesciate).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ja.html b/63_ja.html new file mode 100644 index 000000000..ddf1ae506 --- /dev/null +++ b/63_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

生文字列リテラル

+

生文字列では、r#"で始まり"#で終わる文字列を逐語的に書くことができます。 +これによって、通常の文字列との区別がつかない可能性のある文字をリテラルとして挿入することができます。(二重引用符やバックスラッシュなど)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ko.html b/63_ko.html new file mode 100644 index 000000000..20dd2a10b --- /dev/null +++ b/63_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

원시 문자열

+

원시 문자열은 r#"로 시작하고 "#로 끝나며 문자열을 있는 그대로 쓰는데 쓰입니다. +일반 문자열을 여럿으로 착각하게 할만한 문자들(큰 따옴표나 역슬래시처럼)을 넣을 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ne.html b/63_ne.html new file mode 100644 index 000000000..9e5df7466 --- /dev/null +++ b/63_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_pl.html b/63_pl.html new file mode 100644 index 000000000..8f917b792 --- /dev/null +++ b/63_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_pt-br.html b/63_pt-br.html new file mode 100644 index 000000000..581252b09 --- /dev/null +++ b/63_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literais de string brutas

+

As strings brutas nos permitem escrever uma sequência de caracteres literais começando com r#" e terminando com "#. Ela nos permite inserir caracteres que, de outra forma, poderiam confundir uma string normal com literais (como aspas duplas e barras invertidas).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ro.html b/63_ro.html new file mode 100644 index 000000000..072c55ce2 --- /dev/null +++ b/63_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere literale brute

+

Șirurile de caractere brute (eng. raw strings) ne permit scrierea unei secvențe de caractere, cuvânt cu cuvânt, începând cu r#" și terminând cu "#. Acest lucru ne permite să inserăm +caractere care altfel ne-ar putea face să confundăm un șir de caractere normal cu unul literal (cum ar fi ghilimele duble și backslash-uri).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ru.html b/63_ru.html new file mode 100644 index 000000000..74fed950c --- /dev/null +++ b/63_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Сырые (необработанные) строковые литералы (Raw String Literals)

+

Необработанные строки позволяют написать дословно последовательность символов, начиная ее символом r#" и заканчивая символом "#. Это позволяет вставлять символы, +которые в противном случае могли бы сбивать с толку обычные литеральные строки (например, двойные кавычки и обратная косая черта).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_th.html b/63_th.html new file mode 100644 index 000000000..56bd36434 --- /dev/null +++ b/63_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw String Literals

+

Raw strings ทำให้เราเขียนลำดับอักขระแบบตรงตัวได้โดยให้ขึ้นต้นด้วย r#" และปิดท้ายด้วย "# ทำแบบนี้ช่วยให้เราสามารถแทรกอักขระอาจทำให้สับสนว่า มันอยู่ในฐานะสตริง หรือควรเป็นข้อความ (อย่างเช่นเครื่องหมายคำพูด และ แบ็กสแลช)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_tr.html b/63_tr.html new file mode 100644 index 000000000..2738d0101 --- /dev/null +++ b/63_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ham Dizgi Değişmezleri

+

Ham dizgiler, r#" ile başlayan ve "# ile biten karakter dizileri olduklarından, içlerinde yer alan normal dizgi değerlerine çift tırnak, eğik çizgi gibi karakterleri, değişmez değerler olarak ekleyebilmemize izin verirler.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_ua.html b/63_ua.html new file mode 100644 index 000000000..487eafd37 --- /dev/null +++ b/63_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Необроблені рядкові літерали

+

Необроблені рядки дозволяють нам записати послідовність символів дослівно, починаючи з r#" і закінчуючи"#. Це дає нам можливість вставляти +символи, які інакше можуть сплутати звичайний рядок із літералами (наприклад подвійні лапки та зворотні слеші).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_vi.html b/63_vi.html new file mode 100644 index 000000000..60d1dbcad --- /dev/null +++ b/63_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi thô(Raw String Literals)

+

Chuỗi thô cho phép chúng ta viết một chuỗi ký tự nguyên văn bằng cách bắt đầu bằng r#"và kết thúc bằng "#. Nó cho phép chúng ta chèn các ký tự có thể gây nhầm lẫn cho một chuỗi bình thường là các ký tự (như dấu ngoặc kép và dấu gạch chéo ngược).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_zh-cn.html b/63_zh-cn.html new file mode 100644 index 000000000..93d7ff550 --- /dev/null +++ b/63_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

原始字符串常量

+

原始字符串支持写入原始的文本而无需为特殊字符转义,因而不会导致可读性下降(如双引号与反斜杠无需写为 \"\\),只需以 r#" 开头,以 "# 结尾。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/63_zh-tw.html b/63_zh-tw.html new file mode 100644 index 000000000..734faa7f6 --- /dev/null +++ b/63_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

原始字串常量 (raw string literals)

+

在開頭使用 r#" 且結尾使用 "#,就可以使用原始字串常量,它允許我們逐字寫下一連串的字元。 它讓我們可以插入一些可能會跟一般字串搞混的字元 (例如雙引號或是反斜線)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/64_al.html b/64_al.html new file mode 100644 index 000000000..2bc259ef9 --- /dev/null +++ b/64_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_ar.html b/64_ar.html new file mode 100644 index 000000000..36b4587fb --- /dev/null +++ b/64_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلاسل النصية الحرفية من ملفات (String Literals From Files)

+

إذا كان لديك نص كبير جدًا، فكر في استخدام الماكرو include_str! لتضمين نص من الملفات المحلية في برنامجك:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_de.html b/64_de.html new file mode 100644 index 000000000..e7a7d23ec --- /dev/null +++ b/64_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literale Zeichenfolgen aus Dateien

+

Wenn Sie sehr großen Text haben, sollten Sie das Makro „include_str!“ verwenden So fügen Sie Text aus lokalen Dateien in Ihr Programm ein:

+
let halo_html = include_str!("halo.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_en.html b/64_en.html new file mode 100644 index 000000000..ce162707a --- /dev/null +++ b/64_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_es.html b/64_es.html new file mode 100644 index 000000000..5bb2b854b --- /dev/null +++ b/64_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadenas de Texto desde Archivos

+

Si tienes un texto muy grande, puedes usar la macro include_str! para incluir texto de archivos locales en tu programa:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_fa.html b/64_fa.html new file mode 100644 index 000000000..09ba84347 --- /dev/null +++ b/64_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_fi.html b/64_fi.html new file mode 100644 index 000000000..ef01cde43 --- /dev/null +++ b/64_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_fr.html b/64_fr.html new file mode 100644 index 000000000..244992780 --- /dev/null +++ b/64_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chaînes de caractères depuis un fichier

+

Si tu as du texte très volumineux à lire depuis un fichier en local, +tu peux utiliser la macro include_str!:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_gr.html b/64_gr.html new file mode 100644 index 000000000..28ff40c27 --- /dev/null +++ b/64_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_hu.html b/64_hu.html new file mode 100644 index 000000000..f50f3e72b --- /dev/null +++ b/64_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fájlokból betöltött szöveg értékek

+

Ha egy nagyon nagy szöveget szeretnél a programodban elhelyezni, az include_str! makróval +egy fájl szövegét egy-az-egyben be tudod másolni egy változóba.

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_id.html b/64_id.html new file mode 100644 index 000000000..7e31b0be3 --- /dev/null +++ b/64_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_ie.html b/64_ie.html new file mode 100644 index 000000000..3e7cef007 --- /dev/null +++ b/64_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals ex Archives

+

Si on possede mult textu, on posse usar li macro include_str! por includer li textu de archives local in li programma:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_it.html b/64_it.html new file mode 100644 index 000000000..85de80b4a --- /dev/null +++ b/64_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe letterali da file

+

Se hai del testo molto grande, considera l'utilizzo della macro include_str! per includi testo da file locali nel tuo programma:

+

"ruggine". +let ciaohtml = includestr!("ciao.html"); +```

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_ja.html b/64_ja.html new file mode 100644 index 000000000..01f6b357e --- /dev/null +++ b/64_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ファイルから文字列リテラルを読み込む

+

非常に大きなテキストがある場合は, include_str! というマクロを使って ローカルファイルのテキストをプログラムの中でインクルードしてみてください。:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_ko.html b/64_ko.html new file mode 100644 index 000000000..e6f6660a0 --- /dev/null +++ b/64_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

파일에서 문자열 가져오기

+

매우 큰 텍스트가 필요하다면 include_str! macro를 이용하여 로컬 파일에서 텍스트를 읽어오는 것을 고려해보세요:

+
let 00_html = include_str!("00_ko.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_ne.html b/64_ne.html new file mode 100644 index 000000000..3e699513d --- /dev/null +++ b/64_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_pl.html b/64_pl.html new file mode 100644 index 000000000..96ff144bf --- /dev/null +++ b/64_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_pt-br.html b/64_pt-br.html new file mode 100644 index 000000000..fcaf9a1a2 --- /dev/null +++ b/64_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literais de string de arquivos

+

Se você possui um texto muito grande, considere usar a macro include_str! para incluir texto de arquivos locais no seu programa:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_ro.html b/64_ro.html new file mode 100644 index 000000000..4a93f97a8 --- /dev/null +++ b/64_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere literale din fișiere

+

Dacă aveți un text foarte mare, luați în considerare utilizarea macroului include_str! pentru a include text din fișiere locale în programul dumneavoastră:

+
let salut_html = include_str!("salut.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_ru.html b/64_ru.html new file mode 100644 index 000000000..af1a5c385 --- /dev/null +++ b/64_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Строковые литераты из файлов

+

Если у вас очень большой текст, попробуйте использовать макрос include_str! для включения текста из локальных файлов в вашу программу:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_th.html b/64_th.html new file mode 100644 index 000000000..067486442 --- /dev/null +++ b/64_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals From Files

+

หากคุณมีข้อความขนาดใหญ่มากให้ลองใช้มาโคร include_str! เพื่อนำข้อความจากไฟล์ในเครื่อง เข้ามาในโปรแกรมของคุณ:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_tr.html b/64_tr.html new file mode 100644 index 000000000..9c58daf60 --- /dev/null +++ b/64_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dosyadan Edinilen Dizgi Değişmezleri

+

Yerel dosyanızda bulunan büyükçe bir metni programınıza dahil etmek istediğinizde, include_str! makrosundan yararlanmaya çalışın:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_ua.html b/64_ua.html new file mode 100644 index 000000000..49300d22c --- /dev/null +++ b/64_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Рядкові літерали з файлів

+

Якщо у вас є дуже великий текст, спробуйте використати для нього макрос include_str!, щоб включити текст із локальних файлів у вашу програму:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_vi.html b/64_vi.html new file mode 100644 index 000000000..019190ebd --- /dev/null +++ b/64_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi ký tự từ File

+

Nếu bạn có một số văn bản rất lớn, hãy xem xét sử dụng macro include_str! để bao gồm văn bản từ các tệp cục bộ trong chương trình của bạn:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_zh-cn.html b/64_zh-cn.html new file mode 100644 index 000000000..5f06c2233 --- /dev/null +++ b/64_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文件中的字符串常量

+

如果你需要使用大量文本,可以尝试用宏 include_str! 来从本地文件中导入文本到程序中:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/64_zh-tw.html b/64_zh-tw.html new file mode 100644 index 000000000..229c2d6c3 --- /dev/null +++ b/64_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從檔案來的字串常量

+

如果你有一些非常長的文字,可以考慮使用巨集 (marco) include_str! 將字串從本地檔案讀到你的程式裡:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/65_al.html b/65_al.html new file mode 100644 index 000000000..b517fffd1 --- /dev/null +++ b/65_al.html @@ -0,0 +1,55 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ar.html b/65_ar.html new file mode 100644 index 000000000..00fc46a68 --- /dev/null +++ b/65_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

شريحة سلسلة نصية (String Slice)

+

شريحة سلسلة نصية (string slice) هي مرجع (reference) لسلسلة من البايتات (sequence of bytes) في الذاكرة والتي يجب أن تكون دائمًا رموز utf-8 صالحة.

+

يجب أن تكون شريحة السلسلة النصية (شريحة فرعية (sub-slice)) من شريحة str أيضًا رموز utf-8 صالحة.

+

توابع شائعة لـ &str :

+
    +
  • len ينتج طول السلسلة النصية الحرفية (string literal) بالبايت (ليس عدد الأحرف).
  • +
  • starts_with/ends_with للاختبار الأساسي.
  • +
  • is_empty يرجع صحيح (true) إذا كان الطول صفرا.
  • +
  • find ترجع Option<usize> للموضع الأول لبعض النص (some text).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_de.html b/65_de.html new file mode 100644 index 000000000..a988d482e --- /dev/null +++ b/65_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zeichen-Teilzeichenfolgen

+

Eine Teilzeichenfolge von Zeichen (im Englischen string slice) ist ein Verweis auf eine Folge von Bytes im Speicher, die vorhanden sein müssen immer im gültigen UTF-8-Format vorliegen. +Ein Teilstring eines Teilstrings (auf Englisch sub-slice) von „str“ muss ebenfalls im gültigen UTF-8-Format vorliegen.

+

Gängige Methoden von &str:

+
    +
  • len ermitteln Sie die Länge des Zeichenfolgenliterals in Bytes (nicht die Anzahl der Zeichen).
  • +
  • starts_with/ends_with für Grundprüfungen.
  • +
  • is_empty gibt true zurück, wenn die Länge null ist.
  • +
  • find gibt einen zurück Option<usize> der ersten Stelle in einem Text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_en.html b/65_en.html new file mode 100644 index 000000000..963e29897 --- /dev/null +++ b/65_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_es.html b/65_es.html new file mode 100644 index 000000000..6dcf614ca --- /dev/null +++ b/65_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadena Slice

+

Una cadena slice es una referencia a una secuencia de bytes en la memoria que siempre debe ser UTF-8.

+

Una cadena slice (un sub-slice) de un slice str, también debe ser UTF-8.

+

Métodos comunes de &str:

+
    +
  • len obtiene la longitud de la cadena literal en bytes (no el número de caracteres).
  • +
  • starts_with/ends_with para pruebas básicas.
  • +
  • is_empty para saber si una cadena no contiene caracteres.
  • +
  • find devuelve una Option<usize> de la primera posición de algún texto.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_fa.html b/65_fa.html new file mode 100644 index 000000000..72f5dafbf --- /dev/null +++ b/65_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_fi.html b/65_fi.html new file mode 100644 index 000000000..97d3642a2 --- /dev/null +++ b/65_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_fr.html b/65_fr.html new file mode 100644 index 000000000..1f7ea1b06 --- /dev/null +++ b/65_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

Une 'slice' (littéralement tranche) de chaîne de caractères est une référence +à une séquence de bytes en mémoire qui doit être de l'utf-8 valide. Elle fait référence +à une partie ou la totalité d'une chaîne de caractères.

+

Une 'slice' (également nommée 'sub-slice') d'une 'slice' str doit également être de l'utf-8 valide.

+

Méthodes utiles de &str:

+
    +
  • len retourne la taille de la chaîne de caractères en bytes (pas le nombre de caractères!).
  • +
  • starts_with/ends_with pour tester si la chaîne de caractères commence ou finit par un certain motif.
  • +
  • is_empty retourne vrai si la taille est zéro.
  • +
  • find retourne une structure de type Option<usize> donnant la première position du modif à trouver.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_gr.html b/65_gr.html new file mode 100644 index 000000000..22973b890 --- /dev/null +++ b/65_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_hu.html b/65_hu.html new file mode 100644 index 000000000..10a8b09de --- /dev/null +++ b/65_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szöveg szeletek

+

A string slice (szöveg szelet) egy memóriában lévő, csak érvényes utf-8 értékeket tartalmazó +bájtszekvenciára mutató referencia.

+

Egy str-ből készült slice-nál is teljesülnie kell ezeknek a feltételeknek.

+

A &str gyakran használt metódusai:

+
    +
  • len - A szöveg hosszát adja meg bájtokban (nem azt, hogy hány karakterből áll!)

  • +
  • starts_with/ends_with - Ellenőrizni lehet velük, hogy a szöveg egy bizonyos módon kezdődik +vagy végződik-e.

  • +
  • is_empty - Igaz, ha len == 0.

  • +
  • find - Megpróbálja megkeresni az első paraméter első előfordulását a szövegben, majd ennek +indexével tér vissza egy Option<usize> képében. Ha nem talál ilyet, a visszatérési érték +None.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_id.html b/65_id.html new file mode 100644 index 000000000..c11502ea5 --- /dev/null +++ b/65_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ie.html b/65_ie.html new file mode 100644 index 000000000..b690c77a4 --- /dev/null +++ b/65_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

Un string slice (tranche de un catene de caracteres) es un referentie a un sequentie de bytes in memorie quel deve sempre esser +valid utf-8

+

Anc un string slice (un tal-nominat sub-slice) de un str slice deve esser valid utf-8.

+

Metodes comun de &str:

+
    +
  • Con len on obtene li longore del string literal in bytes (ne li númere de caracteres).
  • +
  • starts_with/ends_with por comparar to quo trova se al comense o al fine del catene
  • +
  • is_empty retorna true si li longore es zero
  • +
  • find retorna un Option<usize> del unesim position de alquel textu
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_it.html b/65_it.html new file mode 100644 index 000000000..1782db3b0 --- /dev/null +++ b/65_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fetta di corda

+

Una porzione di stringa è un riferimento a una sequenza di byte in memoria che deve essere sempre valido utf-8.

+

Anche una porzione di stringa (una sotto-fetta) di una porzione str deve essere utf-8 valida.

+

Metodi comuni di &str:

+
    +
  • len ottiene la lunghezza della stringa letterale in byte (non il numero di caratteri).
  • +
  • starts_with/ends_with per test di base.
  • +
  • is_empty restituisce vero se la lunghezza è zero.
  • +
  • find restituisce una Option<usize> della prima posizione di del testo.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ja.html b/65_ja.html new file mode 100644 index 000000000..ee6160365 --- /dev/null +++ b/65_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列スライス

+

文字列スライスは、常に有効な utf-8 でなければならないメモリ内のバイト列への参照です。

+

文字列のスライス(サブスライス)である str のスライスも有効な utf-8 でなければなりません。

+

&str の一般的なメソッド:

+
    +
  • len は文字列リテラルの長さをバイト単位で取得します。(文字数ではない)
  • +
  • 基本的なテストのための starts_with/ends_with
  • +
  • is_empty は長さがゼロの時にtrueを返します。
  • +
  • find はテキストの最初の位置の Option<usize> を返します。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ko.html b/65_ko.html new file mode 100644 index 000000000..f262b8f89 --- /dev/null +++ b/65_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

문자열 슬라이스

+

문자열 slice는 메모리 상의 바이트 열에 대한 참조이며, 언제나 유효한 utf-8이어야 합니다.

+

str slice의 문자열 slice (sub-slice)도 역시 유효한 utf-8이어야 합니다.

+

&str의 흔히 사용되는 메소드는 다음과 같습니다:

+
    +
  • len은 문자열의 바이트 길이(글자수가 아닌)를 가져옵니다.
  • +
  • starts_with/ends_with는 기본적인 비교에 쓰입니다.
  • +
  • is_empty는 길이가 0일 경우 true를 리턴합니다.
  • +
  • find는 주어진 텍스트가 처음 등장하는 위치인 Option<usize> 값을 리턴합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ne.html b/65_ne.html new file mode 100644 index 000000000..05b378555 --- /dev/null +++ b/65_ne.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_pl.html b/65_pl.html new file mode 100644 index 000000000..e237a35e8 --- /dev/null +++ b/65_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_pt-br.html b/65_pt-br.html new file mode 100644 index 000000000..1b7216ad6 --- /dev/null +++ b/65_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fatia de string

+

Uma fatia de string é uma referência a uma sequência de bytes na memória que deve ser sempre utf-8 válido.

+

Uma fatia de string (uma subfatia) de uma fatia de str também deve ser utf-8 válido.

+

Métodos comuns de &str:

+
    +
  • len obtém o comprimento da string literal em bytes (não o número de caracteres).
  • +
  • starts_with/ends_with para testes básicos.
  • +
  • is_empty retorna true se o comprimento for zero.
  • +
  • find retorna um Option<usize> da primeira posição de um texto.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ro.html b/65_ro.html new file mode 100644 index 000000000..f1c906629 --- /dev/null +++ b/65_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Subșiruri de caractere

+

Un subșir de caractere (eng. string slice) este o referință la o secvență de octeți din memorie ce trebuie să fie întotdeauna în format utf-8 valid. +Un subșir al unui subșir (în engleză sub-slice) de str, trebuie să fie, de asemenea, în format utf-8 valid. +Metode comune ale &str:

+
    +
  • len obține lungimea șirului literal în octeți (nu numărul de caractere).
  • +
  • starts_with/ends_with pentru teste de bază.
  • +
  • is_empty returnează true dacă lungimea este zero.
  • +
  • find returnează un Option<usize> al primei poziții dintr-un text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ru.html b/65_ru.html new file mode 100644 index 000000000..6f0b1013e --- /dev/null +++ b/65_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Строковые срезы (String Slice)

+

Строковым срезом является ссылка на последовательность байт в памяти, которые всегда должны быть действительными символами в кодировке utf-8.

+

Строковый срез (саб-срез) от среза str, также должен быть действительным в utf-8.

+

Общие методы типа &str:

+
    +
  • len возвращает длину строкового литерала в байтах (а не количества символов)
  • +
  • starts_with/ends_with для базового тестирования (начинается с, заканчивается на).
  • +
  • is_empty возвращает true, если строка имеет нулевую длину.
  • +
  • find возвращает тип Option<usize> первой позиции некоторого текста.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_th.html b/65_th.html new file mode 100644 index 000000000..e561425b9 --- /dev/null +++ b/65_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

string slice ใดก็ตามคือการอ้างถึง ไบต์กลุ่มหนึ่งในหน่วยความจำที่อยู่ในรูป utf-8 ที่ถูกต้องเสมอ

+

string slice (ส่วนย่อย) แต่ละชิ้นของ str ก็ต้องเป็น utf-8 ที่ถูกต้องแน่นอนเช่นกัน

+

เมธอดที่ใช้โดยทั่วไปของ &str ได้แก่:

+
    +
  • len จะคือค่าความยาวของข้อความ string ในขนาดของไบต์ (ไม่ใช่ขนาดของตัวอักขระ)
  • +
  • starts_with/ends_with ใช้ทดสอบแบบง่ายๆ
  • +
  • is_empty คือค่า true ถ้าความยาวเป็นศูนย์
  • +
  • find คืน Option<usize> ที่เป็นตำแหน่งแรกของคำที่ต้องการค้นหา
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_tr.html b/65_tr.html new file mode 100644 index 000000000..2dcf82771 --- /dev/null +++ b/65_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgi Dilimleri

+

Dizgi dilimleri, bellekteki bayt dizisini gösteren birer referans olduklarından, daima utf-8 biçiminde kodlanmış geçerli karakterlerden oluşturulmalıdırlar. Bunlar, bir karakter dizgisinin bir bölümünü yahut tamamını ifade ederken kullanılırlar.

+

Aynı zamanda alt dilim olarak adlandırılan, bir str dilimini gösteren başka dizgi dilimi de utf-8 biçiminde kodlanmış geçerli karakterlerden oluşmak zorundadır.

+

Yaygın olarak kullanılan &str yöntemleri:

+
    +
  • len metodu, dizgi değişmezinin uzunluğunu karakter sayısı olarak değil bayt cinsinden döndürür.
  • +
  • Dizginin belirli bir örüntü ile başlayıp başlamadığını test etmek için starts_with/ends_with metodları kullanılır.
  • +
  • Dizgi uzunluğu sıfır bayta eşitse is_empty metodu, true değer döndürecektir.
  • +
  • find metodu kullanıldığında, metnin ilk konumunu gösteren bir Option<usize> türü döndürlür.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_ua.html b/65_ua.html new file mode 100644 index 000000000..6073e6944 --- /dev/null +++ b/65_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Рядкові зрізи (String Slice)

+

Зріз рядка — це посилання на послідовність байтів у пам’яті, яка завжди має бути дійсною у utf-8.

+

Фрагмент рядка (підфрагмент) фрагмента str також має бути дійсним у utf-8. +Розповсюдженеі методи &str:

+
    +
  • len бере довжину рядка у байтах (не у кількості символів).
  • +
  • starts_with/ends_with для базового тестування.
  • +
  • is_empty повертає true, якщо рядок порожній.
  • +
  • find повертає Option<usize> першої позиції певного тексту.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_vi.html b/65_vi.html new file mode 100644 index 000000000..d70b4fe1b --- /dev/null +++ b/65_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lát cắt chuỗi (String Slice)

+

Một lát cắt chuỗi là một tham chiếu đến một chuỗi byte trong bộ nhớ mà phải luôn có giá trị utf-8.

+

Một lát chuỗi (một lát con) của một lát str- một str slice, cũng phải là utf-8 hợp lệ.

+

Các phương thức phổ biến của &str:

+
    +
  • len nhận độ dài của chuỗi theo nghĩa đen tính bằng byte (không phải số ký tự).
  • +
  • starts_with/ends_with để thử nghiệm cơ bản.
  • +
  • is_empty trả về true nếu độ dài bằng không.
  • +
  • find trả về một Option<usize> của vị trí đầu tiên của một số văn bản.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_zh-cn.html b/65_zh-cn.html new file mode 100644 index 000000000..bbdd49f23 --- /dev/null +++ b/65_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串片段(String Slice)

+

字符串片段是对内存中字节序列的引用,而且这段字节序列必须是合法的 utf-8 字节序列。

+

str 片段的字符串片段(子片段),也必须是合法的 utf-8 字节序列。

+

&str 的常用方法:

+
    +
  • len 获取字符串常量的字节长度(不是字符长度)。
  • +
  • starts_with/ends_with 用于基础测试。
  • +
  • is_empty 长度为 0 时返回 true。
  • +
  • find 返回 Option<usize>,其中的 usize 为匹配到的第一个对应文本的索引值。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/65_zh-tw.html b/65_zh-tw.html new file mode 100644 index 000000000..6c043e7f0 --- /dev/null +++ b/65_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串切片 (string slice)

+

一個字串切片是一個指到記憶體裡一連串位元組的參考,而且必定是合法的 utf-8。

+

一個 str 切片的字串切片 (一個子切片),必定也是合法的 utf-8。

+

常見的 &str 方法:

+
    +
  • len 取得該字串的位元組長度 (不是字元數量)。
  • +
  • starts_with/ends_with 為基本測試。
  • +
  • is_empty 回傳 true 如果長度是 0。
  • +
  • find 回傳第一個位置的 Option<usize>
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_al.html b/66_al.html new file mode 100644 index 000000000..44bf3d2b7 --- /dev/null +++ b/66_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_ar.html b/66_ar.html new file mode 100644 index 000000000..50d52a22b --- /dev/null +++ b/66_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الحرف (Chars)

+

نظرا لوجود صعوبة كبيرة في العمل مع Unicode، يقدم رست (Rust) طريقة لجلب تسلسل من بايتات utf-8 كمتجهة (vector) من الأحرف ذات النوع char.

+

يبلغ طول الحرف (char) دائمًا 4 بايت (مما يسمح بالبحث الفعال عن الأحرف الفردية).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_de.html b/66_de.html new file mode 100644 index 000000000..7e5aef3c9 --- /dev/null +++ b/66_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

der Typ `char`

+

Angesichts der vielen Schwierigkeiten bei der Arbeit mit Unicode bietet Rust eine Möglichkeit dazu Nimmt eine Folge von UTF-8-Bytes als Zeichenvektor vom Typ char.

+

Ein char ist immer 4 Bytes lang (was eine effiziente Suche nach einzelnen Zeichen ermöglicht).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_en.html b/66_en.html new file mode 100644 index 000000000..e770a8d8f --- /dev/null +++ b/66_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_es.html b/66_es.html new file mode 100644 index 000000000..489a0d22f --- /dev/null +++ b/66_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

Debido a la dificultad para trabajar con unicode, Rust ofrece una forma de recuperar una secuencia de bytes UTF-8 en un vector de caracteres de tipo char.

+

Un char siempre tiene 4 bytes de longitud (lo que permite una búsqueda eficiente de los caracteres individuales).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_fa.html b/66_fa.html new file mode 100644 index 000000000..c933ee9dd --- /dev/null +++ b/66_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_fi.html b/66_fi.html new file mode 100644 index 000000000..cbcdf2581 --- /dev/null +++ b/66_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_fr.html b/66_fr.html new file mode 100644 index 000000000..47b228a59 --- /dev/null +++ b/66_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

Du fait de la difficulté de travailler avec des caractères unicodes, +Rust offre un moyen de récupérer une séquence d'octets utf-8 sous forme +de vecteur de caractères de type char.

+

Un char possède toujours une taille de 4 bytes (rendant la recherche +d'un caractère particulier d'une chaîne de caractères plus rapide).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_gr.html b/66_gr.html new file mode 100644 index 000000000..037498e41 --- /dev/null +++ b/66_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_hu.html b/66_hu.html new file mode 100644 index 000000000..ab0bb81d0 --- /dev/null +++ b/66_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Char-ok

+

Mivel az Unicode használata igencsak nehézkes, a Rust lehetőséget ad arra, hogy egy utf-8 +bájtszekvenciát char típusú vektorként kérjünk le.

+

Az ilyen char-ok mindig 4 bájtosak, így a belőlük összeállított vektorba könnyű indexelni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_id.html b/66_id.html new file mode 100644 index 000000000..20affc624 --- /dev/null +++ b/66_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_ie.html b/66_ie.html new file mode 100644 index 000000000..64d919cf9 --- /dev/null +++ b/66_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

Nam utilisar unicode posse esser desfacil, in Rust on posse retrovar un sequentie de bytes in utf-8 quam un vector de caracteres del tip char (caractere).

+

Un char possede sempre un grandore de 4 bytes, con quel on posse facilmen trovar caracteres individual.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_it.html b/66_it.html new file mode 100644 index 000000000..454ab8599 --- /dev/null +++ b/66_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caratteri

+

Con così tante difficoltà nel lavorare con Unicode, Rust offre un modo per farlo recupera una sequenza di byte utf-8 come vettore di caratteri di tipo "char".

+

Un "char" è sempre lungo 4 byte (consentendo una ricerca efficiente dei singoli file caratteri).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_ja.html b/66_ja.html new file mode 100644 index 000000000..ba8f8f56e --- /dev/null +++ b/66_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

Unicodeでの作業が非常に困難なため、Rustではutf-8バイトのシーケンスを char 型の文字のベクトルとして取得する方法が提供されています。

+

char` は常に 4 バイトの長さです。(これによって個々の文字を効率的に検索できるようになっています)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_ko.html b/66_ko.html new file mode 100644 index 000000000..6b185ce6f --- /dev/null +++ b/66_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

문자

+

유니코드를 다루는 것이 꽤나 어렵다보니, Rust에서는 utf-8 바이트 열을 char 자료형의 vector로 돌려주는 기능을 제공합니다.

+

char 하나는 4 바이트입니다 (각각의 문자를 효율적으로 찾을 수 있습니다).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_ne.html b/66_ne.html new file mode 100644 index 000000000..780991236 --- /dev/null +++ b/66_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_pl.html b/66_pl.html new file mode 100644 index 000000000..90b7b7159 --- /dev/null +++ b/66_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_pt-br.html b/66_pt-br.html new file mode 100644 index 000000000..335b1242f --- /dev/null +++ b/66_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caracteres

+

Com tanta dificuldade para trabalhar com Unicode, o Rust oferece uma maneira de recuperar uma sequência de bytes utf-8 como um vetor de caracteres do tipo char.

+

Um char sempre tem 4 bytes de comprimento (permitindo uma pesquisa eficiente de caracteres individuais).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_ro.html b/66_ro.html new file mode 100644 index 000000000..bc869615b --- /dev/null +++ b/66_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipul char

+

Cu atâtea dificultăți în lucrul cu Unicode, Rust oferă o modalitate de a prelua o secvență de octeți utf-8 ca un vector de caractere de tip char.

+

Un char are întotdeauna o lungime de 4 octeți (ceea ce permite o căutare eficientă după caractere individuale).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_ru.html b/66_ru.html new file mode 100644 index 000000000..b1e04a7ef --- /dev/null +++ b/66_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Символы (Chars)

+

Несмотря на большие трудности при работе с Unicode, Rust предлагает способ получить последовательность utf-8 байт как вектор символов типа char.

+

Длина char всегда 4 байта (для эффективного поиска отдельных символов).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_th.html b/66_th.html new file mode 100644 index 000000000..04dd10829 --- /dev/null +++ b/66_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

การทำงานกับ Unicode นั้นค่อนข้างยุ่งยากมาก Rust จึงเสนอวิธีการดึงข้อมูล ไบต์ของ utf-8 ออกมาเป็นเวกเตอร์ของตัวแปรแบบ char

+

char แต่ละตัวจะยาว 4ไบต์เสมอ (ซึ่งจะช่วยให้การหาค่าแต่ละตัวทำได้อย่างมีประสิทธิภาพ)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_tr.html b/66_tr.html new file mode 100644 index 000000000..b871795ce --- /dev/null +++ b/66_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Karakterler

+

Rust, Unicode ile çalışmanın getirdiği zorluklardan dolayı, UTF-8 bayt dizisini char türündeki karakterlerden oluşan, vektörler şeklinde elde edip işlememize olanak sağlar.

+

char olarak temsil edilen karakterlerin her biri 4 bayt uzunluğunda olduğundan, ait oldukları dizi arandığında belirli bir karaktere ulaşmak kolaylaşır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_ua.html b/66_ua.html new file mode 100644 index 000000000..0136aa2a6 --- /dev/null +++ b/66_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Char

+

З такими труднощами в роботі з Unicode, Rust пропонує спосіб отримати послідовність байтів utf-8 як вектор символів типу char.

+

char завжди має довжину 4 байти (що дозволяє ефективно шукати окремі символи).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_vi.html b/66_vi.html new file mode 100644 index 000000000..4aa26e1af --- /dev/null +++ b/66_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ký tự (Chars)

+

Với rất nhiều khó khăn khi làm việc với Unicode, Rust đưa ra một cách để lấy một chuỗi utf-8 byte dưới dạng vectơ gồm các ký tự kiểu char.

+

Một char luôn dài 4 byte (cho phép tra cứu hiệu quả các ký tự riêng lẻ).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_zh-cn.html b/66_zh-cn.html new file mode 100644 index 000000000..218ed56e0 --- /dev/null +++ b/66_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Char

+

为了解决使用 Unicode 带来的麻烦,Rust 提供了将 utf-8 字节序列转化为类型 char 的 vector 的方法。

+

每个 char 长度都为 4 字节(可提高字符查找的效率)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/66_zh-tw.html b/66_zh-tw.html new file mode 100644 index 000000000..3a0932d0d --- /dev/null +++ b/66_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字元 (chars)

+

與萬國碼一起工作有許多困難的地方,Rust 提供了一個方法可以取得一個 utf-8 位元組的字元向量,它的型別是 char

+

一個 char 的大小永遠是 4 個位元組 (為了有效率地查找各別的字元)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_al.html b/67_al.html new file mode 100644 index 000000000..b5617ebee --- /dev/null +++ b/67_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ar.html b/67_ar.html new file mode 100644 index 000000000..533601675 --- /dev/null +++ b/67_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلسلة النصية (String)

+

السلسلة النصية (String) عبارة عن هيكل (struct) يمتلك سلسلة من بايتات utf-8 في ذاكرة الكومة (heap memory).

+

نظرًا لأن ذاكرتها موجودة في الكومة (heap)، فيمكن توسيعها وتعديلها وما إلى ذلك بطرق لا يمكن للسلسلة النصية الحرفية (string literals) أن تفعلها.

+

توابع شائعة:

+
    +
  • push_str لإضافة المزيد من بايتات utf-8 في نهاية السلسلة.
  • +
  • replace لاستبدال سلسلة بايت utf-8 بأخرى.
  • +
  • to_lowercase/to_uppercase لتغيير حالة الأحرف.
  • +
  • trim لتقليم المساحة الفارغة
  • +
+

عندما يتم إسقاط (drop) سلسلة نصية (String)، يتم أيضًا إسقاط ذاكرة الكومة الخاصة بها.

+

تحتوي String على عامل + يقوم بتمديد السلسلة النصية بإضافة شريحة سلسلة نصية &str ويرجع نفسه، ولكنه قد لا يكون مريحًا كما تأمل.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_de.html b/67_de.html new file mode 100644 index 000000000..71d8aeb45 --- /dev/null +++ b/67_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zeichenfolgen

+

Eine Zeichenfolge (auf Englisch string) ist eine Struktur, die eine Folge von UTF-8-Bytes im Heap-Speicher enthält.

+

Da sich sein Speicher auf dem Heap befindet, kann er erweitert, geändert usw. werden. auf eine Weise, die Saiten hervorruft von Literalzeichen kann nicht geändert werden.

+

Gängige Methoden:

+
    +
  • push_str um mehrere UTF-8-Bytes an das Ende einer Zeichenfolge anzuhängen.
  • +
  • replace um UTF-8-Byte-Sequenzen durch andere zu ersetzen.
  • +
  • to_lowercase/to_uppercase um zwischen Groß- und Kleinschreibung zu wechseln.
  • +
  • trim um Leerzeichen zu entfernen.
  • +
+

Wenn eine Zeichenfolge gelöscht wird (drop), wird auch ihr Heapspeicher gelöscht.

+

Strings haben einen +-Operator, der den String mit einem &str erweitert. (Der String auf der linken Seite ist verbraucht und sein Puffer wird wiederverwendet, um den Endwert zu speichern. Die Zeichenfolge auf der rechten Seite wurde nur ausgeliehen, um die Verkettung durchzuführen.) aber es ist möglicherweise nicht so ergonomisch, wie Sie hoffen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_en.html b/67_en.html new file mode 100644 index 000000000..5b18d32ab --- /dev/null +++ b/67_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_es.html b/67_es.html new file mode 100644 index 000000000..8eff90041 --- /dev/null +++ b/67_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

Un String es una estructura que posee una secuencia de UTF-8 bytes en la memoria de montículo.

+

Debido a que su memoria está en el montón, se puede extender, modificar, etc. de manera que las cadenas literales no pueden.

+

Métodos comunes:

+
    +
  • push_str para añadir más bytes UTF-8 al final de una cadena.
  • +
  • replace para reemplazar secuencias de bytes UTF-8 con otros.
  • +
  • to_lowercase/to_uppercase para cambios de mayúsculas y minúsculas.
  • +
  • trim para recortar el espacio.
  • +
+

Cuando liberamos (drop) un string, también liberamos su memoria dinámica.

+

String tiene un operador + que extiende el string con un &str y vuelve por sí mismo, pero puede que no sea tan ergonómico como esperas.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_fa.html b/67_fa.html new file mode 100644 index 000000000..646f8ea1f --- /dev/null +++ b/67_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_fi.html b/67_fi.html new file mode 100644 index 000000000..564e4280f --- /dev/null +++ b/67_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_fr.html b/67_fr.html new file mode 100644 index 000000000..d957aaeb5 --- /dev/null +++ b/67_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

Une structure String possède une séquence de bytes utf-8 située sur le tas (en anglais heap).

+

Du fait que la donnée se trouve sur le tas, celle-ci peut être étendue, modifiée, etc., contrairement +aux chaînes de caractères (en anglais string literals).

+

Méthodes utiles:

+
    +
  • push_str pour ajouter d'autres bytes utf-8 à la fin.
  • +
  • replace pour remplacer une séquence de bytes utf-8 par une autre.
  • +
  • to_lowercase/to_uppercase pour tout mettre en minuscule ou en majuscule.
  • +
  • trim pour supprimer les espaces.
  • +
+

Lorsqu'une structure String est désallouée, ses données +se trouvant sur la pile le sont également.

+

Une structure String possède l'opérateur + qui permet d'étendre la structure +avec une autre chaîne de caractères de type &str et retourne la structure, +mais ce n'est peut-être pas aussi ergonomique que vous l'espérez.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_gr.html b/67_gr.html new file mode 100644 index 000000000..fea1d8eba --- /dev/null +++ b/67_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_hu.html b/67_hu.html new file mode 100644 index 000000000..6a9752a8b --- /dev/null +++ b/67_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String-ek

+

A String egy olyan struct, ami egy kupacmemórián tárolt utf-8 bájtszekvenciát birtokol. +Mivel a kupacon van tárolva, így a beágyazott szövegekkel ellentétben meg lehet hosszabbítani, +módosítani lehet, stb.

+

Gyakran használt metódusok:

+
    +
  • push_str - A szöveg végéhez illeszti a paraméterként átadott utf-8 bájtokat.
  • +
  • replace - Kicserél egy megadott utf-8 szekvenciát egy másikra.
  • +
  • to_lowercase/to_uppercase - Kisbetűssé vagy nagybetűssé alakítja a szöveget.
  • +
  • trim - A szöveg végi helykihagyásokat (space, tab) vágja le.
  • +
+

Amikor a String drop-ol, az általa birtokolt memória is felszabadításra kerül.

+

Bár a String rendelkezik a + operátorral, ami egy &str-t illeszt a végére majd visszaadja az +újonnan meghosszabbodott szöveget, de ez sajnos sokkal kevésbé ergonomikus, mint az elsőre +tűnhet.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_id.html b/67_id.html new file mode 100644 index 000000000..a1806f8dc --- /dev/null +++ b/67_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ie.html b/67_ie.html new file mode 100644 index 000000000..78c323367 --- /dev/null +++ b/67_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

Un String es un struct quel possede un sequentie de bytes in utf-8 in memorie sur li heap.

+

Essente sur li heap, on posse extender e modificar it etc. con un flexibilitá quel ne trova se in string literals.

+

Metodes comun:

+
    +
  • push_str por adjunter plu bytes utf-8 al fine de un catene.
  • +
  • replace por remplazzar sequenties de bytes utf-8 con altris.
  • +
  • to_lowercase/to_uppercase por maju-/minusculisation.
  • +
  • trim por remover spacies
  • +
+

Quande un String cade, su memorie sur li heap cade junt con it.

+

String have un operator + con quel on extende it con un &str e retorna se self, ma it ne es tam ergonomic quam on vell esperar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_it.html b/67_it.html new file mode 100644 index 000000000..41ea506a1 --- /dev/null +++ b/67_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Corda

+

Una String è una struttura che possiede una sequenza di byte utf-8 nella memoria heap.

+

Poiché la sua memoria è nell'heap, può essere estesa, modificata, ecc modi in cui i letterali stringa non possono.

+

Metodi comuni:

+
    +
  • push_str per aggiungere più byte utf-8 alla fine di una stringa.
  • +
  • replace per sostituire sequenze di byte utf-8 con altre.
  • +
  • to_lowercase/to_uppercase per le modifiche alle maiuscole.
  • +
  • trim per tagliare lo spazio
  • +
+

Quando una String viene eliminata, viene eliminata anche la sua memoria heap.

+

String ha un operatore + che estende la stringa con un &str e ritorna da solo, ma potrebbe non essere ergonomico come speri.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ja.html b/67_ja.html new file mode 100644 index 000000000..f21b320d3 --- /dev/null +++ b/67_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

String はヒープにutf-8バイト列をもつ構造体です。

+

そのメモリはヒープ上にあるため、文字列リテラルでは出来ないような、拡張や修正などが可能です。

+

共通のメソッド:

+
    +
  • push_str 文字列の最後にutf-8バイトを追加します。
  • +
  • replace utf-8バイト列を他のutf-8バイト列で置換します。
  • +
  • to_lowercase/to_uppercase 大文字や小文字に変えます。
  • +
  • trim 空白を切り取ります。
  • +
+

Stringがドロップされると、そのヒープ内のメモリもドロップされます。

+

String には &strで文字列を拡張し、自分自身を返す + 演算子がありますが、 期待しているほど使い勝手は良くないかもしれません。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ko.html b/67_ko.html new file mode 100644 index 000000000..bdba1bd62 --- /dev/null +++ b/67_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링

+

String은 utf-8 바이트 열을 heap memory에 소유하는 struct입니다.

+

String의 메모리는 heap에 있기 때문에, 문자열과는 달리 늘리거나 변경하거나 기타 등등을 할 수 있습니다.

+

흔히 쓰는 메소드입니다:

+
    +
  • push_str은 string의 맨 뒤에 utf-8 바이트들을 더 붙일 때 사용합니다.
  • +
  • replace는 utf-8 바이트 열을 다른 것으로 교체할 때 사용합니다.
  • +
  • to_lowercase/to_uppercase는 대소문자를 바꿀 때 사용합니다.
  • +
  • trim은 공백을 제거할 때 사용합니다.
  • +
+

String이 drop 되면, 그 heap memory도 함께 drop 됩니다.

+

String&str로 string을 확장하고 자신을 리턴하는 + 연산자를 갖고 있지만, 기대하는 것만큼 효율적이진 않을 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ne.html b/67_ne.html new file mode 100644 index 000000000..5dcb5bc19 --- /dev/null +++ b/67_ne.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_pl.html b/67_pl.html new file mode 100644 index 000000000..c3ea4058f --- /dev/null +++ b/67_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_pt-br.html b/67_pt-br.html new file mode 100644 index 000000000..5e7fa802a --- /dev/null +++ b/67_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Strings

+

Uma String é uma estrutura que contém uma sequência de bytes utf-8 na memória heap.

+

Como sua memória está na pilha, ela pode ser estendida, modificada etc. de tal maneira que os literais de string não podem.

+

Métodos comuns:

+
    +
  • push_str para adicionar mais bytes utf-8 ao final de uma string.
  • +
  • replace para substituir sequências de bytes utf-8 por outras.
  • +
  • to_lowercase/to_uppercase para alterações de maiúsculas e minúsculas.
  • +
  • trim para cortar espaços.
  • +
+

Quando uma String é descartada, sua memória heap também é descartada.

+

O tipo String possui um operador + que estende o string com um &str e retorna a si mesmo, mas pode não ser tão ergonômico quanto você espera.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ro.html b/67_ro.html new file mode 100644 index 000000000..6c2aac052 --- /dev/null +++ b/67_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere

+

Un șir de caractere (eng. string) este o structură care deține o secvență de octeți utf-8 în memoria heap.

+

Deoarece memoria sa se află în heap, aceasta poate fi extinsă, modificată etc. în moduri în care șirurile de caractere literale nu pot fi modificate.

+

Metode comune:

+
    +
  • push_str pentru a adăuga mai mulți octeți utf-8 la sfârșitul unui șir de caractere.
  • +
  • replace pentru a înlocui secvențe de octeți utf-8 cu altele.
  • +
  • to_lowercase/to_uppercase pentru a schimba între majuscule și minuscule.
  • +
  • trim pentru eliminarea spațiilor.
  • +
+

Atunci când un șir de caractere este eliminat (drop), este eliminată și memoria heap a acestuia. +Șirurile de caractere au un operator + care extinde șirul cu un &str și se returnează pe sine însuși, dar s-ar putea să nu fie atât de ergonomic pe cât sperați (șirul din stânga este consumat, iar buffer-ul lui este refolosit pentru a stoca valoarea finală, șirul din dreapta este doar împrumutat pentru a efectua concatenarea).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ru.html b/67_ru.html new file mode 100644 index 000000000..483377fb6 --- /dev/null +++ b/67_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Строковый тип (String)

+

Тип String является структурой, которая владеет последовательностью utf-8 байтов в куче.

+

Так как эта память в куче, то ее можно расширять, изменять и т.д. способами, которые не доступны для типа строковых литералов.

+

Общие методы:

+
    +
  • push_str добавить больше utf-8 байт к концу строки.
  • +
  • replace заменить последовательности utf-8 байт на другие.
  • +
  • to_lowercase/to_uppercase изменение регистра.
  • +
  • trim для уменьшения места
  • +
+

Когда String удаляется, ее память в куче также удаляется.

+

Тип String имеет оператор +, увеличивающий строку с помощью другого &str строкового литерала и возвращающий сам себя, но это может быть не так эргономично, как вы надеетесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_th.html b/67_th.html new file mode 100644 index 000000000..4083fe539 --- /dev/null +++ b/67_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

String ก็คือ struct ที่ครอบครองลำดับของ ไบต์ของ utf-8 ที่อยู่ใน heap

+

และเพราะว่ามันอยู่ใน heap มันจึงสามารถขยายขนาด แก้ไขค่า หรืออื่นๆ แบบที่ ข้อความสตริงปกติทำไม่ได้

+

เมธอดที่ใช้ทั่วไปได้แก่:

+
    +
  • push_str ใช้เพิ่ม utf-8 ต่อท้ายสตริง
  • +
  • replace ใช้แทนลำดับคำในรูปแบบ utf-8 ด้วยค่าอื่น
  • +
  • to_lowercase/to_uppercase ใช้เปลี่ยนลักษณะตัวพิมพ์เล็กหรือใหญ่
  • +
  • trim ใช้ตัดแต่งช่องว่าง
  • +
+

เมื่อ String ถูก drop หน่วยความจำของมันที่อยู่ใน heap ก็จะ drop ตามไปด้วย

+

String มีตัวดำเนินการ + ไว้ใช้ต่อค่ากับ &str และคืนตัวมันเองมาให้ แต่มันอาจจะดูแปลกไปสักน้อยเวลาใช้งาน

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_tr.html b/67_tr.html new file mode 100644 index 000000000..809f466e6 --- /dev/null +++ b/67_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

String yani dilimizdeki karşılığı ile dizgi, belleğin öbek bölgesinde tutulan ve utf-8 baytlarından oluşan bir yapıyı temsil eder.

+

Sahip olduğu veriler belleğin öbek bölgesinde tutulduğundan, dizge değişmezleriyle olamayacak biçimde genişletilerek değiştirilebilirler.

+

Yaygın olarak kullanılan String yöntemlerini aşağıda yer almaktadır:

+
    +
  • Bir dizginin sonuna daha fazla utf-8 baytı eklemek içinpush_str yöntemi kullanılır.
  • +
  • UTF-8 bayt dizilerini bir başkasıyla değiştirmek için replace yönteminden faydalanılır.
  • +
  • Büyük/Küçük harf dönüşümlerinde to_lowercase/to_uppercase metodları kullanılır.
  • +
  • Boşluk temizleme işlemlerinde trim metodu oldukça kullanışlıdır.
  • +
+

Bir String türü düşürüldüğünde kendisine öbek üzerinde ayrılmış bulunan kaynaklar boşaltılır. +String türü, kendisini &str ile genişleterek, yine kendisini döndüren + işlecine sahiptir. Ancak bu olanak beklentilerinizi karşılayacak kadar ergonomik olmayabilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_ua.html b/67_ua.html new file mode 100644 index 000000000..261e36e70 --- /dev/null +++ b/67_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Структура String

+

String— це структура, яка зберігає у собі послідовність байтів utf-8 у купі (heap memory). +Оскільки його пам’ять знаходиться в купі, його можна розширювати, змінювати тощо так, як це неможливо зробити з рядковими літералами.

+

Розповсюдженні методи:

+
    +
  • push_str для додавання нових utf-8 байтів у кінець рядка.
  • +
  • replace для зміни однієї послідовності utf-8 байтів іншою.
  • +
  • to_lowercase/to_uppercase для зміни регістру.
  • +
  • trim для підрізання простору у пам'яті
  • +
+

Якщо String видалити, тоді його пам'ять у купі також видалиться.

+

String має + оператор, який розширює рядок за дорпомогою &str і повертає її, але це може бути не настільки зручним, як ви сподіваєтесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_vi.html b/67_vi.html new file mode 100644 index 000000000..0bb174c11 --- /dev/null +++ b/67_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi(String)

+

Một String là một cấu trúc sở hữu một chuỗi utf-8 byte trong bộ nhớ heap.

+

Bởi vì bộ nhớ của nó nằm trên heap, nó có thể được mở rộng, sửa đổi, v.v. theo những cách mà các ký tự chuỗi không thể.

+

Các phương pháp phổ biến:

+
    +
  • push_str để thêm các byte utf-8 vào cuối chuỗi.
  • +
  • replace để thay thế chuỗi utf-8 byte bằng các chuỗi khác.
  • +
  • to_lowercase/to_uppercase để viết thường hoặc viết hoa.
  • +
  • trim để xoá các khoảng trắng ở đầu và cuối chuỗi.
  • +
+

Khi một chuỗi bị drop, bộ nhớ heap của nó cũng drop.

+

String có một toán tử + mà có thể mở rộng chuỗi bằng dấu &str và trả về chính nó, nhưng nó có thể không tiện dụng như bạn mong đợi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_zh-cn.html b/67_zh-cn.html new file mode 100644 index 000000000..0ec99fc91 --- /dev/null +++ b/67_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串(String)

+

字符串String 是一个结构体,其持有以堆(heap)的形式在内存中存储的 utf-8 字节序列。

+

由于它以堆的形式来存储,字符串可以延长、修改等等。这些都是字符串常量(string literals)无法执行的操作。

+

常用方法:

+
    +
  • push_str 用于在字符串的结尾添加字符串常量(&str)。
  • +
  • replace 用于将一段字符串替换为其它的。
  • +
  • to_lowercase/to_uppercase 用于大小写转换。
  • +
  • trim 用于去除字符串前后的空格。
  • +
+

如果字符串String 被释放(drop)了,其对应的堆内存片段也将被释放。

+

字符串String 可以使用 + 运算符来在其结尾处连接一个 &str 并将其自身返回。但这个方法可能并不像你想象中的那么人性化。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/67_zh-tw.html b/67_zh-tw.html new file mode 100644 index 000000000..4ff3361f8 --- /dev/null +++ b/67_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串 (string)

+

一個字串 是一個結構,它在堆記憶體 (heap memory) 裡擁有一連串的 utf-8 位元組。

+

因為它的記憶體在堆 (heap) 上,所以它可以被延長、修改…等,而字串常量 (string literals) 不能。

+

常見的方法:

+
    +
  • push_str 在一個字串的尾巴加入更多 utf-8 位元組。
  • +
  • replace 取代一連串的 utf-8 位元組。
  • +
  • to_lowercase/to_uppercase 切換大小寫。
  • +
  • trim 切除空白
  • +
+

當一個字串被徹下時,它的堆記憶體也同時被徹下。

+

String+ 運算子可以與一個 &str 延長字串,而且他會回傳自己,但它可能不如你想像中的好用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_al.html b/68_al.html new file mode 100644 index 000000000..c2b5cfd94 --- /dev/null +++ b/68_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_ar.html b/68_ar.html new file mode 100644 index 000000000..d3e66a21e --- /dev/null +++ b/68_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

النص كمعلمات دالة (Text As Function Parameters)

+

يتم بشكل عام تمرير السلاسل النصية والسلاسل النصية الحرفية كشريحة سلسلة نصية إلى الدوال. يوفر هذا قدرًا كبيرًا من المرونة لمعظم السيناريوهات التي لا يتعين عليك فيها تمرير الملكية فعليًا.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_de.html b/68_de.html new file mode 100644 index 000000000..a0b19aa69 --- /dev/null +++ b/68_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text als Funktionsparameter

+

Zeichenfolgen (Literale) werden im Allgemeinen als Teilzeichenfolgen an Funktionen übergeben. +Dies bietet in den meisten Szenarien große Flexibilität, wenn es nicht benötigt wird das Eigentum tatsächlich zu übertragen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_en.html b/68_en.html new file mode 100644 index 000000000..1c93ff08c --- /dev/null +++ b/68_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_es.html b/68_es.html new file mode 100644 index 000000000..db03b9016 --- /dev/null +++ b/68_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

El Texto como Parámetros de Función

+

Las cadenas de caracteres literales y strings se pasan generalmente como una cadena slice a las funciones. Esto ofrece mucha flexibilidad para la mayoría de los escenarios en los que no se tiene que pasar la propiedad.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_fa.html b/68_fa.html new file mode 100644 index 000000000..c5a1fff51 --- /dev/null +++ b/68_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_fi.html b/68_fi.html new file mode 100644 index 000000000..0c410cc53 --- /dev/null +++ b/68_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_fr.html b/68_fr.html new file mode 100644 index 000000000..e71915e04 --- /dev/null +++ b/68_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Texte en tant que paramètre de fonction

+

Les chaînes de caractères et les structures String sont généralement passées aux fonctions sous forme de 'string slice'. +Cela offre beaucoup de flexibilité pour la plupart des scénarios où vous n'avez pas besoin de transmettre la propriété (en anglais ownership).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_gr.html b/68_gr.html new file mode 100644 index 000000000..ee3dbae94 --- /dev/null +++ b/68_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_hu.html b/68_hu.html new file mode 100644 index 000000000..0b6245080 --- /dev/null +++ b/68_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szöveg mint funkció-paraméter

+

A szövegek általában szeletek formájában kerülnek átadásra a függvényeknek. Ez nagy +rugalmasságot biztosít anélkül, hogy a szöveg birtoklását át kéne adni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_id.html b/68_id.html new file mode 100644 index 000000000..4433d710e --- /dev/null +++ b/68_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_ie.html b/68_ie.html new file mode 100644 index 000000000..f0ca024d8 --- /dev/null +++ b/68_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Textu quam Parametres de Functiones

+

In general on transfere string literals e strings quam un string slice (tranche de caracteres) a functiones. Con to on have +flexibilitá in li pluparte de situationes quande on ne besona transferer proprietá.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_it.html b/68_it.html new file mode 100644 index 000000000..5ca85a653 --- /dev/null +++ b/68_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Testo come parametri di funzione

+

Le stringhe letterali e le stringhe vengono generalmente passate come porzioni di stringhe funzioni. Questo offre molta flessibilità per +nella maggior parte degli scenari in cui non è necessario trasferire effettivamente la proprietà.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_ja.html b/68_ja.html new file mode 100644 index 000000000..78e06d5ad --- /dev/null +++ b/68_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数パラメータとしてのテキスト

+

文字列リテラルや文字列は、一般的に文字列スライスとして関数に渡されます。 これによって、実際には所有権を渡す必要がないほとんど場合において柔軟性が増します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_ko.html b/68_ko.html new file mode 100644 index 000000000..1f4adae10 --- /dev/null +++ b/68_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

함수의 매개변수로서의 텍스트

+

문자열과 string은 일반적으로 함수에 문자열 slice 형태로 전달됩니다. +이 방법은 소유권을 넘길 필요가 없어 대부분의 경우에 유연성을 제공합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_ne.html b/68_ne.html new file mode 100644 index 000000000..3b1b6955d --- /dev/null +++ b/68_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_pl.html b/68_pl.html new file mode 100644 index 000000000..b6515b35e --- /dev/null +++ b/68_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_pt-br.html b/68_pt-br.html new file mode 100644 index 000000000..ba37cd912 --- /dev/null +++ b/68_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Texto como parâmetros de função

+

As literais de string e strings geralmente são passados como uma fatia de string para as funções. Isso oferece muita flexibilidade para a maioria dos cenários em que você realmente não precisa passar a propriedade.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_ro.html b/68_ro.html new file mode 100644 index 000000000..ee1eaa595 --- /dev/null +++ b/68_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text ca parametru de funcție

+

Șirurile de caractere (literale) sunt în general transmise către funcții sub forma unui subșir. +Acest lucru oferă o mare flexibilitate în majoritatea scenariilor, când nu este nevoie să transmiteți de fapt proprietatea (ownership).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_ru.html b/68_ru.html new file mode 100644 index 000000000..6758d6ff9 --- /dev/null +++ b/68_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Текст как параметр функции (Function Parameter)

+

Строковые литералы и строки обычно передаются в функции в виде среза строк (тип &str). Это обеспечивает большую гибкость в большинстве сценариев, +когда вам фактически не нужно передавать параметр во владение.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_th.html b/68_th.html new file mode 100644 index 000000000..d73bc97c7 --- /dev/null +++ b/68_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การส่งพารามิเตอร์ด้วยข้อความ

+

โดยปกติ ไม่ว่าจะเป็นข้อความของ String หรือ string ก็สามารถส่งเข้าไปให้ฟังก์ชัน ในรูปแบบ slice ของ string ได้อยู่แล้ว ซึ่งมันช่วยให้ยืดหยุ่นกับทุกสถานการณ์ โดยไม่จำเป็นต้องส่งผ่านความเป็นเจ้าของเข้าไป

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_tr.html b/68_tr.html new file mode 100644 index 000000000..10f4112e8 --- /dev/null +++ b/68_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

İşlev Parametrelerinde Kullanılan Metinler

+

Dizgeler ve dizge değişmezleri genellikle işlevlere dizge dilimleri şeklinde iletilirler. Mülkiyetin devredilmesini gerektirmeyen pek çok senaryo için bu kullanım şekli yeterince esnektir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_ua.html b/68_ua.html new file mode 100644 index 000000000..26a7049fd --- /dev/null +++ b/68_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Текст,як параметр функції

+

Рядкові літерали та рядки зазвичай передаються функціям як рядкові зрізи. Це забезпечує велику гнучкість для більшості +сценаріїв, коли вам фактично не потрібно передавати право володіння.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_vi.html b/68_vi.html new file mode 100644 index 000000000..5eecd0d5f --- /dev/null +++ b/68_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Văn bản dưới dạng tham số hàm

+

Các ký tự chuỗi và chuỗi thường được chuyển xung quanh như một lát chuỗi(string slice) cho các hàm. Điều này cung cấp rất nhiều tính linh hoạt cho hầu hết các trường hợp mà bạn không thực sự phải chuyển quyền sở hữu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_zh-cn.html b/68_zh-cn.html new file mode 100644 index 000000000..f065f7537 --- /dev/null +++ b/68_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

将文本作为函数的参数

+

字符串常量(String literals)和字符串(String)一般以字符串片段(string slice)的形式传递给函数。这给许多场景提供了充足的灵活性,因为所有权并未被传递。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/68_zh-tw.html b/68_zh-tw.html new file mode 100644 index 000000000..b2d37948e --- /dev/null +++ b/68_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

將文字當作函式參數

+

字串常量及字串都以字串切片的方式傳給函式。這給了大部份場景許多彈性,當你並不是真的想要傳遞擁有權的時候。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_al.html b/69_al.html new file mode 100644 index 000000000..04720f18a --- /dev/null +++ b/69_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ar.html b/69_ar.html new file mode 100644 index 000000000..d3df188dd --- /dev/null +++ b/69_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

بناء السلاسل النصية (Building Strings)

+

concat وjoin هما طريقتان بسيطتان ولكنهما فعالتان لبناء السلاسل النصية (building strings).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_de.html b/69_de.html new file mode 100644 index 000000000..ee0634258 --- /dev/null +++ b/69_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstruktion und Charaktercharakter

+

concat und join sind zwei einfache, aber effektive Möglichkeiten, Strings zu erstellen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_en.html b/69_en.html new file mode 100644 index 000000000..2f5f2a5a3 --- /dev/null +++ b/69_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_es.html b/69_es.html new file mode 100644 index 000000000..5cdf0214a --- /dev/null +++ b/69_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Construir Strings

+

Usar concat y join son dos formas simples pero muy efectivas de construir strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_fa.html b/69_fa.html new file mode 100644 index 000000000..cdb37fd2e --- /dev/null +++ b/69_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_fi.html b/69_fi.html new file mode 100644 index 000000000..aeae9f488 --- /dev/null +++ b/69_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_fr.html b/69_fr.html new file mode 100644 index 000000000..8312ce364 --- /dev/null +++ b/69_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Construction de String

+

concat etjoin sont deux façons simples mais puissantes de construire les structures String.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_gr.html b/69_gr.html new file mode 100644 index 000000000..d8eefe324 --- /dev/null +++ b/69_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_hu.html b/69_hu.html new file mode 100644 index 000000000..a72fa2faf --- /dev/null +++ b/69_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szövegek építése

+

A concat és join két egyszerű, de erőteljes módszer arra, hogy szövegeket építsünk.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_id.html b/69_id.html new file mode 100644 index 000000000..48de1dff3 --- /dev/null +++ b/69_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ie.html b/69_ie.html new file mode 100644 index 000000000..d216f213d --- /dev/null +++ b/69_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Construction de Strings

+

Li simplic ma potent concat e join possibilisa li creation de catenes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_it.html b/69_it.html new file mode 100644 index 000000000..1aa70d503 --- /dev/null +++ b/69_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Costruire stringhe

+

"concat" e "join" sono due modi semplici ma potenti per creare stringhe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ja.html b/69_ja.html new file mode 100644 index 000000000..d354f26f2 --- /dev/null +++ b/69_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列の構築

+

concatjoin は、文字列を構築するためのシンプルだが強力な方法です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ko.html b/69_ko.html new file mode 100644 index 000000000..4c0999ea3 --- /dev/null +++ b/69_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링 만들기

+

concatjoin은 string을 만드는 간단하지만 강력한 방법입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ne.html b/69_ne.html new file mode 100644 index 000000000..e63ef9e72 --- /dev/null +++ b/69_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_pl.html b/69_pl.html new file mode 100644 index 000000000..8c42a7101 --- /dev/null +++ b/69_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_pt-br.html b/69_pt-br.html new file mode 100644 index 000000000..4a147f458 --- /dev/null +++ b/69_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Criando Strings

+

O concat e o join são duas maneiras simples, mas poderosas, de criar strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ro.html b/69_ro.html new file mode 100644 index 000000000..2e2e00078 --- /dev/null +++ b/69_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Construirea șirurilor de caractere

+

concat și join sunt două moduri simple, dar eficiente de a construi șiruri de caractere.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ru.html b/69_ru.html new file mode 100644 index 000000000..268dfa49b --- /dev/null +++ b/69_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Создание строк

+

Методы concat и join являются двумя простыми, но мощными способами для создания строк.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_th.html b/69_th.html new file mode 100644 index 000000000..75a11b9a6 --- /dev/null +++ b/69_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การสร้าง Strings

+

concat และ join เป็นสองวิธีง่ายๆที่ดีมากในการสร้างสตริง

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_tr.html b/69_tr.html new file mode 100644 index 000000000..10a66aba9 --- /dev/null +++ b/69_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgiyi Oluşturmak

+

String, yani dizgi yapılarını oluşturmanın basit fakat etkili iki yolu, concat ve join metodlarını kullanmaktır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_ua.html b/69_ua.html new file mode 100644 index 000000000..19e7cc1b0 --- /dev/null +++ b/69_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Побудова рядків

+

concat і join - два прості, але потужні способи створення рядків.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_vi.html b/69_vi.html new file mode 100644 index 000000000..8a89878a7 --- /dev/null +++ b/69_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xây dựng chuỗi

+

concatjoin là hai cách đơn giản nhưng mạnh mẽ để xây dựng chuỗi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_zh-cn.html b/69_zh-cn.html new file mode 100644 index 000000000..9828688b7 --- /dev/null +++ b/69_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串构建

+

concatjoin 可以以简洁而有效的方式构建字符串。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/69_zh-tw.html b/69_zh-tw.html new file mode 100644 index 000000000..bd67ff81b --- /dev/null +++ b/69_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

建立字串

+

concatjoin 是兩個簡單但強大的建位字串的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_al.html b/70_al.html new file mode 100644 index 000000000..9398de50d --- /dev/null +++ b/70_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ar.html b/70_ar.html new file mode 100644 index 000000000..9bd43420e --- /dev/null +++ b/70_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تنسيق السلاسل النصية (Formatting Strings)

+

يتيح لنا الماكرو format! إنشاء سلسلة نصية (string) عن طريق تعريف سلسلة تحتوي على معلمات (parameters) في عناصر نائبة (placeholders) للتوضيح مكان وكيفية وضع القيم (على سبيل المثال، {}).

+

يستخدم format! نفس السلاسل النصية التي تحتوي على معلمات مثل println!

+

إمكانيات هذا الماكرو واسعة جدًا بالنسبة لنطاق جولة في رست؛ للمزيد تحقق من الوثائق هنا.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_de.html b/70_de.html new file mode 100644 index 000000000..bf81020fe --- /dev/null +++ b/70_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zeichenfolgen formatieren

+

Mit dem Makro format! können wir eine Zeichenfolge erstellen, indem wir eine parametrisierte Zeichenfolge definieren mit Platzhaltern dafür, wo und wie die Werte platziert werden sollen (Beispiel: {}).

+

format! verwendet die gleichen parametrisierten Strings wie println!.

+

Die Möglichkeiten dieser Funktion sind zu groß für die Rundgang durch Rust; siehe Dokumentation Hier.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_en.html b/70_en.html new file mode 100644 index 000000000..b734b7c79 --- /dev/null +++ b/70_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_es.html b/70_es.html new file mode 100644 index 000000000..786596bda --- /dev/null +++ b/70_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatear Strings

+

La macroformat! nos permite crear una cadena (strings) definiendo una cadena parametrizada con placeholders para indicar dónde y cómo deben colocarse los valores (por ejemplo {}).

+

format! utiliza los mismos parámteros que println!

+

Las capacidades de esta función son demasiado amplias para el Tour del Rust, pero puedes echarle un vistazo a la documentación aquí.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_fa.html b/70_fa.html new file mode 100644 index 000000000..1b0b162e5 --- /dev/null +++ b/70_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_fi.html b/70_fi.html new file mode 100644 index 000000000..55a88aaf1 --- /dev/null +++ b/70_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_fr.html b/70_fr.html new file mode 100644 index 000000000..be1dd917b --- /dev/null +++ b/70_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatage de Strings

+

La macro format! nous permet de créer une chaîne de caractères en définissant +une chaîne paramétrée avec des espaces réservés (e.g. {}) qui seront remplacés +par certaines valeurs.

+

format! utilise les mêmes chaînes de caractères paramétrées que println!.

+

Les possibilités offertes par cette fonction sont trop larges pour être toutes +vues dans note modeste * Tour de Rust *. Si vous souhaitez cependant en savoir plus, +vous pouvez consulter la documentation ici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_gr.html b/70_gr.html new file mode 100644 index 000000000..da30741e0 --- /dev/null +++ b/70_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_hu.html b/70_hu.html new file mode 100644 index 000000000..934e8eaab --- /dev/null +++ b/70_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szövegek formázása

+

A format! makró használatával egy paraméterezett szöveget hozhatunk létre, amiben meg vannak +harározva, hogy hova és milyen módon kell értékeknek kerülnie. Az ilyen "lyukak" elhelyezésére a +{}-t használjuk a szövegben.

+

A format! ugyanúgy használja a paraméterezett szövegeket, mint a már megszokott println!.

+

Ez a függvény túlságosan sokat tud ahhoz, hogy a Rust-túra keretei között ennél jobban +átnézzük, de érdemes átolvasni az angol nyelvű dokumentációt +a témával kapcsolatban.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_id.html b/70_id.html new file mode 100644 index 000000000..e1371c056 --- /dev/null +++ b/70_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ie.html b/70_ie.html new file mode 100644 index 000000000..fe54a955b --- /dev/null +++ b/70_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formate de Strings

+

Con li macro format! noi posse crear un catene per definir un tal quel es parametrisat con placeholders (marcas substitutiv) pri u e qualmen li valores deve esser plazzat (usante {}).

+

format! usa li sam catenes parametrisat quam tis in println!

+

Li capabilitás de ti-ci function es tro grand por nor litt Tour of Rust; plu detallies trova se in li documentation

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_it.html b/70_it.html new file mode 100644 index 000000000..1e7e43d86 --- /dev/null +++ b/70_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe di formattazione

+

La macro format! ci consente di creare una stringa definendo un file parametrizzato stringa con segnaposto per dove e come posizionare i valori (ad es. "{}`).

+

format! utilizza le stesse stringhe parametrizzate di println!

+

Le capacità di questa funzione sono troppo ampie per Tour of Rust; consulta la documentazione qui.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ja.html b/70_ja.html new file mode 100644 index 000000000..8b06958e8 --- /dev/null +++ b/70_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列のフォーマット

+

format!マクロを使うと、パラメータ化された文字列を定義して文字列を作成することができ、 値をどこにどのように配置すべきかはプレースホルダ(例:{})で指定します。

+

format!println! と同じパラメータ付きの文字列を使用します。

+

この関数の機能は、Tour of Rust では説明しきれません。 ドキュメント をチェックしてください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ko.html b/70_ko.html new file mode 100644 index 000000000..9c9949a36 --- /dev/null +++ b/70_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링 양식 만들기

+

format! macro는 값이 어디에 어떻게 놓일지 매개변수화 된 (예: {}) string을 정의하여 string을 생성합니다.

+

format!println!과 동일한 매개변수화 된 string을 사용합니다.

+

이 함수의 기능은 너무 방대해서 Tour of Rust의 범위를 넘어가니, 이 문서를 확인하시기 바랍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ne.html b/70_ne.html new file mode 100644 index 000000000..49490196a --- /dev/null +++ b/70_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_pl.html b/70_pl.html new file mode 100644 index 000000000..005387ff9 --- /dev/null +++ b/70_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_pt-br.html b/70_pt-br.html new file mode 100644 index 000000000..97700ccf8 --- /dev/null +++ b/70_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatando Strings

+

A macro format! nos permite criar uma string definindo uma string parametrizada com espaços reservados para onde e como os valores devem ser colocados (por exemplo, {}).

+

O format! usa as mesmas strings parametrizadas que o println!.

+

Os recursos desta função têm um escopo muito maior que o do Um tour por Rust. Confira a documentação aqui.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ro.html b/70_ro.html new file mode 100644 index 000000000..b3ec2cfc0 --- /dev/null +++ b/70_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatarea șirurilor de caractere

+

Macroul format! ne permite să creăm un șir de caractere prin definirea unui șir parametrizat cu poziții pentru locul și modul în care trebuie plasate valorile (ex.: {}).

+

format! utilizează aceleași șiruri parametrizate ca și println!.

+

Capabilitățile acestei funcții sunt de o amploare prea mare pentru Turul limbajului Rust; puteți consulta documentația aici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ru.html b/70_ru.html new file mode 100644 index 000000000..01a9dbdb7 --- /dev/null +++ b/70_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Форматирование строк (Formatting)

+

Макрос format! позволяет создать строку, с помощью определения параметризованной строки с заполнителями, указывающими где и как нужно разместить фактические значения (например заполнитель {}).

+

format! использует такие же параметризованные строки как и макрос println!

+

Возможности данного макроса являются слишком обширными для Tour of Rust; проверьте документацию здесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_th.html b/70_th.html new file mode 100644 index 000000000..c1c723472 --- /dev/null +++ b/70_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดรูปแบบ Strings

+

มาโคร format! ช่วยให้เราสร้างสตริงด้วยการ กำหนดรูปแบบด้วยพารามิเตอร์ โดยยึดตำแหน่งที่จะนำค่ามาแทนที่เอาไว้(เข่น {})

+

format! ใช้วิธีการกำหนดพารามิเตอร์แบบเดียวกับ println!

+

ความสามารถของมันค่อนข้างกว้างเกินกว่าขอบเขตที่ Tour of Rust จะอธิบายได้ทั้งหมด แต่สามารถไปดูเพิ่มเติมได้ ที่นี่.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_tr.html b/70_tr.html new file mode 100644 index 000000000..1529d90a8 --- /dev/null +++ b/70_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgileri Biçimlendirmek

+

Karakter dizgelerini format! makrosu kullanarak, format!("buraya {} gelecek", deger); örneğindeki gibi biçimlendirebiliriz. +Tıpkı println! makrosu gibi, format! makrosu da, parametreleştirilmiş dizgiler kullandığından, tanımı içinde belirli değerlerle değiştirilmek üzere bulundurulan yer tutuculara sahiptir.

+

Bu makronun sunduğu olanaklar, mütevazı Rust Turu notlarına sığdırılamayacak kadar geniş olduğundan, daha fazlasını öğrenebilmek için, burada bulunan belgeleri inceleyebilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_ua.html b/70_ua.html new file mode 100644 index 000000000..d2fd2003f --- /dev/null +++ b/70_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Форматування рядків

+

Макрос format! дозволяє нам створювати параметризовані рядки з пропусками і даними, якими їх потрібно заповнити (наприклад {}).

+

format! використовує такі саме параметризовані рядки, як і println!

+

Можливості цієї функції занадто великі для Tour of Rust; перегляньте документацію тут.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_vi.html b/70_vi.html new file mode 100644 index 000000000..1a474dde6 --- /dev/null +++ b/70_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Định dạng chuỗi

+

The format! cho phép chúng tôi tạo một chuỗi bằng cách xác định một chuỗi được tham số hóa với các trình giữ chỗ cho vị trí và cách các giá trị nên được đặt (ví dụ: {}).

+

format! sử dụng các chuỗi được tham số hóa giống như println!

+

Các khả năng của chức năng này có phạm vi quá lớn đối với Tour of Rust; Bạn có thể đọc thêm tài liệu ở đây.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_zh-cn.html b/70_zh-cn.html new file mode 100644 index 000000000..24f42d032 --- /dev/null +++ b/70_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串格式化

+

format! 可用于创建一个使用占位符的参数化字符串。(例:{}

+

format!println! 生成的参数化字符串相同,只是 format! 将其返回而 println! 将其打印出来。

+

这个函数涉及的内容太过广泛,因而不可能在 Rust 语言之旅 中详细介绍, 如需了解完整的内容可看这里

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/70_zh-tw.html b/70_zh-tw.html new file mode 100644 index 000000000..bf1a2e751 --- /dev/null +++ b/70_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串格式化

+

巨集 format! 允許我們產生一個定義好在哪、該怎麼表示的占位符 (placeholders) 的字串 (例如:{})。

+

format! 使用與 println! 相同的參數字串

+

這個函式的使用方法實在太多了,已經超出 Tour of Rust 的範圍了,可以查看這裡的文件。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_al.html b/71_al.html new file mode 100644 index 000000000..6a15cfb98 --- /dev/null +++ b/71_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ar.html b/71_ar.html new file mode 100644 index 000000000..be0ac2794 --- /dev/null +++ b/71_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تحويل السلاسل النصية (Converting Strings)

+

يمكن تحويل العديد من الأنواع إلى سلسلة نصية (string) باستخدام to_string.

+

يمكن استخدام الدالة المعممة parse لتحويل السلاسل النصية أو السلاسل النصية الحرفية إلى قيمة مكتوبة. ترجع هذه الدالة Result لأنها قد تفشل.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_de.html b/71_de.html new file mode 100644 index 000000000..87e66c8dc --- /dev/null +++ b/71_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konvertieren von Zeichenfolgen

+

Viele Typen können mit to_string in einen String konvertiert werden.

+

Die generische Funktion parse kann zum Konvertieren von Zeichenfolgen (Literalen) verwendet werden. +in einem typisierten Wert. Diese Funktion gibt ein Result zurück, da sie möglicherweise fehlschlägt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_en.html b/71_en.html new file mode 100644 index 000000000..2d09b46de --- /dev/null +++ b/71_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_es.html b/71_es.html new file mode 100644 index 000000000..e684b022b --- /dev/null +++ b/71_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversión de Strings

+

Muchos tipos de datos se pueden convertir en una cadena (o string) usando to_string.

+

La función genérica parse se puede usar para convertir cadenas literales (strings) en un tipo de datos explícito (o valor tipado). Esta función devuelve un Result porque puede fallar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_fa.html b/71_fa.html new file mode 100644 index 000000000..aef43074a --- /dev/null +++ b/71_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_fi.html b/71_fi.html new file mode 100644 index 000000000..96d7dae0a --- /dev/null +++ b/71_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_fr.html b/71_fr.html new file mode 100644 index 000000000..3f8cfc9eb --- /dev/null +++ b/71_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversion en String

+

Plusieurs types peuvent être convertis en String en utilisant to_string.

+

La fonction générique parse peut être utilisée pour convertir une structure String +ou une chaîne de caratères en un autre type.

+

La fonction de l'exemple ci-contre retourne une structure Result car elle pourrait échouer.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_gr.html b/71_gr.html new file mode 100644 index 000000000..63098bb74 --- /dev/null +++ b/71_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_hu.html b/71_hu.html new file mode 100644 index 000000000..2cf9bec7d --- /dev/null +++ b/71_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szövegek átalakítása

+

Sokféle típus alakítható szöveggé a to_string metódus segítségével.

+

A generikus parse függvény pedig a szövegeket alakítja más típusú értékekké (pl. számokká). +Ennek a visszatérési értéke egy Result, mivel ha átalakíthatatlan értékre hívjuk meg, hibát +dob.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_id.html b/71_id.html new file mode 100644 index 000000000..fcf1768b0 --- /dev/null +++ b/71_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ie.html b/71_ie.html new file mode 100644 index 000000000..5797bf7e5 --- /dev/null +++ b/71_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversion de Strings

+

On posse utilisar to_string por converter mult tipes a un string.

+

Li function géneric parse posse esser usat por converter strings o string literals +ad-in un altri tip. Ti-ci function retorna un Result pro li possibilitá +de falliment.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_it.html b/71_it.html new file mode 100644 index 000000000..56ee7aa44 --- /dev/null +++ b/71_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversione di stringhe

+

Molti tipi possono essere convertiti in una stringa utilizzando "to_string".

+

La funzione generica "parse" può essere utilizzata per convertire stringhe +o valori letterali stringa in un valore tipizzato. Questa funzione ritorna +un "Risultato" perché potrebbe fallire.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ja.html b/71_ja.html new file mode 100644 index 000000000..c0facca78 --- /dev/null +++ b/71_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列変換

+

多くの型は to_string を用いて文字列に変換することができます。

+

ジェネリック関数 parse を用いることで文字列や文字列リテラルを型付きの値に変換できます。この関数は失敗する可能性があるので、Resultを返します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ko.html b/71_ko.html new file mode 100644 index 000000000..6152f2a18 --- /dev/null +++ b/71_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링 변환

+

많은 자료형이 to_string을 이용하여 string으로 변환될 수 있습니다.

+

generic 함수인 parse로 string이나 문자열을 다른 자료형을 가진 값으로 변환할 수 있습니다. +이 함수는 실패할 수도 있기 때문에 Result를 리턴합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ne.html b/71_ne.html new file mode 100644 index 000000000..ac0312794 --- /dev/null +++ b/71_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_pl.html b/71_pl.html new file mode 100644 index 000000000..d314cfef8 --- /dev/null +++ b/71_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_pt-br.html b/71_pt-br.html new file mode 100644 index 000000000..94ab8da6c --- /dev/null +++ b/71_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Convertendo Strings

+

Muitos tipos podem ser convertidos em uma string usando to_string.

+

A função genérica parse pode ser usada para converter strings ou literais de strings em um valor digitado. Esta função retorna um Result porque pode falhar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ro.html b/71_ro.html new file mode 100644 index 000000000..7c2e74204 --- /dev/null +++ b/71_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Convertirea șirurilor de caractere

+

Multe tipuri pot fi convertite într-un șir de caractere folosind to_string.

+

Funcția generică parse poate fi utilizată pentru a converti șiruri de caractere (literale) +într-o valoare tipizată. Această funcție returnează un Result deoarece ar putea eșua.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ru.html b/71_ru.html new file mode 100644 index 000000000..07a2f2e0e --- /dev/null +++ b/71_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Преобразование строк (Converting Strings)

+

Многие типы могут быть преобразованы в тип строки используя метод to_string.

+

Обобщеную функцию parse можно использовать для преобразования строк +или строковых литералов в типизированное значение. Данная фунция +возвращает тип Result, потому что преобразование может завершится ошибкой.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_th.html b/71_th.html new file mode 100644 index 000000000..e595060cc --- /dev/null +++ b/71_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การแปลงค่า Strings

+

มีหลาย type ที่สามารถแปลงมาเป็นสตริงได้ด้วยการใช้ to_string

+

มี generic ฟังก์ชันตัวนึงคือ parse นำมาใช้แปลงค่าสตริง หรือข้อความสตริง +ไปเป็น type อื่นได้ โดยมันจะคืนค่ามาเป็น Result เพราะว่ามันอาจเกิดข้อผิดพลาดได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_tr.html b/71_tr.html new file mode 100644 index 000000000..c4a4a6365 --- /dev/null +++ b/71_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgileri Dönüştürmek

+

Birçok tür to_string metodu kullanılarak dizgelere dönüştürülebilir.

+

Genellenmiş türlerin ayrıştırılmasında kullanılan parse yöntemi, bir dizge yapısını veya bir karakter dizgesini, başka bir türe dönüştürmek +için oldukça kullanışlıdır. Bu yöntem başarısız olma ihtimaline karşın Result türü döndürür.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_ua.html b/71_ua.html new file mode 100644 index 000000000..c22e51674 --- /dev/null +++ b/71_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Конвертація рядків

+

Багато типів можна конвертувати у string використовуючи to_string.

+

Загальна функція parse можна використовувати для конвертування рядків +або рядкові літерали у введене значення. Ця функція повертає +Result тому, що воно може не виконатися.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_vi.html b/71_vi.html new file mode 100644 index 000000000..4995f0d50 --- /dev/null +++ b/71_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuyển đổi chuỗi

+

Nhiều loại có thể được chuyển đổi thành một chuỗi bằng cách sử dụng to_string.

+

Hàm generic parse có thể được sử dụng để chuyển đổi chuỗi hoặc ký tự chuỗi thành một giá trị đã nhập. Hàm này trả về một Result vì nó có thể bị lỗi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_zh-cn.html b/71_zh-cn.html new file mode 100644 index 000000000..c92cb57fc --- /dev/null +++ b/71_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串转换

+

许多类型都可以通过 to_string 转换为字符串。

+

而泛型函数 parse 则可将字符串或是字符串常量转换为其它类型,该函数会返回 Result 因为转换有可能失败。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/71_zh-tw.html b/71_zh-tw.html new file mode 100644 index 000000000..e8d3c125c --- /dev/null +++ b/71_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串轉換

+

許多型別都能用 to_string 轉換成字串。

+

parse 可以被用來轉換字串或字串常量為一個型別的值。這個函式回傳一個 Result 因為它可能會失敗。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/72_al.html b/72_al.html new file mode 100644 index 000000000..ebcc1436a --- /dev/null +++ b/72_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_ar.html b/72_ar.html new file mode 100644 index 000000000..21249f21d --- /dev/null +++ b/72_ar.html @@ -0,0 +1,46 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 6 - الخلاصة

+

الآن أنت تعرف أساسيات النص! كما رأيت، يجعل Unicode العمل مع النص أمرًا صعبًا بعض الشيء، لكن المكتبة القياسية لديها الكثير من الوظائف لتسهيل إدارة النصوص.

+

حتى الآن، إطلعنا عموما إلى رست (Rust) من منظور النموذج الإجرائي - procedural paradigm - (أي الوظائف والبيانات فقط)، ولكن حان الوقت الآن لنتحدث عن السمات (traits) والقدرات التي فتحها رست (Rust) من خلال نموذج كائنية التوجه (object oriented paradigm).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_de.html b/72_de.html new file mode 100644 index 000000000..544c71acb --- /dev/null +++ b/72_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 6 - Schlüssig

+

Jetzt kennen Sie die Grundlagen des Textes! Wie Sie gesehen haben, erledigt Unicode den Zweck mit dem etwas komplizierteren Text, aber der Standardbibliothek +es verfügt über viele Funktionen, die die Verwaltung erleichtern.

+

Bisher haben wir die Rust-Sprache hauptsächlich durch die Linse eines prozeduralen Paradigmas betrachtet (also nur Funktionen und Daten), +Aber es ist jetzt an der Zeit, über die Eigenschaften und Fähigkeiten zu sprechen, die sich daraus ergeben das objektorientierte Paradigma der Rust-Programmiersprache.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_en.html b/72_en.html new file mode 100644 index 000000000..992f752f3 --- /dev/null +++ b/72_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_es.html b/72_es.html new file mode 100644 index 000000000..03bd71ee3 --- /dev/null +++ b/72_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 6 - Conclusión

+

¡Ya sabes lo básico! Como habrás visto, es algo difícil trabajar el texto con unicode, pero gracias a la librería estándar es algo más fácil de manejar.

+

Hasta ahora, hemos visto Rust desde la perspectiva de un paradigma procedimental (es decir, sólo funciones y datos), es hora de que hablemos de los rasgos y las capacidades desbloqueadas por el paradigma orientado a objetos de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_fa.html b/72_fa.html new file mode 100644 index 000000000..47f17bf1a --- /dev/null +++ b/72_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_fi.html b/72_fi.html new file mode 100644 index 000000000..f33a7c09e --- /dev/null +++ b/72_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_fr.html b/72_fr.html new file mode 100644 index 000000000..1691ec5c1 --- /dev/null +++ b/72_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 6 - Conclusion

+

Maintenant, tu sais tout ce que tu as à connaître sur la gestion des textes avec Rust! +Comme tu l'as vu, l'encodage unicode rend le travail avec le texte un peu délicat, +mais la bibliothèque standard de Rust possède beaucoup de fonctionnalités pour nous +éviter ce travail.

+

Jusqu'à présent, nous avons principalement utilisé Rust avec le paradigme de programmation +procédural (e.g. uniquement des fonctions avec des données). +Il est temps que nous parlions maintenant des traits (c'est le même terme en anglais) +et des capacités débloquées par le paradigme de programmation orienté objet de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_gr.html b/72_gr.html new file mode 100644 index 000000000..398b5fda4 --- /dev/null +++ b/72_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_hu.html b/72_hu.html new file mode 100644 index 000000000..3853e15de --- /dev/null +++ b/72_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

6. Fejezet - Konklúzió

+

Most már ismered a szövegek alapjait! A Unicode miatt kicsit nehézkes a velük való munka, de az +alapkönyvtár épp ezért sok olyan funkcióval rendelkezik, ami megkönnyíti ezt.

+

Egészen eddig a Rust nyelv a procedúrális paradigmához releváns részeivel foglalkoztunk csak +(tehát, hogy mit tudnak a függvények meg az adatok), de épp ideje, hogy beszéljünk a trait-ekről +(tulajdonságokról) és a Rust objektum-orientált paradigmája által nyújtott lehetőségekről.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_id.html b/72_id.html new file mode 100644 index 000000000..a6459f496 --- /dev/null +++ b/72_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_ie.html b/72_ie.html new file mode 100644 index 000000000..3e4036a10 --- /dev/null +++ b/72_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 6 - Conclusion

+

Nu tu comprende li basic coses a saver pri textu! Quam ja videt, unicode fa li manipulation de textu un poc desfacil, ma in li +standard library trova se mult functionalitá con quel it deveni plu facil.

+

Til nu noi ha videt Rust del vispunctu procedural (a saver solmen functiones e data), ma li témpor ha venit +por parlar pri traits (trates) e li capabilitás liberat del paradigma "object oriented" (object-orientat) de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_it.html b/72_it.html new file mode 100644 index 000000000..7576ab5c3 --- /dev/null +++ b/72_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 6 - Conclusione

+

Ora conosci le basi del testo! Come hai visto, Unicode fa funzionare con testo un po' complicato, ma la libreria standard +ha molte funzionalità per renderlo facile da gestire.

+

Finora abbiamo guardato Rust principalmente dalla lente di un procedurale paradigma (cioè solo funzioni e dati), +ma è giunto il momento di parlare dei tratti e delle capacità sbloccate da Il paradigma orientato agli oggetti di Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_ja.html b/72_ja.html new file mode 100644 index 000000000..fd5befdbd --- /dev/null +++ b/72_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 6 章 - まとめ

+

これで、テキストの基本が分かりましたね!これまで見てきたようにUnicodeによってテキストの操作は少し厄介になりますが、標準ライブラリにはその管理を簡単にするための多くの機能があります。

+

これまでほとんどの場合、手続き的なパラダイム(つまり、関数とデータだけ)からRustを見てきましたが、今回はRustのオブジェクト指向パラダイムによって開放されるtraitsと能力について話します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_ko.html b/72_ko.html new file mode 100644 index 000000000..81ea9331a --- /dev/null +++ b/72_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

6장 - 마무리

+

이제 텍스트의 기본을 배웠습니다! 보셨다시피 유니코드는 텍스트를 다루기 까다롭게 하지만, +standard library에는 이를 쉽게 관리할 수 있는 기능들이 많이 있습니다.

+

지금까지는 주로 절차적 패러다임의 관점으로 Rust를 보아 왔지만 (i.e. 함수와 데이터만), +이제 trait과 더불어 Rust의 객체지향적 패러다임에 의해 잠금 해제될 기능들에 대해 얘기해 볼 시간입니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_ne.html b/72_ne.html new file mode 100644 index 000000000..89719c330 --- /dev/null +++ b/72_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_pl.html b/72_pl.html new file mode 100644 index 000000000..9e3834ad7 --- /dev/null +++ b/72_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_pt-br.html b/72_pt-br.html new file mode 100644 index 000000000..5e8c6d2c8 --- /dev/null +++ b/72_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 6 - Conclusão

+

Agora você conhece o básico de texto! Como você viu, o Unicode torna o trabalho com texto um pouco complicado, mas a biblioteca padrão tem muitas funcionalidades que facilitam o seu gerenciamento.

+

Até agora olhamos principalmente para Rust a partir da ótica de um paradigma procedural (ou seja, apenas funções e dados), mas já é a hora de falarmos das características e capacidades liberadas pelo paradigma orientado a objetos do Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_ro.html b/72_ro.html new file mode 100644 index 000000000..fa8a8ca16 --- /dev/null +++ b/72_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 6 - Concluzie

+

Acum cunoașteți elementele de bază ale textului! După cum ați văzut, Unicode face lucrul cu textul puțin mai complicat, dar biblioteca standard +are o mulțime de funcționalități care facilitează gestionarea acestuia.

+

Până acum, am privit limbajul Rust în mare parte prin prisma unei paradigme procedurale (adică doar funcții și date), +dar este momentul să vorbim acum despre trăsături (eng. traits) și despre capacitățile oferite de paradigma orientată pe obiecte a limbajului Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_ru.html b/72_ru.html new file mode 100644 index 000000000..df4f7d8fd --- /dev/null +++ b/72_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 6 - Заключение

+

Теперь у вас есть базовые знания про текст! Как вы увидели, Unicode делает работу с текстом немного каверзной, но стандартная библиотека +обладает множеством функциональных возможностей, которыми легко управлять.

+

До сих пор мы в основном смотрели на Rust с точки зрения процедурной парадигмы (т.е. только функции и данные), +но теперь пришло время поговорить о типажах и возможностях, раскрытых объектно-ориентированной парадигмой Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_th.html b/72_th.html new file mode 100644 index 000000000..5a54d6762 --- /dev/null +++ b/72_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 6 - สรุป

+

ตอนนี้คุณก็ได้รู้เกี่ยวกับเรื่องพื้นฐานของข้อความแล้ว และอย่างที่คุณเห็นว่า Unicode ทำให้มันค่อนข้างยุ่งยากนิดหน่อยแต่ ไลบรารีมาตรฐานก็มีฟังก์ชันมากเพียงพอให้จัดการมันได้ง่ายขึ้น

+

จนถึงตอนนี้ เรายังมอง Rust ด้วยมุมมองในเชิง procedural paradigm (เช่นเรื่อง ฟังก์ชัน และข้อมูล) อยู่เลย แต่ก็ถึงเวลาที่เราจะมาพูดเรื่อง traits และความสามารถอื่นที่ถูกปลดล็อก ด้วยการมองจากมุมของ object oriented paradigm ของ Rust กันบ้างแล้ว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_tr.html b/72_tr.html new file mode 100644 index 000000000..7de8ddd76 --- /dev/null +++ b/72_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 6 - Sonuç

+

Artık Rust'un metin işleme yöntemleri konusunda bilmeniz gereken şeylerin çoğunu öğrenmiş bulunuyorsunuz! Her ne kadar Unicode standartları ile metin işlemlemleri kod yazma sürecimizi zorlaştırıyor olsa da, Rust'un standart kütüphanesinde yönetilmesi kolay çok sayıda kullanışlı işlev yer alır.

+

Şu ana kadar Rust diline prosedürel, yani işlev ve veri odaklı programlama açısından yaklaştık. İlerleyen bölümlerimizde, Rust'un nesne yönelimli programlama değerlerinin ortaya çıkardığı özellik ve yetenekler hakkında konuşmaya başlayacağız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_ua.html b/72_ua.html new file mode 100644 index 000000000..11f496216 --- /dev/null +++ b/72_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 6 - Висновки

+

Тепер ви знаєте основи роботи з текстом! Як ви побачили, Unicode робить роботу з текстом трошки складною, але стандартна бібліотека

+

має багато функціональних можливостей, що полегшує управління ним.

+

Дотепер ми здебільшого дивилися на Rust через призму парадигми процедурного програмування (тобто лише функції та дані), +але настав час поговорити про характеристики та можливості, які відкриває Об'єктно-орієнтоване програмування Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_vi.html b/72_vi.html new file mode 100644 index 000000000..4fe46a406 --- /dev/null +++ b/72_vi.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 6 - Tổng kết

+

Bây giờ bạn đã biết những điều cơ bản về văn bản! Như bạn đã thấy, Unicode làm việc với văn bản hơi phức tạp, nhưng thư viện tiêu chuẩn có nhiều chức năng giúp bạn dễ dàng quản lý.

+

Cho đến nay, chúng ta hầu như chỉ nhìn Rust từ lăng kính của một mô hình thủ tục (tức là chỉ các chức năng và dữ liệu), nhưng bây giờ đã đến lúc chúng ta nói về các đặc điểm và các khả năng được mở khóa bởi mô hình hướng đối tượng của Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_zh-cn.html b/72_zh-cn.html new file mode 100644 index 000000000..455c6cd57 --- /dev/null +++ b/72_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 总结

+

现在你已经懂得 Rust 中文本的基础了!正如你所见,Unicode 编码的应用使文本相关操作有些棘手,但标准库中丰富的功能弥补了这一缺陷。

+

到目前为止,我们主要是从程序化范式的角度来看待 Rust(即只是函数和数据),但现在是时候让我们来了解一些 Rust 的面向对象范式的特性和能力了。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/72_zh-tw.html b/72_zh-tw.html new file mode 100644 index 000000000..763d0bfb1 --- /dev/null +++ b/72_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 總結

+

現在你知道文字的基本了!如同你所看到的,萬國碼使得文字處理有一點難處理,但標準函式庫 (standard library) 有很多函式讓它容易被管理。

+

截至目前為止,我們大部份都以程序化程式設計 (procedural paradigm) 的角度來看待 Rust (即,單單只有函式跟資料), 但現在是時候讓我們討論特徵 (traits) 及 Rust 物件導向程式設計 (object oriented paradigm) 的能力了。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_al.html b/74_al.html new file mode 100644 index 000000000..0ae9ae641 --- /dev/null +++ b/74_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interact with objects of different types through one interface.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ar.html b/74_ar.html new file mode 100644 index 000000000..312fc7af8 --- /dev/null +++ b/74_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ماهي البرمجة كائنية التوجه (OOP)؟

+

تشير البرمجة كائنية التوجه (Object oriented programming) تقريبًا إلى لغة البرمجة التي تحتوي على عدد من الميزات البارزة منها:

+
    +
  • التغليف (Encapsulation) - ربط البيانات والدوال في وحدة تصورية من نوع واحد يسمى الكائن (object).
  • +
  • التجريد (Abstraction) - إخفاء أعضاء من بيانات و دوال للتعتيم (obfuscate) على تفاصيل تنفيذ (implementation) الكائن.
  • +
  • تعدد الأشكال (Polymorphism) - القدرة على التفاعل مع كائنات (objects) من أنواع مختلفة من خلال واجهة واحدة.
  • +
  • الوراثة (Inheritance) - القدرة على وراثة البيانات والسلوك (behavior) من كائنات أخرى.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_de.html b/74_de.html new file mode 100644 index 000000000..d5b1bca0f --- /dev/null +++ b/74_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interact with objects of different types through one interface.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_en.html b/74_en.html new file mode 100644 index 000000000..05d08c954 --- /dev/null +++ b/74_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interact with objects of different types through one interface.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_es.html b/74_es.html new file mode 100644 index 000000000..91ebb001e --- /dev/null +++ b/74_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

¿Qué Es POO?

+

La Programación Orientada a Objetos (POO) se refiere a los lenguajes de programación que tienen una serie de características distintivas:

+
    +
  • Encapsulación: Asociar datos y funciones en la unidad conceptual de un solo tipo llamado objeto.
  • +
  • Abstracción: Ocultar datos y miembros de la función para obstruir los detalles de implementación de un objeto.
  • +
  • Polimorfismo: La capacidad de interactuar con un objeto desde diferentes perspectivas funcionales.
  • +
  • Herencia: Como su propio nombre indica, es la habilidad de heredar datos y comportamiento de otros objetos.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_fa.html b/74_fa.html new file mode 100644 index 000000000..06472535c --- /dev/null +++ b/74_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interacting with an object from different functional perspectives.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_fi.html b/74_fi.html new file mode 100644 index 000000000..c10b09e6d --- /dev/null +++ b/74_fi.html @@ -0,0 +1,51 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interact with objects of different types through one interface.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_fr.html b/74_fr.html new file mode 100644 index 000000000..d56f98bcf --- /dev/null +++ b/74_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Qu'est-ce que la POO?

+

La programmation orientée objet se réfère grossièrement aux langages de +programmation qui possèdent un certain nombre des fonctionnalités suivantes:

+
    +
  • Encapsulation - Association de champs et de fonctions dans une seule unitée +appelée objet.
  • +
  • Abstraction - Dissimulation des champs et des fonctions pour cacher les +détails de l'implémentation d'un objet.
  • +
  • Polymorphisme - Mettre à disposition une interface unique pour des entités +pouvant avoir des types différents.
  • +
  • Héritage - La capacité d'un objet d'hériter des caractéristiques d'un autre +objet.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_gr.html b/74_gr.html new file mode 100644 index 000000000..9f839cea6 --- /dev/null +++ b/74_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interact with objects of different types through one interface.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_hu.html b/74_hu.html new file mode 100644 index 000000000..4df42ff9e --- /dev/null +++ b/74_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mi az az OOP?

+

Az Objektum-Orientált Programozás többé-kevésbé olyan nyelvekre utal, amik a következő +tulajdonságokkal rendelkeznek:

+
    +
  • Egységbezárás - Mind az adatok, mind a függvények egy egységes típusba az objektum-ba való +tömörítése.
  • +
  • Absztrakció - A nem-releváns adattagok és függvények elrejtése, mellyel az implementáció +részleteit nem tárjuk fölöslegesen a programozó elé.
  • +
  • Polimorfizmus - Annak a módja, hogy egy függvényt sokféle módon implementálhassunk, így +különböző esetekre mindig a megfelelő verziót használhassuk.
  • +
  • Öröklés - Annak a lehetősége, hogy más objektumokból adatokat és viselkedést örökölhessünk.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_id.html b/74_id.html new file mode 100644 index 000000000..fb3f39669 --- /dev/null +++ b/74_id.html @@ -0,0 +1,51 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interact with objects of different types through one interface.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ie.html b/74_ie.html new file mode 100644 index 000000000..d1336e17b --- /dev/null +++ b/74_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quo es OOP?

+

Object-orientat programmation, curtmen dit, parla pri lingues de programmation con quelc trates iconic:

+
    +
  • Objectes - Ili converge data e functiones ad-in li unitá conceptional de un singul tip nominat un objecte.
  • +
  • Incapsulation - On cela data e membres de functiones por obfuscacr detallies de implementation de un objecte.
  • +
  • Polimorfisme - Li habilitá de interacter con un objecte ex diferent perspectives functional.
  • +
  • Heredantie (inheritance) - Li habilitá de heredar data e conduida de altri objectes.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_it.html b/74_it.html new file mode 100644 index 000000000..d663b236f --- /dev/null +++ b/74_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cos'è l'OOP?

+

La programmazione orientata agli oggetti si riferisce approssimativamente ai linguaggi di programmazione che hanno una serie di caratteristiche iconiche:

+
    +
  • Incapsulamento - Associazione di dati e funzioni nell'unità concettuale di un singolo tipo chiamato oggetto.
  • +
  • Astrazione: nascondere dati e membri di funzioni per offuscare l'implementazione dettagli di un oggetto.
  • +
  • Polimorfismo - La capacità di interagire con oggetti di diverso tipo attraverso un'unica interfaccia.
  • +
  • Ereditarietà: la capacità di ereditare dati e comportamenti da altri oggetti.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ja.html b/74_ja.html new file mode 100644 index 000000000..74988869a --- /dev/null +++ b/74_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

オブジェクト指向プログラミングとは?

+

オブジェクト指向プログラミングとは、大まかに以下のようないくつかの象徴的な特徴を持つプログラミング言語のことです。

+
    +
  • カプセル化 - データと関数を オブジェクト という一つの型の概念的な単位で関連付けること。
  • +
  • 抽象化 - データや関数のメンバを隠して、オブジェクトの実装の詳細を難読化すること。
  • +
  • ポリモーフィズム - 1つのインターフェースを通して、異なるタイプのオブジェクトと相互作用する能力のこと。
  • +
  • 継承 - 他のオブジェクトからデータや振る舞いを引き継ぐこと。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ko.html b/74_ko.html new file mode 100644 index 000000000..9d26bdafe --- /dev/null +++ b/74_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

OOP란 무엇인가?

+

객체 지향 프로그래밍은 대충 다음과 같은 상징적 특징을 가진 프로그래밍 언어를 뜻합니다:

+
    +
  • 캡슐화 (encapsulation) - 객체라 불리는 단일 유형의 개념적 단위에 데이터와 함수를 연결지음.
  • +
  • 추상화 (abstraction) - 데이터와 함수를 숨겨 객체의 상세 구현 사항을 알기 어렵게 함.
  • +
  • 다형성 (polymorphism) - 다른 기능적 관점에서 객체와 상호작용하는 능력.
  • +
  • 상속 (inheritance) - 다른 객체로부터 데이터와 동작을 상속받는 능력.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ne.html b/74_ne.html new file mode 100644 index 000000000..0a41fd5fc --- /dev/null +++ b/74_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interact with objects of different types through one interface.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_pl.html b/74_pl.html new file mode 100644 index 000000000..293fac700 --- /dev/null +++ b/74_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interacting with an object from different functional perspectives.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_pt-br.html b/74_pt-br.html new file mode 100644 index 000000000..6bb24fcfc --- /dev/null +++ b/74_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O que é OOP?

+

A programação orientada a objetos refere-se grosso modo a linguagens de programação que possuem vários recursos icônicos:

+
    +
  • Encapsulamento - associando dados e funções à unidade conceitual de um único tipo chamado objeto.
  • +
  • Abstração - ocultando dados e membros da função para obscurecer detalhes da implementação de um objeto.
  • +
  • Polimorfismo - a capacidade de interagir com um objeto de diferentes perspectivas funcionais.
  • +
  • Herança - a capacidade de herdar dados e comportamentos de outros objetos.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ro.html b/74_ro.html new file mode 100644 index 000000000..481bf6ed9 --- /dev/null +++ b/74_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ce este POO?

+

Programarea orientată pe obiecte se referă, în linii mari, la limbajele de programare ce prezintă anumite caracteristici reprezentative:

+
    +
  • Încapsularea - Asocierea datelor și funcțiilor într-o unitate conceptuală de un singur tip numită obiect.
  • +
  • Abstractizarea - Ascunderea datelor și funcțiilor pentru a acoperi detaliile implementării unui obiect
  • +
  • Polimorfismul - Abilitatea de a interacționa cu obiecte de tipuri diferite prin intermediul unei interfețe.
  • +
  • Moștenirea - Abilitatea de a moșteni date și comportamente de la alte obiecte.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ru.html b/74_ru.html new file mode 100644 index 000000000..1ce07884b --- /dev/null +++ b/74_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Что такое ООП (OOP)?

+

Объектно-ориентированное программирование грубо говоря относится к языкам программирования, которые имеют некоторое количество символических особенностей:

+
    +
  • Инкапсуляция (Encapsulation) - объединение данных и функций в концептуальную единицу единого типа, называемую объектом.
  • +
  • Абстракция (Abstraction) - сокрытие данных и членов функции, чтобы скрыть детали реализации объекта.
  • +
  • Полиморфизм (Polymorphism) - способность взаимодействовать с объектом с помощью разных функциональных точек зрения.
  • +
  • Наследование (Inheritance) - способность наследовать данные и поведение от других объектов.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_th.html b/74_th.html new file mode 100644 index 000000000..b7c38249d --- /dev/null +++ b/74_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

แล้ว OOP มันคืออะไร?

+

Object oriented programming หรือการโปรแกรมเชิงวัตถุ โดยทั่วไปมักจะหมายถึง คุณสมบัติที่โดดเด่นเหล่านี้:

+
    +
  • Encapsulation - การเชื่อมโยงข้อมูลและฟังก์ชันไว้ใน type เดียวกัน และด้วยแนวคิดนี้ เราเรียกมันว่า object
  • +
  • Abstraction - การซ่อนสมาชิกที่เป็นข้อมูลและฟังก์ชันไว้ เพื่อป้องกันการนำไปใช้อย่างไม่ถูกจุดประสงค์
  • +
  • Polymorphism - วิธีการที่วัตถุโต้ตอบจะแตกต่างกัน ขึ้นอยู่กับมุมมองต่อวัตถุนั้น
  • +
  • Inheritance - การสืบทอดพฤติกรรมจากวัตถุอื่น
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_tr.html b/74_tr.html new file mode 100644 index 000000000..ee4824e6a --- /dev/null +++ b/74_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Nesne Yönelimli Programlama Nedir?

+

Nesne yönelimli programlama aşağıda kabaca özetlenen, bir dizi ikonik özelliğe sahip programlama dillerini ifade eder:

+
    +
  • Kapsülleme - Veri ve işlevleri, tek bir türden oluşan ve nesne adı verilen kavramsal birimle ilişkilendirebilmek.
  • +
  • Soyutlama - Bir nesnenin uygulama ayrıntılarını gizlemek için veri ve üye işlevlerini saklayabilmek.
  • +
  • Çok biçimlilik - Bir nesneyle farklı işlevsel perspektiflerden etkileşim kurma yeteneği.
  • +
  • Kalıtım - Diğer nesnelerin veri ve davranışlarını devralma yeteneği.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_ua.html b/74_ua.html new file mode 100644 index 000000000..5102e6586 --- /dev/null +++ b/74_ua.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Що таке ООП?

+

Об'єктно-орієнтоване програмування має наступні принципи:

+
    +
  • Інкапсуляція - об'єднання даних і функцій у концептуальну одиницю, єдиний тип, який називається об'єкт.
  • +
  • Абстрагування - приховування даних і членів функцій для того, щоб приховати деталі реалізації об'єкта.
  • +
  • Поліморфізм - здатність взаємодіяти з об'єктами різних типів через один інтерфейс.
  • +
  • Спадкування - можливість успадковувати дані та поведінку від інших об'єктів.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_vi.html b/74_vi.html new file mode 100644 index 000000000..fb58b0efb --- /dev/null +++ b/74_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

OOP là gì?

+

Lập trình hướng đối tượng đề cập đến các ngôn ngữ lập trình có một số tính năng mang tính biểu tượng:

+
    +
  • Đóng gói - Liên kết dữ liệu và chức năng thành đơn vị khái niệm của một kiểu duy nhất được gọi là đối tượng (object).
  • +
  • Trừu tượng - Ẩn dữ liệu và các thành viên hàm để làm xáo trộn các chi tiết triển khai của một đối tượng.
  • +
  • Tính đa hình - Khả năng tương tác với các đối tượng thuộc các loại khác nhau thông qua một giao diện.
  • +
  • Tính kế thừa - Khả năng kế thừa dữ liệu và hành vi từ các đối tượng khác.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_zh-cn.html b/74_zh-cn.html new file mode 100644 index 000000000..d2e653943 --- /dev/null +++ b/74_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什么是 OOP?

+

面向对象编程大致是指具有如下一些标志性特征的编程语言:

+
    +
  • 封装——将数据和函数关联到单一类型的概念单元中,称为对象
  • +
  • 抽象——将数据和函数成员隐藏起来,以隐藏对象的实现细节。
  • +
  • 多态——从不同的功能角度与对象进行交互的能力。
  • +
  • 继承——从其他对象继承数据和行为的能力。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/74_zh-tw.html b/74_zh-tw.html new file mode 100644 index 000000000..352fd02c7 --- /dev/null +++ b/74_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什麼是 OOP?

+

物件導向程式的語言,大致上會有這些明顯的特徵:

+
    +
  • 封裝 (encapsulation) - 將有關的資料及函式放入一個概念上稱作單一型別的物件
  • +
  • 抽象化 (Abstraction) - 將資料及函式成員藏起來,使物件的實作細節不被察覺
  • +
  • 多型 (polymorphism) - 只透過一個介面,使用不同型別與該物件互動
  • +
  • 繼承 (inheritance) - 有能力從其他物件繼承資料及行為
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_al.html b/75_al.html new file mode 100644 index 000000000..046fcea56 --- /dev/null +++ b/75_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ar.html b/75_ar.html new file mode 100644 index 000000000..27444331a --- /dev/null +++ b/75_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

رست (Rust) ليست OOP

+

يفتقر رست (Rust) إلى وراثة البيانات والسلوك في نفس الوقت.

+
    +
  • لا يمكن للهياكل أن ترث الحقول من الهيكل الأب.
  • +
  • لا يمكن للهياكل أن ترث دوال من الهيكل الأب.
  • +
+

ومع ذلك، تنفذ رست (Rust) العديد من ميزات لغة البرمجة كائنية التوجه، لذلك قد لا يهمك نقصها.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_de.html b/75_de.html new file mode 100644 index 000000000..9aa69ebb9 --- /dev/null +++ b/75_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_en.html b/75_en.html new file mode 100644 index 000000000..913549bcc --- /dev/null +++ b/75_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_es.html b/75_es.html new file mode 100644 index 000000000..c6d8fb523 --- /dev/null +++ b/75_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust No Es POO

+

Rust carece de herencia de datos y comportamiento de un modo significativo.

+
    +
  • Las estructuras no pueden heredar los campos ni las funciones de una estructura madre.
  • +
  • Las estructuras no pueden heredar funciones de una estructura madre.
  • +
+

Dicho esto, Rust implementa muchas características del lenguaje de programación que compensa esas ausencias/carencias.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_fa.html b/75_fa.html new file mode 100644 index 000000000..f1b72481a --- /dev/null +++ b/75_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_fi.html b/75_fi.html new file mode 100644 index 000000000..ff703774c --- /dev/null +++ b/75_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_fr.html b/75_fr.html new file mode 100644 index 000000000..7eaedae62 --- /dev/null +++ b/75_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust n'est pas POO

+

Il n'y a pas d'héritage avec Rust.

+
    +
  • Les structures ne peuvent pas hériter des champs d'une structure parente.
  • +
  • Les structures ne peuvent pas hériter des fonctions d'une structure parente.
  • +
+

Cela dit, Rust implémente de nombreuses fonctionnalités qui nous permettent +de ne pas regretter l'héritage.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_gr.html b/75_gr.html new file mode 100644 index 000000000..4ea36ea5f --- /dev/null +++ b/75_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_hu.html b/75_hu.html new file mode 100644 index 000000000..0a1a05b16 --- /dev/null +++ b/75_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A Rust nem OOP

+

A Rust nyelvből hiányzik az adatok és viselkedés öröklése. Tehát:

+
    +
  • A struct-ok nem képesek mezőket örökölni az őket szülő struct-ból.
  • +
  • Ugyanígy függvényeket se képesek átvenni.
  • +
+

Ennek ellenére, a Rust elég sok más nyelvekben megszokott képességgel rendelkezik, így ezek a +limitációk talán nem is fognak annyira hiányozni, mint gondolod.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_id.html b/75_id.html new file mode 100644 index 000000000..2d269a98e --- /dev/null +++ b/75_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ie.html b/75_ie.html new file mode 100644 index 000000000..346df1034 --- /dev/null +++ b/75_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust ne es OOP

+

A Rust manca li grand trates de heredantie de data e conduida.

+
    +
  • Structs ne posse heredar campes de un struct genitori.
  • +
  • Structs ne posse heredar functiones de un struct genitori.
  • +
+

Malgré to, Rust implementa mult trates programmistic con queles tu certmen ne va suciar te pri lor absentie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_it.html b/75_it.html new file mode 100644 index 000000000..422a4f5c5 --- /dev/null +++ b/75_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust non è OOP

+

A Rust manca l'ereditarietà dei dati e del comportamento in modo significativo.

+
    +
  • Le strutture non possono ereditare i campi da una struttura genitore.
  • +
  • Le strutture non possono ereditare funzioni da una struttura genitore.
  • +
+

Detto questo, Rust implementa molte funzionalità del linguaggio di programmazione, in modo che tu potrebbe non dispiacere questa mancanza.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ja.html b/75_ja.html new file mode 100644 index 000000000..0697e112f --- /dev/null +++ b/75_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rustはオブジェクト指向プログラミング言語ではない

+

Rustは、データと動作の継承機能を意図的に持っていません。

+
    +
  • 構造体は親構造体からフィールドを継承することはできない。
  • +
  • 構造体は親構造体から関数を継承することができない。
  • +
+

しかし、Rustは多くのプログラミング言語機能を実装しているので、この不足は気にならないかもしれません。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ko.html b/75_ko.html new file mode 100644 index 000000000..e8b5086e1 --- /dev/null +++ b/75_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust는 OOP가 아니다

+

Rust에서는 어떠한 방법으로도 데이터와 동작의 상속이 불가능합니다.

+
    +
  • struct는 부모 struct로부터 field를 상속받을 수 없습니다.
  • +
  • struct는 부모 struct로부터 함수를 상속받을 수 없습니다.
  • +
+

어쨌거나, Rust는 여러가지 프로그래밍 언어 기능을 구현하고 있으므로, 이런 기능이 부족한 것을 신경쓰실 필요는 없습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ne.html b/75_ne.html new file mode 100644 index 000000000..251caf0b7 --- /dev/null +++ b/75_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_pl.html b/75_pl.html new file mode 100644 index 000000000..bde4ac441 --- /dev/null +++ b/75_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_pt-br.html b/75_pt-br.html new file mode 100644 index 000000000..f20f65465 --- /dev/null +++ b/75_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust não é OOP

+

O Rust carece de herança de dados e comportamentos de qualquer maneira significativa.

+
    +
  • Structs não podem herdar campos de uma struct pai.
  • +
  • Structs não podem herdar funções de uma struct pai.
  • +
+

Dito isto, o Rust implementa muitos recursos da linguagem de programação para que você não se importe com isso.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ro.html b/75_ro.html new file mode 100644 index 000000000..6eb86f2b9 --- /dev/null +++ b/75_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust nu este POO

+

Rust nu dispune de o metodă semnificativă de moștenire a datelor și comportamentelor.

+
    +
  • Structurile nu pot moșteni câmpuri de la o structura părinte.
  • +
  • Structurile nu pot moșteni funcții de la o structură părinte.
  • +
+

Acestea fiind spuse, Rust implementează o mulțime de caracteristici ale unui limbaj de programare, deci probabil nu vă vor deranja aceste lipsuri.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ru.html b/75_ru.html new file mode 100644 index 000000000..40398a681 --- /dev/null +++ b/75_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust не является ООП (OOP) языком

+

В Rust отсутствует каким-либо осмысленное наследование данных и поведения.

+
    +
  • Структуры не могут наследовать поля от родительской структуры.
  • +
  • Структуры не могут наследовать функции от родительской структуры.
  • +
+

Тем не менее, Rust реализует множество функций языка программирования, так что вы можете не обращать на это внимания.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_th.html b/75_th.html new file mode 100644 index 000000000..8a856b804 --- /dev/null +++ b/75_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust ไม่ได้เป็น OOP

+

อย่างไรก็ดี Rust ยังขาดคุณสมบัติในเรื่องการสืบทอด ทั้งข้อมูลและพฤติกรรมในความหมายนั้น

+
    +
  • Structs ไม่สามารถสืบทอดฟิลด์จาก struct ต้นแบบ
  • +
  • Structs ไม่สามารถสืบทอดฟังก์ชันจาก struct ต้นแบบ
  • +
+

ที่อยากจะบอกก็คือ Rust เองก็มีวิธีการอีกมากมายมาทดแทน คุณก็แค่อย่าสนใจเรื่องนี้ก็พอ

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_tr.html b/75_tr.html new file mode 100644 index 000000000..c5cc4228e --- /dev/null +++ b/75_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Bir Nesne Yönelimli Programlama Dili Değildir

+

Rust, veri ve davranışları anlamlı olacak şekilde miras alma yeteneğinden yoksundur.

+
    +
  • Yapılar alanlarını bir üst yapıdan kalıtım yoluyla devralamazlar.
  • +
  • Yapılar işlevlerini bir üst yapıdan kalıtım yoluyla edinemezler.
  • +
+

Ancak Rust, bu eksiklikleri giderecek pek çok özellik sunduğundan, kalıtımın yokluğunu hissetmeyeceksiniz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_ua.html b/75_ua.html new file mode 100644 index 000000000..65f009f9b --- /dev/null +++ b/75_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust не є ООП-орієнтованим

+

У Rust відсутнє успадкування даних.

+
    +
  • Структури не можуть успадковувати поля від батьківської структури.
  • +
  • Структури не можуть успадковувати функції від батьківської структури.
  • +
+

Тим не менш, у Rust є багато інших реалізацій, так що ви ви можете не звертати уваги на цей недолік.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_vi.html b/75_vi.html new file mode 100644 index 000000000..ad3f534dd --- /dev/null +++ b/75_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust không phải là OOP

+

Rust thiếu tính kế thừa của dữ liệu và hành vi theo bất kỳ cách nào có ý nghĩa.

+
    +
  • Struct không thể kế thừa các trường từ struct mẹ.

  • +
  • Struct không thể kế thừa các chức năng từ struct mẹ.

  • +
+

Điều đó nói rằng, Rust thực hiện nhiều tính năng của ngôn ngữ lập trình, vì vậy bạn có thể không bận tâm về điều này.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_zh-cn.html b/75_zh-cn.html new file mode 100644 index 000000000..8a3e47852 --- /dev/null +++ b/75_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 不是 OOP

+

Rust 缺乏任何有意义的数据和行为的继承。

+
    +
  • 结构体不能从父结构继承字段。
  • +
  • 结构体不能从父结构继承函数。
  • +
+

尽管如此,Rust 实现了许多编程语言的特性,所以你可能不会在意这个缺失。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/75_zh-tw.html b/75_zh-tw.html new file mode 100644 index 000000000..0872e7e16 --- /dev/null +++ b/75_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 不是 OOP

+

Rust 沒有任何方式可以繼承資料及行為。

+
    +
  • 結構 (struct) 不能從一個父結構繼承欄位 (field)
  • +
  • 結構不能從一個父結構繼承函式
  • +
+

但是,Rust 實作許多程式語言的特徵,所以你可能不會注意到這些缺少的東西。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/76_al.html b/76_al.html new file mode 100644 index 000000000..9dfd53b9f --- /dev/null +++ b/76_al.html @@ -0,0 +1,60 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_ar.html b/76_ar.html new file mode 100644 index 000000000..7908f8ce8 --- /dev/null +++ b/76_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التغليف بالتوابع (Encapsulation With Methods)

+

يدعم رست (Rust) مفهوم الكائن (object) وهو عبارة عن هيكل (struct) مرتبط ببعض الدوال (المعروفة أيضًا باسم التوابع (methods)).

+

يجب أن تكون المعلمة (parameter) الأولى لأي تابعة (method) مرجعًا (reference) للمثيل (instance) المرتبط باستدعاء التابعة (على سبيل المثال، instanceOfObj.foo()). استخدامات رست:

+
    +
  • &self - مرجع للمثيل غير قابل للتغيير.
  • +
  • &mut self - مرجع للمثيل قابل للتغيير.
  • +
+

يتم تعريف التوابع (Methods) ضمن كتلة التنفيذ (implementation block) عن طريق الكلمة المفتاحية impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_de.html b/76_de.html new file mode 100644 index 000000000..232fbb1a8 --- /dev/null +++ b/76_de.html @@ -0,0 +1,60 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_en.html b/76_en.html new file mode 100644 index 000000000..19d105f14 --- /dev/null +++ b/76_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_es.html b/76_es.html new file mode 100644 index 000000000..754f253bf --- /dev/null +++ b/76_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulación Con Métodos

+

Rust admite el concepto de un objeto que es una estructura asociada a algunas funciones (también conocidas como métodos).

+

El primer parámetro de cualquier método debe ser una referencia a la instancia asociada a la llamada de dicho método (por ejemplo, instanceOfObj.foo()). Rust utiliza:

+
    +
  • &self - para una referencia inmutable a la instancia.

  • +
  • &mut self - para una referencia mutable a la instancia.

  • +
+

Los métodos se definen dentro de un bloque de implementación haciendo uso de impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_fa.html b/76_fa.html new file mode 100644 index 000000000..5d80bb669 --- /dev/null +++ b/76_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_fi.html b/76_fi.html new file mode 100644 index 000000000..82751ec70 --- /dev/null +++ b/76_fi.html @@ -0,0 +1,60 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_fr.html b/76_fr.html new file mode 100644 index 000000000..aa85584c4 --- /dev/null +++ b/76_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation avec des méthodes

+

Avec Rust, un objet est représenté par une structure. On peut associer +à celle-ci certaines fonctions (également appelées méthodes).

+

Le premier paramètre de toute méthode doit être une référence de l'instance +associée à l'appel de la méthode (par exemple instanceOfObj.foo()). +Rust utilise:

+
    +
  • &self - Référence immuable de l'instance.
  • +
  • &mut self - Référence mutable de l'instance.
  • +
+

Les méthodes sont définies dans un bloc d'implémentation +avec le mot clé impl:

+
impl MyStruct { 
+  ... 
+  fn foo(&self){
+    ...
+  }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_gr.html b/76_gr.html new file mode 100644 index 000000000..20692a9f6 --- /dev/null +++ b/76_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_hu.html b/76_hu.html new file mode 100644 index 000000000..44f2db006 --- /dev/null +++ b/76_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Egységbezárás metódusok segítségével

+

A Rust támogatja az objektumok-at, ami egy olyan struct-ot jelent, ami függvényekkel +rendelkezik (vagyis metódusokkal).

+

Minden metódus első paraméterének az azt meghívó példánynak kell lennie (tehát: +objektumPeldany.foo()). A Rust a következő jelöléseket használja:

+
    +
  • &self - Egy megváltoztathatatlan referencia a példányra.
  • +
  • &mut self - Egy megváltoztatható referencia a példányra.
  • +
+

A metódusok az úgynevezett implementációs blokkon belül kerülnek létrehozásra, melyet az impl +kulcsszóval jelölünk:

+
impl MyStruct {
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_id.html b/76_id.html new file mode 100644 index 000000000..252d2e9a8 --- /dev/null +++ b/76_id.html @@ -0,0 +1,60 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_ie.html b/76_ie.html new file mode 100644 index 000000000..59b4030eb --- /dev/null +++ b/76_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metodes por Objectes

+

Rust subtene li concepte de un object quam un struct con functiones associat (anc conosset quam metodes).

+

Li unesim parametre de quelcunc metode deve esser un referentie al instantie associat con li voca del metode (p.ex. instantieDeObj.foo()) Rust usa:

+
    +
  • &self - Ínmutabil referentie al instantie.
  • +
  • &mut self - Mutabil referentie al instantie.
  • +
+

Metodes es definat inter:

+
impl MyStruct {
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_it.html b/76_it.html new file mode 100644 index 000000000..adb0e3337 --- /dev/null +++ b/76_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Incapsulamento con metodi

+

Rust supporta il concetto di oggetto a cui è associata una struttura alcune funzioni (conosciute anche come metodi).

+

Il primo parametro di qualsiasi metodo deve essere un riferimento all'istanza associato alla chiamata del metodo (ad esempio instanceOfObj.foo()). La ruggine utilizza:

+
    +
  • &self - Riferimento immutabile all'istanza.
  • +
  • &mut self - Riferimento mutabile all'istanza.
  • +
+

I metodi sono definiti all'interno di un blocco di implementazione con la parola chiave "impl":

+
impl MiaStruttura {
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_ja.html b/76_ja.html new file mode 100644 index 000000000..3a36acbee --- /dev/null +++ b/76_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メソッドによるカプセル化

+

Rustは、いくつかの関数(メソッド とも呼ばれる)に関連付けられた構造体である オブジェクト の概念をサポートしています。

+

どのメソッドの最初のパラメータも、メソッド呼び出しに関連付けられたインスタンスへの参照でなければなりません(例: instanceOfObj.foo())。Rustが使うのは下記の通り:

+
    +
  • &self - インスタンスへの不変の参照。
  • +
  • &mut self - インスタンスへの可変の参照。
  • +
+

メソッドは、キーワード impl を持つ実装ブロックの中で定義されます。

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_ko.html b/76_ko.html new file mode 100644 index 000000000..b3ec7ebf8 --- /dev/null +++ b/76_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메소드 캡슐화 하기

+

Rust는 함수(메소드라고도 하는)가 연결된 struct인 객체라는 개념을 지원합니다.

+

모든 메소드의 첫번째 매개변수는 메소드 호출과 연관된 인스턴스에 대한 참조여야 합니다 (예: instanceOfObj.foo()). Rust에서는 다음을 사용합니다:

+
    +
  • &self - 인스턴스에 대한 immutable한 참조.
  • +
  • &mut self - 인스턴스에 대한 mutable한 참조.
  • +
+

메소드는 impl 키워드를 쓰는 구현 블록 안에 정의합니다:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_ne.html b/76_ne.html new file mode 100644 index 000000000..04460391a --- /dev/null +++ b/76_ne.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_pl.html b/76_pl.html new file mode 100644 index 000000000..de0065266 --- /dev/null +++ b/76_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_pt-br.html b/76_pt-br.html new file mode 100644 index 000000000..19c8a1558 --- /dev/null +++ b/76_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulamento com métodos

+

O Rust suporta o conceito de um objeto que é uma estrutura associada a algumas funções (também conhecidas como métodos).

+

O primeiro parâmetro de qualquer método deve ser uma referência à instância associada à chamada do método (por exemplo, instanceOfObj.foo()). O Rust usa:

+
    +
  • &self - referência imutável da instância.
  • +
  • &mut self - referência mutável da instância.
  • +
+

Os métodos são definidos dentro de um bloco de implementação com a palavra-chave impl:

+
impl MinhaStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_ro.html b/76_ro.html new file mode 100644 index 000000000..f997a22ad --- /dev/null +++ b/76_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Încapsulare prin metode

+

Rust suportă conceptul de obiect ce reprezintă o structură asociată unor funcții (cunoscute și ca metode).

+

Primul parametru al oricărei metode trebuie să fie o referință la instanța asociată apelului de metodă (exemplu: instantaObiectului.foo()). Rust folosește:

+
    +
  • &self - Referință imutabilă la instanță.
  • +
  • &mut self - Referință mutabilă la instanță.
  • +
+

Metodele sunt definite în cadrul unuia sau mai multor blocuri de implementare prin cuvântul cheie impl:

+
impl StructuraMea {
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_ru.html b/76_ru.html new file mode 100644 index 000000000..9142bd9dc --- /dev/null +++ b/76_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Инкапсуляция с помощью методов

+

Rust поддерживает концепцию объекта, который представляет собой структуру, связанную с некоторыми функциями (также известными как методы).

+

Первый параметр любого метода (а не функции) должен быть ссылкой на сам экземпляр, связанный с вызовом этого метода (например, instanceOfObj.foo()). Rust использует для этого параметра типы:

+
    +
  • &self - Не изменяемая ссылка на экземпляр.
  • +
  • &mut self - Изменяемая ссылка на экземпляр.
  • +
+

Методы определяются в блоке реализации начинающемся с ключевого слова impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_th.html b/76_th.html new file mode 100644 index 000000000..f44d03c46 --- /dev/null +++ b/76_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation ด้วยการมีเมธอด

+

Rust สนับสนุนแนวคิดของ object ด้วยการผูกฟังก์ชันบางตัวไว้กับ struct ได้ (เราเรียกมันว่า เมธอด แทน)

+

โดยที่พารามิเตอร์ตัวแรกของเมธอดจะต้องอ้างถึง อินสแตนซ์ ที่มันยึดโยงอยู่ เพื่อให้เรียกใช้เป็นเมธอดได้ (ตัวอย่างเช่น instanceOfObj.foo()) วิธีที่ Rust ทำก็คือ

+
    +
  • &self - ใช้อ้างถึงอินสแตนซ์แบบเปลี่ยนแปลงค่าไม่ได้
  • +
  • &mut self - ใช้อ้างถึงอินสแตนซ์แบบเปลี่ยนแปลงค่าได้
  • +
+

การกำหนดการทำงานของมันจะทำภายในบล็อกของคีย์เวิร์ด impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_tr.html b/76_tr.html new file mode 100644 index 000000000..1afc452ef --- /dev/null +++ b/76_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metotlarla Kapsülleme

+

Rust, metot veya yöntem olarak adlandırabileceğimiz, belirli işlevlerle ilişkilendirilmiş bir veri yapısı olan nesne kavramını destekler.

+

Herhangi bir metodun ilk parametresi, nesne_ornegi.metot() söz dizimindeki gibi, o metoda yapılan çağrı ile ilişkili olan, örneğin kendisini referans almalıdır. Bu ilk parametre için Rust aşağıdaki referans türlerini kullanmaktadır:

+
    +
  • &self - Örnek için değişmez bir referans.
  • +
  • &mut self - Örnek için değişken bir referans.
  • +
+

Metotlar, impl anahtar kelimesiyle başlayan bir uygulama bloğunda tanımlanır:

+
impl BirYapi { 
+    ...
+    fn ornekle(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_ua.html b/76_ua.html new file mode 100644 index 000000000..38045afd4 --- /dev/null +++ b/76_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Інкапсуляція в методах

+

Rust підтримує концепцію об'єкта, який є структурою, пов'язаною з деякими функціями (також відомими як методи).

+

Першим параметром будь-якого методу має бути посилання на екземпляр пов'язаний з викликом методу (наприклад, instanceOfObj.foo()). Rust використовує:

+
    +
  • &self - незмінне посилання на екземпляр.
  • +
  • &mut self - змінне посилання на екземпляр.
  • +
+

Методи визначаються в блоці реалізації з ключовим словом impl:

+
impl MyStruct {
+    ...
+    fn foo(&self) { ...
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_vi.html b/76_vi.html new file mode 100644 index 000000000..815bedd3e --- /dev/null +++ b/76_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đóng gói với các phương thức

+

Rust hỗ trợ khái niệm về một object(đối tượng) là một struct được liên kết với một số hàm (còn được gọi là method hay các phương thức).

+

Tham số đầu tiên của bất kỳ phương thức nào phải là một tham chiếu đến cá thể được liên kết với lời gọi phương thức (ví dụ: instanceOfObj.foo()). Rust sử dụng:

+
    +
  • &self - Tham chiếu bất biến đến cá thể.
  • +
  • &mut self - Tham chiếu khả biến đến cá thể.
  • +
+

Các phương thức được định nghĩa trong một khối triển khai với từ khóa impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_zh-cn.html b/76_zh-cn.html new file mode 100644 index 000000000..c99e9dbf4 --- /dev/null +++ b/76_zh-cn.html @@ -0,0 +1,60 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

使用方法进行封装

+

Rust 支持对象的概念。“对象”是一个与一些函数(也称为方法)相关联的结构体。

+

任何方法的第一个参数必须是与方法调用相关联的实例的引用。(例如 instanceOfObj.foo())。Rust 使用:

+
    +
  • &self —— 对实例的不可变引用。
  • +
  • &mut self —— 对实例的可变引用。
  • +
+

方法是在一个有 impl 关键字的实现块中定义的:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/76_zh-tw.html b/76_zh-tw.html new file mode 100644 index 000000000..41e5cadbf --- /dev/null +++ b/76_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

封裝方法 (encapsulation with methods)

+

Rust 支援物件的概念,即是一個結構與它的一些函式 (或稱方法)。

+

方法呼叫時的第一個參數一定要是一個指向該實體的參考 (例如:instanceOfObj.foo())。 Rust 使用:

+
    +
  • &self - 指向該實體不可變動的參考
  • +
  • &mut self - 指向該實體可變動的參考
  • +
+

方法定義在實作區塊裡,並且用關鍵字 impl 包起來:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_al.html b/77_al.html new file mode 100644 index 000000000..b19317d87 --- /dev/null +++ b/77_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_ar.html b/77_ar.html new file mode 100644 index 000000000..d2b2ba7cd --- /dev/null +++ b/77_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التجريد بالعرض الإنتقائي (Abstraction With Selective Exposure)

+

رست (Rust) يمكن أن يخفي الأعمال الداخلية للكائنات.

+

بشكل افتراضي، لا يمكن الوصول إلى الحقول والتوابع إلا من خلال الوحدة (module) التي تنتمي إليها.

+

تكشف الكلمة المفتاحية pub عن حقول وتوابع الهيكل خارج الوحدة (module).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_de.html b/77_de.html new file mode 100644 index 000000000..a6d1f6779 --- /dev/null +++ b/77_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_en.html b/77_en.html new file mode 100644 index 000000000..0fb559c95 --- /dev/null +++ b/77_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_es.html b/77_es.html new file mode 100644 index 000000000..10e6d83f5 --- /dev/null +++ b/77_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstracción Con Exposición Selectiva

+

Rust puede ocultar el funcionamiento interno de los objetos.

+

Por defecto, los campos y métodos son accesibles sólo al módulo al que pertenecen.

+

El uso de la palabra reservada pub expone los campos y métodos de las estructuras fuera del módulo.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_fa.html b/77_fa.html new file mode 100644 index 000000000..1a6a9017b --- /dev/null +++ b/77_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_fi.html b/77_fi.html new file mode 100644 index 000000000..b88cde94b --- /dev/null +++ b/77_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_fr.html b/77_fr.html new file mode 100644 index 000000000..a7fce9203 --- /dev/null +++ b/77_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction avec différents niveaux de visibilité

+

Rust peut encapsuler le fonctionnement interne des objets.

+

Par défaut, les champs et les méthodes ne sont accessibles +qu'à l'intérieur du module auquel ils appartiennent.

+

Le mot-clé pub permet d'exposer un champ ou une méthode +pour qu'il ou elle soit visible en dehors d'un module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_gr.html b/77_gr.html new file mode 100644 index 000000000..cae8e242e --- /dev/null +++ b/77_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_hu.html b/77_hu.html new file mode 100644 index 000000000..f43bb8c1f --- /dev/null +++ b/77_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Absztrakció csak bizonyos mezők elérhetővé tételével

+

A Rust képes elrejteni az objektumok belső működésést.

+

Alapvetően a metódusok és mezők csak az őket tartalmazó modulok számára elérhetőek. A pub +kulcsszó segítségével a modulon kívül is elérhetővé lehet őket tenni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_id.html b/77_id.html new file mode 100644 index 000000000..a2bcb6b93 --- /dev/null +++ b/77_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_ie.html b/77_ie.html new file mode 100644 index 000000000..54086ada7 --- /dev/null +++ b/77_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Incapsulation in Objectes

+

Rust posse celar li activitá intern de objectes.

+

Predefinitmen, campes e metodes es accessibil solmen al modul a quel ili apartene.

+

Li clave-parol pub exposi campes e metodes del structes éxter li modul.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_it.html b/77_it.html new file mode 100644 index 000000000..01340abd2 --- /dev/null +++ b/77_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Astrazione con esposizione selettiva

+

Rust può nascondere il funzionamento interno degli oggetti.

+

Per impostazione predefinita campi e metodi sono accessibili solo al modulo a cui appartengono A.

+

La parola chiave "pub" espone campi e metodi della struttura all'esterno del modulo.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_ja.html b/77_ja.html new file mode 100644 index 000000000..a0177c05e --- /dev/null +++ b/77_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

選択的な公開による抽象化

+

Rustは物体の内部構造を隠すことができます。

+

デフォルトでは、フィールドとメソッドは、それらが属しているモジュールにのみアクセス可能です。

+

pub キーワードは、構造体のフィールドとメソッドをモジュールの外部に公開します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_ko.html b/77_ko.html new file mode 100644 index 000000000..2e4f9170e --- /dev/null +++ b/77_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

선택적 노출을 통한 추상화

+

Rust는 객체의 내부 동작을 숨길 수 있습니다.

+

기본적으로, filed와 메소드들은 그들이 속한 module에서만 접근 가능합니다.

+

pub 키워드는 struct의 field와 메소드를 module 밖으로 노출시켜 줍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_ne.html b/77_ne.html new file mode 100644 index 000000000..77ed363cf --- /dev/null +++ b/77_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_pl.html b/77_pl.html new file mode 100644 index 000000000..438e5511d --- /dev/null +++ b/77_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_pt-br.html b/77_pt-br.html new file mode 100644 index 000000000..061b8d869 --- /dev/null +++ b/77_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstração com exposição seletiva

+

O Rust pode esconder o funcionamento interno dos objetos.

+

Por padrão, os campos e métodos são acessíveis apenas ao módulo ao qual pertencem.

+

A palavra-chave pub expõe os campos e métodos do struct fora do módulo.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_ro.html b/77_ro.html new file mode 100644 index 000000000..444c49008 --- /dev/null +++ b/77_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstracție prin expunere selectivă

+

Rust poate ascunde implementările interioare ale obiectelor. +În mod implicit, câmpurile și metodele sunt accesibile doar modulului de care aparțin.

+

Cuvântul cheie pub expune câmpurile și metodele structurii în afara modulului.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_ru.html b/77_ru.html new file mode 100644 index 000000000..b6f7b154a --- /dev/null +++ b/77_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Абстракция с выборочной экспозицией (Abstraction With Selective Exposure)

+

Rust может скрывать внутреннюю работу и структуру объектов (абстракций).

+

По умолчанию все поля и методы объявленные структурой являются доступными только самому модулю, которому они принадлежат.

+

Ключевое слово pub делает публичными поля и методы структуры вне модуля.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_th.html b/77_th.html new file mode 100644 index 000000000..345f57a42 --- /dev/null +++ b/77_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction ด้วยการทำ Selective Exposure

+

Rust สามารถซ่อนการทำงานภายใน objects ได้

+

เพราะโดยปกติแล้วการเข้าถึง ฟิดล์และเมธอด จะทำได้เฉพาะในโมดูลเดียวกันเท่านั้น

+

ถ้าอยากจะเปิดเผย ฟิลด์และเมธอดของ struct ออกสู่ภายนอกโมดูลให้ใช้คีย์เวิร์ด pub

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_tr.html b/77_tr.html new file mode 100644 index 000000000..5953cc8f6 --- /dev/null +++ b/77_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Farklı Görünürlük Seviyelerindeki Soyutlamalar

+

Rust, nesnelerin iç işleyişi ve yapılarını gizleyebilir.

+

Halihazırda yapı tarafından bildirilen tüm alan ve metodlara, yalnızca ait oldukları modül tarafından erişilebileceği varsayılır.

+

Yapı alan ve metodlarının modül dışından erişilebilir olması için pub anahtar sözcüğü kullanılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_ua.html b/77_ua.html new file mode 100644 index 000000000..fb61194e8 --- /dev/null +++ b/77_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Абстракція з вибірковою експозицією

+

Rust може приховувати внутрішню роботу об'єктів.

+

За замовчуванням поля і методи доступні лише для модуля, до якого вони належать.

+

Ключове слово pub відкриває поля і методи структур за межами модуля.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_vi.html b/77_vi.html new file mode 100644 index 000000000..0a96960c2 --- /dev/null +++ b/77_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trừu tượng hóa với sự tiếp xúc có chọn lọc

+

Rust có thể che giấu hoạt động bên trong của các đối tượng.

+

Theo mặc định, các trường và phương thức chỉ có thể truy cập được đối với mô-đun mà chúng thuộc về.

+

Từ khóa pub hiển thị các trường và phương thức cấu trúc bên ngoài mô-đun.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_zh-cn.html b/77_zh-cn.html new file mode 100644 index 000000000..853dbbf43 --- /dev/null +++ b/77_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

抽象与选择性暴露

+

Rust 可以隐藏对象的内部实现细节。

+

默认情况下,字段和方法只有它们所属的模块才可访问。

+

pub 关键字可以将字段和方法暴露给模块外的访问者。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/77_zh-tw.html b/77_zh-tw.html new file mode 100644 index 000000000..b5db5b4c7 --- /dev/null +++ b/77_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

暴露指定的抽象化 (abstraction with selective exposure)

+

Rust 可以隱藏物件的實作細節。

+

欄位及方法預設只有屬於該模組 (module) 可以存取。

+

關鍵字 pub 可以暴露結構欄位及方法給外部模組使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_al.html b/78_al.html new file mode 100644 index 000000000..bb2c5e5a8 --- /dev/null +++ b/78_al.html @@ -0,0 +1,63 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ar.html b/78_ar.html new file mode 100644 index 000000000..2efb5cd7b --- /dev/null +++ b/78_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تعدد الأشكال باستخدام السمات (Polymorphism With Traits)

+

رست (Rust) يدعم تعدد الأشكال (Polymorphism) باستخدام السمات (Traits). تسمح لنا السمات (Traits) بربط مجموعة من التوابع (methods) بنوع هيكل (struct).

+

نحدد أولاً تواقيع (signatures) توابع السمة كما يلي:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

عندما ينفذ الهيكل (struct) سمة (trait) ما، فإنه ينشئ عقدًا يسمح لنا بالتفاعل بشكل غير مباشر مع الهيكل من خلال نوع سمة - trait type - (على سبيل المثال &dyn MyTrait) دون الحاجة إلى معرفة النوع الحقيقي.

+

يتم تعريف توابع السمة (traits methods) المراد تنفيذها في الهيكل ضمن كتلة التنفيذ (implementation block):

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_de.html b/78_de.html new file mode 100644 index 000000000..c7e7ebb2f --- /dev/null +++ b/78_de.html @@ -0,0 +1,63 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_en.html b/78_en.html new file mode 100644 index 000000000..0c8719f2e --- /dev/null +++ b/78_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_es.html b/78_es.html new file mode 100644 index 000000000..2bea78595 --- /dev/null +++ b/78_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfismo Con Traits

+

Rust permite el polimorfismo con traits. Los traits nos permiten asociar un conjunto de métodos con una estructura.

+

Primero definimos las especificaciones de los métodos en un trait:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

Cuando una estructura implementa un trait, establece un contrato que nos permite interactuar indirectamente con la estructura a través del Trait (e.g. &dyn MyTrait) sin tener que conocer el tipo real.

+

Los métodos de traits implementados en una estructura se definen dentro de un bloque de implementación:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_fa.html b/78_fa.html new file mode 100644 index 000000000..b2f08b9b8 --- /dev/null +++ b/78_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_fi.html b/78_fi.html new file mode 100644 index 000000000..267eb8f4b --- /dev/null +++ b/78_fi.html @@ -0,0 +1,63 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_fr.html b/78_fr.html new file mode 100644 index 000000000..f79e9861f --- /dev/null +++ b/78_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphisme avec les traits

+

Rust rend possible le polymorphisme grâce aux 'traits'. Les traits +nous permettent d'associer un ensemble de méthodes à une structure.

+

Il faut tout d'abord définir la signature des méthodes d'un trait:

+
trait MyTrait {
+  fn foo(&self);
+  ...
+}
+
+

Quand une structure implémente un trait, le trait établit un contrat entre +la structure et les méthodes que la structure doit implémenter. Cela nous +permetra d'interagir avec la structure à travers le type du trait +(par exemple &dyn MyTrait) sans avoir à connaître le type réel.

+

Les méthodes du trait implémentées par la structure sont définies dans un bloc +d'implémentation:

+
impl MyTrait for MyStruct { 
+  fn foo(&self){
+    ...
+  }
+  ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_gr.html b/78_gr.html new file mode 100644 index 000000000..cc450bcc9 --- /dev/null +++ b/78_gr.html @@ -0,0 +1,63 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_hu.html b/78_hu.html new file mode 100644 index 000000000..e00e31b0b --- /dev/null +++ b/78_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfizmus Trait-ek segítségével

+

A Rust az úgynevezett trait-ek segítségével oldja meg a polimorfizmust. Minden trait meghatároz +metódusokat, amikkel a struct-okat fel lehet ruházni.

+

Először is meghatározzuk, hogy is néz ki a trait és az általa nyújtott metódusok paraméterei:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

A trait-ekre gondolhatunk úgy, mint egy "szerződés," ami kimondja, hogy a trait-et megvalósító +struct-okra innentől a trait-en át is hivatkozhatunk (&dyn MyTrait), anélkül is, hogy tudnánk +a struct pontos típusát.

+

A struct-ok trait által előírt metódusait szintén egy implementációs blokkon belül írhatjuk meg:

+
impl MyTrait for MyStruct {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_id.html b/78_id.html new file mode 100644 index 000000000..ab7a52e30 --- /dev/null +++ b/78_id.html @@ -0,0 +1,63 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ie.html b/78_ie.html new file mode 100644 index 000000000..c702ccb97 --- /dev/null +++ b/78_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfisme con Trates

+

Rust subtene polimorfisme con trates (traits). Con trates noi posse associar un gruppe de metodes con un tip de struct.

+

Ante omno, noi defina li signaturas de metodes de un trate intra:

+
trait MiTrate {
+    fn foo(&self);
+    ...
+}
+
+

Quande un struct implementa un trate, it etablisse un contracte secun quel noi posse índirectmen interacter con li struct +tra li tip del trate (p.ex. &dyn MiTrate) sin dever conossen li ver tip.

+

Li implementat trate-metodes de un struct es definat intra:

+
impl MiTrate for MyStruct {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_it.html b/78_it.html new file mode 100644 index 000000000..82260243e --- /dev/null +++ b/78_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfismo con tratti

+

Rust supporta il polimorfismo con i tratti. I tratti ci permettono di associare un insieme di metodi con un tipo struct.

+

Per prima cosa definiamo le firme dei metodi di un tratto all'interno di:

+
trait MiaCaratteristica {
+    fn foo(&self);
+    ...
+}
+
+

Quando una struttura implementa un tratto, stabilisce un contratto che ce lo consente per interagire indirettamente con la struttura +attraverso il tipo di tratto (ad esempio &dyn MyTrait) senza dover conoscere il reale tipo.

+

I metodi dei tratti implementati di una struttura sono definiti all'interno di un'implementazione bloccare:

+
impl MiaCaratteristica per MiaStruttura {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ja.html b/78_ja.html new file mode 100644 index 000000000..ed465487a --- /dev/null +++ b/78_ja.html @@ -0,0 +1,62 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

トレイトを用いたポリモーフィズム

+

Rustは、トレイトによるポリモーフィズムをサポートしています。トレイトを使うと、構造体型にメソッド群を関連付けることができます。

+

まず、トレイト内のメソッドのシグネチャを定義します。

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

構造体がトレイトを実装すると、実際の型を知らなくてもトレイトの型(例:&dyn MyTrait)を通じて間接的に構造体と対話できる契約が確立されます。

+

構造体に実装されたトレイトメソッドは、実装ブロックの中で定義されます。

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ko.html b/78_ko.html new file mode 100644 index 000000000..ec0de5e9f --- /dev/null +++ b/78_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

다형성과 Trait

+

Rust는 trait으로 다형성을 지원합니다. trait은 메소드의 집합을 struct 자료형에 연결할 수 있게 해줍니다.

+

먼저 trait 안에 메소드 원형을 정의합니다:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

struct가 trait을 구현할 때, 실제 자료형이 무엇인지 알지 못하더라도 +그 trait 자료형을 통해 간접적으로 struct와 상호작용할 수 있도록 (예: &dyn MyTrait) 협약을 맺게 됩니다.

+

struct의 구현된 trait 메소드들은 구현 블록 안에 정의됩니다:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ne.html b/78_ne.html new file mode 100644 index 000000000..46cfac133 --- /dev/null +++ b/78_ne.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_pl.html b/78_pl.html new file mode 100644 index 000000000..030447b44 --- /dev/null +++ b/78_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_pt-br.html b/78_pt-br.html new file mode 100644 index 000000000..d7f315c12 --- /dev/null +++ b/78_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfismo com traits

+

O Rust suporta o polimorfismo com traits. As traits nos permitem associar um conjunto de métodos a um tipo struct.

+

Primeiro definimos as assinaturas dos métodos de uma trait internamente:

+
trait MinhaTrait {
+    fn foo(&self);
+    ...
+}
+
+

Quando uma estrutura implementa uma trait, ela estabelece um contrato que nos permite interagir indiretamente com a struct por meio do tipo da trait (por exemplo, &dyn MinhaTrait) sem precisar conhecer o tipo real.

+

Os métodos da trait implementados na struct são definidos dentro de um bloco de implementação:

+
impl MinhaTrait for MinhaStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ro.html b/78_ro.html new file mode 100644 index 000000000..af1c0e814 --- /dev/null +++ b/78_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfismul prin trăsături

+

Rust suportă polimorfismul prin trăsături (în engleză traits). Trăsăturile ne permit asocierea unui set de metode cu o structura.

+

Prima dată definim semnăturile metodelor unei trăsături în:

+
trait TrasaturaMea {
+    fn foo(&self);
+    ...
+}
+
+

Când o structură implementează o trăsătură, este stabilit un contract ce permite interacțiunea noastră indirectă cu structura, prin tipul trăsăturii (exemplu: &dyn TrasaturaMea ), fără a fi nevoie să cunoaștem tipul real al structurii.

+

Metodele trăsăturii implementate de structură sunt definite în cadrul unui bloc de implementare:

+
impl TrasaturaMea for StructuraMea {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ru.html b/78_ru.html new file mode 100644 index 000000000..16d88a553 --- /dev/null +++ b/78_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Полиморфизм с помощью типажей (Traits)

+

Rust поддерживает полиморфизм с помощью типажей. Типажи позволяют связывать набор методов со структурным типом (struct, enum).

+

Сначала мы определяем сигнатуры методов типажа в коде как:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

Когда структура реализует типаж, она устанавливает контракт поведения, который позволяет нам косвенно взаимодействовать со структурой через тип данного типажа (например, &dyn MyTrait) без необходимости знать реальный тип.

+

Методы типажа, реализованные структурой определяются в блоке реализации:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_th.html b/78_th.html new file mode 100644 index 000000000..bda13e5a4 --- /dev/null +++ b/78_th.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphism ด้วย Traits

+

Rust สนับสนุน polymorphism ด้วย traits โดย Traits จะช่วยให้เราเชื่อมโยงกลุ่มของเมธอด เข้ากับ struct type ได้

+

ขั้นแรกเราต้องกำหนดลักษณะเฉพาะของเมธอดใน trait ก่อน:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

เมื่อมี struct ใดต้องการอิมพลีเมนต์ trait มันจะสร้างสัญญาขึ้นมาเพื่ออนุญาต ให้เราใช้วิธีการโต้ตอบกับ struct แบบที่ trait กำหนดไว้ (จากตัวอย่าง &dyn MyTrait)

+

โดยไม่ต้องรู้เลยว่า type ที่แท้จริงของมันคืออะไร

+

วิธีการทำให้ struct ใช้เมธอดของ traits ทำภายในบล็อกแบบนี้:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_tr.html b/78_tr.html new file mode 100644 index 000000000..73b2699b1 --- /dev/null +++ b/78_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Özellikler ve Çok Biçimlilik

+

Rust'ta bir dizi yöntemi struct ve enum gibi yapılandırılmış türlerle ilişkilendirmemize izin veren yapılara özellik adını veririz. Ve Rust çok biçimlilik özellikler aracılığıyla desteklenir.

+

Bir özelliğe ait yöntemi aşağıdaki gibi tanımlayabilirsiniz:

+
trait BirOzellik {
+    fn bir_yontem(&self);
+    ...
+}
+
+

Bir yapı bir özelliği uyguladığında, &dyn BirOzellik şeklindeki özellik türü sayesinde ve gerçek tür bilgisine ihtiyaç duymaksızın, kendisiyle dolaylı şeklide etkileşebileceğimiz bir sözleşme oluşturur.

+

Yapı tarafından uygulanması istenen özellik yöntemleri, bir uygulama bloğunda tanımlanmak zorundadır:

+
impl BirOzellik for BirYapi { 
+    fn bir_yontem(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_ua.html b/78_ua.html new file mode 100644 index 000000000..9a0fa4c5c --- /dev/null +++ b/78_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Поліморфізм у Traits

+

Rust підтримує поліморфізм за допомогою ознак (Traits). Властивості дозволяють нам пов'язати набір методів зі структурним типом.

+

Спочатку ми визначаємо сигнатури методів, що входять до складу ознаки (Trait):

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

Коли структура реалізує трейт, вона встановлює контракт, який дозволяє нам опосередковано взаємодіяти зі структурою +через тип риси (наприклад, &dyn MyTrait) без необхідності знати реальний тип.

+

Реалізовані методи трейтів структури визначаються в межах реалізації блоку реалізації:

+
impl MyTrait for MyStruct {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_vi.html b/78_vi.html new file mode 100644 index 000000000..f93f92d3c --- /dev/null +++ b/78_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tính đa hình với các đặc điểm

+

Rust hỗ trợ tính đa hình với các đặc điểm(trait). Các đặc điểm cho phép chúng ta liên kết một tập hợp các phương thức với một kiểu cấu trúc.

+

Đầu tiên chúng ta xác định các dấu hiệu của các phương thức của một đặc điểm trong:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

Khi một struct triển khai một đặc điểm, nó sẽ thiết lập một hợp đồng cho phép chúng ta tương tác gián tiếp với struct thông qua loại đặc điểm (ví dụ: &dyn MyTrait) mà không cần biết loại thực sự.

+

Các đặc điểm của struct được xác định trong một khối thực hiện(implementation block):

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_zh-cn.html b/78_zh-cn.html new file mode 100644 index 000000000..aa6c215a4 --- /dev/null +++ b/78_zh-cn.html @@ -0,0 +1,62 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

使用 Trait 实现多态

+

Rust 支持多态的特性。Trait 允许我们将一组方法与结构类型关联起来。

+

我们首先在 Trait 里面定义函数签名:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

当一个结构体实现一个 trait 时,它便建立了一个契约,允许我们通过 trait 类型与结构体进行间接交互(例如 &dyn MyTrait),而不必知道其真实的类型。

+

结构体实现 Trait 方法是在实现块中定义要实现的方法:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/78_zh-tw.html b/78_zh-tw.html new file mode 100644 index 000000000..3eb4262d9 --- /dev/null +++ b/78_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵多型 (polymorphism with traits)

+

Rust 支援特徵 (trait) 多型。特徵允許我們將一組方法與一個結構型別關聯在一起。

+

我們首先定義一個特徵的方法的簽章 (signature):

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

當一個結構實作一個特徵時,它建立了一個契約允許我們透過該特徵 (例如:&dyn MyTrait) 間接的與該結構互動, 而不需要知道它真正的型別。

+

一個結構實作特徵方法被定義在實作區塊裡:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_al.html b/79_al.html new file mode 100644 index 000000000..9c5c715a5 --- /dev/null +++ b/79_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_ar.html b/79_ar.html new file mode 100644 index 000000000..c98a39ff6 --- /dev/null +++ b/79_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التوابع المنفذة في السمات (Implemented Methods On Traits)

+

يمكن أن يكون للسمات (Traits) توابع منفذة (implemented methods). ويمكن تسميتها بالتوابع الإفتراضية.

+

لا تتمتع هذه التوابع بإمكانية الوصول المباشر إلى الحقول الداخلية للهيكل، ولكنها قد تكون مفيدة لمشاركة السلوك بين العديد من منفذي السمات (trait implementors).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_de.html b/79_de.html new file mode 100644 index 000000000..793dec1c8 --- /dev/null +++ b/79_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_en.html b/79_en.html new file mode 100644 index 000000000..6774fa314 --- /dev/null +++ b/79_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_es.html b/79_es.html new file mode 100644 index 000000000..194f10351 --- /dev/null +++ b/79_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Métodos Implementados en Traits

+

Los traits pueden tener métodos implementados.

+

Las funciones no tienen acceso directo a los campos internos de una estructura, pero puede ser útil para compartir el comportamiento entre muchos implementadores de traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_fa.html b/79_fa.html new file mode 100644 index 000000000..1568f4c9a --- /dev/null +++ b/79_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_fi.html b/79_fi.html new file mode 100644 index 000000000..6e8efaf55 --- /dev/null +++ b/79_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_fr.html b/79_fr.html new file mode 100644 index 000000000..e50cb89bd --- /dev/null +++ b/79_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Méthodes implémentées sur les traits

+

Un 'trait' peut lui-même implémenter une ou plusieurs méthodes.

+

Les méthodes d'un trait n'ont pas accès aux champs des structures +mais elles peuvent être utiles pour partager un comportement +entre plusieurs implémentations de traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_gr.html b/79_gr.html new file mode 100644 index 000000000..7559d7414 --- /dev/null +++ b/79_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_hu.html b/79_hu.html new file mode 100644 index 000000000..1cabf1d9f --- /dev/null +++ b/79_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait-ek által megvalósított metódusok

+

A trait-ek maguk is megvalósíthatnak metódusokat.

+

Az ilyen metódusok nem képesek elérni a struct-ok mezőit, de hasznosak lehetnek olyan esetekben, +amikor olyan viselkedlst szeretnénk leírni, ami sokféle struct-ban előfordul.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_id.html b/79_id.html new file mode 100644 index 000000000..6090cf6f0 --- /dev/null +++ b/79_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_ie.html b/79_ie.html new file mode 100644 index 000000000..eb7c9253b --- /dev/null +++ b/79_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Implementat Metodes sur Trates

+

Trates posse haver metodes implementat.

+

Li functiones have null direct accesse al inter campes de un struct, ma it posse esser +util por partiprender conduida inter mani implementatores de trates.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_it.html b/79_it.html new file mode 100644 index 000000000..3c7a35ad1 --- /dev/null +++ b/79_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metodi implementati sui tratti

+

I tratti possono avere metodi implementati.

+

Le funzioni non hanno accesso diretto ai campi interni di una struttura, ma esso Potere +essere utile per condividere il comportamento tra molti implementatori di tratti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_ja.html b/79_ja.html new file mode 100644 index 000000000..fd6236e78 --- /dev/null +++ b/79_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

トレイトに実装されたメソッド

+

トレイトは実装されたメソッドを持つことができます。

+

この関数は構造体の内部フィールドに直接アクセスすることはできませんが、多くのトレイトの実装の間で動作を共有するのに便利です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_ko.html b/79_ko.html new file mode 100644 index 000000000..fca913315 --- /dev/null +++ b/79_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait에 구현된 메소드

+

trait에 메소드를 구현해 넣을 수 있습니다.

+

함수가 struct 내부의 field에 직접 접근할 수는 없지만, +trait 구현체들 사이에서 동작을 공유할 때 유용하게 쓰입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_ne.html b/79_ne.html new file mode 100644 index 000000000..bab5b8c7e --- /dev/null +++ b/79_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_pl.html b/79_pl.html new file mode 100644 index 000000000..2b855d41d --- /dev/null +++ b/79_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_pt-br.html b/79_pt-br.html new file mode 100644 index 000000000..d1252dfd3 --- /dev/null +++ b/79_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Métodos implementados nas traits

+

As traits podem ter métodos implementados.

+

As funções não têm acesso direto aos campos internos de uma struct, mas podem ser úteis para compartilhar comportamentos entre muitos implementadores de traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_ro.html b/79_ro.html new file mode 100644 index 000000000..87764abb9 --- /dev/null +++ b/79_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metode implementate trăsăturilor

+

Trăsăturile pot avea metode implementate.

+

Funcțiile nu au acces direct asupra câmpurilor interioare ale unei structuri, dar aceste metode implementate trăsăturilor pot fi folositoare în distribuirea comportamentelor între mai mulți implementatori ai trăsăturilor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_ru.html b/79_ru.html new file mode 100644 index 000000000..16d701ac2 --- /dev/null +++ b/79_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Реализация методов в самих типажах

+

Типажи могут иметь реализованные методы.

+

Функции не имеют прямого доступа к внутренним полям структуры, но могут быть полезны для обмена поведением между многими реализациями типажа.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_th.html b/79_th.html new file mode 100644 index 000000000..a5a468a34 --- /dev/null +++ b/79_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การสร้างเมธอดไว้ใน Traits

+

ตัว Traits เองสามารถมีเมธอดที่ทำงานจริงได้ด้วย

+

แต่ฟังก์ชันพวกนี้จะไม่มีการเข้าถึงฟิลด์ใน struct ตรงๆ แต่จะได้ประโยชน์ในแง่ ที่มันเห็นพฤติกรรมที่ trait มีไว้ใช้ทั้งหมด

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_tr.html b/79_tr.html new file mode 100644 index 000000000..00040fd6c --- /dev/null +++ b/79_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Özelliklere Uygulanan Yöntemler

+

Özelliklerin de uyguladıkları kendi yöntemleri olabilir.

+

Ancak özelliklerin uyguladığı yöntemler yapı alanlarına erişimediklerinden, çeşitli özellik uygulamaları arasındaki davranışları paylaşırken yararlıdırlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_ua.html b/79_ua.html new file mode 100644 index 000000000..3202a46ca --- /dev/null +++ b/79_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Імплементація методів у Traits

+

Трейт може мати імплементовані методи.

+

Функції не мають прямого доступу до внутрішніх полів структури, але вони можуть бути корисним для спільного використання поведінки між багатьма реалізаторами трейтів.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_vi.html b/79_vi.html new file mode 100644 index 000000000..10ff19c43 --- /dev/null +++ b/79_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Các phương thức được triển khai trên các đặc điểm

+

Các đặc điểm có thể thực hiện các phương thức.

+

Các hàm không có quyền truy cập trực tiếp vào các trường bên trong của struct, nhưng nó có thể hữu ích cho việc chia sẻ hành vi giữa nhiều đặc tính.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_zh-cn.html b/79_zh-cn.html new file mode 100644 index 000000000..cc934b38f --- /dev/null +++ b/79_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 自带方法

+

Trait 可以有已实现的方法。

+

这些函数并不能直接访问结构体的内部字段,但它可以在许多 trait 实现者之间共享行为。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/79_zh-tw.html b/79_zh-tw.html new file mode 100644 index 000000000..3fac0c79b --- /dev/null +++ b/79_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵上的方法 (implemented methods on traits)

+

特徵可以有方法。

+

函式沒有直接存取一個結構內部欄位的權限,但它可以被所有特徵實作者共享。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_al.html b/80_al.html new file mode 100644 index 000000000..151e68e66 --- /dev/null +++ b/80_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ar.html b/80_ar.html new file mode 100644 index 000000000..6635a5072 --- /dev/null +++ b/80_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

وراثة السمات (Trait Inheritance)

+

يمكن أن ترث السمات (Traits) توبع من سمات أخرى.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_de.html b/80_de.html new file mode 100644 index 000000000..965a45544 --- /dev/null +++ b/80_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_en.html b/80_en.html new file mode 100644 index 000000000..187bbb861 --- /dev/null +++ b/80_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_es.html b/80_es.html new file mode 100644 index 000000000..ae582a80c --- /dev/null +++ b/80_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Herencia de Traits

+

Los traits pueden heredar los métodos de otros traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_fa.html b/80_fa.html new file mode 100644 index 000000000..4f4f1c158 --- /dev/null +++ b/80_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_fi.html b/80_fi.html new file mode 100644 index 000000000..cb17e1b08 --- /dev/null +++ b/80_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_fr.html b/80_fr.html new file mode 100644 index 000000000..b0b8b8681 --- /dev/null +++ b/80_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hériter d'un trait

+

Un trait peut hériter d'un autre trait.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_gr.html b/80_gr.html new file mode 100644 index 000000000..850f31b1b --- /dev/null +++ b/80_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_hu.html b/80_hu.html new file mode 100644 index 000000000..b655e6289 --- /dev/null +++ b/80_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait-ek öröklése

+

A trait-ek képesek más trait-ekből metódusokat örökölni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_id.html b/80_id.html new file mode 100644 index 000000000..b27e32eff --- /dev/null +++ b/80_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ie.html b/80_ie.html new file mode 100644 index 000000000..ebf50eb8c --- /dev/null +++ b/80_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Heredantie de Trates

+

Trates posse heredar metodes ex altri trates.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_it.html b/80_it.html new file mode 100644 index 000000000..3ab8a1fc7 --- /dev/null +++ b/80_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eredità dei tratti

+

I tratti possono ereditare metodi da altri tratti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ja.html b/80_ja.html new file mode 100644 index 000000000..aad170109 --- /dev/null +++ b/80_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

トレイトの継承

+

トレイトは他のトレイトからメソッドを継承することができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ko.html b/80_ko.html new file mode 100644 index 000000000..dce3afe0f --- /dev/null +++ b/80_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 상속

+

trait은 다른 trait의 메소드들을 상속 받을 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ne.html b/80_ne.html new file mode 100644 index 000000000..0ff84034f --- /dev/null +++ b/80_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_pl.html b/80_pl.html new file mode 100644 index 000000000..2a735c636 --- /dev/null +++ b/80_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_pt-br.html b/80_pt-br.html new file mode 100644 index 000000000..a2669b0f2 --- /dev/null +++ b/80_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Herança das traits

+

As traits podem herdar métodos de outras traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ro.html b/80_ro.html new file mode 100644 index 000000000..53060fb8b --- /dev/null +++ b/80_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Moștenirea trăsăturilor

+

Trăsăturile pot moșteni metode de la alte trăsături.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ru.html b/80_ru.html new file mode 100644 index 000000000..bb160665c --- /dev/null +++ b/80_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Наследование типажа (Trait Inheritance)

+

Типажи могут наследовать методы от других типажей.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_th.html b/80_th.html new file mode 100644 index 000000000..963e92c2c --- /dev/null +++ b/80_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait สืบทอดได้

+

Traits ทำการสือทอดเมธอดจาก traits ตัวอื่นได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_tr.html b/80_tr.html new file mode 100644 index 000000000..c79587c2d --- /dev/null +++ b/80_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Özellik Kalıtımı

+

Bir özellik kendi yöntemlerini, diğer özelliklerden kalıtım yoluyla edinebilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_ua.html b/80_ua.html new file mode 100644 index 000000000..9054f571c --- /dev/null +++ b/80_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Наслідування у Traits

+

Трейти можуть наслідувати методи з інших трейтів.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_vi.html b/80_vi.html new file mode 100644 index 000000000..e435f9d2b --- /dev/null +++ b/80_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thừa kế đặc điểm

+

Các đặc điểm có thể kế thừa phương thức từ các đặc điểm khác.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_zh-cn.html b/80_zh-cn.html new file mode 100644 index 000000000..7e331ebef --- /dev/null +++ b/80_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 继承

+

Traits 可以从其他 trait 继承方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/80_zh-tw.html b/80_zh-tw.html new file mode 100644 index 000000000..5f4c6fb24 --- /dev/null +++ b/80_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵繼承 (trait inheritance)

+

特徵可以從其他特徵繼承方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_al.html b/81_al.html new file mode 100644 index 000000000..9e8f2046c --- /dev/null +++ b/81_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ar.html b/81_ar.html new file mode 100644 index 000000000..f0ac977b2 --- /dev/null +++ b/81_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الإرسال الحيوي والساكن (Dynamic vs Static Dispatch)

+

التوابع تنفذ بطريقتين:

+
    +
  • الإرسال الساكن (static dispatch) - عندما يكون نوع المثيل (instance) معروفًا، تكون لدينا معرفة مباشرة بالدلة التي يجب استدعاؤها.
  • +
  • الإرسال الحيوي (dynamic dispatch) - عندما لا يكون نوع المثيل (instance) معروفًا، يجب علينا اكتشاف طريقة ما لاستدعاء الدالة الصحيحة.
  • +
+

أنواع السمات (Trait types) أي &dyn MyTrait القدرة على العمل مع مثلاء الكائنات (instances of objects) بشكل غير مباشر باستخدام الإرسال الحيوي أو الديناميكي.

+

عند استخدام الإرسال الحيوي (dynamic dispatch)، سيشجعك رست (Rust) على وضع dyn قبل نوع السمة الخاصة بك حتى يكون الناس على علم بذلك.

+

تفاصيل الذاكرة:

+
    +
  • الإرسال الحيوي (dynamic dispatch) أبطأ قليلاً بسبب تعقب المؤشر (pointer) من أجل العثور على استدعاء الدلية الحقيقية.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_de.html b/81_de.html new file mode 100644 index 000000000..df4c2af0a --- /dev/null +++ b/81_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_en.html b/81_en.html new file mode 100644 index 000000000..9caf4dc97 --- /dev/null +++ b/81_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_es.html b/81_es.html new file mode 100644 index 000000000..f381cbf46 --- /dev/null +++ b/81_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Resolución Dinámica y Estática

+

Los métodos se ejecutan de dos maneras:

+
    +
  • Resolución estática - Cuando se conoce el tipo de instancia, tenemos conocimiento directo de qué función llamar.
  • +
  • Resolución dinámica - Cuando no se conoce el tipo de instancia, debemos encontrar alguna forma de llamar a la función correcta.
  • +
+

Los tipos de traits &dyn MyTrait nos dan la capacidad de trabajar con instancias de objetos indirectamente usando la resolución dinámica.

+

Al usar resolución dinámica, Rust te recomendará anteponer dyn al tipo de trait para que quede reflejado.

+

Detalles de la memoria:

+
    +
  • La resolución dinámica es ligeramente más lenta debido a que el puntero tiene que buscar la llamada a la función correcta.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_fa.html b/81_fa.html new file mode 100644 index 000000000..4a4b12fd5 --- /dev/null +++ b/81_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_fi.html b/81_fi.html new file mode 100644 index 000000000..0edc5761c --- /dev/null +++ b/81_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_fr.html b/81_fr.html new file mode 100644 index 000000000..34b1616ee --- /dev/null +++ b/81_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dispatch dynamique ou statique

+

Une méthode est exécutée de deux manières:

+
    +
  • Dispatch statique - Lorsque le type de l'instance est connu, nous avons +une connaissance directe de la méthode à appeler.
  • +
  • Dispatch dynamique - Lorsque le type de l'instance n'est pas connu, Rust +doit se débrouiller pour appeler la bonne méthode.
  • +
+

Les types de traits &dyn MyTrait nous permettent de travailler indirectement +avec des instances d'objets en utilisant un dispatch dynamique.

+

Lorsque qu'un dispach dynamique est utilisé, Rust nous encouragera (il affichera +un warning) à placer dyn devant le type du trait pour indiquer que c'est un +trait.

+

Détails de la mémoire:

+
    +
  • Le dispach dynamique est légèrement plus lent que le dispatch statique car +il faut trouver la méthode à appeler.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_gr.html b/81_gr.html new file mode 100644 index 000000000..aae5912cc --- /dev/null +++ b/81_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_hu.html b/81_hu.html new file mode 100644 index 000000000..f2d5cff0f --- /dev/null +++ b/81_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dinamikus és statikus meghívás

+

A metódusok kétféleképp hívhatóak meg:

+
    +
  • statikus meghívás - Tudjuk mi a típus, így pontosan tudjuk azt is, melyik függvény kerül +meghívásra.
  • +
  • dinamikus meghívás - Nem tudjuk mi a típus, így először meg kell találnunk, melyik függvényt +is kell meghívni.
  • +
+

A trait-típusok, mint például &dyn MyTrait lehetővé teszik számunkra, hogy a dinamikus +meghívás segítségével hívjuk meg az ezt megvalósító struct-ok példányait.

+

Amikor dinamikus meghívást használsz, erősen ajánlott a dyn kulcsszó használata, hogy a többi +kódon dolgozó ember is tisztában legyen azzal, hogy mi történik.

+

Hogyan érinti ez a memóriát:

+
    +
  • A dinamikus meghívás kissé lassabb, mert először le kell követnünk egy mutatót, hogy +megtaláljuk, melyik függvényről is van szó.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_id.html b/81_id.html new file mode 100644 index 000000000..5a1f9cb4a --- /dev/null +++ b/81_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ie.html b/81_ie.html new file mode 100644 index 000000000..69af6d1ba --- /dev/null +++ b/81_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dinamic contra Static Dispatch (Depeche)

+

On execute metodes secun du manieres quam seque:

+
    +
  • dispatch static - Quande on save li tip del instantie, noi save directmen pri quel function a vocar.
  • +
  • dispatch dinamic - Quande on ne save li tip del instantie, noi deve trovar un maniere por vocar li function corect.
  • +
+

Li tip de un trate &dyn MyTrait possibilisa li manipulation de objectes índirectmen con dispatch dinamic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_it.html b/81_it.html new file mode 100644 index 000000000..74fc8c99e --- /dev/null +++ b/81_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Invio dinamico e statico

+

I metodi vengono eseguiti in due modi:

+
    +
  • invio statico: quando il tipo di istanza è noto, abbiamo direct conoscenza di quale funzione chiamare.
  • +
  • invio dinamico: quando un tipo di istanza non è noto, dobbiamo scoprirlo un modo per chiamare la funzione corretta.
  • +
+

I tipi di tratto "&dyn MyTrait" ci danno la possibilità di lavorare con istanze di oggetti indirettamente utilizzando l'invio dinamico.

+

Quando viene utilizzato l'invio dinamico, Rust ti incoraggerà a mettere dyn prima il tuo tipo di tratto in modo che le persone ne siano consapevoli.

+

Dettagli della memoria:

+
    +
  • L'invio dinamico è leggermente più lento a causa del puntatore che cerca di trovare la vera chiamata di funzione.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ja.html b/81_ja.html new file mode 100644 index 000000000..e3574fe9c --- /dev/null +++ b/81_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

動的ディスパッチと静的ディスパッチ

+

メソッドは2つの方法で実行されます。

+
    +
  • 静的ディスパッチ - インスタンスの型がわかっている場合、どの関数を呼び出せばよいかを直接知ることができる。
  • +
  • 動的ディスパッチ - インスタンスタイプが不明な場合、正しい関数を呼び出す方法を見つけなければならない。
  • +
+

トレイト型である &dyn MyTrait は、動的ディスパッチを使って間接的にオブジェクトのインスタンスを操作する機能を提供します。

+

動的ディスパッチを使用する場合、Rustは、人々が認識できるように、トレイト型の前に dyn を置くことを推奨します。

+

メモリの詳細:

+
    +
  • 動的ディスパッチは、実際の関数呼び出しを見つけるためにポインタを追跡するため、わずかに遅くなります。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ko.html b/81_ko.html new file mode 100644 index 000000000..fae72603d --- /dev/null +++ b/81_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

동적 vs 정적 디스패치

+

메소드는 다음의 두 가지 방식으로 실행됩니다:

+
    +
  • 정적 디스패치 (static dispatch) - 인스턴스의 자료형을 알고 있는 경우, 어떤 함수룰 호출해야 하는지 정확히 알고 있습니다.
  • +
  • 동적 디스패치 (dynamic dispatch) - 인스턴스의 자료형을 모르는 경우, 올바른 함수를 호출할 방법을 찾아야 합니다.
  • +
+

trait 자료형인 &dyn MyTrait은 동적 디스패치를 통해 객체의 인스턴스들을 간접적으로 작동시킬 수 있게 해줍니다.

+

동적 디스패치를 사용할 경우, Rust에서는 사람들이 알 수 있도록 trait 자료형 앞에 dyn을 붙일 것을 권고합니다.

+

메모리 상세:

+
    +
  • 동적 디스패치는 실제 함수 호출을 위한 포인터 추적으로 인해 조금 느릴 수 있습니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ne.html b/81_ne.html new file mode 100644 index 000000000..39d0b6a64 --- /dev/null +++ b/81_ne.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_pl.html b/81_pl.html new file mode 100644 index 000000000..bf8deb5f7 --- /dev/null +++ b/81_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_pt-br.html b/81_pt-br.html new file mode 100644 index 000000000..ec702dfb5 --- /dev/null +++ b/81_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dispatch dinâmico x estático

+

Os métodos são executados de duas maneiras:

+
    +
  • static dispatch - quando o tipo da instância é conhecido, temos conhecimento direto de qual função chamar.
  • +
  • dynamic dispatch - quando o tipo da instância não é conhecido precisamos descobrir uma maneira de chamar a função correta.
  • +
+

Os tipos de trait &dyn MinhaTrait nos permite a habilidade de trabalhar com instâncias de objetos indiretamente usando dispatch dinâmico.

+

Quando o dispatch dinâmico é usado, o Rust irá encorajar você a pôr o dyn antes do seu tipo da trait, assim os outros ficarão cientes.

+

Detalhes da memória:

+
    +
  • O dispatch dinâmico é um pouco mais lento por causa da procura que o ponteiro realiza para localizar a verdadeira chamada da função.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ro.html b/81_ro.html new file mode 100644 index 000000000..ce8cdd432 --- /dev/null +++ b/81_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Expediere dinamică vs statică

+

Metodele sunt executate în două moduri:

+
    +
  • expediere statică (static dispatch) - când tipul instanței este cunoscut, știm în mod direct ce funcție să apelăm.
  • +
  • expediere dinamică (dynamic dispatch) - când tipul instanței nu este cunoscut trebuie să găsim o modalitate de a apela funcția corectă.
  • +
+

Tipurile trăsăturilor &dyn TrasaturaMea ne dau abilitatea de a lucra cu instanțe ale obiectelor în mod indirect, folosind expedierea dinamică.

+

Când expedierea dinamică este folosită, este necesar să puneți dyn înaintea trăsăturii.

+

Detalii cu privire la memorie:

+
    +
  • Expedierea dinamică este puțin mai lentă, din cauza urmăririi prin pointeri pentru a determina apelul de funcție real.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ru.html b/81_ru.html new file mode 100644 index 000000000..5c6bbbfde --- /dev/null +++ b/81_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Динамическая vs Статическая диспетчеризация (Dynamic vs Static Dispatch)

+

Методы выполняются двумя способами:

+
    +
  • статическая диспетчеризация (static dispatch) - Когда тип экземпляра для вызываемого метода известен, мы имеем ясное представление о том какую функцию вызывать.
  • +
  • динамическая диспетчеризация (dynamic dispatch) - Когда тип экземпляра неизвестен, мы должны найти способ вызова на нем правильной функции.
  • +
+

Типы типажа в виде &dyn MyTrait дают возможность работать с экземплярами объектов косвенно, используя динамическую диспетчеризацию.

+

Когда используется динамическая диспетчеризация (dynamic dispatch), Rust будет просить вас поставить dyn перед типом типажа, чтобы люди знали об этом.

+

Детали для запоминания:

+
    +
  • Динамическая диспетчеризация является более медленным вызовом методов из-за просмотра указателя (pointer chasing), чтобы найти реальный адрес вызываемой функции.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_th.html b/81_th.html new file mode 100644 index 000000000..cea267072 --- /dev/null +++ b/81_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dynamic vs Static Dispatch

+

เมธอดถูกเรียกได้จากสองวิธี:

+
    +
  • static dispatch - เมื่อรู้ type ของอินสแตนซ์เราก็รู้อยู่แล้วว่ามันจะเรียกใช้อย่างไร
  • +
  • dynamic dispatch -เมื่อเราไม่รู้ว่าอินสแตนซ์นั้นเป็น type อะไรกันแน่ เราจึงต้อง หาวิธีที่รู้ให้ได้ว่าจะเรียกใช้ฟังก์ชันอะไรถึงจะถูกต้อง
  • +
+

&dyn MyTrait เป็นประเภทของ trait ที่จะทำให้เราทำงานกับอินสแตนซ์นั้นได้ โดยทางอ้อม ผ่านทาง dynamic dispatch

+

เมื่อจะใช้ dynamic dispatch เมื่อไหร่ Rust แนะนำให้ใส่ dyn เข้าไปหน้าตัวแปร trait เพื่อให้คนอื่นรับรู้

+

รายละเอียดหน่วยความจำ:

+
    +
  • Dynamic dispatch นั้นจะทำงานได้ช้า เพราะว่า ต้องเสียเวลาค้นหาฟังก์ชันตัวจริงมาใช้งาน
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_tr.html b/81_tr.html new file mode 100644 index 000000000..8088d9c32 --- /dev/null +++ b/81_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ya Dinamik Ya Statik İletim

+

Yöntemler iki şekilde işletilir:

+
    +
  • Statik iletim - Bu çağrı şeklinde örneğin türü zaten bilindiğinden, çağrılacak işlev hakkında doğrudan bilgimiz vardır.

  • +
  • Dinamik iletim - Bu çağrı şeklinde örnek türü bilinmediğinden, doğru işlevi çağırmanın bir yolunu bulmamız gerekir.

  • +
+

&dyn BirOzellik şeklinde sembolize edebileceğimiz özellik türleri, dinamik iletimi kullanarak, nesne örnekleriyle dolaylı şekilde çalışmamızı sağlarlar.

+

Dinamik iletim çağrılarında Rust, kullanıcıların bu çağrıyı fark edebilmeleri için, özellik türünün önüne dyn belirtecini eklememizi ister.

+

Bellek ayrıntıları:

+
    +
  • Dinamik iletim, çağrılan işlevin gerçek adresini bulmak için işaretçi takibi gerektirdiğinden, daha yavaş bir yöntem çağrısı olarak kabul edilir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_ua.html b/81_ua.html new file mode 100644 index 000000000..cb78cf192 --- /dev/null +++ b/81_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Динамічна та статична диспетчеризації.

+

Методи виконуються двома способами:

+
    +
  • статична диспетчеризація - коли відомий тип екземпляра, і ми знаємо яку функцію викликати.
  • +
  • динамічна диспетчеризація - коли тип екземпляра невідомий, і ми повинні з'ясувати якийсь спосіб виклику правильної функції.
  • +
+

Типи трейтів &dyn MyTrait дають нам можливість працювати з екземплярами об'єктів опосередковано, використовуючи динамічну диспетчеризацію.

+

Коли використовується динамічна диспетчеризація, Rust рекомендуватиме вам поставити dyn перед вашим типом ознаки, щоб інші знали про це.

+

Деталі роботи за памяттю:

+
    +
  • Динамічна диспетчеризація працює дещо повільніше через покажчик, котрий займається пошуком функції, і її виконанням.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_vi.html b/81_vi.html new file mode 100644 index 000000000..e2b41bd68 --- /dev/null +++ b/81_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Điều phối động vs điều phối tĩnh

+

Các phương thức được thực thi theo hai cách:

+
    +
  • static dispatch(điều phối tĩnh) - Khi kiểu thể hiện được biết, chúng ta biết trực tiếp về hàm nào sẽ gọi.
  • +
  • dynamic dispatch(điều phối động) - Khi một kiểu thể hiện không được biết, chúng ta phải tìm ra một số cách gọi hàm chính xác.
  • +
+

Các kiểu đặc điểm &dyn MyTrait cho chúng ta khả năng làm việc với các trường hợp của đối tượng một cách gián tiếp bằng cách sử dụng điều phối động.

+

Khi sử dụng điều phối động, Rust sẽ khuyến khích bạn đặt dyn trước loại đặc điểm của bạn để mọi người nhận biết.

+

Chi tiết bộ nhớ:

+
    +
  • Điều phối động hơi chậm hơn do con trỏ đuổi theo để tìm lệnh gọi hàm thực.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_zh-cn.html b/81_zh-cn.html new file mode 100644 index 000000000..be041c639 --- /dev/null +++ b/81_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

动态调度和静态调度

+

方法的执行有两种方式:

+
    +
  • 静态调度——当实例类型已知时,我们直接知道要调用什么函数。
  • +
  • 动态调度——当实例类型未知时,我们必须想方法来调用正确的函数。
  • +
+

Trait 类型 &dyn MyTrait 给我们提供了使用动态调度间接处理对象实例的能力。

+

当使用动态调度时,Rust 会鼓励你在你的 trait 类型前加上dyn,以便其他人知道你在做什么。

+

内存细节:

+
    +
  • 动态调度的速度稍慢,因为要追寻指针以找到真正的函数调用。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/81_zh-tw.html b/81_zh-tw.html new file mode 100644 index 000000000..e13dbdcb0 --- /dev/null +++ b/81_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

動態與靜態的發送 (dynamic vs static ispatch)

+

執行方法有兩種方式:

+
    +
  • 靜態發送 - 當一個實體型別是已知的,那我們就直接知道有哪些函式可以呼叫。
  • +
  • 動態發送 - 當一個實體型別是未知的,我們就必須找出某種呼叫函式的正確方式。
  • +
+

&dyn MyTrait 這個特徵型別讓我們有能力間接使用動態發送操作該實體物件。

+

當動態發送被使用時,Rust 鼓勵你將 dyn 放在你的特徵型別前面,這樣其他人才會知道。

+

記憶體細節:

+
    +
  • 動態發送稍稍慢了一點,因為需要追蹤指標 (pointer) 找到真正的函式呼叫。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/82_al.html b/82_al.html new file mode 100644 index 000000000..e5307853e --- /dev/null +++ b/82_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ar.html b/82_ar.html new file mode 100644 index 000000000..19171f8fc --- /dev/null +++ b/82_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

كائنات السمة (Trait Objects)

+

عندما نقوم بتمرير مثيل (instance) الكائن إلى معلمة (parameter) من النوع &dyn MyTrait، فإننا نمرر ما يسمى بـ كائن السمة (trait object).

+

كائن السمة (trait object) هو ما يسمح لنا باستدعاء غير مباشر للتوابع الصحيحة للمثيل (instance). كائن السمة عبارة عن هيكل يحمل مؤشر (pointer) المثيل الخاص بنا مع قائمة مؤشرات الدوال (function pointers) لتوابعه.

+

تفاصيل الذاكرة:

+
    +
  • تُعرف قائمة الدوال هذه في لغة ++C باسم vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_de.html b/82_de.html new file mode 100644 index 000000000..9f865b781 --- /dev/null +++ b/82_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_en.html b/82_en.html new file mode 100644 index 000000000..8fe06c956 --- /dev/null +++ b/82_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_es.html b/82_es.html new file mode 100644 index 000000000..bc24318e9 --- /dev/null +++ b/82_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Objetos Trait

+

Cuando pasamos una instancia de un objeto a un parámetro de tipo &dyn MyTrait pasamos lo que se llama objeto trait.

+

Un objeto trait es lo que nos permite llamar indirectamente a los métodos correctos de una instancia. Un objeto trait es una estructura que contiene el puntero de nuestra instancia con una lista de puntero de función a los métodos de nuestra instancia.

+

Detalles de la memoria:

+
    +
  • Esta lista de funciones se conoce en C++ como un vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_fa.html b/82_fa.html new file mode 100644 index 000000000..40acc0d3b --- /dev/null +++ b/82_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_fi.html b/82_fi.html new file mode 100644 index 000000000..e8161cac9 --- /dev/null +++ b/82_fi.html @@ -0,0 +1,51 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_fr.html b/82_fr.html new file mode 100644 index 000000000..6bf3ce98f --- /dev/null +++ b/82_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Objets trait

+

Lorsque nous transmettons l'instance d'un objet à un paramètre de +type &dyn MyTrait, nous transmettons ce que l'on appelle un +objet trait (en anglais trait object).

+

Un objet trait est ce qui nous permet d'appeler indirectement les bonnes +méthodes d'une instance via un dispach dynamique. Un objet trait est une +structure qui contient le pointeur de l'instance ainsi qu'une liste de +pointeurs vers les méthodes de cette instance.

+

Détails de la mémoire:

+
    +
  • Cette liste de fonctions est connue en C++ sous le nom de vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_gr.html b/82_gr.html new file mode 100644 index 000000000..8aac66ec1 --- /dev/null +++ b/82_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_hu.html b/82_hu.html new file mode 100644 index 000000000..50f5e8138 --- /dev/null +++ b/82_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait objektumok

+

Amikor egy &dyn MyTraittípusú objektumot paraméterként adunk át, akkor ezt az objektumot +trait objektumnak nevezzük.

+

A trait objektumok segítségével egy példány megfelelő metódusait tudjuk meghívni. A trait +objektum nem más, mint egy struct, ami egy listára mutat, ami a példány metódusaira mutató +referenciákat tartalmazza.

+

Hogyan érinti ez a memóriát:

+
    +
  • Az ilyen függvényeket tartalmazó listát a C++ nyelvben vtable-nek nevezzük.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_id.html b/82_id.html new file mode 100644 index 000000000..076548ad2 --- /dev/null +++ b/82_id.html @@ -0,0 +1,51 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ie.html b/82_ie.html new file mode 100644 index 000000000..1e3e60f75 --- /dev/null +++ b/82_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trate-Objectes

+

Quande noi transfere un instantie de un objecte a un parametre del tip &dyn MyTrait noi transfere un cose nominat un trait object.

+

Un trait object es to quel auxilia nos índirectmen vocar li corect metodes de un instantie. Un trait object es un struct quel tene li puntator de +nor instantie con un liste de puntatores del functiones al metodes de nor instantie.

+

Detallies pri memorie:

+
    +
  • On conosse ti-ci liste de functiones in C++ quam un vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_it.html b/82_it.html new file mode 100644 index 000000000..aa05e1b99 --- /dev/null +++ b/82_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Oggetti tratti

+

Quando passiamo un'istanza di un oggetto a un parametro di tipo &dyn MyTrait passiamo quello che viene chiamato oggetto tratto.

+

Un oggetto tratto è ciò che ci consente di chiamare indirettamente i metodi corretti di un caso. Un oggetto tratto è una struttura che contiene il puntatore di +la nostra istanza con un elenco di puntatori a funzioni ai metodi della nostra istanza.

+

Dettagli della memoria:

+
    +
  • Questo elenco di funzioni è noto in C++ come vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ja.html b/82_ja.html new file mode 100644 index 000000000..97431c553 --- /dev/null +++ b/82_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

トレイトオブジェクト

+

オブジェクトのインスタンスを &dyn MyTrait 型のパラメータに渡すとき、 トレイトオブジェクト と呼ばれるものを渡します。

+

インスタンスの正しいメソッドを間接的に呼び出すことを可能にするのがトレイトオブジェクトです。 トレイトオブジェクトは、インスタンスのポインタと、インスタンスのメソッドへの関数ポインタのリストを保持する構造体です。

+

メモリの詳細:

+
    +
  • この関数のリストをC++ではvtableと呼んでいます。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ko.html b/82_ko.html new file mode 100644 index 000000000..391d38fec --- /dev/null +++ b/82_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 객체

+

객체의 인스턴스를 &dyn MyTrait 자료형을 가진 매개변수로 넘길 때, 이를 trait 객체라고 부릅니다.

+

trait 객체는 인스턴스의 올바른 메소드를 간접적으로 호출할 수 있게 해줍니다. +trait 객체는 인스턴스에 대한 포인터와 인스턴스 메소드들에 대한 함수 포인터 목록을 갖고있는 struct입니다.

+

메모리 상세:

+
    +
  • 이런 함수 목록을 C++에서는 vtable이라고 합니다.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ne.html b/82_ne.html new file mode 100644 index 000000000..49735f557 --- /dev/null +++ b/82_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_pl.html b/82_pl.html new file mode 100644 index 000000000..7da5104a9 --- /dev/null +++ b/82_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_pt-br.html b/82_pt-br.html new file mode 100644 index 000000000..2a87c3ab3 --- /dev/null +++ b/82_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Objetos trait

+

Quando passamos uma instância de um objeto para um parâmetro do tipo &dyn MinhaTrait, passamos o que é chamado de objeto trait.

+

Um objeto trait é o que nos permite chamar indiretamente os métodos corretos de uma instância. Um objeto trait é uma estrutura que contém o ponteiro de nossa instância com uma lista de ponteiros de função para os métodos de nossa instância.

+

Detalhes da memória:

+
    +
  • Essa lista de funções é conhecida em C ++ como vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ro.html b/82_ro.html new file mode 100644 index 000000000..63c9651ca --- /dev/null +++ b/82_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait objects

+

Când pasăm o instanța a unui obiect ca parametru de tipul &dyn TrasaturaMea, pasăm ceea ce se numește obiect al trăsăturii (în engleză trait object).

+

Acestea sunt ceea ce ne permite să apelăm în mod indirect metodele corecte ale unei instanțe. +Un obiect al trăsăturii este o structura ce conține un pointer al instanței noastre, alături de o lista de pointeri la funcții către metodele acesteia.

+

Detalii cu privire la memorie:

+
    +
  • Această lista de funcții este cunoscută în C++ sub denumirea de vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ru.html b/82_ru.html new file mode 100644 index 000000000..ecd69d7f0 --- /dev/null +++ b/82_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Типаж объекты (Trait Objects)

+

Когда мы передаем экземпляр объекта в параметр типа &dyn MyTrait, мы передаем то, что называется типаж объект (trait object).

+

Типаж объект (trait object) - это то, что позволяет нам косвенно вызывать правильные методы экземпляра объекта. Типаж объект - это структура, которая содержит указатель нашего экземпляра со списком указателей функций на методы этого экземпляра.

+

Детали для запоминания:

+
    +
  • Этот список функций известен в языке C++ как vtable (таблица виртуальных методов).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_th.html b/82_th.html new file mode 100644 index 000000000..0130f51f0 --- /dev/null +++ b/82_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Objects

+

เมื่อเราส่งผ่านอินสแตนซ์ของ object ลงไปเป็นพารามิเตอร์ด้วยประเภท &dyn MyTrait หมายถึงเรากำลังส่งวิธีเรียก trait object ลงไป

+

แปลว่า trait object ก็คือวิธีการ ที่จะเรียกเมธอดของอินสแตนซ์ แบบอ้อมๆ ซึ่งความจริง trait object ก็คือ struct ที่ครอบครอง พอยเตอร์ ที่ชี้ไปที่อินสแตนซ์ของเรา กับลิสต์ พอยเตอร์ของฟังก์ชัน ที่ชี้ไปเมธอดของอินสแตนซ์ตัวนั้น

+

รายละเอียดหน่วยความจำ:

+
    +
  • ลิสต์ของฟังก์ชันนี้ในภาษา C++ เรียกว่า vtable
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_tr.html b/82_tr.html new file mode 100644 index 000000000..f4c694a49 --- /dev/null +++ b/82_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Özellik Nesneleri

+

Bir nesne örneğini &dyn BirOzellik türündeki bir parametreye ilettiğimizde, özellik nesnesini adını verdiğimiz seyi iletmiş oluruz.

+

O halde bir özellik nesnesi: "Bir örneğin doğru metotlarını, dinamik iletim yoluyla ve dolaylı olarak çağırmamıza izin veren, hem örneğin kendi işaretçisini, hem örneğin işlevlerine yönelik işaretçilerin listesini tutan yapıdır" denilebilir.

+

Bellek ayrıntıları:

+
    +
  • C++' da bu işlevler listesi vtable olarak bilinmektedir.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_ua.html b/82_ua.html new file mode 100644 index 000000000..9e134a7e5 --- /dev/null +++ b/82_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Об'єкти в Traits

+

Коли ми передаємо екземпляр об'єкту в параметр типу `&dyn MyTrait' ми передаємо те, що називається об'єкт-трайтер.

+

Об'єкт-трейт - це те, що дозволяє нам опосередковано викликати коректні методи екземпляру. Об'єкт трейту - це структура, яка містить вказівник на на наш екземпляр зі списком вказівників функцій на методи нашого екземпляру.

+

Деталі роботи за памяттю:

+
    +
  • Цей список функцій відомий у C++ як vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_vi.html b/82_vi.html new file mode 100644 index 000000000..c2d94f2ce --- /dev/null +++ b/82_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đối tượng đặc điểm(trait object)

+

Khi chúng ta truyền một thể hiện(một instance) của một đối tượng cho một tham số kiểu &dyn MyTrait, chúng ta truyền cái được gọi là trait object.

+

Một đối trait object là thứ cho phép chúng ta gián tiếp gọi các phương thức chính xác của một instance.

+

Một đối trait object là một cấu trúc chứa con trỏ của instance của chúng ta với một danh sách các con trỏ hàm(function pointer) đến các phương thức của instance của chúng ta.

+

Chi tiết bộ nhớ:

+
    +
  • Danh sách các hàm này được biết đến trong C ++ dưới dạng một vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_zh-cn.html b/82_zh-cn.html new file mode 100644 index 000000000..e15bab9ce --- /dev/null +++ b/82_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 对象

+

当我们将一个对象的实例传递给类型为 &dyn MyTrait 的参数时,我们传递的是所谓的 trait 对象

+

Trait 对象允许我们间接调用一个实例的正确方法。一个 trait 对象对应一个结构。 它保存着我们实例的指针,并保有一个指向我们实例方法的函数指针列表。

+

内存细节:

+
    +
  • 这个函数列表在 C++ 中被称为 vtable
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/82_zh-tw.html b/82_zh-tw.html new file mode 100644 index 000000000..cb7fac798 --- /dev/null +++ b/82_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵物件 (trait objects)

+

當我們傳遞一個物件的實體給一個型別為 &dyn MyTrait 當作參數時,我們傳遞的就是特徵物件

+

一個特徵物件允許我們間接正確地呼叫一個實體的方法。一個特徵物件是一個擁有實體指標的結構, 該體實有一個函式指標的列表,這些函式指標指向實體的方法。

+

記憶體細節:

+
    +
  • 這個函式列表在 C++ 稱作 vtable
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_al.html b/83_al.html new file mode 100644 index 000000000..1c0e76175 --- /dev/null +++ b/83_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ar.html b/83_ar.html new file mode 100644 index 000000000..e53c99990 --- /dev/null +++ b/83_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التعامل مع البيانات غير المحجمة (Handling Unsized Data)

+

تقدم السمات (Traits) تحديًا مثيرًا للاهتمام عندما نريد تخزينها ضمن هيكل آخر. بحيث تعمل السمات على تشويش الهيكل الأصلي وبالتالي تشوه الحجم الأصلي أيضًا. تتم معالجة القيم غير المحجمة (Unsized values) المخزنة في الهياكل (structs) بطريقتين في رست (Rust):

+
    +
  • التعميم generics - يؤدي استخدام الأنواع عن طريق معلمات إلى إنشاء هياكل/دوال معروفة النوع وبالتالي أحجام معروفة.
  • +
  • المراوغة indirection - يمنحنا وضع المثلاء (instances) في الكومة (heap) مستوى من المراوغة الذي يسمح لنا بعدم القلق بشأن حجم النوع الحالي والإكتفاء بتخزين مؤشر (pointer) له فقط. توجد طرق أخرى أيضا!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_de.html b/83_de.html new file mode 100644 index 000000000..700394760 --- /dev/null +++ b/83_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_en.html b/83_en.html new file mode 100644 index 000000000..5fea38fc4 --- /dev/null +++ b/83_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_es.html b/83_es.html new file mode 100644 index 000000000..3ee77cb8f --- /dev/null +++ b/83_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manejo de Datos Sin Tamaño (Unsized)

+

Los traits introducen un reto interesante cuando queremos almacenarlos dentro de otra estructura. Estos ofuscan la estructura original y por lo tanto también obstruyen el tamaño original. Los valores sin tamaño (unsized) que se almacenan en las estructuras se manejan de dos maneras en Rust:

+
    +
  • Tipos genéricos - Al usar tipos parametrizados se crean de forma efectiva estructuras/funciones de tipos conocidos y por lo tanto tamaños conocidos.
  • +
  • indirección - Poner instancias en el montículo os da un nivel de indirección que nos permite no tener que preocuparnos por el tamaño del tipo y sólo almacenar un puntero. ¡También hay otras maneras de hacerlo!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_fa.html b/83_fa.html new file mode 100644 index 000000000..e8d84b397 --- /dev/null +++ b/83_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_fi.html b/83_fi.html new file mode 100644 index 000000000..d4b264ed9 --- /dev/null +++ b/83_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_fr.html b/83_fr.html new file mode 100644 index 000000000..2b6d2d01b --- /dev/null +++ b/83_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestion de données sans taille

+

Les traits présentent un défi intéressant lorsque nous voulons les stocker +dans une autre structure. Les traits masquent la structure originelle et +notamment sa taille. Avec Rust, les éléments sans taille connue et qui sont +stockées dans une structure sont traitées de deux manières:

+
    +
  • génériques - Le compilateur Rust créer des structures ou des fonctions +dont la taille est connue par l'utilisation de types paramétrés (génériques).
  • +
  • données sur le tas - En mettant l'instance sur le tas et en stockant +uniquement un pointeur vers cette instance. Cela nous donne un niveau +d'indirection nous évitant d'avoir à se soucier de la taille du type. Il +existe également d'autres moyens!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_gr.html b/83_gr.html new file mode 100644 index 000000000..92ee41b63 --- /dev/null +++ b/83_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_hu.html b/83_hu.html new file mode 100644 index 000000000..51b61dc1e --- /dev/null +++ b/83_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ismeretlen méretű adatok kezelése

+

A trait-ek magukban hordoznak egy érdekes kihívást is azokban az esetekben, amikor egy másik +struct-ban akarjuk tárolni őket. Mivel a trait-ek elrejtik az eredeti struct-ot, így +értelemszerűen annak mérete is elérhetetlenné válik.

+

Az ilyen ismeretlen méretű értékek tárolását a Rust kétféleképp oldja meg:

+
    +
  • generikus értékek használatával - A paraméterezett típusok segítségével egyszerűen tudunk +ismert méretű struct-okat és függvényeket létrehozni.
  • +
  • indirekt tárolás - Ha a példányokat a kupacon tároljuk, az lehetővé teszi számunkra, hogy ne +törődjunk magával az adat méretével, csak a rámutató pointer-ével.
  • +
+

Ezen kívül még vannak módszerek, de ebben az útmutatóban nem kerül szó róluk.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_id.html b/83_id.html new file mode 100644 index 000000000..967a439de --- /dev/null +++ b/83_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ie.html b/83_ie.html new file mode 100644 index 000000000..d78c9ffd2 --- /dev/null +++ b/83_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gerer Data sin Grandore

+

Trates introducte un defí interessant quande noi intente plazzar les in un altri struct. Trates obfusca li original struct +e pro to obfusta anc li grandore original. In Rust on plazza valores sin grandore in structs secun li metodes a sequer:

+
    +
  • génerics - Usante tipes parametrisat on crea conosset tipes de structs/functiones (e pro to con un grandore conosset) con efectivitá.
  • +
  • data sur li heap - Plazzante instanties sur li heap da nos un nivelle de índirection con quel noi ne deve suciar pri li grandore del ver tip - on plazza un puntator e li afere es liquidat.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_it.html b/83_it.html new file mode 100644 index 000000000..646f383d6 --- /dev/null +++ b/83_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funzioni generiche

+

I generici in Rust lavorano di pari passo con i tratti. Quando descriviamo a tipo parametrizzato "T" possiamo limitare quali tipi +può essere utilizzato come argomento elencando i tratti richiesti dall'argomento strumento.

+

In questo esempio il tipo "T" deve implementare il tratto "Foo":

+
fn mia_funzione<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Utilizzando i generici creiamo funzioni tipizzate statiche in fase di compilazione che lo faranno hanno tipologie e dimensioni conosciute, permettendocelo +eseguire l'invio statico e archiviarlo come valore dimensionato.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/83_ja.html b/83_ja.html new file mode 100644 index 000000000..a944801e1 --- /dev/null +++ b/83_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

サイズの合わないデータの処理

+

トレイトを別の構造体の中に格納する場合、興味深い問題が発生します。 +トレイトは元の構造体を難読化するため、元のサイズも難読化されます。 +Rustでは、構造体に格納されるサイズの合わない値は、2つの方法で処理されます。

+
    +
  • generics - パラメータ化された型を使用して、既知の型、つまり既知のサイズの構造体/関数を効果的に作成します。
  • +
  • indirection - ヒープ上にインスタンスを置くことで、実際の型のサイズを気にすることなく、単にそのポインタを格納することができるインダイレクトのレベルを得ることができます。 他の方法もあります。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ko.html b/83_ko.html new file mode 100644 index 000000000..e8acc8f1a --- /dev/null +++ b/83_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

크기를 알 수 없는 데이터 다루기

+

trait을 다른 struct에 저장하는 것도 흥미로운 도전과제입니다. +trait은 원본 struct를 알기 어렵게 하느라 원래 크기 또한 알기 어렵게 합니다. Rust에서 크기를 알 수 없는 값이 struct에 저장될 때는 다음의 두 가지 방법으로 처리됩니다:

+
    +
  • generics - 매개변수의 자료형을 효과적으로 활용하여 알려진 자료형 및 크기의 struct/함수를 생성합니다.
  • +
  • indirection - 인스턴스를 heap에 올림으로써 실제 자료형의 크기 걱정 없이 그 포인터만 저장할 수 있는 간접적인 방법을 제공합니다. 또 다른 방법도 있습니다!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ne.html b/83_ne.html new file mode 100644 index 000000000..d4eaf7598 --- /dev/null +++ b/83_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_pl.html b/83_pl.html new file mode 100644 index 000000000..09decc934 --- /dev/null +++ b/83_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_pt-br.html b/83_pt-br.html new file mode 100644 index 000000000..81d980d7d --- /dev/null +++ b/83_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manipulando dados não dimensionados

+

As traits introduzem um desafio interessante quando queremos armazená-las em outra struct. As traits obscurecem a struct original, portanto, também obscurecem o tamanho original. Os valores não dimensionados armazenados em structs são tratados de duas maneiras no Rust:

+
    +
  • generics - usando tipos parametrizados cria efetivamente tipos conhecidos de structs/funções e, portanto, tamanhos conhecidos.
  • +
  • indirection - colocando instâncias no heap fornece um contorno que permite que não nos preocupemos com o tamanho do tipo atual e apenas armazenar um ponteiro nele.
  • +
+

Há outras maneiras também!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ro.html b/83_ro.html new file mode 100644 index 000000000..644e45cd5 --- /dev/null +++ b/83_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manevrarea tipurilor de date fără dimensiune fixă

+

Trăsăturile introduc o provocare interesantă când dorim să le stocăm în interiorul altei structuri. +Trăsăturile ascund structura originală, astfel ascunzând și dimensiunea originală. Tipurile de date fără dimensiune fixa sunt manevrate în două moduri în Rust:

+
    +
  • tipuri generice - Folosind tipuri parametrizate creăm structuri/funcții cu tipuri de date generice, a căror dimensiune va fi cunoscută în momentul folosirii lor, când programatorul va specifica un tip de date +efectiv, care va avea și dimensiuni cunoscute.
  • +
  • indirecție - Punerea instanțelor pe heap ne oferă avantajul de a nu fi necesar să cunoaștem dimensiunea tipului de date la compilare, aceasta fiind folosita doar în momentul rulării, când programatorul poate +folosi orice tip de date care se potrivește. Accesarea valorii efective se realizează printr-un pointer (presupune o indirecție), iar acest lucru poate fi considerat un dezavantaj. +Mai există și alte modalități!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ru.html b/83_ru.html new file mode 100644 index 000000000..3d29865ca --- /dev/null +++ b/83_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обработка не размерных данных (Unsized Data)

+

Типажи представляют интересную проблему, когда мы хотим сохранить их в другой структуре. Типажи обфусцируют (obfuscate - запутывает) оригинальную структуру, +таким образом это также запутывает ее оригинальный размер. Не размерные значения, хранящиеся в структурах, обрабатываются в Rust двумя способами:

+
    +
  • generics (обобщенные типы) - Использование обощенных типов эффективно создает структуру/функции известных типов и, следовательно, известных размеров
  • +
  • indirection (косвенность) - Размещение экземпляров класса в куче дает нам уровень косвенности, который позволяет нам не беспокоиться о размере фактического типа и просто хранить указатель на него. Есть и другие способы
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_th.html b/83_th.html new file mode 100644 index 000000000..7b24ecadc --- /dev/null +++ b/83_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดการข้อมูลที่ไม่รู้ไซส์

+

Traits ทำให้เกิดความยุ่งยากเมื่อเราอยากจะเก็บมันไว้ใน struct ตัวอื่น เพราะว่า Traits ทำให้เรามองเห็น struct ไม่ชัดเจน และความไม่ชัดเจนยังส่งผลไปที่ไซส์อีกด้วย +ตอนที่เราเอา ของที่เราไม่รู้ไซส์ที่แน่นอนนี้ไปใส่ใน struct จะมีวิธีจัดการมัน 2 วิธีคือ:

+
    +
  • generics - โดยใช้ type เป็นพารามิเตอร์ในการสร้าง struct/ฟังก์ชัน เพื่อที่เราจะได้รู้ขนาดที่แน่นอน
  • +
  • indirection - นำอินสแตนซ์ไปไว้ใน heap ซะเลย จะได้ไม่ต้องกังวลว่า ขนาดของ type จริงๆมันจะเป็นเท่าไร เราแค่เก็บพอยเตอร์ชี้ไปที่มันก็พอ นี่เป็นแค่วิธีหนึ่งเท่านั้น
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_tr.html b/83_tr.html new file mode 100644 index 000000000..f6c06dce4 --- /dev/null +++ b/83_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Boyutlandırılmamış Verilerle Çalışmak

+

Bir özelliği yapı içinde saklamak istediğimizde, asıl yapı ve bu yapının boyutuna dair bilgilerin, özellik tarafından gizlendiği görülür. Özelliklerin karşımıza çıkardığı bu ilginç durum, yani yapılarda saklanan boyutlandırılmamış öğeler iki şekilde ele alınır:

+
    +
  • Genel türler - Genel türler gibi parametreleştirilmiş türlerden faydalanmak, yapı ve işlevleri bilinen tür ve boyutlarıyla, etkin şekilde oluşturmamıza izin verirler.
  • +
  • Dolaylama - Her ne kadar dolaylamanın başka yolları olsa da, örneği öbek üzerine konumlandırmak ve bu örneğe yalnızca bir işaretçi depolamak, tür boyutu hakkında güvenebileceğimiz bir dolaylılık düzeyi sağlar.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_ua.html b/83_ua.html new file mode 100644 index 000000000..79ce63f72 --- /dev/null +++ b/83_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обробка нерозмірних даних

+

Трейти створюють цікавий виклик, коли ми хочемо зберігати їх у в іншій структурі. Трейти затушовують оригінальну структуру, +таким чином, вони також приховують оригінальний розмір. Безрозмірні значення, що зберігаються у структурах, у Rust можна обробляти двома способами:

+
    +
  • "узагальнення" - використання параметризованих типів для ефективного створення структур/функцій з відомими типами і, відповідно, відомими розмірами.
  • +
  • "непрямий" - Розміщення екземплярів на купі дає нам рівень непрямої непрямості, що дозволяє нам не турбуватися про розмір фактичного типу і просто зберігати вказівник на нього. Існують і інші способи!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_vi.html b/83_vi.html new file mode 100644 index 000000000..7ece43505 --- /dev/null +++ b/83_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xử lý dữ liệu unsized

+

Các đặc điểm giới thiệu một thách thức thú vị khi chúng ta muốn lưu trữ chúng trong một struct khác. Các đặc điểm làm xáo trộn struct ban đầu do đó nó cũng làm xáo trộn kích thước ban đầu. Các giá trị chưa được kích thước(Unsized values) đang được lưu trữ trong struct được xử lý theo hai cách trong Rust:

+
    +
  • generics - Sử dụng các kiểu tham số hóa một cách hiệu quả sẽ tạo ra các kiểu struct/function đã biết và do đó kích thước đã biết.
  • +
  • indirection - Việc đặt các instance trên heap cung cấp cho chúng ta một mức độ định hướng mà cho phép chúng ta không phải lo lắng về kích thước của kiểu thực tế và chỉ cần lưu trữ một con trỏ tới nó. Và thực tế là vẫn còn các cách khác!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_zh-cn.html b/83_zh-cn.html new file mode 100644 index 000000000..779d9138d --- /dev/null +++ b/83_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

处理未知大小的数据

+

当我们想把 Trait 存储在另一个结构中时,它们亦带来了一个有趣的挑战。 Trait 混淆了原始结构,因此它也混淆了原来的结构体的大小。在 Rust 中,在结构体中存储未知大小的值有两种处理方式。

+
    +
  • 泛型(generics)——使用参数化类型创建已知类型的结构/函数,因此大小变成已知的。
  • +
  • 间接存储(indirection)——将实例放在堆上,给我们提供了一个间接的层次,让我们不必担心实际类型的大小,只需存储一个指向它的指针。不过还有其他方法!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/83_zh-tw.html b/83_zh-tw.html new file mode 100644 index 000000000..664585351 --- /dev/null +++ b/83_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

處理末知大小的資料 (handling unsized data)

+

當我們想要將它們儲存在另一個結構時,特徵引入了一個有趣的挑戰。 特徵使原本的結構模糊不清,也使得原本的大小不清楚。在 Rust 裡,未知大小的數值被這兩種方式處理:

+
    +
  • 泛型 (generics) - 使用參數化的型別,有效率地產生結構及函式這種已知型別,也因此能知道大小
  • +
  • 間接 (indirection) - 將實體放在堆 (heap) 上,我們就能間接使用它們而不需要擔心實際大小, 只要儲存它的指標就好。而我們還是有其他方式的!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/84_al.html b/84_al.html new file mode 100644 index 000000000..06cbc1957 --- /dev/null +++ b/84_al.html @@ -0,0 +1,58 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_ar.html b/84_ar.html new file mode 100644 index 000000000..1f34ac3e9 --- /dev/null +++ b/84_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الدوال المعممة (Generic Functions)

+

التعميم (generics) في رست (Rust) يعمل جنبًا إلى جنب مع السمات (Traits). عندما نصف نوعًا عن طريق معلمة T، يمكننا تقييد الأنواع التي يمكن استخدامها كوسيطة (argument) من خلال سرد السمات المطلوبة التي يجب على الوسيطة تنفيذها.

+

في هذا المثال، يجب على النوع T تنفيذ السمة Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

باستخدام التعميم(generics)، نقوم بإنشاء دوال مكتوبة ساكنة (static typed functions) في وقت الترجمة (compile time) والتي سيكون لها أنواع وأحجام معروفة، مما يسمح لنا بإجراء إرسال ساكن (static dispatch) والتخزين كقيمة ذات حجم.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_de.html b/84_de.html new file mode 100644 index 000000000..8384438f7 --- /dev/null +++ b/84_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_en.html b/84_en.html new file mode 100644 index 000000000..191b06672 --- /dev/null +++ b/84_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_es.html b/84_es.html new file mode 100644 index 000000000..42e3ca622 --- /dev/null +++ b/84_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funciones Genéricas

+

Los genéricos y los traits trabajan codo con codo en Rust. Cuando describimos un tipo parametrizado T podemos restringir qué tipos pueden se pueden usar como argumento listando los traits requeridos que debe implementar el argumento. +En este ejemplo, el tipo T debe implementar el trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Al crear una función estática, el sistema sabrá de antemano cuanta memoria reservar para esta acción, la cual quedará almacenada en un espacio con el tamaño adecuado y no lo resolverá de forma dinámica.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_fa.html b/84_fa.html new file mode 100644 index 000000000..1884ecf84 --- /dev/null +++ b/84_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_fi.html b/84_fi.html new file mode 100644 index 000000000..c55acd6e4 --- /dev/null +++ b/84_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_fr.html b/84_fr.html new file mode 100644 index 000000000..f5382dfb6 --- /dev/null +++ b/84_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fonctions géneriques

+

Avec Rust les génériques vont de pair avec les traits. Lorsqu'un paramètre +de fonction est un type paramétré T, le compilateur contraint les types qui +peuvent être utilisés comme argument de la fonction. Le mot-clé where permet +de lister les traits que l'argument doit implémenter.

+

Dans cet exemple, le type T doit implémenter le traitFoo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

En utilisant des génériques, nous créons des fonctions statiquement typées +au moment de la compilation dont le type et la taille seront connus. Cela +nous permet d'effectuer un dispatch statique et de stocker des valeurs dont +la taille est connue.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_gr.html b/84_gr.html new file mode 100644 index 000000000..1263007d8 --- /dev/null +++ b/84_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_hu.html b/84_hu.html new file mode 100644 index 000000000..b8a162c96 --- /dev/null +++ b/84_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generikus függvények

+

A Rust generikus függvényei kéz a kézben járnak a trait-ekkel. Például egy paraméterezett T +típus esetén meghatározhatjuk, hogy mely típusok is illhetnek T helyére, az által, hogy +felsorolunk traiteket, amiket az adott típusparaméternek meg kell valósítania (trait-megkötés).

+

Az alábbi példában T-nek meg kell valósítania a Foo trait-et:

+
fn my_function<T>(foo: T)
+
+where
+    T: Foo
+{
+    ...
+}
+
+

A generikus függvények használatával olyan típusos függvényeket tudunk létrehozni, amik mérete +és típusa már a fordítás idején ismert, így ezeken lehetővé válik a statikus meghívás és +ismert-méretű értékekként lehet őket tárolni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_id.html b/84_id.html new file mode 100644 index 000000000..24366431e --- /dev/null +++ b/84_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_ie.html b/84_ie.html new file mode 100644 index 000000000..3cfe99238 --- /dev/null +++ b/84_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functiones Géneric

+

Génerics in Rust labora manu a manu con trates. Quande noi descri un parametrisat tip T noi posse limitar li tipes queles +posse esser usat quam argument per un inlistation del trates queles li argument deve implementar.

+

In ti-ci exemple, li tip T deve implementar li trate Foo:

+
fn mi_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Usante génerics noi posse crear functiones static tipat durant li compilation con conosset tipes e grandores, con quel noi posse +usar dispatch static e plazzar les quam valores con grandores conosset.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_it.html b/84_it.html new file mode 100644 index 000000000..ae6d89f89 --- /dev/null +++ b/84_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abbreviazione di funzioni generiche

+

Rust ha una scorciatoia per esprimere i generici vincolati da un tratto: +rust fn mia_funzione(foo: impl Foo) { + ... +} +Ciò equivale a scrivere: +rust fn mia_funzione<T>(foo: T) where + T:Foo +{ + ... +}

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_ja.html b/84_ja.html new file mode 100644 index 000000000..3f97b5862 --- /dev/null +++ b/84_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ジェネリック関数

+

Rustのジェネリクスは、トレイトと密接に連携しています。パラメータ化された型 T を記述するとき、引数に実装しなければならない必須のトレイトを列挙することで、引数として使用できる型を制限することができます。

+

この例では、型 T はトレイト Foo を実装していなければなりません。

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

ジェネリクスを使うことで、コンパイル時に型とサイズが既知の静的型付け関数を作成し、静的ディスパッチとサイズ付きの値としての保存を可能にします。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_ko.html b/84_ko.html new file mode 100644 index 000000000..7b22d3756 --- /dev/null +++ b/84_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic 함수

+

Rust의 generic은 trait과 함께 작동합니다. 매개변수 자료형 T를 정의할 때 해당 인자가 어떤 trait을 구현해야 하는지 나열함으로써 +인자에 어떤 자료형을 쓸 수 있는지 제한할 수 있습니다.

+

아래 예제에서 T 자료형은 Foo trait을 반드시 구현해야 합니다:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

generic을 이용하면 컴파일 시 자료형과 크기를 알 수 있는 정적 자료형의 함수가 만들어지며, +따라서 정적 디스패치와 함께 크기가 정해진 값으로 저장할 수 있게 됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_ne.html b/84_ne.html new file mode 100644 index 000000000..fde7da753 --- /dev/null +++ b/84_ne.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_pl.html b/84_pl.html new file mode 100644 index 000000000..18ea53c6c --- /dev/null +++ b/84_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_pt-br.html b/84_pt-br.html new file mode 100644 index 000000000..2aa796fcb --- /dev/null +++ b/84_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funções genéricas

+

Os genéricos no Rust trabalham lado a lado com as traits. Quando descrevemos um tipo parametrizado T, podemos restringir quais tipos podem ser usados como argumento listando as traits necessárias que o argumento deve implementar.

+

Neste exemplo o tipo T deve implementar a trait Foo:

+
fn minha_funcao<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Usando genéricos criamos funções tipadas estáticas em tempo de compilação que terão tipos e tamanhos conhecidos, permitindo executar dispatchs estáticos e armazená-lo como um valor dimensionado.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_ro.html b/84_ro.html new file mode 100644 index 000000000..df1385785 --- /dev/null +++ b/84_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funcții generice

+

Tipurile generice în Rust funcționează mâna în mâna cu trăsăturile. Când descriem un tip parametrizat T, putem constrânge ce tipuri pot fi folosite ca argumente, +listând trăsăturile necesare (în engleză „trait bound”) pe care argumentul trebuie să le implementeze.

+

În acest exemplu, tipul T trebuie să implementeze trăsătură Foo:

+
fn functia_mea<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Folosind tipurile generice, creăm șabloane de funcții care au tipuri de date ce vor fi înlocuite la momentul compilării cu tipuri de date cunoscute, permițându-ne să utilizăm apelarea statică.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_ru.html b/84_ru.html new file mode 100644 index 000000000..b1141c355 --- /dev/null +++ b/84_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обобщенные функции (Generic Functions)

+

Обобщенные типы (generics) в Rust работают рука об руку с типажами. Когда мы описываем обобщенный тип T, мы можем ограничить, какие типы можно использовать в качестве аргумента, перечисляя какие обязательные типажи должен реализовывать данный обобщенный аргумент.

+

В данном примере тип T должен реализовывать типаж Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Используя обобщенный тип (generics), мы создаем статические типизированные функции во время компиляции, которые будут иметь известные типы и размер, что позволяет нам выполнять статическую диспетчеризацию вызова и сохранять (функцию) в виде значения известного размера.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_th.html b/84_th.html new file mode 100644 index 000000000..2f9f43cff --- /dev/null +++ b/84_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Functions

+

Generics ใน Rust ทำงานประสานกับ traits เมื่อเราประกาศพารามิเตอร์ type T เราสามารถระบุว่า type ไหนที่สามารถใช้เป็นอาร์กิวเมนต์ได้บ้าง ด้วยการลิสต์รายการ ว่าเราอยากได้อาร์กิวเมนต์ที่อิมพลีเมนต์ traits ใดบ้าง

+

จากตัวอย่างนี้ type T ต้องอิมพลีเมนต์ ตาม trait Foo

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

ด้วยการใช้ generics ทำให้เราสามารถสร้าง static typed functions ได้ตอน compile time เราจึงสามารถรู้ type และขนาดของมัน และสามารถทำ static dispatch และเก็บ ขนาดของมันได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_tr.html b/84_tr.html new file mode 100644 index 000000000..88049584b --- /dev/null +++ b/84_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Genel İşlevler

+

Rust'ta özellikler ve genel türler birbirleriyle uyum içinde çalışırlar. Bir T türünü parametrelerle ifade etmeye çalıştığımızda, argüman olarak hangi türlerin kullanılabileceğini ve argümanın uygulaması gereken özellikleri sınırlayabiliriz. Böyle bir durumda, where anahtar sözcüğü argümanın uygulaması gereken özellikleri listeler.

+

Aşağıdaki örnekte yer alan T türü, Tur özelliğini uygulamak zorundadır:

+
fn bir_islev<T>(tur: T)
+where
+    T:Tur
+{
+    ...
+}
+
+

Genel türler kullanarak hem türü hem de boyutu bilinen ve derleme zamanında statik yazılmış gibi değerlendirilecek işlevler oluşturabilir, bunları statik iletim yoluyla, boyutları belirgin değerler olarak saklayabiliriz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_ua.html b/84_ua.html new file mode 100644 index 000000000..66d6c645a --- /dev/null +++ b/84_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Узагальнені функції

+

Узагальнені типи (generics) у Rust працюють пліч-о-пліч із трейтами. Коли ми описуємо узагальнений тип T, ми можемо обмежити, які типи можна використовувати як аргумент, перераховуючи які обов'язкові трейти повинні реалізовувати даний узагальнений аргумент.

+

У цьому прикладі тип T має реалізовувати трейт Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Використовуючи узагальнений тип (generics), ми створюємо статичні типізовані функції під час компіляції, які матимуть відомі типи та розмір, що дозволяє нам виконувати статичну диспетчеризацію виклику і зберігати (функцію) у вигляді значення відомого розміру.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_vi.html b/84_vi.html new file mode 100644 index 000000000..fad6ae113 --- /dev/null +++ b/84_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hàm Generic

+

Generics trong Rust có tác dụng với các đặc điểm. Khi chúng ta mô tả một kiểu tham số hóa T, chúng ta có thể hạn chế những kiểu nào có thể được sử dụng làm đối số bằng cách liệt kê những đặc điểm bắt buộc mà đối số phải triển khai.

+

Trong ví dụ này, kiểu T phải triển khai đặc điểmFoo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Bằng cách sử dụng generic, chúng ta tạo ra các hàm được định kiểu tĩnh tại thời điểm biên dịch mà sẽ có các loại và kích thước đã biết, cho phép chúng ta thực hiện điều phối tĩnh và lưu trữ dưới dạng giá trị có kích thước(sized value).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_zh-cn.html b/84_zh-cn.html new file mode 100644 index 000000000..a71b9922d --- /dev/null +++ b/84_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型函数

+

Rust中的泛型与 Trait 是相辅相成的。 当我们描述一个参数化类型 T 时,我们可以通过列出参数必须实现的 Trait 来限制哪些类型可以作为参数使用。

+

在以下例子中,类型 T 必须实现 Foo 这个 Trait:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

通过使用泛型,我们在编译时创建静态类型的函数,这些函数有已知的类型和大小,允许我们对其执行静态调度,并存储为有已知大小的值。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/84_zh-tw.html b/84_zh-tw.html new file mode 100644 index 000000000..a8ea3ec8b --- /dev/null +++ b/84_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型函式 (generic functions)

+

在 Rust 裡,泛型與特徵攜手合作。當我們描述一個參數的型別 T 時, 我們可以藉由列出特徵來限制該型別一定要實作這些特徵。

+

在這個例子裡,型別 T 一定要實作特徵 Foo

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

藉由使用泛型,我們能產生靜態型別,如此在編譯期間就能知道型別及大小, 允許我們使用靜態發送,並且將它以已知大小的數值儲存起來。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_al.html b/85_al.html new file mode 100644 index 000000000..9578cfe7b --- /dev/null +++ b/85_al.html @@ -0,0 +1,59 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_ar.html b/85_ar.html new file mode 100644 index 000000000..16235a369 --- /dev/null +++ b/85_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

دالة معممة مختصرة (Generic Function Shorthand)

+

يحتوي رست (Rust) على اختصار للتعبير عن التعميم المقيد بسمة ما:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

وهذا يعادل الكتابة كما يلي:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_de.html b/85_de.html new file mode 100644 index 000000000..36d51ba9d --- /dev/null +++ b/85_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_en.html b/85_en.html new file mode 100644 index 000000000..91dd07388 --- /dev/null +++ b/85_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_es.html b/85_es.html new file mode 100644 index 000000000..3923c00c9 --- /dev/null +++ b/85_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Función Genérica Abreviada

+

Rust tiene una forma abreviada para expresar genéricos limitados por un trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Esto equivale a escribir:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_fa.html b/85_fa.html new file mode 100644 index 000000000..0f94f72f6 --- /dev/null +++ b/85_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_fi.html b/85_fi.html new file mode 100644 index 000000000..7463b9594 --- /dev/null +++ b/85_fi.html @@ -0,0 +1,59 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_fr.html b/85_fr.html new file mode 100644 index 000000000..c65c0f0ea --- /dev/null +++ b/85_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fonctions génériques condensées

+

Rust possède un raccourci pour exprimer les génériques contraintes par +un trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Cela équivaut à écrire:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_gr.html b/85_gr.html new file mode 100644 index 000000000..50998f331 --- /dev/null +++ b/85_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_hu.html b/85_hu.html new file mode 100644 index 000000000..01f4a7d66 --- /dev/null +++ b/85_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A generikus függvények rövidebb írásmódja

+

Az előzőleg tárgyalt generikus függvényeket rövidebb módon is le lehet írni:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Ez ugyanazt teszi, mintha a következőt írnánk:

+
fn my_function<T>(foo: T)
+where
+    T: Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_id.html b/85_id.html new file mode 100644 index 000000000..c8da111d0 --- /dev/null +++ b/85_id.html @@ -0,0 +1,59 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_ie.html b/85_ie.html new file mode 100644 index 000000000..cbd020fc7 --- /dev/null +++ b/85_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abreviation de Functiones Géneric

+

In Rust on posse abreviar li expression de génerics limitat per un trate:

+
fn mi_function(foo: impl Foo) {
+    ...
+}
+
+

equivale scrir:

+
fn miFunction<T>(foo: T)
+where
+    T: Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_it.html b/85_it.html new file mode 100644 index 000000000..1ea19e546 --- /dev/null +++ b/85_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box è una struttura dati che ci consente di spostare i nostri dati dallo stack a il mucchio.

+

Box è una struttura conosciuta come puntatore intelligente che contiene il puntatore a our dati nell'heap.

+

Poiché Box è una struttura con una dimensione nota (perché contiene solo un file puntatore), lo è +spesso usato come modo per memorizzare un riferimento a qualcosa in una struttura che deve conoscere la dimensione +dei suoi campi.

+

Box è così comune che può essere utilizzato ovunque:

+
Casella::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_ja.html b/85_ja.html new file mode 100644 index 000000000..5a4bf03cd --- /dev/null +++ b/85_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ジェネリクス関数の省略記法

+

Rustには、トレイトに制約されたジェネリクスを表現するための略記法があります。

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

上記の記法は下記のものと同等です。

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_ko.html b/85_ko.html new file mode 100644 index 000000000..a6d6ce759 --- /dev/null +++ b/85_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic 함수 줄여쓰기

+

trait으로 제한한 generic은 다음과 같이 줄여쓸 수 있습니다:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

이는 다음과 동일한 의미입니다:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_ne.html b/85_ne.html new file mode 100644 index 000000000..db3d8ef9e --- /dev/null +++ b/85_ne.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_pl.html b/85_pl.html new file mode 100644 index 000000000..3aff9f9a1 --- /dev/null +++ b/85_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_pt-br.html b/85_pt-br.html new file mode 100644 index 000000000..869e198a3 --- /dev/null +++ b/85_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Função genérica abreviada

+

O Rust possui uma abreviação para expressar genéricos restritos por uma trait:

+
fn minha_funcao(foo: impl Foo) {
+    ...
+}
+
+

Isso é equivalente a escrever:

+
fn minha_funcao<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_ro.html b/85_ro.html new file mode 100644 index 000000000..aea5403b0 --- /dev/null +++ b/85_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prescurtare a funcțiilor generice

+

Rust are o prescurtare pentru exprimarea tipurilor generice constrânse de o trăsătură:

+
fn functia_mea(foo: impl Foo) {
+    ...
+}
+
+

Este echivalent cu a scrie:

+
fn functia_mea<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_ru.html b/85_ru.html new file mode 100644 index 000000000..14c5b71a7 --- /dev/null +++ b/85_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Сокращение в обобщенной функции (Generic Function Shorthand)

+

В Rust есть сокращение для записи факта того, что обобщенный тип ограничен каким-то типажом:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Что эквивалентно записи:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_th.html b/85_th.html new file mode 100644 index 000000000..7562c15fa --- /dev/null +++ b/85_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Function แบบย่อ

+

Rust ย่อรูปแบบการประกาศ generics ที่กำหนด trait ได้แบบนี้:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

ซึ่งจะเหมือนกับการเขียแบบนี้:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_tr.html b/85_tr.html new file mode 100644 index 000000000..2365ee2ca --- /dev/null +++ b/85_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Genel İşlev Kısaltmaları

+

Bir özellik tarafından kısıtlanmış genel türleri kısaltmalar kullanarak bildirebilirsiniz:

+
fn bir_islev(tur: impl Tur) {
+    ...
+}
+
+

Yukarıdaki ifadenin eşdeğeridir:

+
fn bir_islev<T>(tur: T)
+where
+    T:Tur
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_ua.html b/85_ua.html new file mode 100644 index 000000000..1e3fb9686 --- /dev/null +++ b/85_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Скорочення в узагальнених функціях

+

У Rust є скорочення для запису факту того, що узагальнений тип обмежений якимось трейтом:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Що еквівалентно запису:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_vi.html b/85_vi.html new file mode 100644 index 000000000..74735df88 --- /dev/null +++ b/85_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tốc ký hàm generic

+

Rust có một cách viết tắt để diễn đạt các số liệu generic bị hạn chế bởi một đặc điểm:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Điều này tương đương với việc viết:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_zh-cn.html b/85_zh-cn.html new file mode 100644 index 000000000..f8c418a19 --- /dev/null +++ b/85_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型函数简写

+

Rust 为由 Trait 限制的泛型函数提供了简写形式:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

这段代码等价于:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/85_zh-tw.html b/85_zh-tw.html new file mode 100644 index 000000000..0d357df25 --- /dev/null +++ b/85_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型函式簡寫 (generic function shorthand)

+

Rust 有一個簡寫可以用來表示一個被特徵限制的泛型:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

這等價於:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_al.html b/86_al.html new file mode 100644 index 000000000..ca295e76c --- /dev/null +++ b/86_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_ar.html b/86_ar.html new file mode 100644 index 000000000..758327a7f --- /dev/null +++ b/86_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

العلبة (Box)

+

Box عبارة عن هيكل بيانات (data structure) يسمح لنا بنقل بياناتنا من المكدس (stack) إلى الكومة (heap).

+

Box عبارة عن هيكل (struct) يعرف باسم المؤشر الذكي (smart pointer) الذي يحمل مؤشر (pointer) إلى بياناتنا الموجودة في الكومة (heap).

+

نظرًا لأن Box عبارة عن هيكل (struct) ذو حجم معروف (لأنه يحتوي فقط على مؤشر pointer)، فغالبًا ما يتم استخدامه كطريقة لتخزين مرجع (reference) إلى شيء ما في هيكل يجب أن تكون حقوله معروفة الحجم.

+

يعد Box شائعًا جدًا ويمكن استخدامه من أي مكان:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_de.html b/86_de.html new file mode 100644 index 000000000..c45efb4f0 --- /dev/null +++ b/86_de.html @@ -0,0 +1,54 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_en.html b/86_en.html new file mode 100644 index 000000000..7abd4d432 --- /dev/null +++ b/86_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_es.html b/86_es.html new file mode 100644 index 000000000..a7af808d8 --- /dev/null +++ b/86_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box es una estructura de datos que nos permite mover nuestros datos de la pila (stack) al montículo (heap).

+

Box es una estructura conocida como un puntero inteligente (smart pointer) que almacena un puntero a nuestros datos en el montículo.

+

Debido a que Box es una estructura con un tamaño conocido (porque sólo contiene un puntero), a menudo se utiliza como una forma de almacenar una referencia a algo en una estructura que debe conocer el tamaño de sus campos.

+

Box es tan común que se puede usar desde cualquier lugar:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_fa.html b/86_fa.html new file mode 100644 index 000000000..3b47ea452 --- /dev/null +++ b/86_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_fi.html b/86_fi.html new file mode 100644 index 000000000..3b44159b2 --- /dev/null +++ b/86_fi.html @@ -0,0 +1,54 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_fr.html b/86_fr.html new file mode 100644 index 000000000..8bb1491aa --- /dev/null +++ b/86_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box est une structure de données qui permet de déplacer les données +de la pile vers le tas.

+

Box est également appelé pointeur intelligent (en anglais smart +pointer) qui contient un pointeur vers des données sur le tas.

+

Box étant de taille connue (la taille du pointeur), on l'utilise +souvent comme un moyen de stocker une référence dans une structure +lorsque cette dernière doit connaître la taille de certains éléments.

+

Box est très souvent utilisé et on le fait de cette manière:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_gr.html b/86_gr.html new file mode 100644 index 000000000..88b69e824 --- /dev/null +++ b/86_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_hu.html b/86_hu.html new file mode 100644 index 000000000..753c9ceff --- /dev/null +++ b/86_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box - Doboz

+

A Box vagyis Doboz olyan adatstruktúra, aminek segítségével egy értéket a veremből a kupacra +helyezhetünk.

+

A adatstruktúra valójában nem más mint egy smart pointer ("okos mutató"-nak) nevezett struct, +ami a kupacon elhelyezett adatainkra mutat. Mivel ennek a mérete ismert (a pointer-ek mérete +meghatározott), így általában olyan más adatokra is mutató structokban használjuk, ahol fontos +az előre meghatározott méret.

+

A Box olyan gyakori, hogy bárhol használhatjuk:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_id.html b/86_id.html new file mode 100644 index 000000000..94f183cbc --- /dev/null +++ b/86_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_ie.html b/86_ie.html new file mode 100644 index 000000000..3edae496f --- /dev/null +++ b/86_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Buxe

+

Un buxe (Box) es un structura de data quel auxilia nos transferer nor data del stack al heap.

+

Box es un struct conosset quam un smart pointer (puntator inteligent) quel tene li puntator a nor data sur li heap.

+

Nam Box es un struct con grandore conosset (nam it tene solmen un puntator), on usa it sovente +por plazzar un referentie a alquo in un struct quel deve conosser li grandore de su campes.

+

Box es tam frequentmen usat que on posse usar it omniloc:

+
Box::new(Foo { ...})
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_it.html b/86_it.html new file mode 100644 index 000000000..292aa8205 --- /dev/null +++ b/86_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Strutture generiche rivisitate

+

Le strutture generiche possono anche avere i propri tipi parametrizzati vincolati da tratti.

+
struct MiaStruttura<T>
+where
+    T: MiaCaratteristica
+{
+    foo: T
+    ...
+}
+
+

Le strutture generiche hanno il loro tipo parametrizzato nella loro implementazione blocchi:

+
impl<T: MiaCaratteristica> MiaStruttura<T> {
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_ja.html b/86_ja.html new file mode 100644 index 000000000..2033b5d63 --- /dev/null +++ b/86_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ボックス

+

Box は、データをスタックからヒープに移動させるためのデータ構造です。

+

Box はスマートポインタと呼ばれる構造体で、ヒープ上のデータへのポインタを保持します。

+

Box はサイズが既知の構造体であるため(ポインタを保持しているだけなので)、 フィールドのサイズを知っていなければならない構造体の中で、何かの参照を格納する方法としてよく使われます。

+

Box は一般的なものなので、どこからでも使うことができます。

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_ko.html b/86_ko.html new file mode 100644 index 000000000..6f16625ad --- /dev/null +++ b/86_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box는 stack에 있는 데이터를 heap으로 옮길 수 있게 해주는 데이터 구조입니다.

+

Boxsmart pointer로도 알려진 struct이며 heap에 있는 데이터를 가리키는 포인터를 들고 있습니다.

+

Box는 크기가 알려져 있는 struct이므로 (왜냐하면 그저 포인터만 들고 있으므로) +field의 크기를 알아야 하는 struct에 뭔가의 참조를 저장할 때 종종 사용됩니다.

+

Box는 어디서나 사용될 정도로 흔합니다:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_ne.html b/86_ne.html new file mode 100644 index 000000000..26161a571 --- /dev/null +++ b/86_ne.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_pl.html b/86_pl.html new file mode 100644 index 000000000..3ada92260 --- /dev/null +++ b/86_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_pt-br.html b/86_pt-br.html new file mode 100644 index 000000000..af1aaecb0 --- /dev/null +++ b/86_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box é uma estrutura de dados que nos permite mover nossos dados da stack para a heap.

+

Box é uma estrutura conhecida como ponteiro inteligente que contém o ponteiro dos nossos dados na heap.

+

Como o Box é uma struct com tamanho conhecido (porque apenas contém um ponteiro), é frequentemente usada como uma maneira de armazenar uma referência a algo em uma struct que deve saber o tamanho de seus campos.

+

O Box é tão comum que pode ser usado de qualquer lugar:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_ro.html b/86_ro.html new file mode 100644 index 000000000..daf4943d5 --- /dev/null +++ b/86_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box este o structura de date ce ne permite să mutăm date de pe stivă în heap.

+

Box este o structura cunoscută sub denumirea de smart pointer, ce conține pointerul către datele noastre în heap.

+

Deoarece Box este o structură de dimensiune cunoscută (conține doar un pointer), este adesea folosit atunci când o structură trebuie să cunoască dimensiunea câmpurilor sale. Astfel, în interiorul structurii, +vom stoca o referință prin intermediul lui Box.

+

Box este atât de comun încât poate fi utilizat de oriunde:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_ru.html b/86_ru.html new file mode 100644 index 000000000..aad7e7142 --- /dev/null +++ b/86_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип умного указателя Box

+

Box - это структура данных, которая позволяет нам размешать, перемещать наши данные из стека в кучу.

+

Box - это структура, известная как smart pointer (умный указатель), который содержит указатель на наши данные хранящиеся в куче.

+

Поскольку Box является структурой с известным размером (поскольку он просто содержит указатель), то он часто используется как способ хранения ссылки на что-то в структуре, которая должна иметь известные размеры ее полей.

+

Тип Box является настолько общим, что может использоваться почти в любом месте:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_th.html b/86_th.html new file mode 100644 index 000000000..2445460c4 --- /dev/null +++ b/86_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box เป็นโครงสร้างข้อมูลที่ยอมให้เราย้ายข้อมูลจาก stack ไปไว้ใน heap ได้

+

Box คือโครงสร้างที่รู้จักกันในอีกชื่อว่า smart pointer เพราะว่ามันครอบครองพอยเตอร์ ที่ชี้ไปยังข้อมูลของเราใน heap

+

และด้วยเหตุที่ Box เป็น struct ที่เรารู้ขนาดแน่นอน (เพราะว่ามันแค่ถือครองพอยเตอร์) มันจึงเป็นตัวเลือกที่ถูกนำมาใช้บ่อยๆ เพื่อเก็บการอ้างอิงไปยังของชิ้นอื่นใน struct เมื่อต้องการขนาดของฟิลด์ที่แน่นอน

+

โดยปกติ Box สามารถใช้ได้จากทุกที่:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_tr.html b/86_tr.html new file mode 100644 index 000000000..1554f83b3 --- /dev/null +++ b/86_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Dilimize Kutu olarak çevirebileceğimiz Box, verilerimizi belleğin yığın bölgesinden öbek bölgesine taşımamıza izin veren bir veri yapısı olup, öbek üzerinde tutulan verileri gösteren bir akıllı işaretçi olarak da bilinir.

+

Box sadece bir işaretçi tuttuğundan, boyutu bilinen bir yapıdır ve genellikle alan boyutlarını bilen yapıya referans vermek amacıyla kullanılmaktadır.

+

Box Rust programlarında oldukça fazla tercih edilmekte ve neredeyse her yerde kullanılmaktadır:

+
Box::new(Tur { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_ua.html b/86_ua.html new file mode 100644 index 000000000..9123df752 --- /dev/null +++ b/86_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box - це структура даних, яка дозволяє нам розміщувати, переміщати наші дані зі стека в купу.

+

Box - це структура, відома як smart pointer (розумний покажчик), який містить покажчик на наші дані що зберігаються в купі.

+

Оскільки Box є структурою з відомим розміром (оскільки він просто містить покажчик), то він часто використовується як спосіб зберігання посилання на щось у структурі, яка повинна мати відомі розміри її полів.

+

Тип Box є настільки загальним, що може використовуватися майже в будь-якому місці:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_vi.html b/86_vi.html new file mode 100644 index 000000000..a21f336de --- /dev/null +++ b/86_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box là một cấu trúc dữ liệu cho phép chúng ta di chuyển dữ liệu của mình từ stack sang heap.

+

Box là một struct được gọi là smart pointer(con trỏ thông minh) mà sẽ giữ con trỏ tới dữ liệu của chúng ta trên heap.

+

Bởi vì Box là một struct với kích thước đã biết (vì nó chỉ chứa một con trỏ), nó thường được sử dụng như một cách để lưu trữ một tham chiếu đến một cái gì đó trong một cấu trúc mà phải biết kích thước các trường của nó.

+

Box rất phổ biến, nó có thể được sử dụng ở mọi nơi:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_zh-cn.html b/86_zh-cn.html new file mode 100644 index 000000000..21bdc6f75 --- /dev/null +++ b/86_zh-cn.html @@ -0,0 +1,52 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box 是一个允许我们将数据从栈上移到堆上的数据结构。

+

Box 是一个被称为智能指针的结构,它持有指向我们在堆上的数据的指针。

+

由于 Box 是一个已知大小的结构体(因为它只是持有一个指针), 因此它经常被用在一个必须知道其字段大小的结构体中存储对某个目标的引用。

+

Box 非常常见,它几乎可以被用在任何地方:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/86_zh-tw.html b/86_zh-tw.html new file mode 100644 index 000000000..bc4198d9a --- /dev/null +++ b/86_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box 是一種資料結構,允許我們將資料從堆疊 (stack) 搬到推 (heap) 上。

+

Box 是一種結構,也被稱為智慧指標 (smart pointer),它擁有指向在堆上的資料的指標。

+

因為 Box 是一個已經大小的結構 (因為它只擁有一個指標),所以當我們一定要知道某個結構的欄位大小時, 它就常常被用到。

+

Box 非常常見,它可以被用在任何地方:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/87_al.html b/87_al.html new file mode 100644 index 000000000..c1e11a0da --- /dev/null +++ b/87_al.html @@ -0,0 +1,58 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_ar.html b/87_ar.html new file mode 100644 index 000000000..71ebfa298 --- /dev/null +++ b/87_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مراجعة للهياكل المعممة (Generic Structs Revisited)

+

الهياكل المعممة يمكنها أيضًا أن تملك أنواع عن طريق معلمات (parameterized types) مقيدة بسمات.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

الهياكل المعممة لها نوع عن طريق معلمات خاص بها في كتلة التنفيذها (implementation blocks):

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_de.html b/87_de.html new file mode 100644 index 000000000..fbf1a628b --- /dev/null +++ b/87_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_en.html b/87_en.html new file mode 100644 index 000000000..a68db2805 --- /dev/null +++ b/87_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_es.html b/87_es.html new file mode 100644 index 000000000..6a930ea05 --- /dev/null +++ b/87_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Repaso de Estructuras Genéricas

+

Las estructuras genéricas también pueden tener sus tipos parametrizados restringidos por traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Las estructuras genéricas tienen su tipo parametrizado en sus bloques de implementación:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_fa.html b/87_fa.html new file mode 100644 index 000000000..7a161684f --- /dev/null +++ b/87_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_fi.html b/87_fi.html new file mode 100644 index 000000000..38090561a --- /dev/null +++ b/87_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_fr.html b/87_fr.html new file mode 100644 index 000000000..df9c90271 --- /dev/null +++ b/87_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures génériques revisitées

+

Les types d'une structure générique peuvent également être contraints par des +traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Quant à la définition des méthodes d'une structure paramétrée, celle-ci +est faite de la manière suivante (le type paramétré peut être utilisé +dans le bloc d'implémentation):

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_gr.html b/87_gr.html new file mode 100644 index 000000000..595742b24 --- /dev/null +++ b/87_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_hu.html b/87_hu.html new file mode 100644 index 000000000..b253e292d --- /dev/null +++ b/87_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visszatekintés a generikus struct-okra

+

A generikus struct-ok szintén rendelkezhetnek olyan típusparaméterekkel, melyeknek meghatározott +trait-eket meg kell valósítaniuk (trait-megkötés).

+
struct MyStruct<T>
+
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

A generikus struct-ok típusparaméterei az implementációs blokkban is megjelennek:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_id.html b/87_id.html new file mode 100644 index 000000000..bdc53d52c --- /dev/null +++ b/87_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_ie.html b/87_ie.html new file mode 100644 index 000000000..cbb36ee50 --- /dev/null +++ b/87_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Un Revisitation al Structs Géneric

+

Anc structs géneric posse usar trates por limitar lor tipes parametrisat.

+
struct MiStruct<T>
+where
+    T: MiTrate
+{
+    foo: T
+    ...
+}
+
+

Struct-metodes e implementat trate-metodes por géneric structs have li parametrisat tip del struct sur li clave-parol impl:

+
impl<T> MiStruct<T> {
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/87_it.html b/87_it.html new file mode 100644 index 000000000..a8d2bf4e5 --- /dev/null +++ b/87_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 7 - Conclusione

+

Ora abbiamo più funzionalità linguistiche a portata di mano per rappresentare chiaramente le nostre idee! +Le astrazioni di Rust potrebbero essere semplici ma sono abbastanza potenti da essere realizzate +lavorare con il codice è una gioia. In questo capitolo abbiamo intravisto il concetto di smart puntatori +con "Scatola". Nel prossimo capitolo impareremo come possono farlo i puntatori intelligenti aiutaci con altro +situazioni di memoria specializzate.

+

Risorse:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_ja.html b/87_ja.html new file mode 100644 index 000000000..c965d8855 --- /dev/null +++ b/87_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ジェネリクス構造体のおさらい

+

ジェネリクス構造体は、そのパラメータ化された型がtraitによって制約されることもあります。

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

ジェネリクス構造体は、その実装ブロックにパラメータ化された型を持っています。

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_ko.html b/87_ko.html new file mode 100644 index 000000000..945e2f2ea --- /dev/null +++ b/87_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic 구조체 다시 보기

+

generic struct는 trait으로 제한된 매개변수 자료형을 가질 수도 있습니다.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

매개변수 자료형은 generic structure의 구현 블록 안에 표시합니다:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_ne.html b/87_ne.html new file mode 100644 index 000000000..1d2e63d7f --- /dev/null +++ b/87_ne.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_pl.html b/87_pl.html new file mode 100644 index 000000000..1b5b91c05 --- /dev/null +++ b/87_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_pt-br.html b/87_pt-br.html new file mode 100644 index 000000000..e3e810ce9 --- /dev/null +++ b/87_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structs genéricas revisitada

+

As structs genéricas também podem ter seus tipos parametrizados restritos por traits.

+
struct MinhaStruct<T>
+where
+    T: MinhaTrait
+{
+    foo: T
+    ...
+}
+
+

As structs genéricas têm seu tipo parametrizado em seus blocos de implementação:

+
impl<T> MinhaStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_ro.html b/87_ro.html new file mode 100644 index 000000000..5f601a9b7 --- /dev/null +++ b/87_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuri generice revizuite

+

Structurile generice pot, de asemenea, să-și aibă tipurile parametrizate constrânse de trăsături:

+
struct StructuraMea<T>
+where
+    T: StructuraMea
+{
+    foo: T
+    ...
+}
+
+

Structurile generice își au tipurile parametrizate în blocul lor de implementare:

+
impl<T> StructuraMea<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_ru.html b/87_ru.html new file mode 100644 index 000000000..4d48c1d84 --- /dev/null +++ b/87_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обощенные структуры снова (Generic Structs Revisited)

+

Обобщенные структуры также могут иметь свои обобщенные, параметризованные типы, ограниченные типажами.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Обобщенная структура имеет обобщенный, параметризованный тип в блоке реализации:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_th.html b/87_th.html new file mode 100644 index 000000000..fa4ffe452 --- /dev/null +++ b/87_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

กลับมาหา Generic Structs อีกรอบ

+

Generic structs ก็สามารถมีพารามิเตอร์แบบระบุ traits ได้เช่นเดียวกัน

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs มีพารามิเตอร์เพื่อใช้ระบุ type ในบล็อกที่อิมพลีเมนต์ตัวมันด้วย:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_tr.html b/87_tr.html new file mode 100644 index 000000000..8d80da491 --- /dev/null +++ b/87_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Genellenmiş Yapılara Yeniden Bakış

+

Genellenmiş bir yapının parametreleştirilmiş türleri de niteliklerine göre sınırlandırılmış olabilir.

+
 struct BirYapi<T>
+
+where
+    T: BirOzellik
+{
+    tur: T
+    ...
+}
+
+

Genellenmiş yapıların uygulama bloklarında, kendi parametreleştirilmiş türleri bulunur:

+
impl<T> BirYapi<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_ua.html b/87_ua.html new file mode 100644 index 000000000..624165ec6 --- /dev/null +++ b/87_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Узагальнені структури

+

Узагальнені структури також можуть мати свої узагальнені, параметризовані типи, обмежені трейтами.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Узагальнена структура має узагальнений, параметризований тип у блоці реалізації:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_vi.html b/87_vi.html new file mode 100644 index 000000000..b6cbfc4ae --- /dev/null +++ b/87_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Các cấu trúc generic đã được duyệt lại(Generic Structs Revisited)

+

Cấu trúc generic cũng có thể có các kiểu tham số bị ràng buộc bởi các đặc điểm.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Cấu trúc generic có kiểu được tham số hóa trong các khối triển khai(implementation block) của chúng:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_zh-cn.html b/87_zh-cn.html new file mode 100644 index 000000000..ed29108ad --- /dev/null +++ b/87_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

重温泛型结构体

+

泛型结构体也可以通过 Trait 来约束其参数化类型:

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

泛型结构体在它的实现块中有其参数化的类型:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/87_zh-tw.html b/87_zh-tw.html new file mode 100644 index 000000000..db0ebdc6e --- /dev/null +++ b/87_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

重訪泛型結構 (generic structs revisited)

+

泛型結構也可以要求它們的參數型別被特徵所限制。

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

泛型結構的參數型別有自己的實作區塊:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_al.html b/88_al.html new file mode 100644 index 000000000..72af0dfe9 --- /dev/null +++ b/88_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_ar.html b/88_ar.html new file mode 100644 index 000000000..4307f42cf --- /dev/null +++ b/88_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 7 - الخلاصة

+

لدينا الآن المزيد من ميزات اللغة في متناول اليد لتمثيل أفكارنا بوضوح! قد تكون التجريدات (abstractions) في رست (Rust) بسيطة لكنها قوية بما يكفي لجعل العمل مع التعليمات البرمجية أمرًا ممتعًا. في هذا الفصل، ألقينا نظرة على المؤشرات الذكية (smart pointers) باستخدام Box. في الفصل التالي سنتعرف على كيف يمكن للمؤشرات الذكية أن تساعدنا في وضعيات خاصة أخرى للذاكرة.

+

موارد:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_de.html b/88_de.html new file mode 100644 index 000000000..3d3ca1cbe --- /dev/null +++ b/88_de.html @@ -0,0 +1,54 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_en.html b/88_en.html new file mode 100644 index 000000000..25593aed5 --- /dev/null +++ b/88_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_es.html b/88_es.html new file mode 100644 index 000000000..5a0a2c05a --- /dev/null +++ b/88_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 7 - Conclusión

+

Ahora tenemos más características del lenguaje a mano para representar nuestras ideas. +Las técnicas de Rust pueden ser simples pero son lo suficientemente eficaces para hacer que sea un placer trabajar con el código. +En este capítulo, hemos visto algunos consejos prácticos con Box. En el próximo capítulo aprenderemos cómo los punteros inteligentes pueden ayudarnos con otras situaciones de memoria específicas.

+

Recursos (en inglés):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_fa.html b/88_fa.html new file mode 100644 index 000000000..aabf3f200 --- /dev/null +++ b/88_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_fi.html b/88_fi.html new file mode 100644 index 000000000..afb051226 --- /dev/null +++ b/88_fi.html @@ -0,0 +1,54 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_fr.html b/88_fr.html new file mode 100644 index 000000000..c4c4999ce --- /dev/null +++ b/88_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 7 - Conclusion

+

Nous en savons désormais beaucoup pour pouvoir représenter clairement +nos idées avec Rust! Les abstractions peuvent sembler simples mais elles +sont suffisamment puissantes pour faire en sorte qu'écrire un programme +Rust devienne une partie de plaisir. Dans ce chapitre, nous avons vu très +brièvement les pointeurs intelligents avec Box. Dans le chapitre suivant, +nous découvrirons comment les pointeurs intelligents peuvent nous aider +dans d'autre cas où une gestion spéciale de la mémoire est requise.

+

Bien que les ressources suivantes soient en anglais, nous vous recommendons +celles-ci. Car de toute façon il faudra bien se mettre à l'anglais, +pas vrai \U0001F604?

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_gr.html b/88_gr.html new file mode 100644 index 000000000..df38ba9f9 --- /dev/null +++ b/88_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_hu.html b/88_hu.html new file mode 100644 index 000000000..e7e4f0e71 --- /dev/null +++ b/88_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

7. Fejezet - Konklúzió

+

Így már még több eszköz áll a rendelkezésünkre, hogy a gondolatainkat tisztán fejezhessük ki! A +Rust absztrakciói lehet egyszerűnek tűnnek, de elég erősek ahhoz, hogy örömmé tegyék a velük +való kódolást. Ebben a fejezetben egy pillantást vetettünk a smart pointer-ekre a Box +képében. A következő fejezetben részletesebben fogunk ezekről beszélni, többek között arról is, +hogy hogy segíthetnek bizonyos memóriaproblémák feloldásában.

+

További anyagok (angolul):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_id.html b/88_id.html new file mode 100644 index 000000000..086daea98 --- /dev/null +++ b/88_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_ie.html b/88_ie.html new file mode 100644 index 000000000..81e2c5e19 --- /dev/null +++ b/88_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 7 - Conclusion

+

Noi ja conosse plu caractersticas del lingue por auxilia nos clarmen representar nor idés! +Benque abstractiones in Rust es simplic, ili es tam potent que ili da nos joya quande noi +scri nor code. In ti-ci capitul noi brevmen videt puntatores inteligent con Box. +In li capitul a sequer noi va aprender pri qualmen puntatores inteligent posse auxiliar nos +in altri situationes specialisat in li gerentie de memorie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_it.html b/88_it.html new file mode 100644 index 000000000..b902931a8 --- /dev/null +++ b/88_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_ja.html b/88_ja.html new file mode 100644 index 000000000..8f73b9086 --- /dev/null +++ b/88_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 7 章 - まとめ

+

私たちのアイデアを明確に表現するために、本章でより多くの言語機能を学んできました。 +Rustの抽象化機能はシンプルかもしれませんが、コードを書くのが楽しくなるような強力なものです。 +この章では、 Box を使用してスマートポインタを垣間見ることができました。 +次の章では、スマートポインタが他の特殊なメモリの状況でどのように役立つかについて学びます。

+

参考:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_ko.html b/88_ko.html new file mode 100644 index 000000000..6de307acc --- /dev/null +++ b/88_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

7장 - 마무리

+

이제 우리의 아이디어를 말끔히 표현할 더 많은 기능들을 알게 되었습니다! +Rust의 추상화는 단순할 수도 있지만 코딩을 즐겁게 하기에 충분한 위력을 갖고 있습니다. +이번 장에서는 Box를 통해 smart pointer에 대해 어렴풋이 살펴 보았습니다. +다음 장에서는 smart pointer가 다른 특수한 메모리 상황에서 어떤 도움을 줄 수 있는지 알아보도록 하겠습니다.

+

자료:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_ne.html b/88_ne.html new file mode 100644 index 000000000..f4646118d --- /dev/null +++ b/88_ne.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_pl.html b/88_pl.html new file mode 100644 index 000000000..c9709bf3b --- /dev/null +++ b/88_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_pt-br.html b/88_pt-br.html new file mode 100644 index 000000000..654a3cb91 --- /dev/null +++ b/88_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 7 - Conclusão

+

Agora temos mais recursos da linguagem em mãos para representar nossas idéias com clareza! As abstrações do Rust podem ser simples, mas são poderosas o suficiente para tornar o trabalho de codar uma alegria. Neste capítulo vislumbramos ponteiros inteligentes com o Box. No próximo capítulo aprenderemos como os ponteiros inteligentes podem nos ajudar com outras situações especiais de memória.

+

Recursos:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_ro.html b/88_ro.html new file mode 100644 index 000000000..7e186b6a9 --- /dev/null +++ b/88_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 7 - Concluzie

+

Acum avem mai multe particularități ale limbajului prin care să ne exprimăm ideile într-un mod clar! +Abstractizările făcute de limbajul pot fi simple, însă sunt suficient de puternice pentru a face lucrul cu codul o bucurie. +În acest capitol am aruncat o privire asupra smart pointerilor prin Box. În următorul capitol vom învață despre cum aceștia ne pot ajuta în alte situații de memorie specializate.

+

Resurse:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_ru.html b/88_ru.html new file mode 100644 index 000000000..72fbd08df --- /dev/null +++ b/88_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 7 - Заключение

+

Теперь у нас есть больше языковых возможностей для ясного представления наших идей! +Абстракции Rust могут быть простыми, но они достаточно мощные, чтобы сделать работу с кодом приятной. +В этой главе мы увидели умные указатели Box. В следующей главе вы изучите о том, как умные указатели могут помочь нам в других специализированных ситуациях работы с памятью.

+

Ресурсы для изучения на английском:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_th.html b/88_th.html new file mode 100644 index 000000000..8983c853e --- /dev/null +++ b/88_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 7 - สรุป

+

ตอนนี้เราได้รู้จักคุณสมบัติของตัวภาษามากขึ้น พอให้เห็นแนวคิดของเราชัดเจนขึ้น ในเชิงนามธรรมของ Rust นั้นเรียบง่ายแต่ก็ทรงพลังมากพอที่จะทำให้การเขียนโค้ดสนุกขึ้น +ในบทนี้เราได้ผ่านตาเรื่อง smart pointer จาก Box ไปบ้างแล้ว ในบทต่อไป เราจะมาเรียนเกี่ยวกับ smart pointer ว่ามันจะมาช่วยอะไรเราได้ เมื่อต้องพบสถานการณ์พิเศษเกี่ยวกับหน่วยความจำ

+

แหล่งข้อมูล:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_tr.html b/88_tr.html new file mode 100644 index 000000000..2cf18c02c --- /dev/null +++ b/88_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 7 - Sonuç

+

Artık fikirlerimizi açık biçimde sunabileceğimiz daha fazla dil özelliğini öğrenmiş durumdayız! Rust'ın soyutlamaları basit görünmekle birlikte, kod yazmayı zevkli hale dönüştürecek kadar güçlü ve yeteneklidirler. Bu bölümde, Box ile giriş yaptığımız akıllı işaretçilerin, özel bellek yönetimi gerektiren hallerde nasıl yararlı olduklarına ise bir sonraki bölümde değineceğiz.

+

Ek kaynaklar (İngilizce):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_ua.html b/88_ua.html new file mode 100644 index 000000000..8d5d7fe7c --- /dev/null +++ b/88_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 7 - Висновки

+

Тепер у нас під рукою більше мовних можливостей для чіткого представлення наших ідей! +Абстракції Rust можуть бути простими, але вони досить потужні, щоб зробити +роботу з кодом в радість. У цій главі ми побіжно познайомилися з розумними вказівниками +за допомогою Box. У наступній главі ми дізнаємося про те, як смарт-покажчики можуть допомогти нам в інших +спеціалізованих ситуаціях з пам'яттю.

+

Ресурси:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_vi.html b/88_vi.html new file mode 100644 index 000000000..9459a6a64 --- /dev/null +++ b/88_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 7 - Tổng kết

+

Giờ đây, chúng ta có nhiều tính năng ngôn ngữ hơn để thể hiện ý tưởng của chúng ta một cách rõ ràng! Các bản tóm tắt của Rust có thể đơn giản nhưng chúng đủ mạnh để làm cho việc làm việc với code trở thành một niềm vui. Trong chương này, chúng ta đã tìm hiểu sơ qua về các con trỏ thông minh(smart pointer) với Box. Trong chương tiếp theo, chúng ta sẽ tìm hiểu về cách con trỏ thông minh có thể giúp chúng ta trong các tình huống ghi nhớ chuyên biệt khác.

+

Nguồn:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_zh-cn.html b/88_zh-cn.html new file mode 100644 index 000000000..398aa03c9 --- /dev/null +++ b/88_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 总结

+

现在我们手头有了更多可以清晰地表达我们的想法的语言功能! +Rust 的抽象可能很简单,但它们强大到足以让我们写代码写得很愉快。 在本章中,我们通过 Box 简单瞥见了智能指针。在下一章中,我们将了解智能指针如何帮助我们处理其他特定的内存情况。

+

其他资源(英文):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/88_zh-tw.html b/88_zh-tw.html new file mode 100644 index 000000000..2511b48e6 --- /dev/null +++ b/88_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 總結

+

我們現在學會更多方式來清楚地表達我們的點子了! +Rust 的抽象化可能很簡單,但它們威力足夠使你快樂的 coding。 在此章節,我們也偷看了一下智慧指標 Box。下個章節我們將會學到更多有關智慧指標怎麼在其他特別的記憶體情況下幫助我們。

+

外部資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_al.html b/90_al.html new file mode 100644 index 000000000..2eedd76c3 --- /dev/null +++ b/90_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ar.html b/90_ar.html new file mode 100644 index 000000000..e4c17d737 --- /dev/null +++ b/90_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مراجعة لمفهوم المراجع (References Revisited)

+

المرجع (reference) هو في الأساس مجرد رقم يمثل موضع البداية لبعض البايتات في الذاكرة. الغرض الوحيد منه هو تمثيل مفهوم مكان وجود بيانات من نوع معين. ما يجعل المرجع مختلفًا عن مجرد رقم هو أن رست (Rust) سيتحقق من أن عمر (lifetime) المراجع لا يدوم لفترة أطول مما يشير إليه (وإلا فسنحصل على خطأ عندما نستخدمه!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_de.html b/90_de.html new file mode 100644 index 000000000..80a4f20e4 --- /dev/null +++ b/90_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_en.html b/90_en.html new file mode 100644 index 000000000..800b36694 --- /dev/null +++ b/90_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_es.html b/90_es.html new file mode 100644 index 000000000..509004850 --- /dev/null +++ b/90_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Repaso de Referencias

+

Una referencia es principalmente un número que refiere la ubicación inicial de algunos bytes en la memoria. Su único propósito es representar el concepto de dónde existen datos de un tipo específico. Lo que hace que una referencia sea diferente de un número simple es que Rust comprobará que la vida útil de las referencias no dure más de lo que se indica (de lo contrario, al usarlo nos daría error).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_fa.html b/90_fa.html new file mode 100644 index 000000000..4e206985e --- /dev/null +++ b/90_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_fi.html b/90_fi.html new file mode 100644 index 000000000..c1773975e --- /dev/null +++ b/90_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_fr.html b/90_fr.html new file mode 100644 index 000000000..9140c8e4e --- /dev/null +++ b/90_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Références revisitées

+

Une référence est fondamentalement juste un nombre qui donne la position +de départ d'octets en mémoire, son seul but est d'indiquer où des données +d'un type spécifique sont situés en mémoire. Une référence n'est pas juste +qu'un nombre, Rust va valider la durée de vie de la référence pour qu'elle ne +dépasse par celle de l'objet qu'elle réfère (sinon nous obtiendrions une +erreur dès que nous essayerions de l'utiliser!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_gr.html b/90_gr.html new file mode 100644 index 000000000..c3383f6fa --- /dev/null +++ b/90_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_hu.html b/90_hu.html new file mode 100644 index 000000000..131442e01 --- /dev/null +++ b/90_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciák Ismét

+

Egy referencia lényegében csak egy szám, ami azt jelenti, hogy hol kezdődik a memóriában egy +marék bájt. Egyetlen feladata annak reprezentálása, hogy egy adott típusú adat hol található. +Egy egyszerű számtól az különbözteti meg, hogy a Rust biztosítja, hogy a referencia élettartama +nem tart tovább, mint az adaté, amire az hivatkozik. (Ellenkező esetben ha megpróbálnánk +használni, a programunk hülyeséget csinálna!)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_id.html b/90_id.html new file mode 100644 index 000000000..04c56cbc0 --- /dev/null +++ b/90_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ie.html b/90_ie.html new file mode 100644 index 000000000..5ab6050b6 --- /dev/null +++ b/90_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Denov pri Referenties

+

Li concepte de un referentie es quam seque: it es solmen un numeró quel +monstra li position de comensa de quelc bytes in memorie; it servi solmen por representar +li concepte de ú existe li data de un cert tip. To quo fa un referentie diferent de un +simplic numeró es que Rust va far cert que li viv-témpore de un referentie ne dura plu +long quam li cose a quel it refere (altrimen noi vell incontrar un errore in su usation!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_it.html b/90_it.html new file mode 100644 index 000000000..312b73b73 --- /dev/null +++ b/90_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ja.html b/90_ja.html new file mode 100644 index 000000000..551cca9a4 --- /dev/null +++ b/90_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ko.html b/90_ko.html new file mode 100644 index 000000000..3298e9aae --- /dev/null +++ b/90_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조 다시 보기

+

참조는 근본적으로 메모리 상의 어떤 바이트들의 시작 위치를 가리키는 숫자일 뿐입니다. +참조의 유일한 용도는 특정 자료형의 데이터가 어디에 존재하는지에 대한 개념을 나타내는 것입니다. +일반 숫자와의 차이점은 Rust에서 참조가 가리키는 값보다 더 오래 살지 않도록 +lifetime을 검증한다는 것입니다 (안그러면 그걸 사용했을 때 오류가 날 것입니다!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ne.html b/90_ne.html new file mode 100644 index 000000000..5e3a8ecb0 --- /dev/null +++ b/90_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_pl.html b/90_pl.html new file mode 100644 index 000000000..84fbd18e0 --- /dev/null +++ b/90_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_pt-br.html b/90_pt-br.html new file mode 100644 index 000000000..936cc72d1 --- /dev/null +++ b/90_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Revisitando referências

+

Uma referência é fundamentalmente apenas um número que é a posição inicial de alguns bytes na memória. Seu único propósito é representar o conceito de onde os dados de um tipo específico estão. O que torna uma referência diferente de apenas um número é que o Rust validará o tempo de vida das referências para que não dure mais do que a o que ele se refere (caso contrário, obteríamos um erro quando o usarmos!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ro.html b/90_ro.html new file mode 100644 index 000000000..913d5ab62 --- /dev/null +++ b/90_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Să revizuim referințele

+

O referință este doar un număr ce marchează începutul unei zone în memorie. +Singurul său scop este să reprezinte conceptual locul în care se află un +anumit tip de dată. Ceea ce deosebește o referință de un simplu număr este +faptul că limbajul Rust se asigură că durata de viață a unei referințe nu este +mai mare decât cea a valorii referențiate (altfel ar apărea erori când o folosim).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ru.html b/90_ru.html new file mode 100644 index 000000000..7a14ea940 --- /dev/null +++ b/90_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ссылки снова (References Revisited)

+

Ссылка является по сути только числом, которое указывает на начальную позицию некоторых байт в памяти. Единственная их цель представить концепцию того, где находятся данные указанного типа. Ссылка отличается от простого числа в Rust только тем, что компилятор будет проверять время жизни ссылки, что она не живет дольше, чем то, на что она ссылается (иначе мы получим ошибку при использовании такой ссылки!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_th.html b/90_th.html new file mode 100644 index 000000000..7d7294694 --- /dev/null +++ b/90_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

กลับมาเรื่อง การอ้างอิง อีกรอบ

+

ความจริงแล้วการอ้างอิงมันก็แค่ตัวเลขที่บอกจุดเริ่มต้นของไบต์หนึ่งในหน่วยความจำ จุดประสงค์ก็เพื่อบอกให้รู้การมีอยู่ ว่าข้อมูลที่ระบุ type นั้นอยู่ที่ไหน +สิ่งที่ทำให้การอ้างอิงแตกต่างจากตัวเลขปกติก็คือ Rust จะตรวจสอบ lifetime ของการอ้างอิงอยู่ตลอด ไม่ให้มันมีอายุยาวนานกว่าสิ่งที่มันชี้ไป (เพราะไม่เช่นนั้นเราจะเจอข้อผิดพลาดตอนที่ใช้มัน)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_tr.html b/90_tr.html new file mode 100644 index 000000000..7f9ebc190 --- /dev/null +++ b/90_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referanslara Yeniden Bakış

+

Aslında referanslar, bellekteki bazı baytların başlangıç konumunu gösteren sayılardan ibarettir. Ve bu sayıların tek amacı, belirli türden verilerin belleğin neresinde bulunduğunu belirtmektir. Ancak Rust açısından referanslar, bir sayıdan daha fazla anlam taşırlar. Derleyici olası bir hatanın önüne geçmek için, referansın yaşam süresinin, başvurduğu nesne ömründen daha uzun olup olmadığını daima bilmek ister.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_ua.html b/90_ua.html new file mode 100644 index 000000000..829c59055 --- /dev/null +++ b/90_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Про посилання

+

По суті, посилання - це просто число, яке є стартовою позицією певних +байтів у пам'яті. Його єдина мета - дати уявлення, де знаходиться данні
+конкретного типу. Посилання відрізняється від звичайного числа тим, що Rust перевіряє, чи час життя посилання +відповідає часу життя того, на що воно посилається (інакше ми отримали +б повідомлення про помилку, під час використання!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_vi.html b/90_vi.html new file mode 100644 index 000000000..52eaad89d --- /dev/null +++ b/90_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu đã duyệt lại

+

Một tham chiếu về cơ bản chỉ là một số mà số đó là vị trí bắt đầu của một số byte trong bộ nhớ. Mục đích duy nhất của nó là đại diện cho khái niệm về nơi dữ liệu của một loại cụ thể tồn tại. Điều làm cho một tham chiếu khác với một số bình thường là Rust sẽ xác thực thời gian tồn tại của các tham chiếu không kéo dài hơn những gì nó đề cập đến (nếu không chúng ta sẽ gặp lỗi khi sử dụng nó!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_zh-cn.html b/90_zh-cn.html new file mode 100644 index 000000000..472ce735b --- /dev/null +++ b/90_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

重温引用

+

引用本质上只是表示内存中某些字节起始位置的数字。 它唯一的目的就是表示特定类型的数据存在于何处。 引用与数字的不同之处在于,Rust 将验证引用自身的生命周期不会超过它指向的内容(否则我们在使用它时会出错!)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/90_zh-tw.html b/90_zh-tw.html new file mode 100644 index 000000000..a3bb4523d --- /dev/null +++ b/90_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/91_al.html b/91_al.html new file mode 100644 index 000000000..d29dc2a63 --- /dev/null +++ b/91_al.html @@ -0,0 +1,64 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ar.html b/91_ar.html new file mode 100644 index 000000000..6653e8443 --- /dev/null +++ b/91_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المؤشرات الخام (Raw Pointers)

+

يمكن تحويل المراجع (References) إلى نوع أكثر بدائية (primitive type) يسمى المؤشر الخام (Raw Pointer) ويطلق عليه المؤشر الأولي. وكما هو الحال مع الأرقام، يمكن نسخها (copy) وتحريكها (move) دون قيود تذكر. ولا يقدم رست (Rust) أي ضمانات بشأن صحة موقع الذاكرة الذي يشير إليه.

+

يوجد نوعان من المؤشرات الخام:

+
    +
  • *const T - مؤشر خام لبيانات من نوع T لا يمكن تغييرها
  • +
  • *mut T - مؤشر خام لبيانات من نوع T لا يمكن تغييرها
  • +
+

يمكن تحويل المؤشرات الخام من وإلى الأرقام (على سبيل المثال، usize).

+

يمكن للمؤشرات الخام الوصول إلى البيانات باستخدام التعليمة البرمجية غير آمن (unsafe) (المزيد حول هذا لاحقًا).

+

تفاصيل الذاكرة:

+
    +
  • المرجع (reference) في رست (Rust) يشبه إلى حد كبير المؤشر (pointer) في لغة C من حيث الاستخدام، ولكن مع المزيد من القيود وقت الترجمة (compile time) متعلقة بكيفية تخزينه ونقله إلى دوال أخرى.
  • +
  • المؤشر الخام (raw pointer) في رست (Rust) يشبه المؤشر (pointer) في لغة C وهو يمثل رقمًا يمكن نسخه أو تمريره، بل وتحويله إلى أنواع رقمية وأين يمكن تعديله كرقم لإجراء عمليات حسابية للمؤشر.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_de.html b/91_de.html new file mode 100644 index 000000000..aabc424c5 --- /dev/null +++ b/91_de.html @@ -0,0 +1,64 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_en.html b/91_en.html new file mode 100644 index 000000000..99b0f5424 --- /dev/null +++ b/91_en.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_es.html b/91_es.html new file mode 100644 index 000000000..fe6b97278 --- /dev/null +++ b/91_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Punteros Sin Procesar

+

Las referencias pueden convertirse en un tipo más primitivo llamado puntero sin procesar. Al igual que un número, se puede copiar y mover sin mucha restricción. Rust no asegura la validez de la ubicación de la memoria a la que apunta.

+

Existen dos tipos de punteros sin procesar:

+
    +
  • *const T - para los datos tipo T que no deben cambiar.
  • +
  • *mut T - para datos tipo T que pueden cambiar.
  • +
+

Los punteros sin procesar se pueden convertir en números y a partir de números. (Por ejemplo, usize).

+

Los punteros sin procesar pueden acceder a los datos con un código no seguro unsafe (Lo veremos más adelante).

+

Detalles de la memoria:

+
    +
  • Una referencia en Rust es muy similar a un puntero en C en términos de uso, pero con muchas más restricciones en tiempo de compilación en cuanto a cómo se puede almacenar y trasladar a otras funciones. * Un puntero sin procesar en Rust es similar a un puntero en C que representa un número que se puede copiar, pasar de un lado a otro, e incluso convertir en tipos numéricos donde se pueden modificar como un número para hacer aritmética de punteros.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_fa.html b/91_fa.html new file mode 100644 index 000000000..665cbaf50 --- /dev/null +++ b/91_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be copied +passed around, and even turned into numerical types where it can be modifed as a number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_fi.html b/91_fi.html new file mode 100644 index 000000000..10dd89457 --- /dev/null +++ b/91_fi.html @@ -0,0 +1,64 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_fr.html b/91_fr.html new file mode 100644 index 000000000..f6527b92f --- /dev/null +++ b/91_fr.html @@ -0,0 +1,72 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pointeurs bruts (en anglais raw pointers)

+

Les références peuvent être converties en un type plus primitif appelé +pointeurs bruts (en anglais raw pointers). Ce type de pointeur peut +être copié et déplacé avec peu de restrictions. Cependant, Rust ne garantit +pas la validité de l'emplacement de mémoire vers lequel il pointe.

+

Il existe deux types de pointeurs bruts:

+
    +
  • *const T - Un pointeur brut vers des données de type T qui ne devraient +jamais changer.
  • +
  • *mut T - Un pointeur brut vers des données de type T qui peuvent +changer.
  • +
+

Les pointeurs bruts peuvent être convertis en et à partir de nombres +(par exemple usize).

+

Les pointeurs bruts peuvent accéder aux données avec un code unsafe +(plus d'informations à ce sujet plus tard).

+

Détails de la mémoire:

+
    +
  • En termes d'utilisation, une référence en Rust est très similaire +à un pointeur en C mais avec beaucoup plus de restrictions lors de la +compilation (notamment sur la manière dont la référence peut être stockée +et déplacée vers d'autres fonctions).
  • +
  • Un pointeur brut en Rust est similaire à un pointeur en C du fait qu'ils +représentent tous les deux un nombre qui peut être copié, passé en argument +de fonction ou même transformé en un type numérique avec lequel on pourra +faire certaines opérations arithmétiques (i.e. arithmétique des pointeurs).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_gr.html b/91_gr.html new file mode 100644 index 000000000..fbd7b250b --- /dev/null +++ b/91_gr.html @@ -0,0 +1,64 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_hu.html b/91_hu.html new file mode 100644 index 000000000..edb087dae --- /dev/null +++ b/91_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Nyers Mutatók

+

A referenciákat át lehet alakítani egy valamivel primitívebb típussá, úgynevezett nyers +mutatóvá. Hasonlóan a számokhoz, ezeket is lehet másolni, mozgatni különösebb megkötések +nélkül. A Rust nem garantál semmit azzal a memóriahellyel kapcsolatban, amire a mutató mutat.

+

Kétféle nyers mutatót különböztetünk meg:

+
    +
  • *const T - Olyan, T típusú adatra mutat, aminek nem szabad megváltoznia.
  • +
  • mut T - Olyan, T típusú adatra mutat, ami megváltoztatható.
  • +
+

Nyers mutatók szabadon konvertálhatók számokká (pl. usize), és vissza. +Nyers mutatók nem biztonságos (unsafe) kódban használhatók adatok elérésére. (Erre még +visszatérünk.)

+

Hogyan érinti ez a memóriát:

+
    +
  • Egy Rust-beli referencia felhasználását tekintve nagyon hasonló egy C-beli mutatóhoz, +ugyanakkor sokkal erősebb fordítási időben biztosított megkötései vannak annak, hogyan lehet +őket tárolni és más függvényeknek átadni.

  • +
  • Egy Rust-beli nyers mutató egy C-beli mutatóhoz hasonlóan egy szám, ami szabadon másolható, +átadható, számmá alakítható, így akár matekozhatunk is vele.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_id.html b/91_id.html new file mode 100644 index 000000000..f6df2214f --- /dev/null +++ b/91_id.html @@ -0,0 +1,64 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ie.html b/91_ie.html new file mode 100644 index 000000000..89f4e5e20 --- /dev/null +++ b/91_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw (crud) Puntatores

+

On posse converter referenties a un tip plu primitiv nominat un raw pointer. Just quam un numeró, on +posse copiar e mover it sin grand restrictiones. Rust da nos null certitá pri li validitá del loc +de memorie a quel it punta.

+

Hay du tipes de crud puntatores:

+
    +
  • *const T - Un crud puntator a data del tip T quel deve ne changear se.
  • +
  • *mut T - Un crud puntator a data del tip T quel posse changear se. +On posse converter crud puntatores ad-in e ex ciffres (p.ex. usize). +Crud puntatores posse accesser data usante code unsafe (on parla pri to plu tard).
  • +
+

Detallies de memorie:

+
    +
  • Un referentie in Rust es tre simil a un puntator in C in su usada, ma con mult plu restrictiones ye +témpor de compilation pri qualmen on posse plazzar e mover it ad altri functiones.
  • +
  • Un crud puntator in Rust es simil a un puntator in C nam it representa un numeró quel on posse copiar +e mover, e mem converter a tipes numeric quel on posse modificar it por far matematica puntatori.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_it.html b/91_it.html new file mode 100644 index 000000000..571308bbc --- /dev/null +++ b/91_it.html @@ -0,0 +1,64 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ja.html b/91_ja.html new file mode 100644 index 000000000..e7861f55f --- /dev/null +++ b/91_ja.html @@ -0,0 +1,64 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ko.html b/91_ko.html new file mode 100644 index 000000000..68ac1c9a6 --- /dev/null +++ b/91_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

원시 포인터

+

참조는 더 원시적인 자료형인 raw pointer로 변환될 수 있습니다. +raw pointer는 숫자와 마찬가지로 거의 제한 없이 여기저기 복사하고 이동할 수 있습니다. +Rust는 raw pointer가 가리키는 메모리 위치의 유효성을 보증하지 않습니다.

+

raw pointer에는 두 종류가 있습니다:

+
    +
  • *const T - 자료형 T의 데이터를 가리키는 절대 변경되지 않는 raw pointer.
  • +
  • *mut T - 자료형 T의 데이터를 가리키는 변경될 수 있는 raw pointer.
  • +
+

raw pointer는 숫자와 상호 변환이 가능합니다 (예: usize).

+

raw pointer는 unsafe한 코드의 데이터에 접근할 수 있습니다 (이에 대해서는 뒤에 다루겠습니다).

+

메모리 상세:

+
    +
  • Rust에서의 참조는 사용 방법에 있어서 C의 pointer와 매우 유사하나, +저장되는 방식이나 다른 함수에 전달되는 부분에 있어 훨씬 많은 컴파일 타임의 제약을 받습니다.
  • +
  • Rust에서의 raw pointer는 복사하고 전달하고 심지어 pointer 연산을 할 수 있는 숫자 자료형으로 변환할 수도 있다는 점에서 +C의 pointer와 유사합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ne.html b/91_ne.html new file mode 100644 index 000000000..a72503552 --- /dev/null +++ b/91_ne.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_pl.html b/91_pl.html new file mode 100644 index 000000000..c51f951b3 --- /dev/null +++ b/91_pl.html @@ -0,0 +1,64 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modifed as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_pt-br.html b/91_pt-br.html new file mode 100644 index 000000000..7f811cfb4 --- /dev/null +++ b/91_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ponteiros brutos

+

As referências podem ser convertidas em um tipo mais primitivo chamado ponteiro bruto. Muito parecido com um número, ele pode ser copiado e movido com poucas restrições. O Rust não garante a validade da localização da memória para o qual aponta.

+

Há dois tipos de indicadores brutos:

+
    +
  • *const T - um ponteiro bruto para dados do tipo T que nunca deve mudar.
  • +
  • *mut T - um ponteiro bruto para dados do tipo T que podem mudar.
  • +
+

Os ponteiros brutos podem ser convertidos de e para números (por exemplo, usize).

+

Os ponteiros brutos podem acessar dados com código inseguro (falaremos a respeito mais tarde).

+

Detalhes da memória:

+
    +
  • Uma referência em Rust é muito semelhante a um ponteiro em C em termos de uso, mas com muito mais restrições de tempo de compilação sobre como pode ser armazenado e movido para outras funções.
  • +
  • Um ponteiro bruto em Rust é semelhante a um ponteiro em C, pois representa um número que pode ser copiado, passado e até transformado em tipos numéricos onde pode ser modificado como um número para fazer cálculos de ponteiro.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ro.html b/91_ro.html new file mode 100644 index 000000000..cd62fda8a --- /dev/null +++ b/91_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pointeri simpli

+

Referințele pot fi transformate într-un tip de date mai simplu, +numit pointer simplu. La fel ca un număr, acesta poate fi copiat si mutat +fără prea multe restricții. Limbajul Rust nu ne asigură cu nimic de +valabilitatea zonei de memorie la care pointează.

+

Există două feluri de pointeri simpli:

+
    +
  • *const T - Un pointer simplu către un tip de date T care nu va fi modificat.
  • +
  • *mut T - Un pointer simplu către un tip de date T ce poate fi modificat.
  • +
+

Pointerii simpli pot fi convertiți în și din numere (ex usize).

+

Pointerii simpli pot accesa date din cod nesigur (mai multe despre acest subiect mai târziu).

+

Detalii despre memorie:

+
    +
  • O referință în Rust este foarte asemănătoare cu un pointer din C în ceea ce privește utilizarea, dar cu mult mai multe restricții privind cum poate +fi stocat și folosit de alte funcții.
  • +
  • Un pointer simplu în Rust este asemănător unui pointer din C ce reprezintă un număr care poate fi +copiat și pasat ca argument, ba chiar poate fi transformat într-o valoare numerică și modificat +pentru a face aritmetică pe pointeri.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ru.html b/91_ru.html new file mode 100644 index 000000000..55fb24ab1 --- /dev/null +++ b/91_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Сырые указатели (Raw Pointers)

+

Ссылки можно сконвертировать в более примитивные типы, называемые raw pointer (сырой указатель). Почти как с числом, его можно копировать и передавать с небольшими ограничениями. +Rust не дает никаких гарантий относительно того места памяти, на которое он указывает.

+

Существует два типа сырых указателей:

+
    +
  • *const T - сырой указатель на данные типа T, которые никогда не должны меняться.
  • +
  • *mut T - сырой указатель на данные типа T, которые могут меняться.
  • +
+

Сырые указатели могут быть сконвертированы "из" или "в" числа (например, usize).

+

Сырые указатели могут обращаться к данным с помощью unsafe кода (детальнее позже).

+

Детали для запоминания:

+
    +
  • Ссылка в Rust очень похожа на указатель в Cи с точки зрения использования, но имеет гораздо большие ограничения во время компиляции относительно того, как она может храниться и перемещаться в другие функции.
  • +
  • Сырой указатель в Rust похож на указатель в Cи в том смысле, что он представляет число, которое можно скопировать, передать и даже превратить в числовые типы, где его можно изменить как число для выполнения вычислений над указателем.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_th.html b/91_th.html new file mode 100644 index 000000000..625e399f0 --- /dev/null +++ b/91_th.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw Pointers

+

การอ้างอิงสามารถเปลี่ยนไปเป็น type ตั้งต้นที่เรียกว่า raw pointer ได้ ซึ่งมันมีลักษณะเหมือนเลขปกติที่ คัดลอกได้เคลื่อนที่ได้โดยแทบจะไม่มีข้อจำกัด +ซึ่ง Rust จะไม่รับประกันความถูกต้องของตำแหน่งในหน่วยความจำที่มันจะชี้ไปถึง

+

raw pointer มีสองแบบ:

+
    +
  • *const T - คือ raw pointer ของข้อมูลจาก type T ที่ไม่ควรมีการเปลี่ยนแปลงเกิดขึ้น
  • +
  • *mut T - คือ raw pointer ของข้อมูลจาก type T ที่เปลี่ยนแปลงได้
  • +
+

Raw pointers สามารถแปลงค่าไปเป็นตัวเลขและแปลงกลับได้ (เช่น usize)

+

Raw pointers สามารถเข้าถึงข้อมูลได้ด้วยการใช้ unsafe (กล่าวเพิ่มเติมภายหลัง)

+

รายละเอียดหน่วยความจำ:

+
    +
  • การอ้างอิงใน Rust มีความคล้ายกับพอยเตอร์ในภาษา C มากในแง่ของการใช้งาน +แต่จะมีข้อจำกัดมากหน่อยในช่วง compile time ที่ต้องคิดว่าจะจัดเก็บมันอย่างไร +และจะย้ายไปฟังก์ชันอื่นอย่างไร
  • +
  • raw pointer ของ Rust นั้นคล้ายกับพอยเตอร์ของภาษา C ตรงที่มันแสดงตัวเป็นตัวเลขปกติ +ทำให้สามารถคัดลอกหรือส่งต่อไปที่อื่นได้ แถมยังเอาไปเข้ากระบวนการทางคณิตศาสตร์ +เพื่อแก้ค่าได้ เรียกว่า pointer math
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_tr.html b/91_tr.html new file mode 100644 index 000000000..c30324b3d --- /dev/null +++ b/91_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ham İşaretçiler

+

Referanslar ham işaretçi adı verilen daha ilkel bir türe dönüştürülebilirler. Bu onların azıcık kısıtlama ile tıpkı bir sayıymış gibi kopyalanabilecekleri ve taşınabililecekleri anlamına gelmektedir. Bununla birlikte Rust bu dönüşüm işleminde, işaret edilen bellek konumunun geçerli olduğunu garantilemez.

+

Rust'un iki türlü ham işareçisi vardır:

+
    +
  • *const T - Asla değişmemesi gereken T türündeki verilere yönelik ham işaretçi.
  • +
  • *mut T - Değişebilen T türündeki verilere yönelik ham işaretçi.
  • +
+

Ham işaretçiler usize gibi sayılara dönüştürülebildikleri gibi, bu tür sayılardan da dönüştürülebilirler.

+

Bu tür işaretçiler, ayrıntılarına ileride değineceğimiz güvenli olmayan Rust kodları aracılığıyla verilere erişebilirler.

+

Bellek ayrıntıları:

+
    +
  • Rust'ın referansları, kullanım açısından C'nin işaretçilerine benzemekle birlikte, saklanma ve taşınma aşamalarında daha çok derleme zamanı kısıtlaması içerirler.
  • +
  • Rust'ın ham işaretçileri, C'nin işaretçilerine benzemekle beraber; kopyalanabilen, bir işleve bağımsız değişken olarak iletilebilen, hatta tıpkı işaretçi aritmediğinde olduğu gibi, aritmetik işlemlerin yapılabileceği sayısal türe dönüştürülebilen bir sayıyı temsil eder.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_ua.html b/91_ua.html new file mode 100644 index 000000000..f761466e3 --- /dev/null +++ b/91_ua.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Необробленні покажчики (Raw Pointers)

+

Посилання можна перетворити у більш примітивний тип, який називається необробленні покажчики. Так само, як і числа їх +можна копіювати і переміщувати з невеликими обмеженнями. Rust не +гарантує існування місця у пам'яті на які вони вказують.

+

Існує 2 види необроблених покажчиків:

+
    +
  • *const T - необроблений покажчик на дані типу T, які ніколи не зміняться.
  • +
  • *mut T - необроблений покажчик на дані типу T, які можуть змінюватися.
  • +
+

Необроблені покажчики можна перетворювати на числа та з них (наприклад, usize). +Необроблені покажчики можуть отримати доступ до даних за допомогою небезпечного коду (детальніше про це пізніше). +Деталі про роботу з пам'яттю:

+
    +
  • Посилання в Rust дуже схоже на покажчик у C з точки зору використання, але з набагато більшими обмеженнями часу компіляції по тому, +як його можна зберігати та переміщувати до інших функцій.
  • +
  • Необроблений вказівник у Rust схожий на вказівник у C, оскільки він представляє число, +яке можна копіювати або передавати, і навіть перетворювати на числові типи, де його +можна модифікувати як число для виконання математики вказівника.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_vi.html b/91_vi.html new file mode 100644 index 000000000..4930c4e15 --- /dev/null +++ b/91_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Con trỏ thô(Raw Pointer)

+

Các tham chiếu có thể được chuyển đổi thành một kiểu nguyên thủy hơn được gọi là raw pointer(con trỏ thô). Giống như một số, nó có thể được sao chép và di chuyển xung quanh mà không bị hạn chế nhiều. Rust không đảm bảo tính hợp lệ của vị trí bộ nhớ mà nó trỏ tới.

+

Tồn tại hai loại con trỏ thô:

+
    +
  • *const T - Một con trỏ thô tới dữ liệu kiểu T mà không bao giờ thay đổi.
  • +
  • *mut T - Một con trỏ thô tới dữ liệu kiểu T mà có thể thay đổi.
  • +
+

Con trỏ thô có thể được chuyển đổi thành số và từ số (ví dụ: usize).

+

Con trỏ thô có thể truy cập dữ liệu bằng code không an toàn (sẽ tìm hiểu thêm về điều này sau).

+

Chi tiết bộ nhớ:

+
    +
  • Một tham chiếu trong Rust rất giống với một con trỏ trong C về cách sử dụng, nhưng với nhiều hạn chế về thời gian biên dịch hơn về cách nó có thể được lưu trữ và di chuyển sang các chức năng khác.

  • +
  • Một con trỏ thô trong Rust tương tự như một con trỏ trong C ở chỗ nó đại diện cho một số có thể được sao chép hoặc chuyển xung quanh, và thậm chí được chuyển thành các kiểu số nơi nó có thể được sửa đổi thành một số để thực hiện phép toán con trỏ.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_zh-cn.html b/91_zh-cn.html new file mode 100644 index 000000000..58e072481 --- /dev/null +++ b/91_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

指针

+

引用可以转换成一个更原始的类型,指针(raw pointer)。 像数字一样,它可以不受限制地复制和传递,但是Rust 不保证它指向的内存位置的有效性。 +有两种指针类型:

+
    +
  • *const T - 指向永远不会改变的 T 类型数据的指针。
  • +
  • *mut T - 指向可以更改的 T 类型数据的指针。
  • +
+

指针可以与数字相互转换(例如usize)。
+指针可以使用 unsafe 代码访问数据(稍后会详细介绍)。

+

内存细节:

+
    +
  • Rust中的引用在用法上与 C 中的指针非常相似,但在如何存储和传递给其他函数上有更多的编译时间限制。
  • +
  • Rust中的指针类似于 C 中的指针,它表示一个可以复制或传递的数字,甚至可以转换为数字类型,可以将其修改为数字以进行指针数学运算。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/91_zh-tw.html b/91_zh-tw.html new file mode 100644 index 000000000..594018530 --- /dev/null +++ b/91_zh-tw.html @@ -0,0 +1,64 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/92_al.html b/92_al.html new file mode 100644 index 000000000..b625e3d22 --- /dev/null +++ b/92_al.html @@ -0,0 +1,52 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ar.html b/92_ar.html new file mode 100644 index 000000000..70d5910df --- /dev/null +++ b/92_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الوصول لمحتويات المؤشر (Dereferencing)

+

تسمى عملية الوصول إلى/معالجة البيانات التي تتم الإشارة إليها بواسطة مرجع (reference) (على سبيل المثال &i32) إلغاء الإشارة (dereferencing).

+

يتم استخدام المراجع للوصول إلى/معالجة البيانات بطريقتين:

+
    +
  • الوصول إلى البيانات المشار إليها أثناء تعيين المتغيرات.
  • +
  • الوصول إلى حقول (fields) أو توابع (methods) البيانات المشار إليها.
  • +
+

لدى رست (Rust) بعض العوامل القوية التي تسمح لنا بالقيام بذلك.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_de.html b/92_de.html new file mode 100644 index 000000000..cb63c51bb --- /dev/null +++ b/92_de.html @@ -0,0 +1,52 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_en.html b/92_en.html new file mode 100644 index 000000000..176cd0da4 --- /dev/null +++ b/92_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_es.html b/92_es.html new file mode 100644 index 000000000..9847abf02 --- /dev/null +++ b/92_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Indirección

+

El proceso de acceso/manipulación de los datos a los que indica mediante una referencia (es decir, &i32) se denomina indirección.

+

Las referencias se utilizan para acceder/manipular los datos de dos maneras:

+
    +
  • Acceso a los datos indicados durante la asignación de variables.
  • +
  • Acceso a los campos o métodos de los datos indicados.
  • +
+

Rust tiene algunos operadores eficaces que nos permiten hacerlo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_fa.html b/92_fa.html new file mode 100644 index 000000000..612d1902f --- /dev/null +++ b/92_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_fi.html b/92_fi.html new file mode 100644 index 000000000..88066f1a1 --- /dev/null +++ b/92_fi.html @@ -0,0 +1,52 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_fr.html b/92_fr.html new file mode 100644 index 000000000..004abc17a --- /dev/null +++ b/92_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Déréférencement

+

Le fait d'accéder ou de manipuler des données à partir d'une référence +(i.e. un &i32) est appelé déréférencement (en anglais dereferencing).

+

Les références sont utilisées pour accéder ou manipuler des données de deux +manières:

+
    +
  • Accéder à la donnée référencée lors de l'affectation d'une variable.
  • +
  • Accéder aux champs ou méthodes de la donnée référencée.
  • +
+

Pour cela, Rust met à notre disposition des opérateurs très puissants.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_gr.html b/92_gr.html new file mode 100644 index 000000000..7323e02d3 --- /dev/null +++ b/92_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_hu.html b/92_hu.html new file mode 100644 index 000000000..1ec5842f1 --- /dev/null +++ b/92_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lekövetés

+

Egy referencia (pl.: &i32) által hivatkozott adat olvasását/módosítását lekövetésnek +nevezzük.

+

Referenciákat kétféleképpen használhatunk adatok elérésére, vagy módosítására:

+
    +
  • Változók értékadásakor hozzáférünk a hivatkozott adathoz.
  • +
  • A hivatkozott adat mezőihez vagy metódusaihoz férünk hozzá.
  • +
+

A Rust ismer néhány hasznos operátort, amik segítenek nekünk ezeket megtenni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_id.html b/92_id.html new file mode 100644 index 000000000..c9f86574e --- /dev/null +++ b/92_id.html @@ -0,0 +1,52 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ie.html b/92_ie.html new file mode 100644 index 000000000..964a98f5b --- /dev/null +++ b/92_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferentiation

+

Li processe de accesser/manipular data a quel on referer se con un referentie +(p.ex. &i32) es nominat dereferentiation (dereferencing).

+

Con du metodes on accesse/manipular data con un referentie:

+
    +
  • Accesse al data referet durant li assignation de variabiles.
  • +
  • Accesse a campes o metodes del data referet. +Rust possede quelc potent operatores queles fa to possibil por nos.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_it.html b/92_it.html new file mode 100644 index 000000000..3b1c2efd6 --- /dev/null +++ b/92_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ja.html b/92_ja.html new file mode 100644 index 000000000..c27276f69 --- /dev/null +++ b/92_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ko.html b/92_ko.html new file mode 100644 index 000000000..d331663e5 --- /dev/null +++ b/92_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

역참조

+

참조 (i.e. &i32)를 통해 참조되는 데이터를 접근/변경하는 과정을 +역참조라고 합니다.

+

참조로 데이터에 접근/변경하는 데에는 다음의 두 가지 방법이 있습니다:

+
    +
  • 변수 할당 중에 참조되는 데이터에 접근.
  • +
  • 참조되는 데이터의 field나 메소드에 접근.
  • +
+

Rust에는 이를 가능케 하는 강력한 연산자가 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ne.html b/92_ne.html new file mode 100644 index 000000000..ffa035d71 --- /dev/null +++ b/92_ne.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_pl.html b/92_pl.html new file mode 100644 index 000000000..035d826f0 --- /dev/null +++ b/92_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_pt-br.html b/92_pt-br.html new file mode 100644 index 000000000..fef3ef688 --- /dev/null +++ b/92_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desreferenciamento

+

O processo de acessar/manipular dados que está sendo referido por uma referência (ou seja, &i32) é chamado de desreferenciamento.

+

As referências são usadas para acessar/manipular dados de duas maneiras:

+
    +
  • Acesso aos dados referidos durante a atribuição de variáveis.

  • +
  • Acesso a campos ou métodos dos dados referidos.

  • +
+

O Rust tem alguns operadores poderosos que nos permitem fazer isso.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ro.html b/92_ro.html new file mode 100644 index 000000000..6a252f60c --- /dev/null +++ b/92_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferențierea

+

Procesul prin care se accesează/utilizează datele care sunt referențiate +de către o referință (adică &i32) se numește dereferențiere.

+

Referințele sunt folosite pentru a accesa/utiliza datele în două feluri:

+
    +
  • Accesează datele referențiate în timpul declarării variabilei.
  • +
  • Accesează câmpurile sau metodele datelor referențiate.
  • +
+

Limbajul Rust are câțiva operatori utili care ne permit să facem asta.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ru.html b/92_ru.html new file mode 100644 index 000000000..077047a55 --- /dev/null +++ b/92_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Разыменование (Dereferencing)

+

Процесс доступа/изменения данных на которые ссылается ссылка (reference) +(например &i32) называется разыменованием (dereferencing).

+

Ссылки используются для доступа/изменения данных двумя способами:

+
    +
  • Доступ к данным по ссылке при назначении данных переменным.
  • +
  • Доступ к полям и методам ссылочных данных (доступных по ссылке).
  • +
+

В Rust есть несколько мощных операторов, которые позволяют это делать.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_th.html b/92_th.html new file mode 100644 index 000000000..4a9ad99b5 --- /dev/null +++ b/92_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

กระบวนการในการ เข้าถึง/จัดการ ข้อมูลที่ถูกอ้างอิงด้วย reference (เช่น &i32) +เราเรียกว่า dereferencing

+

การ เข้าถึง/จัดการ ด้วยการอ้างอิงทำได้ 2ทาง:

+
    +
  • เข้าถึงในระหว่างการกำหนดค่า ให้ตัวแปรที่ถูกอ้างถึง
  • +
  • เข้าถึงผ่านฟิลด์หรือเมธอดของข้อมูลที่ถูกอ้างถึง
  • +
+

แน่นอนว่า Rust เตรียมตัวดำเนินการเหมาะๆไว้ให้เราใช้อยู่แล้ว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_tr.html b/92_tr.html new file mode 100644 index 000000000..2b0cc6a8c --- /dev/null +++ b/92_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referansı Kaldırmak

+

Bir referansın atıfta bulunduğu verilere erişme ve/veya o verileri değiştirme işlemine dereferencing, dilimizdeki yaklaşık +karşılığıyla referansı kaldırmak adı verilir.

+

Referansları verilere erişmek veya verileri değiştirmek amacıyla kullanmanın iki sebebi vardır:

+
    +
  • Değişkenlerin atanması sırasında başvurulan verilere erişmek.

  • +
  • Başvurulan verilerin alan veya metotlarına erişmek.

  • +
+

Rust, bunları gerçekleştirebilmemiz için güçlü işleçler sunar.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_ua.html b/92_ua.html new file mode 100644 index 000000000..a01f2e603 --- /dev/null +++ b/92_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розіменування

+

Процес доступу/управління даними, на які посилаються +за посиланням (тобто &i32) називається розіменуванням.

+

Посилання використовуються для доступу/управління даними двома способами:

+
    +
  • Доступ до зазначених даних під час призначення змінних.
  • +
  • Доступ до полів або методів зазначених даних.
  • +
+

У Rust є кілька потужних операторів, які дозволяють нам це робити.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_vi.html b/92_vi.html new file mode 100644 index 000000000..b5bdf5129 --- /dev/null +++ b/92_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Quá trình truy cập/thao tác dữ liệu đang được tham chiếu bởi một tham chiếu (ví dụ &i32) được gọi là Dereferencing.

+

Tham chiếu được sử dụng để truy cập/thao tác dữ liệu theo hai cách:

+
    +
  • Truy cập vào dữ liệu được gọi trong quá trình gán các biến.
  • +
  • Truy cập vào các trường hoặc phương thức của dữ liệu được gọi.
  • +
+

Rust có một số toán tử mạnh mẽ cho phép chúng ta làm điều này.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_zh-cn.html b/92_zh-cn.html new file mode 100644 index 000000000..6b654011a --- /dev/null +++ b/92_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

解引用

+

访问或操作 由引用(例如&i32)指向的数据的过程称为解除引用
+有两种方式通过引用来访问或操作数据:

+
    +
  • 在变量赋值期间访问引用的数据。
  • +
  • 访问引用数据的字段或方法。
  • +
+

Rust 有一些强大的运算符可以让我们做到这一点。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/92_zh-tw.html b/92_zh-tw.html new file mode 100644 index 000000000..7c44538ed --- /dev/null +++ b/92_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/93_al.html b/93_al.html new file mode 100644 index 000000000..508110dbf --- /dev/null +++ b/93_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ar.html b/93_ar.html new file mode 100644 index 000000000..4cdf63c09 --- /dev/null +++ b/93_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

العامل *

+

يعد العامل * طريقة واضحة لإلغاء الإشارة.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

تفاصيل الذاكرة:

+
    +
  • نظرًا لأن i32 هو نوع بدائي (primitive type) ينفذ السمة (trait) Copy، فسيتم نسخ بايتات المتغير a الموجود على المكدس (stack) إلى بايتات المتغير b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_de.html b/93_de.html new file mode 100644 index 000000000..293e384c7 --- /dev/null +++ b/93_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_en.html b/93_en.html new file mode 100644 index 000000000..4cb3f1757 --- /dev/null +++ b/93_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_es.html b/93_es.html new file mode 100644 index 000000000..2d84c3a95 --- /dev/null +++ b/93_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

El operador *

+

El operador * es una forma explícita de indireccionar una referencia.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Detalle de la memoria:

+
    +
  • Debido a que i32 es un tipo primitivo que incorpora el trait de copia (Copy), los bytes de la variable a en la pila se copian en los bytes de la variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_fa.html b/93_fa.html new file mode 100644 index 000000000..417b91e4e --- /dev/null +++ b/93_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_fi.html b/93_fi.html new file mode 100644 index 000000000..85b49a307 --- /dev/null +++ b/93_fi.html @@ -0,0 +1,57 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_fr.html b/93_fr.html new file mode 100644 index 000000000..51378c05d --- /dev/null +++ b/93_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

L'opérateur *

+

L'opérateur * est un moyen explicite de déréférencer une référence.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Détail de la mémoire:

+
    +
  • Parce que i32 est un type primitif qui implémente le trait Copy, +les octets de la variable a sur la pile sont copiés dans les octets +de la variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_gr.html b/93_gr.html new file mode 100644 index 000000000..128355e45 --- /dev/null +++ b/93_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_hu.html b/93_hu.html new file mode 100644 index 000000000..babc4075b --- /dev/null +++ b/93_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A * Operátor

+

A * operátor a referenciák lekövetésének kifejezésére használható.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Hogyan érinti ez a memóriát:

+
    +
  • Mivel az i32 egy primitív típus ami a Copy traitet megvalósítja, az a változó bájtjai a +veremmemóriában a b változóba másolódnak.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_id.html b/93_id.html new file mode 100644 index 000000000..90b5fef4f --- /dev/null +++ b/93_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ie.html b/93_ie.html new file mode 100644 index 000000000..2af74c19a --- /dev/null +++ b/93_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Li Operator *

+

Li operator * es un metode explicit por dereferentiar un referentie.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Detallies pri memorie:

+
    +
  • Nam i32 es un tip primitiv quel implementa li trate Copy, li bytes del variabil a +sur li stack es copiat ad-in li bytes de variabil b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_it.html b/93_it.html new file mode 100644 index 000000000..17a1aa330 --- /dev/null +++ b/93_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ja.html b/93_ja.html new file mode 100644 index 000000000..2980107ac --- /dev/null +++ b/93_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ko.html b/93_ko.html new file mode 100644 index 000000000..55d944296 --- /dev/null +++ b/93_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

* 연산자

+

* 연산자는 참조를 역참조 하는 명시적인 방법입니다.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

메모리 상세:

+
    +
  • i32는 Copy trait을 구현하는 기본 자료형이기 때문에, +stack에 있는 변수 a의 바이트들은 변수 b의 바이트들로 복사됩니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ne.html b/93_ne.html new file mode 100644 index 000000000..276c9a1e3 --- /dev/null +++ b/93_ne.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_pl.html b/93_pl.html new file mode 100644 index 000000000..0abb5f248 --- /dev/null +++ b/93_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_pt-br.html b/93_pt-br.html new file mode 100644 index 000000000..5a175104d --- /dev/null +++ b/93_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O operador *

+

O operador * é uma forma explícita de desreferenciamento de uma referência.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Detalhes da memória:

+
    +
  • Como i32 é um tipo primitivo que implementa a trait Copy, os bytes da variável a na pilha são copiados para os bytes da variável b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ro.html b/93_ro.html new file mode 100644 index 000000000..fe7865cd8 --- /dev/null +++ b/93_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Operatorul `*`

+

Operatorul * reprezintă o modalitate explicită pentru a dereferenția o referință.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Detaliu despre memorie:

+
    +
  • Deoarece i32 este un tip primitiv ce implementează trait-ul Copy, +byții variabilei a sunt copiați de pe stivă în octeții variabilei b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ru.html b/93_ru.html new file mode 100644 index 000000000..1092eb3f6 --- /dev/null +++ b/93_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Оператор * (звездочка)

+

Оператор * является явным способом разыменовать ссылку.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Детали для запоминания:

+
    +
  • Так как i32 является примитивным типом, который реализует типаж Copy, байты из переменной a в стеке копируются в байты переменной b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_th.html b/93_th.html new file mode 100644 index 000000000..9bc586859 --- /dev/null +++ b/93_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The * Operator

+

ตัวดำเนินการ * เป็นวิธีที่ชัดเจนที่นำมาใช้ dereference ตัวอ้างอิง

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

รายละเอียดหน่วยความจำ:

+
    +
  • เนื่องจาก i32 เป็น type ตั้งต้น ที่อิมพลีเมนต์ trait ชื่อCopy +ไบต์ของตัวแปร a บนแสต็กจึงถูกคัดลอกไปยัง ไบต์ของตัวแปร b
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_tr.html b/93_tr.html new file mode 100644 index 000000000..445befa83 --- /dev/null +++ b/93_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yıldız İmi * İşleci

+

Bir referans tarafından atıfta bulunulan verilere açık biçimde erişmenin yolu, asteriks olarak da bilinen yıldız imi * işlecini kullanmaktan geçer.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Bellek ayrıntıları:

+
    +
  • Temel bir tür olan i32, Copy özelliğini uygulayacağından, yığın üzerindeki a değişkeninin baytları, b değişkeninin baytlarına kopyalanmış olacaktır.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_ua.html b/93_ua.html new file mode 100644 index 000000000..ec3475d60 --- /dev/null +++ b/93_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Оператор *

+

Оператор * є явним способом для розіменування посилання.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Деталі про роботу з пам'яттю:

+
    +
  • Оскільки i32 є примітивним типом, який реалізує властивість Copy, +байти змінної a у стеку копіюються в байти змінної b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_vi.html b/93_vi.html new file mode 100644 index 000000000..5c747c76f --- /dev/null +++ b/93_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Toán tử *

+

Toán tử * là một cách rõ ràng để dereference một tham chiếu.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Chi tiết bộ nhớ:

+
    +
  • Vì i32 là kiểu nguyên thủy thực hiện đặc điểm Copy, các byte của biến a trên stack được sao chép vào các byte của biến b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_zh-cn.html b/93_zh-cn.html new file mode 100644 index 000000000..c75dbdc57 --- /dev/null +++ b/93_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

运算符 *

+

* 运算符是一种很明确的解引用的方法。

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

内存细节:

+
    +
  • 因为 i32 是实现了 Copy 特性的原始类型,堆栈上变量 a 的字节被复制到变量 b 的字节中。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/93_zh-tw.html b/93_zh-tw.html new file mode 100644 index 000000000..9c39f9918 --- /dev/null +++ b/93_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_al.html b/94_al.html new file mode 100644 index 000000000..4fbab9aac --- /dev/null +++ b/94_al.html @@ -0,0 +1,55 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_ar.html b/94_ar.html new file mode 100644 index 000000000..de3fc8354 --- /dev/null +++ b/94_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

العامل .

+

يُستخدم العامل . في الوصول إلى حقول (fields) وتوابع (methods) المرجع. إنه يعمل بدقة أكبر قليلاً.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

حسنًا، لماذا لم نكن بحاجة إلى إضافة *** قبل ref_ref_ref_f؟ وذلك لأن العامل . يقوم تلقائيًا بإلغاء الإشارة (dereferences) إلى سلسلة من المراجع (sequence of references). يتم تحويل ذلك السطر الأخير إلى ما يلي بواسطة المترجم (compiler) تلقائيًا.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_de.html b/94_de.html new file mode 100644 index 000000000..ae8a0e59f --- /dev/null +++ b/94_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_en.html b/94_en.html new file mode 100644 index 000000000..5e47d95e3 --- /dev/null +++ b/94_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_es.html b/94_es.html new file mode 100644 index 000000000..31d12d88a --- /dev/null +++ b/94_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

El operador .

+

El operador . se utiliza para acceder a los campos y métodos de una referencia. Funciona de manera un poco más sutil.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

¿Por qué no hace falta añadir *** antes de ref_ref_ref_f? Pues porque el operador . operator indirecciona automáticamente una secuencia de referencias. La última línea se convierte automáticamente en la siguiente por el compilador.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_fa.html b/94_fa.html new file mode 100644 index 000000000..6a7f5dfcd --- /dev/null +++ b/94_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_fi.html b/94_fi.html new file mode 100644 index 000000000..7a111ea44 --- /dev/null +++ b/94_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_fr.html b/94_fr.html new file mode 100644 index 000000000..23fad71e2 --- /dev/null +++ b/94_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

L'opérateur .

+

L'opérateur . est utilisé pour accéder aux champs et aux méthodes d'une +référence. Cela fonctionne un peu plus subtilement que l'opérateur *.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, pourquoi n'avons-nous pas dû ajouter *** avant ref_ref_ref_f? +La raison est que l'opérateur . déréférence automatiquement une +séquence de références. La dernière instruction du bloc ci-dessus est +automatiquement transformée par le compilateur en:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_gr.html b/94_gr.html new file mode 100644 index 000000000..2a9fe41a9 --- /dev/null +++ b/94_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_hu.html b/94_hu.html new file mode 100644 index 000000000..fda6c4ff4 --- /dev/null +++ b/94_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A . Operátor

+

A . operátor mezők és metódusok elérésére való. Egy kicsit kifinomultabb, mint a * volt.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Hűha, miért nem kellett ***-ot írnunk a ref_ref_ref_f elé? Azért, mert a . operátor +automatikusan visszaköveti a referenciák láncát! Az utolsó sort a fordító automatikusan átírja +ilyenre:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_id.html b/94_id.html new file mode 100644 index 000000000..5f73ad421 --- /dev/null +++ b/94_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_ie.html b/94_ie.html new file mode 100644 index 000000000..7488f4fd5 --- /dev/null +++ b/94_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Li Operator .

+

On usa li operator . por accesser li campes e metodes de un referentie. It efectua se con un poc plu subtilitá.

+
let f = Foo { valore: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.valore);
+
+

+Ma atende, pro quo noi ne besonat adjunter***avanrefrefref_f? To es pro que li operator.` dereferentia +automaticmen un sequentie de referenties. Ti ultim linea changea se automaticmen per li compilator quam seque:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_it.html b/94_it.html new file mode 100644 index 000000000..29e2a415d --- /dev/null +++ b/94_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_ja.html b/94_ja.html new file mode 100644 index 000000000..016271da0 --- /dev/null +++ b/94_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_ko.html b/94_ko.html new file mode 100644 index 000000000..cd9008d97 --- /dev/null +++ b/94_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

. 연산자

+

. 연산자는 참조의 field와 메소드에 접근하는 데에 쓰입니다. 이건 좀 더 미묘하게 동작합니다.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

아니, 왜 ref_ref_ref_f 앞에 ***을 안넣어도 되는거죠? 그건 바로 . 연산자가 참조 열을 자동으로 역참조 했기 때문입니다. +저 마지막 줄은 컴파일러에 의해 자동적으로 다음과 같이 바뀌게 됩니다:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_ne.html b/94_ne.html new file mode 100644 index 000000000..cd33f5311 --- /dev/null +++ b/94_ne.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_pl.html b/94_pl.html new file mode 100644 index 000000000..a01a4444e --- /dev/null +++ b/94_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_pt-br.html b/94_pt-br.html new file mode 100644 index 000000000..ffd85bafc --- /dev/null +++ b/94_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O operador .

+

O operador . é usado para acessar campos e métodos de uma referência. Ele funciona de uma maneira mais sutil.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Uau! Por que não precisamos adicionar *** antes de ref_ref_ref_f? Isso ocorre porque o operador . desreferencia automaticamente uma sequência de referências. Essa última linha é transformada na seguinte pelo compilador automaticamente.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_ro.html b/94_ro.html new file mode 100644 index 000000000..cf0af746f --- /dev/null +++ b/94_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Operatorul `.`

+

Operatorul . este folosit pentru a accesa câmpurile și metodele unei referințe. Acesta funcționează într-un mod ceva mai subtil.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, de ce nu a trebuit să adaugăm *** înainte de ref_ref_ref_f? Pentru că operatorul . dereferențiază automat +o secvență de referințe. Ultima linie de cod este transformată de către compilator astfel:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_ru.html b/94_ru.html new file mode 100644 index 000000000..b6bf0d335 --- /dev/null +++ b/94_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Оператор . (точка)

+

Оператор . используется для доступа к полям и методам ссылки. Он работает более тонко.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Опа, почему нам не нужно добавлять *** (три звездочки) перед ref_ref_ref_f? Это потому, что оператор . автоматически разыменовывает последовательность ссылок. Последняя строка превращена компилятром в следующий код автоматически.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_th.html b/94_th.html new file mode 100644 index 000000000..3e1afc382 --- /dev/null +++ b/94_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The . Operator

+

ตัวดำเนินการ . ถูกใช้เมื่อทำการเข้าถึงฟิลด์หรือเมธอดของตัวอ้างอิง ซึ่งมันค่อนข้างฉลาดอยู่บ้าง

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

ว้าวดูสิ เราไม่ต้องใส่ *** ข้างหน้า ref_ref_ref_f เลยเห็นไหม นี่ก็เพราะเจ้าตัวดำเนินการ . มัน dereference ตัวอ้างอิงให้อัตโนมัติ โดยตัวคอมไพเลอร์จะเป็นตัวเปลี่ยนบรรทัดสุดท้ายให้เป็นบรรทัดต่อไปนี้เอง

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_tr.html b/94_tr.html new file mode 100644 index 000000000..795c0295e --- /dev/null +++ b/94_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Nokta . İşleci

+

Bir noktadan ibaret olan . işleci ise, bir referansın alan ve yöntemlerine erişirken kullanılır. Zekice çalışan bu işlece bir örnek yardımıyla daha yakından bakalım:

+
let f = Tur { deger: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.deger);
+
+

ref_ref_ref_f'den önce *** işleçlerinin eklenmediğini fark ettiniz değil mi?. Bu şaşırtıcı durum . işlecinin, bir dizi referansı otomatik olarak kaldırmasından kaynaklanır. Oysa gerçekte örneğin son satırı, derleyici tarafından otomatik olarak aşağıda gösterildiği gibi değerlendirilmektedir.

+
println!("{}", (***ref_ref_ref_f).deger);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_ua.html b/94_ua.html new file mode 100644 index 000000000..02b65473e --- /dev/null +++ b/94_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Оператор .

+

Оператор . використовується для доступу до полів і методів посилання. Це працює дещо тонше.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Ого, а чому ми не додали *** перед ref_ref_ref_f? Це тому, що оператор . автоматично роздиференціює +послідовність посилань. Останній рядок автоматично перетворюється компілятором.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_vi.html b/94_vi.html new file mode 100644 index 000000000..4f3a54eb6 --- /dev/null +++ b/94_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Toán tử .

+

Toán tử . được sử dụng để truy cập các trường và phương thức của một tham chiếu. Nó hoạt động tinh tế hơn một chút.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Wow wow, tại sao chúng ta không cần thêm *** trước ref_ref_ref_f? Điều này là do toán tử . tự động dereference đến một chuỗi các tham chiếu. Dòng cuối cùng đó được trình biên dịch tự động chuyển thành dòng sau.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_zh-cn.html b/94_zh-cn.html new file mode 100644 index 000000000..105fc59a5 --- /dev/null +++ b/94_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

运算符 .

+

.运算符用于访问引用的字段和方法,它的工作原理更加巧妙。

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

哇,为什么我们不需要在ref_ref_ref_f之前添加***?这是因为 . 运算符会做一些列自动解引用操作。 最后一行由编译器自动转换为以下内容。

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/94_zh-tw.html b/94_zh-tw.html new file mode 100644 index 000000000..9d0049571 --- /dev/null +++ b/94_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_al.html b/95_al.html new file mode 100644 index 000000000..2ec3b7a8a --- /dev/null +++ b/95_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_ar.html b/95_ar.html new file mode 100644 index 000000000..8986b0921 --- /dev/null +++ b/95_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المؤشرات الذكية (Smart Pointers)

+

بالإضافة إلى القدرة على إنشاء مراجع (references) للبيانات المكتوبة (typed data) الموجودة باستخدام العامل &، يمنحنا رست (Rust) القدرة على إنشاء هياكل (structs) تشبه المرجع (reference-like) تسمى المؤشرات الذكية (smart pointers).

+

يمكننا أن نفكر في المراجع (references) على مستوى عالٍ كنوع يتيح لنا الوصول إلى نوع آخر. تختلف المؤشرات الذكية (smart pointers) في سلوكها عن المراجع العادية من حيث أنها تعمل بناءً على المنطق الداخلي الذي يكتبه المبرمج. أنت – المبرمج – هو الجزء الذكي.

+

عادةً ما تنفذ المؤشرات الذكية السمات (traits) Deref وDerefMut وDrop لتحديد منطق ما يجب أن يحدث عند إلغاء الإشارة (dereferenced) الخاصة بالهيكل باستخدام العامل * و..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_de.html b/95_de.html new file mode 100644 index 000000000..48f05e6a2 --- /dev/null +++ b/95_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_en.html b/95_en.html new file mode 100644 index 000000000..90e1610c6 --- /dev/null +++ b/95_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_es.html b/95_es.html new file mode 100644 index 000000000..2ccc82c28 --- /dev/null +++ b/95_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Punteros Inteligentes

+

Además de la capacidad de crear referencias de tipos de datos existentes utilizando el operador & operator, Rust nos permite crear estructuras de referencia llamadas punteros inteligentes.

+

Podemos pensar en referencias a alto nivel como un tipo que nos da acceso a otro tipo. Los punteros inteligentes se diferencian en su comportamiento de las referencias normales en que operan basados en la lógica interna que el programador (o sea, tú) escribe al ser la parte inteligente.

+

Los punteros inteligentes implementan de forma típica los traits Deref, DerefMut y Drop para especificar la lógica de lo que debe suceder cuando la estructura se indirecciona con los operadores * y ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_fa.html b/95_fa.html new file mode 100644 index 000000000..4feb11a51 --- /dev/null +++ b/95_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that give us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_fi.html b/95_fi.html new file mode 100644 index 000000000..818f593d2 --- /dev/null +++ b/95_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_fr.html b/95_fr.html new file mode 100644 index 000000000..6bb618f7f --- /dev/null +++ b/95_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pointeurs intelligents

+

En plus de la possibilité de créer des références de données typées à +l'aide de l'opérateur &, Rust nous donne la possibilité de créer des +structures similaires aux références (en anglais reference-like) appelées +pointeurs intelligents.

+

Les références peuvent être vues comme un type qui nous donne accès à un +autre type. Les pointeurs intelligents peuvent faire la même chose que les +références et plus encore, c'est au programmeur de définir la logique interne +d'un pointeur intelligent. La partie intelligente est le programmeur.

+

Les pointeurs intelligents implémentent généralement les traits Deref, +DerefMut et Drop pour spécifier le comportement du pointeur lorsque la +structure est déréférencée avec les opérateurs * et ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_gr.html b/95_gr.html new file mode 100644 index 000000000..c20db2862 --- /dev/null +++ b/95_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_hu.html b/95_hu.html new file mode 100644 index 000000000..711633bd4 --- /dev/null +++ b/95_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Okos Mutatók

+

Azon túl, hogy a & operátorral referenciákat csinálhatunk már létező, adott típusú adatra, +a Rust ad nekünk olyan, referencia-szerű struktúrákat, amiket okos mutatónak hívunk.

+

A referenciákra gondolhatunk úgy, mint típusokra, melyek másik típusokhoz engednek hozzáférni. +Az okos mutatók abban mások, hogy belső működésüket programozók által írt logika adja. Te, mint +programozó vagy az okos rész.

+

Általában az okos pointerek megvalósítják a Deref, DerefMut és Drop traiteket, így tudják +meghatározni, mit csináljon velük a * és . operátor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_id.html b/95_id.html new file mode 100644 index 000000000..60adf4434 --- /dev/null +++ b/95_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_ie.html b/95_ie.html new file mode 100644 index 000000000..28f382e33 --- /dev/null +++ b/95_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Puntatores Inteligent

+

In plu al possibilitá de crear referenties a existent tipat data con li operator &, Rust da nos li habilitá de crear +referentiesc structs nominat smart pointers (puntatores inteligent).

+

Noi posse conceptualisar referenties simplicmen quam un tip quel da accesse a un altri tip. Smart pointers es diferent de normal +puntatores in quant que ili functiona basat sur li logic intern scrit del programmator. Tu - li programmator - es li parte +quel es inteligent. +Por li pluparte smart puntatores implementa li trates Deref, DerefMut e Drop por specificar li logica pri quo mey evenir +quande on dereferentia li structura con li operatores * e ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_it.html b/95_it.html new file mode 100644 index 000000000..9ab71201a --- /dev/null +++ b/95_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_ja.html b/95_ja.html new file mode 100644 index 000000000..194f1b891 --- /dev/null +++ b/95_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_ko.html b/95_ko.html new file mode 100644 index 000000000..f270bd495 --- /dev/null +++ b/95_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스마트 포인터

+

& 연산자로 이미 존재하는 데이터의 참조를 생성하는 기능과 더불어, +Rust에서는 smart pointer라 불리는 참조 같은 struct를 생성하는 기능을 제공합니다.

+

고수준에서 보자면 참조는 다른 자료형에 대한 접근을 제공하는 자료형이라고 볼 수 있습니다. +smart pointer가 일반적인 참조와 다른 점은, 프로그래머가 작성하는 내부 로직에 기반해 작동한다는 것입니다. +여러분(프로그래머)이 바로 smart한 부분을 담당하는 겁니다.

+

일반적으로 smart pointer는 struct가 *. 연산자로 역참조될 때 무슨 일이 발생할지 +지정하기 위해 Deref, DerefMut, 그리고 Drop trait을 구현합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_ne.html b/95_ne.html new file mode 100644 index 000000000..fae1253d4 --- /dev/null +++ b/95_ne.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_pl.html b/95_pl.html new file mode 100644 index 000000000..fc1382790 --- /dev/null +++ b/95_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that give us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_pt-br.html b/95_pt-br.html new file mode 100644 index 000000000..6e8a91816 --- /dev/null +++ b/95_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ponteiros inteligentes

+

Além da possibilidade de criar referências a dados tipados existentes usando o operador &, o Rust nos dá a possibilidade de criar structs reference-like chamadas ponteiros inteligentes.

+

Grosso modo, podemos pensar nas referências como um tipo que nos dá acesso a outro tipo. Os ponteiros inteligentes são diferentes em seu comportamento das referências normais, pois operam com base na lógica interna que um programador escreve. Você — o programador — é a parte inteligente.

+

Normalmente os ponteiros inteligentes implementam as traits Deref, DerefMut e Drop para especificar a lógica do que deve acontecer quando a estrutura é desreferenciada com os operadores * e ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_ro.html b/95_ro.html new file mode 100644 index 000000000..7352aedda --- /dev/null +++ b/95_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pointeri inteligenți

+

Pe lângă abilitatea de a crea referințe la tipuri de date existente folosind operatorul &, limbajul Rust ne oferă posibilitatea +de a crea structuri asemănătoare cu referințele numite pointeri inteligenți.

+

Ne putem gândi la referințe de nivel înalt ca la un tip ce ne oferă acces la alt tip. Pointerii inteligenți se comportă diferit față de +referințele normale, operând după o logică internă, scrisă de programator. Tu — programatorul — +reprezinți partea inteligentă.

+

De obicei pointerii inteligenți implementează trait-urile Deref, DerefMut, și Drop pentru a specifica logica a ce ar trebui să se întâmple când +structura este dereferențiată folosind operatorii * și ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_ru.html b/95_ru.html new file mode 100644 index 000000000..7f7894980 --- /dev/null +++ b/95_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Умные указатели (Smart Pointers)

+

В дополнение к возможности создания ссылок к известным типам данных используя оператор &, Rust предоставляет возможность создания структур похожих на ссылки (reference-like) называемых умные указатели (smart pointers).

+

Можно думать об этих ссылках на более высоком уровне, как о типах, которые предоставляют доступ к другим типам. Умные указатели по своему поведению отличаются от обычных ссылок тем, что они работают на основе внутренней логики, описываемой разработчиком. Вы как разработчик - это умная часть этих указателей.

+

Обычный умный указатель реализует типажи Deref, DerefMut и Drop для определения логики того, что должно происходить, когда структура разыменована с помощью операторов * и .

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_th.html b/95_th.html new file mode 100644 index 000000000..9786a9604 --- /dev/null +++ b/95_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Pointers

+

นอกเหนือจากความสามารถในการสร้างตัวอ้างอิงให้กับข้อมูลของ type ที่มีอยู่จริง ด้วยการใช้ตัวดำเนินการ & แล้ว Rust มีอีกความสามารถหนึ่งนั่นคือการสร้าง โครงสร้าง reference-like (การอ้างอิงเสมือน) ที่มีชื่อเรียกว่า smart pointers

+

การอ้างอิง ในมุมมองที่สูงขึ้นไปอีก มันคือการเข้าถึง type หนึ่งได้จากอีก type หนึ่ง โดยที่ Smart pointer จะมีพฤติกรรมต่างไปจาก การอ้างอิงปกติ ตรงที่มันจะทำงาน ตามที่โปรแกรมเมอร์เขียนตรรกะให้นั่นเพราะว่า +โปรแกรมเมอร์ - อย่างคุณที่แหล่ะ - คือสิ่งที่ ฉลาด ที่สุด

+

โดยทั่วไป smart pointers จะอิมพลีเมนต์ Trait เหล่านี้ Deref, DerefMut, และ Drop เพื่อกำหนดทิศทางให้ ตรรกะว่าจะเกิดอะไรขึ้นเมื่อ struct พยายาม dereference ด้วยตัวดำเนินการ * และ .

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_tr.html b/95_tr.html new file mode 100644 index 000000000..678eb615a --- /dev/null +++ b/95_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Akıllı İşaretçiler

+

Rust mevcut veri türlerine & işleci aracılığıyla başvurabilme yeteneğine ek olarak, akıllı işaretçiler* olarak bilinen referans yapıları oluşturabilmemize de izin verir.

+

Bu referansları daha yüksek seviyede ve diğer türlere erişim sağlayan, normal referanslardan farklı biçimde davranan türlermiş gibi düşünebilirsiniz. Akıllı işaretçiler, programcının yazdığı dahili mantığa dayalı olarak çalıştıklarından ve bu dahili mantığı tanımlamak da programcıya bağlı olduğundan, aslında buradaki akıllı kısım programcının ta kendisidir.

+

Bu açıklamadan hareketle akıllı işaretçiler için, "bir yapıya * ve . işleçleri kullanılarak başvurulduğunda, olacakların mantığını tanımlamak amacıyla Deref, DerefMut ve Drop özelliklerini uygulayan yapılar" diyebiliriz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_ua.html b/95_ua.html new file mode 100644 index 000000000..bad21e786 --- /dev/null +++ b/95_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розумні вказівники (Smart Pointers)

+

На додаток до можливості створювати посилання на існуючі типізовані дані за допомогою оператора &, Rust надає нам можливість +створювати посилання-подібні структури, які називаються розумні вказівники.

+

Ми можемо думати про посилання на високому рівні як про тип, який надає нам доступ до іншого типу. Розумні покажчики відрізняються за своєю +поведінкою від звичайних посилань тим, що вони працюють на основі внутрішньої логіки яку пише програміст. Ви - програміст - +є розумною частиною.

+

Зазвичай, розумні покажчики реалізують ознаки Deref, DerefMut та Drop для визначення логіки того, що має відбуватись, коли +структуру розіменовують операторами * та ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_vi.html b/95_vi.html new file mode 100644 index 000000000..109354acb --- /dev/null +++ b/95_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Con trỏ thông minh

+

Ngoài khả năng tạo tham chiếu đến dữ liệu đã nhập hiện có bằng toán tử &, Rust cho chúng ta khả năng tạo các struct giống như tham chiếu được gọi là smart pointers(Con trỏ thông minh).

+

Chúng ta có thể coi các tham chiếu ở cấp độ cao là một loại cho phép chúng ta truy cập vào một loại khác. Con trỏ thông minh khác về hành vi của chúng so với các tham chiếu thông thường ở chỗ chúng hoạt động dựa trên logic bên trong mà một lập trình viên viết ra. Bạn - lập trình viên - là phần thông minh.

+

Thông thường, các con trỏ thông minh triển khai các đặc điểm Deref, DerefMut, và Drop để chỉ định logic về những gì sẽ xảy ra khi struct được tham chiếu bằng các toán tử *..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_zh-cn.html b/95_zh-cn.html new file mode 100644 index 000000000..ffc1ca3c0 --- /dev/null +++ b/95_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

智能指针

+

除了能够使用&运算符创建对现有类型数据的引用之外, Rust 给我们提供了能够创建称为智能指针类引用结构。
+我们可以在高层次上将引用视为一种类型,它使我们能够访问另一种类型. 智能指针的行为与普通引用不同,因为它们基于程序员编写的内部逻辑进行操作. 作为程序员的你就是智能的一部分。
+通常,智能指针实现了 DerefDerefMutDrop 特征,以指定当使用 *. 运算符时解引用应该触发的逻辑。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/95_zh-tw.html b/95_zh-tw.html new file mode 100644 index 000000000..89d05ef4f --- /dev/null +++ b/95_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_al.html b/96_al.html new file mode 100644 index 000000000..78ac1589e --- /dev/null +++ b/96_al.html @@ -0,0 +1,55 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_ar.html b/96_ar.html new file mode 100644 index 000000000..d2c8dbd8b --- /dev/null +++ b/96_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التعليمة البرمجية الذكية غير آمن (Smart Unsafe Code)

+

تميل المؤشرات الذكية (Smart pointers) إلى استخدام التعليمة البرمجية غير آمن (unsafe) كثيرًا. كما ذكرنا سابقًا، فهي أداة شائعة للتفاعل مع أدنى مستويات الذاكرة في رست (Rust).

+

ما هي التعليمة البرمجية غير آمن (unsafe)؟ تتصرف التعليمات البرمجية غير الآمنة تمامًا مثل رست (Rust) العادي باستثناء بعض القدرات التي لا يستطيع مترجم رست (Rust) تقديم ضمانات بشأنها.

+

القدرة الأساسية للتعليمات البرمجية غير آمن (unsafe) هي الوصول لمحتويات المؤشر الخام (dereferencing a raw pointer). وهذا يعني أخذ مؤشر الخام إلى موضع في الذاكرة والإعلان عن "يوجد هيكل بيانات هنا!" ثم تحويلها إلى تمثيل للبيانات التي يمكنك استخدامها (على سبيل المثال، *const u8 إلى u8).

+

ليس لدى رست (Rust) طريقة لتتبع معنى كل بايت يتم كتابته في الذاكرة. نظرًا لأن رست (Rust) لا يمكنه تقديم ضمانات حول ما هو موجود عندما يكون هناك رقم عشوائي مستخدم كـ مؤشر الخام، فإنه يضع إلغاء المرجعية في كتلة unsafe { ... }. +المؤشرات الذكية (Smart pointers) تصل لمحتويات المؤشر الخام على نطاق واسع، لكنها متأكدة جيدًا في ما تفعله.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_de.html b/96_de.html new file mode 100644 index 000000000..39a4869a0 --- /dev/null +++ b/96_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_en.html b/96_en.html new file mode 100644 index 000000000..2503e3837 --- /dev/null +++ b/96_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_es.html b/96_es.html new file mode 100644 index 000000000..935308434 --- /dev/null +++ b/96_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Código Inteligente No Seguro

+

Los punteros inteligentes tienden a usar código no seguro (unsafe) con bastante frecuencia. Como se mencionó anteriormente, son herramientas comunes para interactuar con los niveles más bajos de memoria en Rust.

+

¿Qué es código no seguro? El código no seguro se comporta exactamente como el normal de Rust, con la excepción de algunas habilidades que el compilador de Rust no puede garantizar.

+

Una de las principales capacidades de un código no seguro es la de indireccionar un puntero sin procesar. Eso significa mover un puntero sin procesar a una posición en la memoria y declarar que ahí existe una estructura de datos para después convertirlo en una representación de los datos que se pueden utilizar (es decir, *const u8 en u8). Rust no tiene forma de rastrear el significado de cada byte que se escribe en la memoria. Debido a que Rust no puede hacer garantizar lo que existe en un número arbitrario que se ha usado comoun puntero sin procesar, pone la indirección en un bloque no seguro unsafe { ... }.

+

Los punteros inteligentes indireccionan los punteros sin procesar ampliamente, pero están bien probados en lo que hacen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_fa.html b/96_fa.html new file mode 100644 index 000000000..ec74b4f10 --- /dev/null +++ b/96_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_fi.html b/96_fi.html new file mode 100644 index 000000000..b15f6ce30 --- /dev/null +++ b/96_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_fr.html b/96_fr.html new file mode 100644 index 000000000..8ff4ed9ac --- /dev/null +++ b/96_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Code intelligents mais dangereux

+

Les pointeurs intelligents ont tendance à utiliser assez souvent du code +dangereux (en anglais unsafe). Comme mentionné précédemment, ce sont des +outils courants pour interagir au plus bas niveau de la mémoire.

+

Qu'est-ce qu'un code dangereux? Un code dangereux se comporte exactement +comme un code normal à l'exception que le compilateur Rust ne garantie pas +la validité du programme.

+

La première cause d'un code dangereux est lorsqu'on essaye de +déréférencer un pointeur brut. Cela signifie prendre un pointeur brut +correspondant à une adresse mémoire, déclarer "une structure de données existe ici!" +et transformer les octets de cet emplacement mémoire dans une représentation +de données que l'on pourra utiliser (par exemple *const u8 en u8). +Puisque Rust ne garantie pas la signification des octets (il ne garde +pas de traces), il place le déréférencement dans un bloc unsafe {...}.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_gr.html b/96_gr.html new file mode 100644 index 000000000..09f09c1f5 --- /dev/null +++ b/96_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_hu.html b/96_hu.html new file mode 100644 index 000000000..c70ae4f61 --- /dev/null +++ b/96_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Okos Nem Biztonságos Kód

+

Az okos mutatók elég gyakran használnak nem biztonságos (unsafe) kódot. Ahogy korábban +említettük, ezek gyakran használt eszközök, ha a legközvetlenebb módon kell a memóriával +dolgozni.

+

Mit jelent az, hogy nem biztonságos kód? A nem biztonságos kódok ugyanúgy működnek, mint a +rendes Rust, azzal a kivétellel, hogy van néhány képessége, amire a Rust fordító nem tud +semmiféle garanciát adni.

+

Az egyik legfontosabb ilyen képesség a nyers mutatók lekövetése. Ez azt jelenti, hogy +készítünk egy nyers mutatót, ami mutat valahova a memóriában és kijelentjük róla, hogy amire +mutat, az "márpedig igenis érvényes adat!" és olyan formára hozzuk, amivel tudunk dolgozni (pl.: +*const u8-ból u8-at csinálunk).

+

A Rust nem képes a memória minden bájtjának jelentését követni. Mivel nem képes garantálni, hogy +egy nyers mutatóként használt tetszőleges szám által hivatkozott memóriaterületen mit fogunk +találni, ezt a memória-hozzáférés műveletet unsafe { ...} blokkba kell tennünk.

+

Bár az okos mutatók rengetegszer követnek nyers mutatókat, ezek a típusok meglehetősen +alaposan ellenőrzött eszközök és elég biztosak lehetünk benne, hogy biztonságosak.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_id.html b/96_id.html new file mode 100644 index 000000000..69df1a5a7 --- /dev/null +++ b/96_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_ie.html b/96_ie.html new file mode 100644 index 000000000..12b2eb83b --- /dev/null +++ b/96_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Code Inteligent e Ínsecur

+

Smart pointers frequentmen usa code unsafe (ínsecur). Quam mentionat in supra, ili es utensiles frequentmen +usat por interacter con li nivelles de memorie max bass in Rust. +Quo es code unsafe? Unsafe code es just quam Rust normal except que it have quelc habilitás pri queles li +compilator ne posse confirmar ca ili es secur o ne. +Li habilitá primari de code unsafe es li dereferentiation de un puntator crud. To vole dir mover un raw pointer +a un loc in memorie e declerar "ti-ci hay un data structura!" e changear it ad-in un representation de usabil data (p.ex. +ex un *const u8 ad-in un u8). Rust nullmen posse memorar li significantie de omni byte inscrit in memorie, e pro to, +ne posse garantir quo existe in un loc arbitrari usat quam un raw pointer, e pro to on plazza li dereferentie in un bloc +unsafe { ... }. +Smart pointers dereferentia puntatores crud extensivmen, ma fa it tre habilmen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_it.html b/96_it.html new file mode 100644 index 000000000..7bd875681 --- /dev/null +++ b/96_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_ja.html b/96_ja.html new file mode 100644 index 000000000..3ca8769bd --- /dev/null +++ b/96_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_ko.html b/96_ko.html new file mode 100644 index 000000000..ace25b1b5 --- /dev/null +++ b/96_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

위험한 스마트 코드

+

smart pointer는 unsafe한 코드를 꽤 자주 쓰는 경향이 있습니다. +앞서 말했듯이, smart pointer는 Rust에서 가장 저수준의 메모리를 다루기 위한 일반적인 도구입니다.

+

뭐가 unsafe한 코드일까요? +unsafe한 코드는 Rust 컴파일러가 보증할 수 없는 몇 가지 기능이 있다는 예외사항을 제외하고는 일반적인 코드와 완전히 똑같이 동작합니다.

+

unsafe한 코드의 주기능은 raw pointer를 역참조하는 것입니다. +이는 raw pointer를 메모리 상의 위치에 가져다 놓고 "데이터 구조가 여깄다!"고 선언한 뒤 사용할 수 있는 데이터 표현으로 변환하는 것을 의미합니다 (i.e. *const u8u8로). +Rust에는 메모리에 쓰여지는 모든 바이트의 의미를 추적하는 방법은 없습니다. +Rust는 raw pointer로 쓰이는 임의의 숫자에 무엇이 존재하는지 보증할 수 없기 때문에, 역참조를 unsafe { ... } 블록 안에 넣습니다.

+

smart pointer는 raw pointer를 역참조하는데 널리 쓰이지만, 그 기능은 잘 입증 되었습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_ne.html b/96_ne.html new file mode 100644 index 000000000..0c0d25bb5 --- /dev/null +++ b/96_ne.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_pl.html b/96_pl.html new file mode 100644 index 000000000..cbcdd4d06 --- /dev/null +++ b/96_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_pt-br.html b/96_pt-br.html new file mode 100644 index 000000000..7591b0382 --- /dev/null +++ b/96_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Código inseguro inteligente

+

Os ponteiros inteligentes tendem a usar código inseguro com bastante frequência. Como mencionado anteriormente, eles são ferramentas comuns para interagir com os níveis mais baixos de memória no Rust.

+

O que é um código inseguro? O código inseguro se comporta exatamente como Rust normal, com exceção de algumas habilidades sobre as quais o compilador Rust é incapaz de oferecer garantias.

+

Uma habilidade primária do código inseguro é o desreferenciamento de um ponteiro bruto. Isso significa pegar um ponteiro bruto de uma posição na memória, declarar que "há uma estrutura de dados aqui!" e transformá-lo em uma representação de dados que você pode usar (ou seja, *const u8 em u8).

+

O Rust não tem como rastrear o significado de cada byte que é gravado na memória. E porque o Rust não pode dar garantias sobre o que existe em um número arbitrário usado como um ponteiro bruto que ele põe o desreferenciamento em um bloco unsafe { ... }.

+

Ponteiros inteligentes desreferenciam ponteiros brutos extensivamente, mas são bem competentes no que fazem.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_ro.html b/96_ro.html new file mode 100644 index 000000000..e5657dbc3 --- /dev/null +++ b/96_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cod nesigur inteligent

+

Pointerii inteligenți folosesc adesea cod nesigur. După cum am menționat și mai devreme, +aceștia sunt des folosiți în Rust pentru interacțiunea cu memoria la un nivel apropiat de hardware.

+

Ce este codul nesigur? Codul nesigur se comportă exact ca orice cod scris în Rust cu excepția câtorva aspecte al căror comportament

+

nu poate fi garantat de către compilatorul din Rust.

+

O trăsătură de bază a codului nesigur este dereferențierea unui pointer simplu. Asta înseamnă că poate lua un pointer simplu +și să îl ducă la o locație din memorie, declarând "aici există o structură de date!" și transformând-o într-o reprezentare de date pe care o poți folosi (adică transformă *const u8 în u8). +Limbajul Rust nu poate urmări fiecare byte ce este scris în memorie. Pentru că limbajul Rust nu poate garanta +ce se află la un număr aleator folosit drept pointer simplu, acesta folosește dereferențierea într-un bloc unsafe { ... }.

+

Pointerii inteligenți dereferențiază pointerii simpli pe larg, dar este bine știut ce fac.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_ru.html b/96_ru.html new file mode 100644 index 000000000..c76da3d8d --- /dev/null +++ b/96_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Умный небезопасный код (Smart Unsafe Code)

+

Умные указатели часто используют небезопасный (unsafe) код. Как говорилось ранее, они являются общими инструментами для взаимодействия с самыми низкими уровнями памяти в Rust.

+

Что такое небезопасный (unsafe) код? Небезопасный ведет себя точно как обычный Rust код с исключением нескольких возможностей, о которых компилятор не может предоставить гарантии.

+

Основной возможностью небезопасного кода является разыменование сырого указателя (dereferencing a raw pointer). Это означает взятие сырого указателя на позицию памяти, объявление "здесь существует структура данных" и превращение ее в представления другого типа данных, которые можно использовать (например, *const u8 в u8). +В Rust нет способа следить за каждым из байтов, записываемым в память. Так как Rust не может дать гарантии, что именно существует за произвольным числом, использованным как сырой указатель (raw pointer), то необходимо поместить данное разыменование в unsafe { ... } блок.

+

Умные указатели разыменовывают сырые указатели экстенсивно, но они хорошо зарекомендовали себя в том, что они делают

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_th.html b/96_th.html new file mode 100644 index 000000000..a902aaaa3 --- /dev/null +++ b/96_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Unsafe Code

+

เรามักจะใช้ Smart pointers คู่กับ unsafe ในการเขียนโค้ดอยู่บ่อยครั้ง แต่ก็อย่างที่ได้กล่าวมาแล้วก่อนหน้านี้ว่า ของพวกนี้เป็นเครื่องมือพื้นฐานที่ Rust ใช้ โต้ตอบกับหน่วยความจำในระดับล่างที่สุด

+

แล้วโค้ดที่ไม่ปลอดภัย (unsafe code) นี่คืออะไรน่ะเหรอ ที่จริงมันก็คือโค้ด Rust ปกติธรรมดาแต่มีข้อยกเว้นบางอย่างที่คอมไพเลอร์ของ Rust ไม่อาจรับประกันได้

+

ความสามารถหลักของ unsafe code ก็คือ dereferencing a raw pointer (การจัดการ raw pointer) ซึ่งก็คือการใช้ raw pointer ขี้ไปที่ตำแหน่งในหน่วยความจำและประกาศว่า "มีโครงสร้างข้อมูลอยู่ตรงนี้!" และเปลี่ยนมันมาอยู่ในรูปที่คุณเอาไปใช้ได้ (เช่นเปลี่ยน *const u8 ไปเป็น u8) +Rust ไม่มีความสามารถที่จะตามไปดูว่าแต่ละไบต์ที่ถูกเขียนลงไปในหน่วยความจำมีความหมายว่าอย่างไรบ้าง เพราะว่า Rust ไม่สามารถรับประกันสิ่งที่อยู่ในเลขที่ถูกใช้เป็น raw pointer +เราจึงเอา dereference นั้นไปใส่ไว้ในกล่อง unsafe { ... }

+

การใช้ Smart pointers เพื่อ dereference ไปที่ raw pointers แบบนี้มันชัดเจนดีว่ากำลังต้องการทำอะไร

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_tr.html b/96_tr.html new file mode 100644 index 000000000..5778c54e5 --- /dev/null +++ b/96_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Akıllı Güvensiz Kodlar

+

Rust'ta düşük bellek seviyeleriyle etkileşebilmek için çoğunlula güvenli olmayan kod bloklarından yararlanıldığından, akıllı işaretçiler bu kodları sıklıkla kullanırlar.

+

Daha önce de kabaca değindiğimiz güvenli olmayan kodlar, derleyicinin garanti edemediği birkaç özellik dışında, tam olarak normal Rust kodu gibi davranırlar.

+

Güvenli olmayan kodun ana özelliği, bir ham işaretçinin referansını kaldırmaktır. Bu, ham işaretçiyi bir bellek konumuna götürerek: "Burada bir veri yapısı var." şeklinde bildirim almak ve bu veriyi, örneğin u8 için *const u8 olarak kullanabileceğimiz başka bir veri türü temsiline dönüştürmek demektir. Rust'ta, belleğe yazılan her baytın anlamını takip etmenin bir yolu olmadığından ve Rust, ham işaretçi olarak kullanılan rasgele bir sayının arkasında tam olarak neyin bulunduğunu garanti edemediğinden, bu referansın güvensiz olarak işaretlenmiş bir unsafe {...} bloğunun içine konulmasını bekler.

+

Akıllı işaretçiler ham işaretçi referanslarını büyük ölçüde kaldırmalarına rağmen, yaptıkları işleri başarıyla sonuçlandırırlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_ua.html b/96_ua.html new file mode 100644 index 000000000..f3db8bef9 --- /dev/null +++ b/96_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розумний небезпечний код (Smart Unsafe Code)

+

Розумні вказівники досить часто використовують небезпечний код. Як згадувалося раніше, +вони є поширеним інструментом для взаємодії з найнижчими рівнями пам'яті у Rust.

+

Що таке небезпечний код? Небезпечний код поводиться так само, як і звичайний код у Rust, за за винятком декількох можливостей, +щодо яких компілятор Rust не може надати гарантій.

+

Основною можливістю небезпечного коду є розіменування необроблених вказівник. Це означає розміщення необробленого вказівника +в пам'яті та оголошення "тут існує структура даних!" і перетворення її на дані, яке ви можете використовувати (наприклад, *const u8 на u8). +Rust не має можливості відстежувати значення кожного байта, який записується до пам'яті. Оскільки, Rust не може надати +гарантій щодо того, чи існує щось за довільним номером, який використовується як неороблений вказівник, він поміщає розіменування у unsafe { ... } блок.

+

Розумні вказівники широко використовуються для розіменування сирі вказівники, і вони добре зарекомендували себе у тому, що вони роблять.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_vi.html b/96_vi.html new file mode 100644 index 000000000..160d6e1f8 --- /dev/null +++ b/96_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Code không an toàn thông minh(Smart Unsafe Code)

+

Con trỏ thông minh có xu hướng sử dụng code không an toàn khá thường xuyên. Như đã đề cập trước đó, chúng là công cụ phổ biến để tương tác với các mức bộ nhớ thấp nhất trong Rust.

+

Code không an toàn là gì? Code không an toàn hoạt động giống như Rust bình thường ngoại trừ một vài khả năng mà trình biên dịch Rust không thể đảm bảo.

+

Khả năng chính của code không an toàn là dereferencing đến một con trỏ thô. Điều đó có nghĩa là đưa một con trỏ thô đến một vị trí trong bộ nhớ và tuyên bố "một cấu trúc dữ liệu tồn tại ở đây!" và biến nó thành một biểu diễn dữ liệu mà bạn có thể sử dụng (tức là *const u8 thành u8). +Rust không có cách nào để theo dõi ý nghĩa của từng byte được ghi vào bộ nhớ. Bởi vì Rust không thể đảm bảo về những gì tồn tại ở một số tùy ý được sử dụng như một con trỏ thô, nó đặt tham chiếu vào một unsafe { ... } block.

+

Con trỏ thông minh dereference con trỏ thô một cách rộng rãi, nhưng chúng đã được chứng minh rõ ràng trong những gì chúng làm.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_zh-cn.html b/96_zh-cn.html new file mode 100644 index 000000000..f882cb215 --- /dev/null +++ b/96_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

智能不安全代码

+

智能指针倾向于经常使用不安全的代码。如前所述,它们是与 Rust 中最低级别的内存进行交互的常用工具。
+什么是不安全代码? 不安全代码的行为与普通 Rust 完全一样,除了一些 Rust 编译器无法保证的功能。
+不安全代码的主要功能是解引用指针。 这意味着将原始指针指向内存中的某个位置并声明“此处存在数据结构!” 并将其转换为您可以使用的数据表示(例如将*const u8 转换为u8)。 Rust 无法跟踪写入内存的每个字节的含义。 + 因为 Rust 不能保证在用作 指针 的任意数字上存在什么,所以它将解引用放在一个 unsafe { ... } 块中。

+

智能指针广泛地被用来解引用指针,它们的作用得到了很好的证明。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/96_zh-tw.html b/96_zh-tw.html new file mode 100644 index 000000000..c43af0657 --- /dev/null +++ b/96_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_al.html b/97_al.html new file mode 100644 index 000000000..64f67fd75 --- /dev/null +++ b/97_al.html @@ -0,0 +1,58 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ar.html b/97_ar.html new file mode 100644 index 000000000..3831aac5b --- /dev/null +++ b/97_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

أصدقاء مألوفون

+

خذ بعين الاعتبار بعض المؤشرات الذكية (smart pointers) التي رأيناها بالفعل مثل Vec<T> وString.

+

Vec<T> هو مؤشر ذكي يمتلك فقط بايتات في منطقة معينة من الذاكرة. ليس لدى مترجم رست (Rust) أي فكرة عما هو موجود في هذه البايتات. يفسر المؤشر الذكي ما يعنيه لإحضار العناصر من منطقة الذاكرة التي يديرها، ويتتبع من أين تبدأ وتنتهي هياكل البيانات داخل تلك البايتات، ثم في النهاية يقوم بالوصول إلى محتوى المؤشر الخام ويضعها في هياكل البيانات ليكون في النهاية كواجهة مريحة ونظيفة ولطيفة بالنسبة لنا عند استخدمه (على سبيل المثال my_vec[3]).

+

وبنفس الكيفية، تقوم String بتتبع البايتات في منطقة من الذاكرة، وتقيد المحتوى المكتوب فيها برمجيًا ليكون دائمًا بترميز utf-8 صالح، وتساعد على الوصول إلى محتوى تلك المنطقة الذاكرة كنوع &str.

+

تستخدم كل من هياكل البيانات المذكورة إلغاء مرجعية غير آمنة للمؤشرات الخام للقيام بعملها.

+

تفاصيل الذاكرة:

+
    +
  • يحتوي رست (Rust) على ما يعادل malloc في لغة C باستخدام alloc وLayout للحصول على مناطق الذاكرة الخاصة بك لإدارتها.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_de.html b/97_de.html new file mode 100644 index 000000000..bdf264eb8 --- /dev/null +++ b/97_de.html @@ -0,0 +1,58 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_en.html b/97_en.html new file mode 100644 index 000000000..c66b20a84 --- /dev/null +++ b/97_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_es.html b/97_es.html new file mode 100644 index 000000000..5ebd4424c --- /dev/null +++ b/97_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Viejos Conocidos

+

Hay que tener en cuenta algunos punteros inteligentes que ya hemos visto, como Vec<T> y String.

+

Vec<T> es un puntero inteligente que sólo posee alguna región de memoria de bytes. El compilador de Rust no tiene ni idea de lo que existe en estos bytes. El puntero inteligente interpreta lo que significa tomar elementos de la región de memoria que gestiona, mantiene un registro de dónde comienzan y terminan las estructuras de datos dentro de esos bytes, y luego finalmente indirecciona un puntero sin procesar en estructuras de datos en una interfaz ergonómica y sencilla para que la usemos. (e.g. my_vec[3]).

+

String mantiene un registro de una región de memoria de bytes, y restringe de forma programada el contenido que se escribe en ella para que siempre sea válido en utf-8 y ayude a indireccionar esa región de memoria en un tipo &str.

+

Ambas estructuras de datos usan la indirección no segura de los punteros sin procesar para desempeñar sus tareas.

+

Detalles de la memoria:

+
    +
  • Rust tiene un equivalente del malloc de C usando alloc y Layout para obtener sus propias regiones de memoria para gestionar.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_fa.html b/97_fa.html new file mode 100644 index 000000000..52eba8746 --- /dev/null +++ b/97_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_fi.html b/97_fi.html new file mode 100644 index 000000000..3d240ae17 --- /dev/null +++ b/97_fi.html @@ -0,0 +1,58 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_fr.html b/97_fr.html new file mode 100644 index 000000000..a49a14111 --- /dev/null +++ b/97_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Amis familiers

+

Revenons sur quelques pointeurs intelligents que tu connais déjà: Vec<T> et String.

+

Vec <T> est un pointeur intelligent vers des octets en mémoire. Le +compilateur Rust n'a aucune idée de la manière dont il faut interpréter ces octets. +Le pointeur intelligent est capable d'interpréter ces octets en gardant +une trace de l'endroit dans ces octets où une structures de données commence +et se termine. Le pointeur intelligent déréférence un pointeur brut pour +exposer la structure de données dans une belle interface ergonomique propre +que nous utilisons (par exemple my_vec [3]).

+

De même, String garde une trace des octets en mémoire et restreint par +programmation le contenu qui y est écrit à toujours être de l'utf-8 +valide. Il déréférence cette région de mémoire dans un type&str.

+

Ces deux structures de données doivent procéder à un déréférencement +dangereux de pointeurs bruts.

+

Détails de la mémoire:

+
    +
  • Rust possède l'équivalent de malloc du langage C avec +alloc et +Layout +pour allouer soi-même une région de la mémoire.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_gr.html b/97_gr.html new file mode 100644 index 000000000..a6736f6e6 --- /dev/null +++ b/97_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_hu.html b/97_hu.html new file mode 100644 index 000000000..6e937064c --- /dev/null +++ b/97_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ismerős Barátok

+

Nézzünk meg néhány okos mutatót, amivel már találkoztunk, úgymint a Vec<T> és String!

+

A Vec<T> egy okos mutató, ami a memóriában egy marék bájt tulajdonosa. A Rust fordítónak +halvány fogalma sincs róla, mi van ezekben a bájtokban. Az okos mutató azonban megmondja, hogyan +kell értelmezni az általa birtokolz bájthalmazt, nyilván tartja, hol kezdődnek és végződnek a +tartalmazott adatstruktúrák, majd végül leköveti a nyers mutatót egy kellemesen ergonomikus +felhasználási módot biztosítva (pl.: vektorom[3]).

+

Hasonlóképp, a String is egy memóriaterületet követ nyomon. Megköti, hogy minden oda írt adat +érvényes utf-8 szöveg kell, hogy legyen, és segít ezt a memóriaterületet &str típusként +értelmezni.

+

Mindkét adatstruktúra nem biztonságos kódban lekövetett nyers mutatókat használ ezekre a +feladatokra.

+

Hogyan érinti ez a memóriát:

+
    +
  • A C malloc függvényének megfelelője Rustban az +alloc és a +Layout, amikkel saját magad +foglalhatsz és kezelhetsz memóriát.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_id.html b/97_id.html new file mode 100644 index 000000000..70226e46f --- /dev/null +++ b/97_id.html @@ -0,0 +1,58 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ie.html b/97_ie.html new file mode 100644 index 000000000..68d8443bb --- /dev/null +++ b/97_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Amics Bon Conosset

+

Ples considerar quelc inteligent puntatores ja videt quam Vec<T> e String. +Vec<T> es un puntator intilegent quel simplicmen possede un region de memorie de bytes. Li compilator Rust have null idé +pri quo existe in li bytes. Li puntator inteligent interpreta li significantie de prender bytes del region de memorie quel +it gere, it nota ex u comensa e fini se li data-structuras ta, e in fine dereferentia un raw pointer ad-in data-structuras +con un interfacie clar e ergonomic quel noi posse utilisar (p.ex. my_vec[3]). +Similmen, String nota u trova se un region de memorie de bytes, e programmaticmen da restrictiones al contenete inscrit ta +por que it mey esser valid utf-8, poy auxilia dereferentiar ti region de memorie ad-in un tip &str. +Ti ambi data-structuras usa ínsecur dereferentiation de puntatores crud por acompleer li tache. +Detallies pri memorie:

+
    +
  • Por alquo equivoc a malloc usat in C, rust usa alloc e Layout por gerer tui propri regiones de memorie.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_it.html b/97_it.html new file mode 100644 index 000000000..79b0650a6 --- /dev/null +++ b/97_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ja.html b/97_ja.html new file mode 100644 index 000000000..e6b9a44ae --- /dev/null +++ b/97_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ko.html b/97_ko.html new file mode 100644 index 000000000..694cfc8d2 --- /dev/null +++ b/97_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

익숙한 친구들

+

이미 본 적 있는 Vec<T>String 같은 smart pointer를 생각해 봅시다.

+

Vec<T>는 바이트들의 메모리 영역을 소유하는 smart pointer입니다. +Rust 컴파일러는 이 바이트들에 뭐가 존재하는지 모릅니다. +smart pointer는 관리하는 메모리 영역에서 내용물을 꺼내기 위해 자기가 뭘 의미하는지 해석하고, +데이터 구조가 그 바이트들 내 어디에서 시작하고 끝나는지 추적하며, +마지막으로 raw pointer를 데이터 구조로, 또 쓰기 편한 멋지고 깔끔한 인터페이스로 역참조 합니다. (e.g. my_vec[3])

+

유사하게, String은 바이트들의 메모리 영역을 추적하며, 쓰여지는 내용물이 언제나 유효한 utf-8이도록 프로그램적으로 제한하며, +그 메모리 영역을 &str 자료형으로 역참조할 수 있도록 도와줍니다.

+

이 데이터 구조들 둘 다, 자기 할 일을 하기 위해 raw pointer에 대한 unsafe한 역참조를 사용합니다.

+

메모리 상세:

+
    +
  • Rust는 C의 malloc에 상응하는 alloc과 관리할 메모리 영역을 가져오기 위한 Layout을 갖고 있습니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ne.html b/97_ne.html new file mode 100644 index 000000000..9a803181e --- /dev/null +++ b/97_ne.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_pl.html b/97_pl.html new file mode 100644 index 000000000..07187a377 --- /dev/null +++ b/97_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_pt-br.html b/97_pt-br.html new file mode 100644 index 000000000..6f484cd17 --- /dev/null +++ b/97_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Amigos familiares

+

Considere alguns ponteiros inteligentes que já vimos como Vec<T> e String.

+

O Vec<T> é um ponteiro inteligente que simplesmente possui uma região da memória em bytes. O compilador Rust não tem ideia do que existe nesses bytes. O ponteiro inteligente interpreta o que significa pegar os itens da região da memória que ele gerencia, mantém o controle de onde os bytes das estruturas de dados começam e terminam e, finalmente, desreferencia um ponteiro bruto para uma estrutura de dados com uma interface ergonômica, limpa e fácil para nós usarmos (por exemplo, my_vec[3]).

+

Da mesma forma, String mantém o controle de uma região de memória em bytes, restringe programaticamente o conteúdo escrito nele para ser sempre utf-8 válido, e ajuda a desreferenciar essa região de memória em um tipo &str.

+

Ambas as estruturas de dados usam desreferenciamento inseguro de ponteiros brutos para fazer seu trabalho.

+

Detalhes da memória:

+
    +
  • O Rust tem um equivalente ao malloc do C usando alloc e Layout para obter suas próprias regiões de memória para gerenciar.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ro.html b/97_ro.html new file mode 100644 index 000000000..497f3a8f0 --- /dev/null +++ b/97_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Amici comuni

+

Să luăm drept exemplu niște pointeri inteligenți deja cunoscuți Vec<T> și String.

+

Vec<T> este un pointer inteligent ce deține o regiune din memorie. Compilatorul de Rust nu știe ce se află +în acei octeți. Pointerul inteligent interpretează ce înseamnă să ia un element din regiunea de memorie pe care o gestionează, +ține socoteala unde încep și unde se termină structurile de date ale acelor byți, și, în cele din urmă, dereferențiază un pointer simplu +în structuri de date cu o interfață simplă și ergonomică pe care le putem folosi (ex my_vec[3]).

+

Asemănător, String ține socoteala regiunilor de memorie are byților, și restricționează conținutul scris în acestea să fie mereu în formatul +utf-8 și ajută la dereferențierea acelei regiuni de memorie în tipul &str.

+

Ambele structuri de date folosesc dereferențierea nesigură a pointerilor simpli pentru a-și împlini scopul.

+

Detalii despre memorie:

+
    +
  • Limbajul Rust are o funcție echivalentă cu malloc din C alloc și Layout pentru a-ți gestiona de unul singur zonele de memorie.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ru.html b/97_ru.html new file mode 100644 index 000000000..7d240eba6 --- /dev/null +++ b/97_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Знакомые друзья (Familiar Friends)

+

Рассмотрим некоторые умные указатели, которые мы уже видели, вроде Vec<T> и String.

+

Vec<T> является умным указателем, который владеет некоторым регионом байт памяти. Компилятор Rust не имеет понятия, что находится в этих байтах. Умный указатель интерпретирует их, что означает захват элементов из этой управляемой памяти, отслеживание где начинаются и заканчиваются структуры данных в этих байтах и затем, наконец, разыменовывание сырого указателя на структуры данных в виде красивого, чистого, эргономичного интерфейса, который можно использовать (например my_vec[3]).

+

Аналогично String отслеживает область байт памяти, программно ограничивает записанное в её содержимое так, чтобы оно было всегда допустимым utf-8 символом и помогает разыменовать эту область памяти в тип &str.

+

Обе эти структуры используют небезопасное разыменование сырых указателей для выполнения своей работы.

+

Детали для запоминания:

+
    +
  • В Rust есть эквивалент Cи функции malloc, можно использовать alloc и Layout для владения и управления собственными областями памяти.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_th.html b/97_th.html new file mode 100644 index 000000000..b65c86775 --- /dev/null +++ b/97_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

เพื่อนที่คุ้นเคย

+

คราวนี้เรามาพิจารณา smart pointers ที่เราเคยเห็นมาแล้วเช่น Vec<T> และ String

+

Vec<T> คือ smart pointer ที่ครอบครองพื้นที่ไบต์บางส่วนในหน่วยความจำ โดยที่คอมไพเลอร์ของ Rust ไม่รู้เลยว่า ไบต์พวกนั้นคืออะไร +smart pointer จะแปลสิ่งนั้นว่ามันหมายถึงอะไรเพื่อจะได้หยิบมันมาจากหน่วยความจำ เพื่อมาจัดการด้วยการตามดูว่า โครงสร้างข้อมูลนั้นมีจุดเริ่มต้นและสิ้นสุดอยู่ที่ไหน จนพบ โครงสร้างข้อมูลตัวจริงที่ raw pointer ที่ชี้ไปถึง และนำมาจัดหน้าตาให้ดูดีใช้งานง่าย ตามอินเตอร์เฟสในที่สุด (ตัวอย่างเช่น my_vec[3])

+

ในทำนองเดียวกัน String ก็จะตามดูไบต์ในหน่วยความจำ และใช้กระบวนการทางโปรแกรมบังคับให้สิ่งที่เขียนไว้ในนั้นอยู่ในรูปแบบ utf-8 ที่ถูกต้อง จะได้ dereference ของในหน่วยความจำนั้นผ่าน type &str

+

โครงสร้างข้อมูลทั้งสองตัวนี้ใช้ unsafe ทำงานเพื่อเข้าไปจัดการกับ raw pointers

+

รายละเอียดหน่วยความจำ:

+
    +
  • Rust มีของที่เทียบเคียงได้กับ malloc ของภาษา C ก็คือ alloc และ Layout เพื่อเอาหน่วยความจำของคุณออกมาจัดการ
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_tr.html b/97_tr.html new file mode 100644 index 000000000..7b7df51a9 --- /dev/null +++ b/97_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yakın Arkadaşlarımız

+

Zaten daha önce tanışmış olduğumuz Vec<T> ve String gibi akıllı işaretçilere bir kez daha bakalım.

+

Bellek üzerindeki bazı baytlara sahip olan Vec<T> akıllı bir işaretçi olmasına rağmen, derleyicinin bu baytlarda ne olduğuna dair en ufak bir fikri yoktur. Yönettiği bellek bölgesinden öğe elde etmenin anlamını yorumlayan akıllı işaretçi, bu baytlarda bulunan veri yapısının nerede başlayıp bittiğini takip edip, ham işaretçiyi bir_vektor[3] benzeri, kullanıcı dostu, hoş ve temiz bir arayüzle kullanıbilecek şekilde veri yapılarına aktarır.

+

Benzer şekilde String türü de bellek bölgesindeki baytları izleyerek, kendisine yazılan içeriğin daima geçerli utf-8 olmasını sağlar. Ve bu bellek bölgesinin &str türü içine aktarılmasına yardımcı olur.

+

Bu veri yapılarının her ikisi de işlerini gerçekleştirebilmek için, ham işaretçilerin referanslarına güvensiz kodlar aracılığıyla ulaşmaya çalışır.

+

Bellek ayrıntıları:

+
    +
  • Rust C'deki malloc eş değerinde ve yönetilebilir bellek bölgelerini kullanımımıza sunan, alloc ve Layout özelliklerine sahiptir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_ua.html b/97_ua.html new file mode 100644 index 000000000..138da2fa4 --- /dev/null +++ b/97_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Наші старі друзі

+

Розглянемо деякі розумні покажчики, які ми вже бачили, такі як Vec<T> та String.

+

Vec<T> - це розумний покажчик, який просто володіє деякою областю пам'яті у байтах. Компілятор Rust не має жодного уявлення про те, що +знаходиться у цих байтах. Розумний вказівник інтерпретує, тобто захоплює елементи з області пам'яті, якою він керує, +відстежує, де починаються і де закінчуються структури даних у цих байтах, і потім нарешті розіменовує необроблений вказівник +на структури даних з гарним чистим і лаконічним інтерфейсом, якими ми можемо користуватися (наприклад, my_vec[3]).

+

Аналогічно, String відстежує область пам'яті у байтах, і програмно обмежує вміст, що записується до неї, щоб завжди +бути коректною у кодуванні utf-8 і допомагає розіменовувати цю ділянку пам'яті до типу &str.

+

Обидві ці структури даних використовують небезпечне розіменування необроблених вказівників для виконання вказівників для виконання своєї роботи.

+

Подробиці про роботу з пам'ятю:

+
    +
  • У Rust є еквівалент функції malloc у C за допомогою alloc та Layout для отримання доступу до ваших власних областей пам'яті для подальшого керування.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_vi.html b/97_vi.html new file mode 100644 index 000000000..fc9efa3be --- /dev/null +++ b/97_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Những người bạn quen thuộc

+

Hãy xem xét một số con trỏ thông minh mà chúng ta đã thấy như Vec<T>String.

+

Vec<T> là một con trỏ thông minh chỉ sở hữu một số vùng nhớ byte. Trình biên dịch Rust không biết những gì tồn tại trong những byte này. Con trỏ thông minh giải thích ý nghĩa của việc lấy các mục từ vùng bộ nhớ mà nó quản lý, theo dõi vị trí các cấu trúc dữ liệu trong các byte đó bắt đầu và kết thúc, sau đó cuối cùng tham chiếu một con trỏ thô vào các cấu trúc dữ liệu thành một giao diện đẹp để chúng ta sử dụng (ví dụ: my_vec[3]).

+

Tương tự, String theo dõi vùng nhớ byte và lập trình hạn chế nội dung được ghi vào vùng nhớ đó để luôn có giá trị utf-8 và giúp dereference vùng nhớ đó thành kiểu &str.

+

Cả hai cấu trúc dữ liệu này đều sử dụng dereferencing không an toàn của các con trỏ thô để thực hiện công việc của chúng.

+

Chi tiết bộ nhớ:

+
    +
  • Rust có một cái tương đương với malloc của C bằng cách sử dụng allocLayout để nhận được các vùng bộ nhớ của riêng bạn để quản lý.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_zh-cn.html b/97_zh-cn.html new file mode 100644 index 000000000..2a72ebc3d --- /dev/null +++ b/97_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

熟悉的朋友

+

想一想一些我们已经见过的智能指针,例如 Vec<T>String

+

Vec<T> 是一个智能指针,它只拥有一些字节的内存区域。 Rust 编译器不知道这些字节中存在着什么。 智能指针解释从它管理的内存区域获取数据意味着什么,跟踪这些字节中的数据结构开始和结束的位置,最后将指针解引用到数据结构中, 成为一个漂亮干净的可以阅读的接口供我们使用(例如my_vec[3])。

+

类似地,String 跟踪字节的内存区域,并以编程方式将写入其中的内容限制为始终有效的 utf-8,并帮助将该内存区域解引用为类型 &str

+

这两种数据结构都使用不安全的解引用指针来完成它们的工作。

+

内存细节:

+
    +
  • Rust 有一个相当于 C 的 malloc方法, +allocLayout +来获取你自己管理的内存区域。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/97_zh-tw.html b/97_zh-tw.html new file mode 100644 index 000000000..4f967e865 --- /dev/null +++ b/97_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_al.html b/98_al.html new file mode 100644 index 000000000..6dc35df19 --- /dev/null +++ b/98_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_ar.html b/98_ar.html new file mode 100644 index 000000000..ec9dd7cc3 --- /dev/null +++ b/98_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ذاكرة الكومة المخصصة (Heap Allocated Memory)

+

Box هو مؤشر ذكي (smart pointer) يتيح لنا نقل البيانات من المكدس (stack) إلى الكومة (heap).

+

يتيح لنا إلغاء المرجعية (Dereferencing) استخدام بيانات الكومة المخصصة بشكل مريح كما لو كانت أصلية في النوع.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_de.html b/98_de.html new file mode 100644 index 000000000..8628db844 --- /dev/null +++ b/98_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_en.html b/98_en.html new file mode 100644 index 000000000..a37fbd0bd --- /dev/null +++ b/98_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_es.html b/98_es.html new file mode 100644 index 000000000..c60eb1c35 --- /dev/null +++ b/98_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memoria Asignada al Montículo

+

Box es un puntero inteligente que nos permite mover los datos de la pila al montículo.

+

La indirección nos permite usar los datos asignados al montículo de forma ergonómica, como si fuera el tipo original.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_fa.html b/98_fa.html new file mode 100644 index 000000000..193355671 --- /dev/null +++ b/98_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_fi.html b/98_fi.html new file mode 100644 index 000000000..0743ea34f --- /dev/null +++ b/98_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_fr.html b/98_fr.html new file mode 100644 index 000000000..88802b38a --- /dev/null +++ b/98_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mémoire allouée sur le tas

+

Box est un pointeur intelligent qui nous permet de déplacer des données +de la pile vers le tas.

+

Le déréférencement nous permet d'utiliser les données allouées sur le tas +de manière ergonomique comme s'il s'agissait du type d'origine.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_gr.html b/98_gr.html new file mode 100644 index 000000000..c1094637e --- /dev/null +++ b/98_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_hu.html b/98_hu.html new file mode 100644 index 000000000..4bfe20696 --- /dev/null +++ b/98_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kupacmemória

+

A Box (doboz) egy olyan okos mutató, amivel a veremből a kupacmemóriára mozgathatunk adatot.

+

Lekövetésével a kupacmemóriát úgy használhatjuk, mintha az eredeti adattal dolgoznánk.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_id.html b/98_id.html new file mode 100644 index 000000000..607a13baf --- /dev/null +++ b/98_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_ie.html b/98_ie.html new file mode 100644 index 000000000..997c4e603 --- /dev/null +++ b/98_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memorie Alocat sur li Heap

+

Box es un puntator inteligent con quel noi posse transferer data del stack til li heap. +Con un dereferentiation de it noi posse ergonomicmen usar li data sur li heap just quam si it esset li tip original.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_it.html b/98_it.html new file mode 100644 index 000000000..7cfcbd144 --- /dev/null +++ b/98_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_ja.html b/98_ja.html new file mode 100644 index 000000000..ed6fc40f9 --- /dev/null +++ b/98_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_ko.html b/98_ko.html new file mode 100644 index 000000000..29341082b --- /dev/null +++ b/98_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

힙에 할당된 메모리

+

Box는 데이터를 stack에서 heap으로 옮길 수 있게 해주는 smart pointer입니다.

+

이를 역참조하면 마치 원래 자료형이었던 것처럼 heap에 할당된 데이터를 편하게 쓸 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_ne.html b/98_ne.html new file mode 100644 index 000000000..9bd968be6 --- /dev/null +++ b/98_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_pl.html b/98_pl.html new file mode 100644 index 000000000..7d20157ca --- /dev/null +++ b/98_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_pt-br.html b/98_pt-br.html new file mode 100644 index 000000000..3996f91c4 --- /dev/null +++ b/98_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memória Alocada para a Heap

+

O Box é um ponteiro inteligente que nos permite mover dados da pilha para a heap.

+

O desreferenciamento nos permite usar os dados alocados na heap ergonomicamente como se fossem do tipo original.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_ro.html b/98_ro.html new file mode 100644 index 000000000..03d7274e2 --- /dev/null +++ b/98_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memoria alocată pe heap

+

Box este un pointer inteligent care ne permite să mutăm date de pe stivă pe heap.

+

Dereferențiându-l, putem folosi datele alocate pe heap ca și cum ar fi tipul original.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_ru.html b/98_ru.html new file mode 100644 index 000000000..4c58cf23b --- /dev/null +++ b/98_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Память, выделяемая в куче (Heap Allocated Memory)

+

Тип Box является умным указателем, позволяющим переместить данные из стека в кучу.

+

Его разыменование позволяет использовать выделенную память эргономически, как будто это сам оригинальный тип, который в данном случае размещен внутри Box.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_th.html b/98_th.html new file mode 100644 index 000000000..3c125da92 --- /dev/null +++ b/98_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดสรรพื้นที่ใน Heap

+

Box คือ smart pointer ที่อนุญาตให้เราย้ายข้อมูลจาก stack ไปไว้ใน heap ได้

+

Dereferencing ช่วยให้เราสามารถใช้ heap ที่จัดสรรข้อมูลตามหลักสรีรศาสตร์ราวกับว่าเป็นข้อมูลเดิม

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_tr.html b/98_tr.html new file mode 100644 index 000000000..cb7b26932 --- /dev/null +++ b/98_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Öbek Üzerinde Bellek Ayırmak

+

Box verilerimizin, yığın bölgesinden öbek bölgesine taşınmasını sağlayan, bir akıllı işaretçidir.

+

Box'a ait referansın kaldırılması, öbek bölgesinde konumlandırılan verilerin, tıpkı orijinal türlermiş gibi ergonomik biçimde kullanılmasını sağlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_ua.html b/98_ua.html new file mode 100644 index 000000000..57bbaf5a1 --- /dev/null +++ b/98_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Пам'ять у купі (Heap Allocated Memory)

+

Box- це розумний вказівник, який дозволяє переміщувати дані зі стеку до купи.

+

Його розіменування дозволяє нам ергономічно використовувати дані, виділені у купі, так, ніби вони були оригінальним типом.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_vi.html b/98_vi.html new file mode 100644 index 000000000..319f5d74d --- /dev/null +++ b/98_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bộ nhớ được phân bổ Heap

+

Box là một con trỏ thông minh cho phép chúng ta di chuyển dữ liệu từ stack vào heap.

+

Dereference nó cho phép chúng ta sử dụng dữ liệu được phân bổ theo heap một cách thuận tiện như thể nó là kiểu gốc.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_zh-cn.html b/98_zh-cn.html new file mode 100644 index 000000000..2f38c5bfb --- /dev/null +++ b/98_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

堆分配内存

+

Box 是一个可以让我们将数据从堆栈移动到堆的智能指针。

+

解引用可以让我们以人类更容易理解的方式使用堆分配的数据,就好像它是原始类型一样。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/98_zh-tw.html b/98_zh-tw.html new file mode 100644 index 000000000..25dc8f20a --- /dev/null +++ b/98_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_al.html b/99_al.html new file mode 100644 index 000000000..7e8db6ff1 --- /dev/null +++ b/99_al.html @@ -0,0 +1,55 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_ar.html b/99_ar.html new file mode 100644 index 000000000..d11805d5a --- /dev/null +++ b/99_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مراجعة الدالة الرئيسية القابلة للفشل (Failable Main Revisited)

+

قد تحتوي التعليمات البرمجية في رست (Rust)على عدد كبير من تمثيلات الأخطاء (errors)، لكن المكتبة القياسية (standard library) لها سمة عالمية (universal trait) std::error::Error لوصف الأخطاء.

+

باستخدام المؤشر الذكي Box يمكننا استخدام النوع Box<dyn std::error::Error> كنوع شائع لإرجاع الأخطاء لأنه يسمح لنا بنشر خطأ في الكومة (heap) والتفاعل معه بسرعة مستوى عال دون الحاجة إلى معرفة نوع معين.

+

علمنا سابقا في دورة تعلم رست، أن main يمكنها إرجاع خطأ. والآن يمكننا إرجاع نوع قادر على وصف أي نوع من الأخطاء التي قد تحدث في برنامجنا تقريبًا طالما أن هيكل بيانات الخطأ (error's data structure) ينفذ سمة (trait) Error الشائعة في رست (Rust).

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_de.html b/99_de.html new file mode 100644 index 000000000..eb192a1da --- /dev/null +++ b/99_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_en.html b/99_en.html new file mode 100644 index 000000000..78ef9689d --- /dev/null +++ b/99_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_es.html b/99_es.html new file mode 100644 index 000000000..9d135170f --- /dev/null +++ b/99_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Repaso de Errores en Main

+

El código de Rust tiene diversas formas de representar errores, pero la librería estándar tiene un trait universal para describirlos: std::error::Error.

+

Haciendo uso del puntero inteligente Box, podemos usar el tipo Box<dyn std::error::Error> como un tipo común para devolver errores porque nos permite propagar un error en el montículo e interactuar con él a un alto nivel sin tener que conocer ningún tipo específico.

+

Al principio de este Tour, aprendimos que main puede devolver un error. Ahora podemos devolver un tipo capaz de describir casi cualquier tipo de error que pueda ocurrir en nuestro programa siempre que la estructura de datos de dicho error implemente el trait de error común de Rust (Error).

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_fa.html b/99_fa.html new file mode 100644 index 000000000..6198ef831 --- /dev/null +++ b/99_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_fi.html b/99_fi.html new file mode 100644 index 000000000..f3398d533 --- /dev/null +++ b/99_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_fr.html b/99_fr.html new file mode 100644 index 000000000..7d82d46a5 --- /dev/null +++ b/99_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Renvoi d'erreurs dans le main revisité

+

Rust possède une pléthore de représentations d'erreurs, mais la bibliothèque +standard met à disposition un trait universel std::error::Error pour +décrire les erreurs.

+

En utilisant le pointeur intelligent Box, nous pouvons utiliser le type +Box<dyn std::error::Error> comme type courant pour renvoyer des erreurs +car celui-ci nous permet de propager une erreur sur le tas et d'interagir +avec elle sans avoir à connaître le type spécifique.

+

Au début du Tour de Rust, nous avons appris que main pouvait renvoyer une +erreur. Avec Box, nous pouvons maintenant retourner un type capable de +décrire presque tout type d'erreur qui pourrait se produire dans notre +programme à condition que la structure de données de l'erreur implémente +le trait Error de Rust.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_gr.html b/99_gr.html new file mode 100644 index 000000000..9f2db3617 --- /dev/null +++ b/99_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_hu.html b/99_hu.html new file mode 100644 index 000000000..052131aad --- /dev/null +++ b/99_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hibával Visszatérő Main Függvény, Ismét

+

A Rust-ban írt kódok számtalan módon jelezhetnek hibákat, de az alapkönyvtár tartalmaz egy +univerzális traitet hibák leírására. Ez a std::error::Error.

+

A Box okos mutató segítségével lehetőségünk van létrehozni egy közös hibatípust, a +Box<dyn std::error::Error> típust, amivel bármilyen hibaértéket a kupacmemóriára helyezhetünk +és képesek lehetünk magas szinten dolgozni vele, a konkrét típusa ismerete nélkül.

+

A Rust-túra során korábban már érintettük, hogy a main függvény visszatérhet hibával. Most már +visszaadhatunk egy olyan hibatípust is, ami képes a programunkban előforduló majdnem összes hiba +reprezentálására, ha a hiba típusa megvalósítja a Rust közös Error traitjét.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_id.html b/99_id.html new file mode 100644 index 000000000..e6d9fd02b --- /dev/null +++ b/99_id.html @@ -0,0 +1,55 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_ie.html b/99_ie.html new file mode 100644 index 000000000..b3d448a52 --- /dev/null +++ b/99_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Denov pri li Main Fallibil

+

In li code de Rust trova se multissim metodes por representar errores, ma li biblioteca standard possede ya +un trate universal std::error::Error por descrir les. +Con li puntator inteligent Box noi posse usar li tip Box<dyn std::error::Error> quam un tip comun por retornar +errores pro que con it noi posse propagar un errore sur li heap e interacter con it sur un alt nivelle sin dever +conosser un tip specific. Tost in li Tur de Rust noi aprendet que main posse retornar un errore. Nu noi posse +retornar un tip quel es capabil descrir presc qualcunc errore quel posse evenir in nor programma, si solmen li +data-structura del errore implementa li trate comun de Rust Error.

+
fn main() -> Result<(), Box<dyn std::error::Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_it.html b/99_it.html new file mode 100644 index 000000000..9b14bc4c4 --- /dev/null +++ b/99_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_ja.html b/99_ja.html new file mode 100644 index 000000000..c7228ebc5 --- /dev/null +++ b/99_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_ko.html b/99_ko.html new file mode 100644 index 000000000..16bada079 --- /dev/null +++ b/99_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

실패할 수 있는 메인 다시 보기

+

Rust 코드에는 많고도 많은 오류 표현 방법이 있지만, 그 중에도 standard library에는 +오류를 설명하기 위한 범용 trait인 std::error::Error가 있습니다.

+

smart pointer인 Box를 사용하면 Box<dyn std::error::Error>를 오류 리턴 시 공통된 자료형으로 사용할 수 있는데, +이는 오류를 heap에 전파하고 특정한 자료형을 몰라도 고수준에서 상호작용할 수 있도록 해주기 때문입니다.

+

Tour of Rust 초반에 main은 오류를 리턴할 수 있다고 배웠습니다. +이제 우리는 오류의 데이터 구조가 Rust의 일반적인 Error trait을 구현하는 한, +프로그램에서 발생할 수 있는 거의 모든 종류의 오류를 설명할 수 있는 자료형을 리턴할 수 있습니다.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_ne.html b/99_ne.html new file mode 100644 index 000000000..f981abf49 --- /dev/null +++ b/99_ne.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_pl.html b/99_pl.html new file mode 100644 index 000000000..7dfca5373 --- /dev/null +++ b/99_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_pt-br.html b/99_pt-br.html new file mode 100644 index 000000000..51028cb71 --- /dev/null +++ b/99_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Revisitando o main falível

+

O código Rust pode ter uma infinidade de representações dos erros, mas a biblioteca padrão tem uma trait universal std::error::Error para descrever os erros.

+

Usando um ponteiro inteligente Box podemos usar o tipo Box<dyn std::error::Error> como um tipo comum para retornar os erros, porque nos permite propagar um erro na heap e interagir com ele em alto nível sem precisar conhecer um tipo específico.

+

No início do Tour por Rust, aprendemos que main pode retornar um erro. Agora podemos retornar um tipo capaz de descrever quase qualquer tipo de erro que possa ocorrer em nosso programa, desde que a estrutura de dados do erro implemente a trait usual Error do Rust.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_ro.html b/99_ro.html new file mode 100644 index 000000000..9e000611b --- /dev/null +++ b/99_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Să revizuim main-ul care poate eșua

+

Limbajul Rust are o mulțime de reprezentări ale erorilor, dar biblioteca standard are +un trait universal std::error::Error pentru descrierea erorilor.

+

Utilizând pointerul inteligent Box, putem folosi tipul Box<dyn std::error::Error> pentru returnarea erorilor, deoarece ne permite să propagăm +o eroare pe heap și să interacționăm cu ea la un nivel înalt, fără a cunoaște un tip anume.

+

Mai devreme în Turul limbajului Rust am învățat că funcția main poate returna o eroare. Acum putem returna un tip +ce este capabil să descrie aproape orice fel de eroare pe care o putem întâlni într-un program +atât timp cât structura de date a erorii implementează trait-ul Error.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_ru.html b/99_ru.html new file mode 100644 index 000000000..84c6759f5 --- /dev/null +++ b/99_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Сигнатура ошибки в функции main(). Cнова (Failable Main Revisited)

+

В коде Rust может быть множество представлений ошибок, но в стандартной библиотеке есть универсальный типаж std::error::Error для описания любых ошибок.

+

С помощью умного указателя Box, можно использовать тип Box<dyn std::error::Error> в качестве общего типа для возвращения ошибки, потому что он позволяет распространять вверх (propagate up) ошибку, хранящуюся в куче, по стеку вызова и взаимодействовать с ней на более высоких уровнях кода, без необходимости знать конкретный тип ошибки.

+

Ранее в Tour of Rust мы изучили, что функция main может возвращать ошибку. Теперь можно возвращать тип, имеющий возможность описать почти любой вид ошибки, которая могла бы произойти в программе, при условии что представляющая нашу ошибку структура реализует общий типаж std::error::Error из Rust.

+
fn main() -> Result<(), Box<dyn std::error::Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_th.html b/99_th.html new file mode 100644 index 000000000..9d1a496f4 --- /dev/null +++ b/99_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

กลับมาที่ Main ที่ผิดพลาดได้ อีกครั้ง

+

โค้ดของ Rust มีวิธีการมากมายในการแสดงค่า error ซึ่งในไลบรารีมาตรฐานก็มี trait กลาง ชื่อ std::error::Error เพื่อแสดงค่า error อยู่ด้วย

+

เราสามารถใช้ smart pointer Box ด้วย type Box<dyn std::error::Error> มาเป็น type ส่วนกลางในการคืนค่า error ได้ เพราะมันยอมให้เราส่ง error ใน heap ขึ้นไปเรื่อยๆ เพื่อให้เราจัดการมันในระดับที่สูงขึ้นไปได้ โดยไม่ต้องรู้ว่า type จริงๆมันคืออะไร

+

เมื่อตอนต้นของ Tour of Rust เราได้เรียนรู้ไปว่า main สามารถคืนค่า error ได้ ตอนนี้ เราจะได้คืน type ที่ครอบคลุม error ได้เกือบทุกแบบที่อาจเกิดขึ้นในโปรแกรม ตราบใดที่ error นั้นอิมพลีเมนต์ trait Error กลาง ของ Rust

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_tr.html b/99_tr.html new file mode 100644 index 000000000..a9fa50bf0 --- /dev/null +++ b/99_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main İşlevine Yeniden Bakış

+

Rust bize hataları işleyebilmemiz için çok sayıda olanak sunar. Standart kitaplık tarafından sağlanan ve hataları evrensel düzeyde ele almamızı sağlayan std::error::Error özelliği de bunlardan biridir.

+

Hata döndürmek için Box akıllı işaretçisinden yararlanmak ve onu ortak genel tür olarak Box<dyn std::error::Error> şeklinde kullanmak, öbek üzerindeki hatayı belirli bir tür bildirmeksizin yaymamıza ve bu hatayla yüksek düzeyde etkileşim kurmamıza olanak sağlar.

+

Turumuzun ilk bölümlerinde Rust'un main işlevinin hata döndürebileceğini öğrenmiştik. Buna ek olarak yine main işlevinden, hatanın temsil edildiği veri yapısı Rust'un ortak Error özelliğini uyguladığı sürece, bir programda meydana gelebilecek her türlü hatayı tanımlayabilen bir tür döndürebiliriz.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_ua.html b/99_ua.html new file mode 100644 index 000000000..9720c83ff --- /dev/null +++ b/99_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обробка помилок функції main

+

Код Rust може мати безліч представлень помилок, але стандартна бібліотека має +універсальну конструкцію std::error::Error для опису помилок.

+

Використовуючи розумні покажчик Box, ми можемо використовувати тип Box<dyn std::error::Error> як загальний тип для повернення помилок, оскільки він дозволяє нам +поширювати помилку у купі та взаємодіяти з нею на високому рівні без необхідності знати конкретний тип.

+

На початку туру по Rust ми дізналися, що main може повертати помилку. Тепер ми можемо повертати +тип, здатний описати майже будь-який тип помилки, що може виникнути у у нашій програмі, +якщо структура даних помилки реалізує загальну для Rust властивість Error.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_vi.html b/99_vi.html new file mode 100644 index 000000000..eb1c89b4c --- /dev/null +++ b/99_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main Revisited

+

Code Rust có thể có rất nhiều sự biểu diễn của lỗi, nhưng thư viện chuẩn có một trait chung std::error::Error để mô tả lỗi.

+

Bằng cách sử dụng con trỏ thông minh Box, chúng ta có thể sử dụng kiểu Box<dyn std::error::Error> như một kiểu phổ biến để trả về lỗi vì nó cho phép chúng ta tạo ra một lỗi trên heap và tương tác với nó tại một cấp độ cao mà không cần phải biết một loại cụ thể.

+

Trước đây trong Tour of Rust, chúng ta đã biết rằng main có thể trả về một lỗi. Bây giờ chúng ta có thể trả về một kiểu có khả năng mô tả hầu hết mọi loại lỗi có thể xảy ra trong chương trình của bạn, miễn là cấu trúc dữ liệu của lỗi thực hiện trait chung Error của Rust.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_zh-cn.html b/99_zh-cn.html new file mode 100644 index 000000000..de65fbe5a --- /dev/null +++ b/99_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

重温error的使用

+

Rust可能有过多的错误表示方法,但标准库有一个通用特性 std::error::Error 来描述错误。

+

使用智能指针“Box”,我们可以使用类型Box<dyn std::error::Error>作为常见的返回错误类型,因为它允许我们在堆上、高级别的传播错误,而不必知道特定的类型。

+

在 Rust 之旅的早期,我们了解到 main 可以返回一个错误。我们现在可以返回一个类型,该类型能够描述我们程序中可能发生的几乎任何类型的错误,只要错误的数据结构实现了 Rust 的通用Error特征。

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/99_zh-tw.html b/99_zh-tw.html new file mode 100644 index 000000000..f4f23d617 --- /dev/null +++ b/99_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/docs/CNAME b/CNAME similarity index 100% rename from docs/CNAME rename to CNAME diff --git a/TOC_al.html b/TOC_al.html new file mode 100644 index 000000000..adfa21c1e --- /dev/null +++ b/TOC_al.html @@ -0,0 +1,162 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tut i Rustit + + +
+
+

Mesimet

+

Kapitulli 1 - Bazat

Kapitulli 2 - Rrjedha e kontrollit bazë

Kapitulli 3 - Llojet bazë të strukturës së të dhënave/data-ve

[E paperkthyer] Chapter 4 - Generic Types

[E paperkthyer] Chapter 5 - Ownership & Borrowing Data

[E paperkthyer] Chapter 6 - Text

[E paperkthyer] Chapter 7 - Object Oriented Programming

[E paperkthyer] Chapter 8 - Smart Pointers

[E paperkthyer] Chapter 9 - Project Organization and Structure

[E paperkthyer] Chapter 10 - The End

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_ar.html b/TOC_ar.html new file mode 100644 index 000000000..b5ed108da --- /dev/null +++ b/TOC_ar.html @@ -0,0 +1,162 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الدروس

+

الفصل 1 - الأساسيات

الفصل 2 - بنى التحكم الأساسية (Basic Control Flow)

الفصل 3 - أنواع هياكل البيانات الأساسية

الفصل 4 - الأنواع المعممة (Generic types)

الفصل 5 - ملكية وإستعارة البيانات (Ownership & Borrowing Data)

الفصل 6 - النص

الفصل 7 - البرمجة كائنية التوجه (Object Oriented Programming)

الفصل 8 - المؤشرات الذكية (Smart Pointers)

الفصل 9 - تنظيم وهيكلة المشروع

الفصل 10 - النهاية

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_de.html b/TOC_de.html new file mode 100644 index 000000000..d2240d850 --- /dev/null +++ b/TOC_de.html @@ -0,0 +1,162 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour durch Rust + + +
+
+

Kapitel

+

Kapitel 1 - Die Basics

Kapitel 2 - Ein bisschen Kontrollfluss

Kapitel 3 - Datenstrukturen

Kapitel 4 - Generische Typen

Kapitel 5 - Eigentums- und Kreditdaten

Kapitel 6 – Text

[Noch nicht übersetzt] Chapter 7 - Object Oriented Programming

[Noch nicht übersetzt] Chapter 8 - Smart Pointers

Kapitel 9 - Projektorganisation und -struktur

Kapitel 10 - Das Ende

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_en.html b/TOC_en.html new file mode 100644 index 000000000..3e35a7e4c --- /dev/null +++ b/TOC_en.html @@ -0,0 +1,162 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + +
+
+

Lessons

+

Chapter 1 - The Basics

Chapter 2 - Basic Control Flow

Chapter 3 - Basic Data Structure Types

Chapter 4 - Generic Types

Chapter 5 - Ownership & Borrowing Data

Chapter 6 - Text

Chapter 7 - Object Oriented Programming

Chapter 8 - Smart Pointers

Chapter 9 - Project Organization and Structure

Chapter 10 - The End

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_es.html b/TOC_es.html new file mode 100644 index 000000000..ebdf19b88 --- /dev/null +++ b/TOC_es.html @@ -0,0 +1,162 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + +
+
+

Unidades

+

Capítulo 1 - Lo Básico

Capítulo 2 - Estructuras de Control Básicas

Capítulo 3 - Tipos Básicos de Estructuras de Datos

Capítulo 4 - Tipos Genéricos

Capítulo 5 - Pertenencia y Préstamo de Datos

Capítulo 6 - Texto

Capítulo 7 - Programación Orientada a Objetos

Capítulo 8 - Punteros Inteligentes

Capítulo 9 - Organización y Estructura de Proyectos

Capítulo 10 - Fin

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_fa.html b/TOC_fa.html new file mode 100644 index 000000000..0b580cf63 --- /dev/null +++ b/TOC_fa.html @@ -0,0 +1,162 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + +
+
+

Lessons

+

Chapter 1 - The Basics

Chapter 2 - Basic Control Flow

Chapter 3 - Basic Data Structure Types

Chapter 4 - Generic Types

Chapter 5 - Ownership & Borrowing Data

Chapter 6 - Text

Chapter 7 - Object Oriented Programming

Chapter 8 - Smart Pointers

Chapter 9 - Project Organization and Structure

Chapter 10 - The End

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_fi.html b/TOC_fi.html new file mode 100644 index 000000000..6a6e4786e --- /dev/null +++ b/TOC_fi.html @@ -0,0 +1,162 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Oppitunnit

+

Kappale 1 - Perusteet

Kapple 2 - Perusohjausvirta

[Kääntämätön] Chapter 3 - Basic Data Structure Types

[Kääntämätön] Chapter 4 - Generic Types

[Kääntämätön] Chapter 5 - Ownership & Borrowing Data

[Kääntämätön] Chapter 6 - Text

[Kääntämätön] Chapter 7 - Object Oriented Programming

[Kääntämätön] Chapter 8 - Smart Pointers

[Kääntämätön] Chapter 9 - Project Organization and Structure

[Kääntämätön] Chapter 10 - The End

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_fr.html b/TOC_fr.html new file mode 100644 index 000000000..fef7f5ab6 --- /dev/null +++ b/TOC_fr.html @@ -0,0 +1,162 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour de Rust + + +
+
+

Leçons

+

Chapitre 1 - Les fondamentaux

Chapitre 2 - Structures de contrôle basiques

Chapitre 3 - Types basiques de structure de données

Chapitre 4 - Types Génériques

Chapitre 5 - Propriété et emprunt de données

Chapitre 6 - Texte

Chapitre 7 - Programmation orientée object

Chapitre 8 - Pointeurs intelligents (smart pointers)

Chapitre 9 - Organisation et structure d'un projet

Chapitre 10 - Fin

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_gr.html b/TOC_gr.html new file mode 100644 index 000000000..b18d590d1 --- /dev/null +++ b/TOC_gr.html @@ -0,0 +1,162 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μαθήματα

+

Κεφάλαιο 1 - Τα βασικά

Κεφάλαιο 2 - Βασικός έλεγχος ροής

Κεφάλαιο 3 - Βασικοί τύποι δομών δεδομένων

Κεφάλαιο 4 - Γενικοί τύποι

Κεφάλαιο 5 - Κυριότητα και δανεισμός δεδομένων

[Αμετάφραστο] Chapter 6 - Text

[Αμετάφραστο] Chapter 7 - Object Oriented Programming

[Αμετάφραστο] Chapter 8 - Smart Pointers

[Αμετάφραστο] Chapter 9 - Project Organization and Structure

Κεφάλαιο 10 - Το Τέλος

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_hu.html b/TOC_hu.html new file mode 100644 index 000000000..4a11b52b5 --- /dev/null +++ b/TOC_hu.html @@ -0,0 +1,162 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust-túra + + +
+
+

Egységek

+

1. Fejezet - Az Alapok

2. Fejezet - Egyszerű ciklusok és elágazások

3. Fejezet - Alapvető adatstruktúra típusok

4. Fejezet - Generikus Típusok

5. Fejezet - Birtoklás & Az adatok kölcsönkérése

6. Fejezet - Szövegek

7. Fejezet - Objektum-Orientált Programozás

8. Fejezet - Okos Mutatók

9. Fejezet - Projektszervezés És Struktúra

10. Fejezet - Vége

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_id.html b/TOC_id.html new file mode 100644 index 000000000..b815d2df4 --- /dev/null +++ b/TOC_id.html @@ -0,0 +1,162 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Tur + + +
+
+

Pelajaran

+

Chapter 1 - Dasar-Dasar

Bab 2 - Dasar Flow Kontrol

[belum diterjemahkan] Chapter 3 - Basic Data Structure Types

[belum diterjemahkan] Chapter 4 - Generic Types

[belum diterjemahkan] Chapter 5 - Ownership & Borrowing Data

[belum diterjemahkan] Chapter 6 - Text

[belum diterjemahkan] Chapter 7 - Object Oriented Programming

[belum diterjemahkan] Chapter 8 - Smart Pointers

[belum diterjemahkan] Chapter 9 - Project Organization and Structure

[belum diterjemahkan] Chapter 10 - The End

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_ie.html b/TOC_ie.html new file mode 100644 index 000000000..a0a8d53ed --- /dev/null +++ b/TOC_ie.html @@ -0,0 +1,162 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + +
+
+

Lectiones

+

Capitul 1 - Coses Simplic

Chapter 2 - Basic Control-flution

Capitul 3 - Basic Tipes de Data-Structura

Capitul 4 - Tipes Géneric

Capitul 5 - Proprietá e Pruntation de Data

Capitul 6 - Textu

Capitul 7 - Object-orientat Programmation

Capitul 8 - Smart Pointers

Capitul 9 - Organisation e Structura de un Projecte

Capitul 10 - Fine

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_it.html b/TOC_it.html new file mode 100644 index 000000000..58c2a6b48 --- /dev/null +++ b/TOC_it.html @@ -0,0 +1,162 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour di Rust + + +
+
+

Lezioni

+

Capitolo 1 - Le Basi

Capitolo 2 - Basi del controllo di flusso

Capitolo 3 - Strutture Dati Fondamentali

Capitolo 4 - Tipi Generici

Capitolo 5 - Dati sulla proprietà e sui prestiti

Capitolo 6 - Testo

Capitolo 7 - Programmazione orientata agli oggetti

[Non tradotto] Chapter 8 - Smart Pointers

[Non tradotto] Chapter 9 - Project Organization and Structure

[Non tradotto] Chapter 10 - The End

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_ja.html b/TOC_ja.html new file mode 100644 index 000000000..7a7a3567c --- /dev/null +++ b/TOC_ja.html @@ -0,0 +1,162 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust ツアー + + +
+
+

レッスン

+

第 1 章 - 基礎

第 2 章 - 基本制御フロー

第 3 章 - 基本的なデータ構造体

第 4 章 - ジェネリック型

第 5 章 - データの所有権と借用

第 6 章 - テキスト

第 7 章 - オブジェクト指向プログラミング

[未翻訳] Chapter 8 - Smart Pointers

[未翻訳] Chapter 9 - Project Organization and Structure

第 10 章 - 終わりに

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_ko.html b/TOC_ko.html new file mode 100644 index 000000000..3c6a546d7 --- /dev/null +++ b/TOC_ko.html @@ -0,0 +1,162 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + +
+
+

강의

+

1장 - 기초

2장 - 기초적인 흐름 제어

3장 - 기본 데이터 구조 자료형

4장 - Generic 자료형

5장 - 소유권과 데이터 대여

6장 - 텍스트

7장 - 객체 지향 프로그래밍

8장 - 스마트 포인터

9장 - 프로젝트 구성과 구조

10장 - 끝

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_ne.html b/TOC_ne.html new file mode 100644 index 000000000..37efcadaf --- /dev/null +++ b/TOC_ne.html @@ -0,0 +1,162 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + +
+
+

Lessons

+

Hoofdstuk 1 - Ideeën en basisconcepten

[Untranslated] Chapter 2 - Basic Control Flow

[Untranslated] Chapter 3 - Basic Data Structure Types

[Untranslated] Chapter 4 - Generic Types

[Untranslated] Chapter 5 - Ownership & Borrowing Data

[Untranslated] Chapter 6 - Text

[Untranslated] Chapter 7 - Object Oriented Programming

[Untranslated] Chapter 8 - Smart Pointers

[Untranslated] Chapter 9 - Project Organization and Structure

[Untranslated] Chapter 10 - The End

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_pl.html b/TOC_pl.html new file mode 100644 index 000000000..eeae0e42c --- /dev/null +++ b/TOC_pl.html @@ -0,0 +1,162 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lekcje

+

Rozdział 1 - Podstawy

Rozdział 2 - Podstawy Kontroli Przepływu Sterowania

Rozdział 3 - Podstawowe Typy Struktur Danych

Rozdział 4 - Typy Generyczne

Rozdział 5 - Koncepcje Własności i Pożyczania Danych

Chapter 6 - Text

Chapter 7 - Object Oriented Programming

Chapter 8 - Smart Pointers

Chapter 9 - Project Organization and Structure

Rozdział 10 - Koniec

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_pt-br.html b/TOC_pt-br.html new file mode 100644 index 000000000..0744a0cfa --- /dev/null +++ b/TOC_pt-br.html @@ -0,0 +1,162 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unidades

+

Capítulo 1 - O Básico

Capítulo 2 - Controle de Fluxo Básico

Capítulo 3 - Tipos Básicos de Estrutura de Dados

Capítulo 4 - Tipos Genéricos

Capítulo 5 - Propriedade & Empréstimo de Dados

Capítulo 6 - Texto

Capítulo 7 - Programação orientada a objetos

Capítulo 8 - Ponteiros inteligentes

Capítulo 9 - Organização e estrutura do projeto

Capítulo 10 - Fim

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_ro.html b/TOC_ro.html new file mode 100644 index 000000000..f628eb9bb --- /dev/null +++ b/TOC_ro.html @@ -0,0 +1,162 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lecții

+

Capitolul 1 - Ideile și conceptele de bază

Capitolul 2 - Controlul de bază al fluxului

Capitolul 3 - Tipuri de structuri de date de bază

Capitolul 4 - Tipuri generice

Capitolul 5 - Proprietatea și împrumutul datelor

Capitolul 6 - Text

Capitolul 7 - Programare orientată pe obiecte

Capitolul 8 - Pointeri "inteligenți"

Capitolul 9 - Organizarea și structurarea proiectului

Chapter 10 - Sfârșit

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_ru.html b/TOC_ru.html new file mode 100644 index 000000000..0a87039f6 --- /dev/null +++ b/TOC_ru.html @@ -0,0 +1,162 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Занятия

+

Глава 1 - Основы

Глава 2 - Управление потоком исполнения

Глава 3 - Базовые структуры данных

Глава 4 - Обобщённые типы

Глава 5 - Владение и Заимствование данными (Ownership & Borrowing)

Глава 6 - Текст

Глава 7 - Объектно-ориентированное программирование (OOP)

Chapter 8 - Smart Pointers

Глава 9 - Организация и структура проекта (Project Organization and Structure)

Глава 10 - Конец

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_th.html b/TOC_th.html new file mode 100644 index 000000000..06f9f6e7f --- /dev/null +++ b/TOC_th.html @@ -0,0 +1,162 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + +
+
+

Lessons

+

บทที่ 1 - พื้นฐาน

บทที่ 2 - Basic Control Flow

บทที่ 3 - ประเภทโครงสร้างข้อมูลพื้นฐาน

Chapter 4 - Generic Types

บทที่ 5 - ความเป็นเจ้าของ และการยืมข้อมูล

บทที่ 6 - ข้อความ

Chapter 7 - Object Oriented Programming

บทที่ 8 - Smart Pointers

บทที่ 9 - Project Organization and Structure

บทที่ 10 - ตอนจบ

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_tr.html b/TOC_tr.html new file mode 100644 index 000000000..1ab96a617 --- /dev/null +++ b/TOC_tr.html @@ -0,0 +1,162 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Rust Turu + + +
+
+

Dersler

+

Bölüm 1 - Temel Bilgiler

Bölüm 2 - Temel Kontrol Akışı

Bölüm 3 - Temel Veri Yapıları

Bölüm 4 - Genel Türler

Bölüm 5 - Mülkiyet ve Borçlanma

Bölüm 6 - Metin Verileriyle Çalışmak

Bölüm 7 - Nesne Yönelimli Programlama

Bölüm 8 - Akıllı İşaretçiler

Bölüm 9 - Proje Organizasyonu ve Yapısı

Bölüm 10 - Bitti

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_ua.html b/TOC_ua.html new file mode 100644 index 000000000..3b040c5ec --- /dev/null +++ b/TOC_ua.html @@ -0,0 +1,162 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Заняття

+

Розділ 1 - Основи

Розділ 2 - Контроль потоку виконання

Розділ 3 - Базові структури даних

Розділ 4 - Узагальнені типи

Розділ 5 - Володіння та позичання

Розділ 6 - Текст

Розділ 7 - Об'єктно Орієнтоване Програмування

Розділ 8 - Розумні покажчики (Smart Pointers)

Розділ 9 - Організація проекту, та його структура

Розділ 10 - Заключне слово

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_vi.html b/TOC_vi.html new file mode 100644 index 000000000..cb7250811 --- /dev/null +++ b/TOC_vi.html @@ -0,0 +1,162 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tour of Rust + + +
+
+

Bài học

+

Chapter 1 - Những điều cơ bản

Chapter 2 - Luồng điều khiển cơ bản

Chương 3 - Các kiểu cấu trúc dữ liệu cơ bản

Chương 4 - Generic Type

Chương 5 - Quyền sở hữu và mượn dữ liệu

Chương 6 - Văn bản

Chương 7 - Lập trình hướng đối tượng(Object-oriented programming-OOP)

Chương 8 - Con trỏ thông minh(Smart Pointers)

Chương 9 - Tổ chức và cấu trúc dự án

Chương 10 - Kết thúc

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_zh-cn.html b/TOC_zh-cn.html new file mode 100644 index 000000000..f0db91492 --- /dev/null +++ b/TOC_zh-cn.html @@ -0,0 +1,162 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

课程

+

第一章 - 基础知识

第二章 - 基本控制流

第三章 - 基本数据结构类型

第四章 - 泛型

第五章 - 所有权和数据借用

第六章 - 文本

第七章 - 面向对象编程

第8章 - 智能指针

第九章 - 项目的结构和管理

尾声

    +
+
+
+ + \ No newline at end of file diff --git a/TOC_zh-tw.html b/TOC_zh-tw.html new file mode 100644 index 000000000..140c6d0a2 --- /dev/null +++ b/TOC_zh-tw.html @@ -0,0 +1,162 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

課堂

+

第一章 - 基礎概念

第二章 - 基本流程控制

第三章 - 基本資料結構 (data structures)

第四章 - 泛型 (generic types)

第五章 - 擁有權 (ownership) 與借資料 (borrowing data)

第六章 - 文字

第七章 - 物件導向程式 (object oriented programming)

[沒有翻譯] Chapter 8 - Smart Pointers

[沒有翻譯] Chapter 9 - Project Organization and Structure

[沒有翻譯] Chapter 10 - The End

    +
+
+
+ + \ No newline at end of file diff --git a/docs/android-chrome-192x192.png b/android-chrome-192x192.png similarity index 100% rename from docs/android-chrome-192x192.png rename to android-chrome-192x192.png diff --git a/docs/android-chrome-512x512.png b/android-chrome-512x512.png similarity index 100% rename from docs/android-chrome-512x512.png rename to android-chrome-512x512.png diff --git a/docs/apple-touch-icon.png b/apple-touch-icon.png similarity index 100% rename from docs/apple-touch-icon.png rename to apple-touch-icon.png diff --git a/beta_00_al.html b/beta_00_al.html new file mode 100644 index 000000000..dcc07b975 --- /dev/null +++ b/beta_00_al.html @@ -0,0 +1,75 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Welcome to the Tour of Rust

+

Happy 3 Year Anniversary 🎉

+

Welcome to the Tour of Rust. This is meant to be a step by step guide through the features of the Rust programming language. Rust is often considered a language with a steep learning curve, but I hope I can convince you there's a lot to explore before we even get to complex parts.

+

You can also find this guide in these languages:

+ +

If you have suggestions on content or would like to contribute to translations, check out Tour of Rust's github repository.

+

You can navigate through the tour with keyboard ⬅️ and ➡️.

+

In this classic example we show Rust's support for Unicode strings.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_ar.html b/beta_00_ar.html new file mode 100644 index 000000000..6c9f6ae1f --- /dev/null +++ b/beta_00_ar.html @@ -0,0 +1,75 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مرحبا بالعالم!

+

Welcome to the Tour of Rust

+

عيد ميلاد سعيد للسنة 1 🎉

+

مرحبا بكم في دورة تعلم لغة رست (Rust). سيكون هذا المحتوى دليل خطوة بخطوة لتعلم ميزات لغة رست (Rust). رست في العادة هي لغة ذات منحى تعلم حاد (أي ستجد بعض الصعوبة في البداية ثم سيصبح الأمر أسهل فأسهل), ولكني آمل أن أستطيع إقناعك بوجود الكثير من المعلومات والمفاهيم يمكنك استكشافها قبل التطرق للأجزاء المعقدة.

+

يمكنك أيضًا تصفح هذا الدليل بهذه اللغات:

+ +

إذا كانت لديك اقتراحات بشأن المحتوى أو ترغب في المساهمة في الترجمات، فاطلع على Tour of Rust's github repository.

+

يمكنك التنقل في الدورة بإستخدام لوحة المفاتيح ➡️ و ⬅️.

+

في هذا المثال الكلاسيكي نعرض كيف تدعم Rust لسلاسل النصية ذات الرمز الموحد (Unicode strings).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_de.html b/beta_00_de.html new file mode 100644 index 000000000..5790fe003 --- /dev/null +++ b/beta_00_de.html @@ -0,0 +1,77 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hallo,

+

Willkommen auf der Tour durch Rust. Hier werden die Features +aus der Programmiersprache Rust Schritt für Schritt eingeführt. Rust wird oft +mit einer steilen Lernkurve in Verbindung gebracht - allerdings gibt es schon +zu Beginn viele spannende Besonderheiten zu entdecken, die hoffentlich dein Interesse +wecken werden!

+

In diesem klassischen Beispiel sehen wir Rust's Unterstützung +von Unicode Strings.

+

Du kannst mittels der rechten ➡️ und linken ⬅️ Pfeiltaste durch die Tour navigieren.

+

Wenn du dieses Projekt mit Übersetzungen +(wie diese hier) oder anderweitig unterstützen willst, wirf einen Blick auf die +Github Repository.

+

Translations:

+ +
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_es.html b/beta_00_es.html new file mode 100644 index 000000000..d508393a6 --- /dev/null +++ b/beta_00_es.html @@ -0,0 +1,77 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hola,

+

Bienvenido al Tour de Rust. Esta es una guía paso a +paso de las características del lenguaje de programación Rust. Rust está considerado +como un lenguaje que hay que ir aprendiendo poco a poco, por lo que hay mucho que explorar +antes de llegar a las partes complejas.

Puedes encontrar esta +guía en los siguientes idiomas:

+ +

Puedes navegar por el curso usando ⬅️ y ➡️

+

En este clásico ejemplo te mostramos el uso de cadenas unicode con Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_fa.html b/beta_00_fa.html new file mode 100644 index 000000000..9c75ae24d --- /dev/null +++ b/beta_00_fa.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

سلام,

+

به تور راست خوش آمدی . قراره با هم یه راهنمای مرحله به مرحله برای زبان برنامه نویسی راست رو تجربه کنیم .راست معمولا به عنوان یک زبان با پروسه یادگیری سخت در نظر گرفته میشه . ولی میشه خیلی چیز ها یاد گرفت قبل اینکه به بخش های سخت برسیم.

+

راستی این آموزش به زبان های دیگه هم موجوده:

+ +

می تونی توی تور بگردی با ⬅️ و ➡️

+

ما با یک مثال کلاسیک قابلیت راست در unicode string رو بررسی می کنیم.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_fi.html b/beta_00_fi.html new file mode 100644 index 000000000..8809864bf --- /dev/null +++ b/beta_00_fi.html @@ -0,0 +1,82 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Tervetuloa Rustin ympäriajoon

+

Tervetuloa,

+

Tervetuloa Rustin ympäriajoon. Tämä on johdatus Rustin ominaisuuksiin +askel askeleelta. +Rustin opettelun sanotaan kestävän jonkin aikaa, +ja Rustissa onkin paljon tutkittavaa jo ennen kuin pääsemme +monimutkaisiin asioihin.

+

Tämä opas on saatavilla myös näillä kielillä:

+ +

Jos haluat ehdottaa muutoksia sisältöön tai haluat auttaa +käännöksissä, ohjeet löytyvät Tour of Rust -repositorysta +Githubista.

+

Ohjesivuilla voi liikkua näppäimillä ⬅️ ja ➡️.

+

Oheisessa perinteisessä esimerkissä esittelemme Rustin tukea Unicode-merkkijonoille.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_fr.html b/beta_00_fr.html new file mode 100644 index 000000000..b2bbba7c6 --- /dev/null +++ b/beta_00_fr.html @@ -0,0 +1,77 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bonjour,

+

Bienvenue au Tour de Rust. Celui-ci a pour but de te guider pas à +pas au travers des fonctionnalités du langage de programmation Rust. Rust est souvent +considéré comme difficile et il y a beaucoup à explorer avant d'aborder +les choses complexes.

+

Tu peux trouver ce guide dans les langues suivantes:

+ +

Tu peux naviguer au fil du site avec ⬅️ et ➡️

+

Dans cet exemple classique nous te montrons le support des caractères unicode par Rust.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_gr.html b/beta_00_gr.html new file mode 100644 index 000000000..cb04baa5d --- /dev/null +++ b/beta_00_gr.html @@ -0,0 +1,70 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Γεια,

+

Καλώς ήρθατε στην Ξενάγηση στη Rust. Αυτή σκοπεύει να είναι ένας βήμα-προς-βήμα οδηγός προς τις ικανότητες της προγραμματιστικής γλώσσας Rust. Η Rust θεωρείται συχνά μία γλώσσα με απότομη καμπύλη εκμάθησης, αλλά ελπίζω ότι μπορώ να σας πείσω ότι υπάρχουν πολλά πράγματα να εξερευνήσει κανείς προτού πάμε καν στα περίπλοκα τμήματα.

+

Αυτός ο οδηγός υπάρχει επίσης και στις παρακάτω γλώσσες:

+ +

Αν έχετε να προτείνετε κάτι σχετικό με το περιεχόμενο ή θα θέλατε να βοηθήσετε με τις μεταφράσεις, μπορείτε να απευθυνθείτε στο αποθετήριο της Ξενάγησης στο GitHub. +Μπορείτε να περιηγηθείτε στην ξενάγηση με τα βελάκια ⬅️ και ➡️ του πληκτρολογίου σας. +Σ' αυτό το κλασικό παράδειγμα δείχνουμε την υποστήριξη της Rust για συμβολοσειρές Unicode.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_hu.html b/beta_00_hu.html new file mode 100644 index 000000000..090d8830e --- /dev/null +++ b/beta_00_hu.html @@ -0,0 +1,76 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Helló,

+

Üdvözöllek a Rust-túrán. Ez egy olyan lépésekre bontott leírás, aminek segítségével +megismerheted a Rust képességeit. Sokan úgy tartják a Rust egy nehezen megtanulható nyelv, +de reményeim szerint meg tudlak győzni, hogy épp elég érdekes dolgot lehet felfedezni benne +azelőtt, hogy a bonyolult részekhez érnénk.

+

Ez a leírás a következő nyelveken érhető el:

+ +

Ha bármilyen hozzáfűznivalód van vagy a fordításban szeretnél segíteni, +keresd fel a Rust-túra github oldalát.

+

A túrán való navigációhoz használhatod a ⬅️ és +➡️ billenytűket is.

+

Ebben a klasszikus példában a Rust Unicode támogatását mutatjuk be.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_id.html b/beta_00_id.html new file mode 100644 index 000000000..aa205af22 --- /dev/null +++ b/beta_00_id.html @@ -0,0 +1,71 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Halo,

+

Selamat datang di Rust Tur. Ini dimaksudkan sebagai panduan secara bertahap dari fitur bahasa pemprograman Rust. Rust sering dianggap sebagai bahasa yang sukar untuk dipelajari, tetapi saya harap saya dapat meyakinkaan anda bahwa ada banyak hal yang perlu dijelajahi sebelum kita sampai ke bagian yang rumit.

+

Kamu juga dapat menemukan panduan ini dalam bahasa-bahasa ini:

+ +

Kamu juga dapat menggunakan keyboard untuk bernavigasi ⬅️ and ➡️.

+

Di dalam contoh klasik ini kita akan menunjukkan dukungan Rust untuk Unicode strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_ie.html b/beta_00_ie.html new file mode 100644 index 000000000..2ece69158 --- /dev/null +++ b/beta_00_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salute,

+

Benevenit al Tur de Rust. Li tur intente esser un guide explicat passu a passu al caracteristicas trovat in li lingue de programmation Rust. On considera Rust un lingue complex con un scarp curve de aprension, ma yo espera convicter te que hay multcos a explorar e aprender ante que veni li complexitá.

In ti-ci exemple on vide li exemple classic de programmation quel monstra li subtention de strings (catenes) unicode in Rust.

Translations:

Si tu have suggestiones pri contenete o vole contribuer un traduction, ples visitar li repositoria github del Tur de Rust.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_it.html b/beta_00_it.html new file mode 100644 index 000000000..84a6b9c84 --- /dev/null +++ b/beta_00_it.html @@ -0,0 +1,74 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Benvenuto al Tour di Rust

+

Felice primo anniversario! 🎉

+

Benvenuto al Tour di Rust. Questa vuole essere una guida passo-passo attraverso le caratteristiche del linguaggio di programmazione Rust. Rust è spesso considerato un linguaggio con una curva di apprendimento ripida, ma spero che ti saprò guidare perchè c'è molto da esplorare prima di arrivare alle parti più complesse.

+

Puoi trovare questa guida anche in altre lingue:

+ +

Puoi navigare nel tour usando anche i tasti della tastiera ⬅️ e ➡️.

+

In questo classico esempio, mostriamo il supporto di Rust per le stringhe Unicode.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_ja.html b/beta_00_ja.html new file mode 100644 index 000000000..bce5b0fb0 --- /dev/null +++ b/beta_00_ja.html @@ -0,0 +1,75 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

こんにちは、

+

Rust ツアーへようこそ。 +これはプログラミング言語 Rust の機能を段階的にガイドすることを目的としています。 +Rust は学習曲線が急な言語だと見なされることが多いですが、 +複雑な事項に進む前に探ることがたくさんあると納得していただければと思います。

+

このガイドは以下の言語で見ることができます。

+ +

キーボードの ⬅️➡️ でツアーをナビゲートできます。

+

この古典的な例では、Rust が Unicode 文字列をサポートしていることを示します。

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_ko.html b/beta_00_ko.html new file mode 100644 index 000000000..3aa555f7f --- /dev/null +++ b/beta_00_ko.html @@ -0,0 +1,71 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

안녕하세요,

+

Tour of Rust에 오신 것을 환영합니다. 이 가이드는 Rust 프로그래밍 언어의 기능들을 차근차근 배우기 위해 만들어졌습니다. Rust는 종종 가파른 학습 곡선을 가진 언어로 여겨지곤 하지만, 복잡한 부분까지 가기 전에도 둘러볼 것은 많다는 것을 확신시켜 드릴 수 있으면 좋겠습니다.

+

이 가이드는 다음의 언어로도 보실 수 있습니다:

+ +

내용에 대한 제안 사항이 있거나 번역에 기여하고 싶으신 경우, Tour of Rust의 github 저장소를 확인하세요.

+

키보드의 ⬅️ 키와 ➡️ 키로 여행을 다닐 수 있습니다.

+

이 고전적인 예제에서는 Rust의 유니코드 문자열 지원을 보실 수 있습니다.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_ne.html b/beta_00_ne.html new file mode 100644 index 000000000..aefd3f85a --- /dev/null +++ b/beta_00_ne.html @@ -0,0 +1,80 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hallo,

+

Welkom bij de "Tour door de Rust-taal". Dit is ontworpen als een +stapsgewijze handleiding van de kenmerken van de Rust-taal. Rust +wordt vaak beschouwd als een moeilijke taal om te leren, maar we +hopen dat, tegen de tijd dat we bij de lastigere delen komen, we +je kunnen overtuigen dat er veel te ontdekken valt.

+

Ook kun je deze handleiding lezen in de volgende talen:

+ +

Als u suggesties heeft met betrekking tot +de inhoud of wilt bijdragen aan de vertaling, + kunt u terecht op de github repository van de Tour.

+

U kunt door de tour navigeren met behulp van de toetsen ⬅️ en +➡️.

+

In dit klassieke voorbeeld laten we zien dat Rust Unicode-karakters ondersteunt.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_pl.html b/beta_00_pl.html new file mode 100644 index 000000000..b4ceed972 --- /dev/null +++ b/beta_00_pl.html @@ -0,0 +1,69 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Witaj,

+

Witaj w Przewodniku po Języku Rust. Przewodnik ten ma za zadanie oprowadzić Cię krok po kroku po języku programowania Rust i jego rozmaitych funkcjach. Pomimo, że Rust jest uważany za język trudny do nauczenia się od zera, to jednak mam nadzieję, że przekonam Cię, że wcale nie jest on taki straszny jak go malują, i że nie zniechęcisz się zbyt szybko (przynajmniej dopóki nie dojdziemy to bardziej zaawansowanych tematów).

+

Ten przewodnik jest również dostępny w następujących językach:

+ +

Jeśli masz jakiekolwiek sugestie dotyczące treści lub chcesz przyłożyć się do tłumaczenia na kolejne języki, sprawdź repozytorium Przewodnika na githubie.

+

Używaj strzałek na klawiaturze ⬅️ ➡️ do poruszania się po kolejnych rozdziałach Przewodnika.

+

W pierwszym przykładzie pokazujemy wsparcie Rusta dla ciągów znaków Unicode.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_pt-br.html b/beta_00_pt-br.html new file mode 100644 index 000000000..66a3352b5 --- /dev/null +++ b/beta_00_pt-br.html @@ -0,0 +1,71 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Olá,

+

Bem-vindo ao Tour por Rust. Este é um guia passo-a-passo pelas características da linguagem de programação Rust. Como ela é considerada uma linguagem com uma curva de aprendizado elevada espero convencê-lo que há muito a explorar antes de chegar às partes complexas.

+

Você pode ver este guia nestes idiomas:

+ +

Você pode navegar pelo curso usando ⬅️ e ➡️

+

Neste exemplo clássico mostramos o suporte de strings Unicode em Rust.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_ro.html b/beta_00_ro.html new file mode 100644 index 000000000..98b4d4238 --- /dev/null +++ b/beta_00_ro.html @@ -0,0 +1,80 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salut,

+

Bun venit la Turul limbajului Rust. Acesta a fost conceput pentru a fi un +ghid pas cu pas al caracteristicilor limbajului Rust. +Rust este deseori considerat un limbaj greu de învățat, dar noi sperăm că, până +ajungem la părțile dificile, vă vom putea convinge că sunt multe lucruri de +explorat.

+

De asemenea, puteți citi acest ghid și în următoarele limbi:

+ +

Dacă aveți sugestii în legătură cu conținutul sau doriți să contribuiți la +traducere, puteți intra pe +repository-ul github al +Turului.

+

Puteți naviga prin tur folosind tastele ⬅️ și +➡️.

+

În acest exemplu clasic arătăm că Rust suportă caractere Unicode.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_ru.html b/beta_00_ru.html new file mode 100644 index 000000000..14def0ffb --- /dev/null +++ b/beta_00_ru.html @@ -0,0 +1,74 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Привет,

+

Добро пожаловать в Тур по Rust. Это пошаговое руководство +по возможностям языка программирования Rust. Rust часто ассоциируется как язык, +который сложен в обучении, я надеюсь, что смогу объяснить многое до того, как +мы перейдём к более сложным частям.

+

Тур доступен на таких языках:

+ +

В этом классическом примере мы показываем поддержку Юникод-строк в Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_th.html b/beta_00_th.html new file mode 100644 index 000000000..6b8ae56f0 --- /dev/null +++ b/beta_00_th.html @@ -0,0 +1,70 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

สวัสดี,

+

ยินดีต้อนรับสู่ Tour of Rust ที่ซึ่งให้คำแนะนำว่าภาษา Rust มีฟีเจอร์อะไรบ้าง ทีละขั้นทีละตอน ซึ่ง Rust มักถูกมองว่าเป็นภาษาที่เรียนรู้ค่อนข้างยาก แต่ฉันหวังว่าฉันจะโน้มน้าวคุณ ว่ามันมีอะไรที่น่าค้นหาอีกเยอะ ก่อนที่จะไปถึงส่วนที่ซับซ้อนในช่วงท้าย

+

เลือกอ่านภาษาที่คุณถนัดได้เลย:

+ +

หากคุณมีข้อเสนอแนะเกี่ยวกับเนื้อหาหรือต้องการมีส่วนร่วมในการแปลโปรดดูที่ github repository ของ Tour of Rust

+

คุณสามารถสำรวจ tour ด้วยการใช้คียบอร์ด ⬅️ and ➡️

+

ในตัวอย่างนี้เราแสดงให้เห็นว่า Rust ใช้ Unicode strings

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_tr.html b/beta_00_tr.html new file mode 100644 index 000000000..13beafcb5 --- /dev/null +++ b/beta_00_tr.html @@ -0,0 +1,69 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Merhaba ,

+

Rust Turuna Hoş Geldiniz. Bu turun Rust programlama dili özelliklerinin adım adım anlatıldığı bir rehber olması amaçlanmıştır. Rust, genellikle dik öğrenme eğrisine sahip bir dil olarak kabul edilir. Ancak ben sizi daha karmaşık bölümlere gelmeden önce Rust'ın keşfedilecek pek çok şeyi olduğuna ikna edebileceğimi umuyorum.

+

Bu rehberi aşağıdaki dillerde okuyabilirsiniz:

+ +

İçeriğe dair önerileriniz varsa yahut çevirilere katkıda bulunmak istiyorsanız, Rust Turu'nun Github deposuna göz atabilirsiniz.

+

Tur süresince klavyenizin ⬅️ ve ➡️ tuşlarını kullanabilirsiniz. +Bu klasik örnek Rust'ın Unicode dizgilerini desteklediğini gösterir.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_ua.html b/beta_00_ua.html new file mode 100644 index 000000000..24058af90 --- /dev/null +++ b/beta_00_ua.html @@ -0,0 +1,70 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Привіт,

+

Ласкаво просимо до Tour of Rust. Це путівник, який крок за кроком проведе вас можливостями, що пропонує мова програмування Rust. Rust часто сприймається як мова з досить крутою кривою навчання, але ми сподіваємося, що зможемо переконати вас в тому, що він вартий вивчення навіть ще до того, як перейдемо до більш складних його аспектів.

+

Також ви можете знайти путівник іншими мовами:

+ +

Якщо у вас є пропозиції щодо контенту чи ви хотіли б долучитися до перекладу, зверніть увагу на github репозиторій Tour of Rust

+

Ви можете переходити між сторінками сайту використовуючи клавіші ⬅️ і ➡️.

+

В цьому класичному прикладі ми хочемо показати підтримку Unicode рядків у Rust.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_vi.html b/beta_00_vi.html new file mode 100644 index 000000000..2d4621c19 --- /dev/null +++ b/beta_00_vi.html @@ -0,0 +1,74 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Welcome to the Tour of Rust

+

Chúc mừng sinh nhật 1 tuổi 🎉

+

Chào mừng tới với Tour of Rust. Đây là hướng dẫn từng bước về các tính năng của ngôn ngữ lập trình Rust. Rust thường được coi là một ngôn ngữ có đường cong học tập khó khăn, nhưng tôi hy vọng tôi có thể thuyết phục bạn có rằng rất nhiều điều để khám phá trước khi chúng ta đi đến những phần phức tạp.

+

Bạn cũng có thể đọc bài hướng dẫn này bằng những ngôn ngữ sau:

+ +

Nếu bạn có đề xuất nội dung hoặc muốn đóng góp vào bản dịch, hãy truy cập vào repository github của Tour of Rust.

+

Bạn có thể điều hướng qua bàn phím bằng nút ⬅️ và nút ➡️.

+

Trong ví dụ đơn giản này, chúng ta hãy xem sự hỗ trợ của Rust cho các chuỗi Unicode.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_zh-cn.html b/beta_00_zh-cn.html new file mode 100644 index 000000000..dd1451a91 --- /dev/null +++ b/beta_00_zh-cn.html @@ -0,0 +1,71 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

你好,

+

欢迎来到 Rust 语言之旅。本教程旨在循序渐进地介绍 Rust 编程语言的特性。大家通常认为 Rust 是一门学习曲线陡峭的语言。我希望在此说明,在我们开始学习复杂的部分之前,还有很多东西需要探索。

+

你可以通过以下这些语言来阅读本教程:

+ +

你可以使用 ⬅️➡️ 浏览整个教程。

+

在这个经典的例子中,我们展示了 Rust 对 Unicode 字符串的支持。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_00_zh-tw.html b/beta_00_zh-tw.html new file mode 100644 index 000000000..7aa815b90 --- /dev/null +++ b/beta_00_zh-tw.html @@ -0,0 +1,71 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

您好,

+

歡迎來到 Rust 語言之旅!這裡將會逐步介紹 Rust 語言的功能和特性。Rust 語言常常被認為是很難學的語言。

+

在接觸到複雜的部份之前,希望我能夠讓您有興趣探索更多

+

本教程提供以下的語言版本:

+ +

如果你對內容有任何意見,或希望貢獻於翻譯,可以到 Tour of Rust 的 github 源代碼庫.

+

你可以用鍵盤的 ⬅️➡️ 鍵來翻頁。

+

在以下的經典例子中,展示了 Rust 對 Unicode 字串的支援。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_al.html b/beta_02_al.html new file mode 100644 index 000000000..afd97ffa7 --- /dev/null +++ b/beta_02_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sheshi i Lojërave Rust

+

Ky tur përdor një mjet kodimi ndërveprues nga Rust Playground.

+

Është një mënyrë e shkëlqyer për të luajtur me Rust dhe për t'u treguar të tjerëve kreativitetin tuaj + dhe te maresh pjese ne sfida!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_ar.html b/beta_02_ar.html new file mode 100644 index 000000000..0264eeb09 --- /dev/null +++ b/beta_02_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

أداة أرضية تشغيل رست (The Rust Playground)

+

سيتم إستخدام في هذه الدروة أداة تفاعلية من Rust Playground.

+

إنها طريقة رائعة لتشغيل وتطبيق Rust وإظهار إبداعاتك وتحدياتك للآخرين!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_de.html b/beta_02_de.html new file mode 100644 index 000000000..069fbca7d --- /dev/null +++ b/beta_02_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Der Rust Playground

+

Diese Tour macht sich das interaktive Coding Tool vom Rust Playground zunutze.

+

Beispiele in Rust lassen sich so spielend leicht testen. Hierbei sind deiner Kreativität auch keine Grenzen +gesetzt. Ändere Codeschnipsel, teste Funktionen, lass deiner Fantasie freien Lauf!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_en.html b/beta_02_en.html new file mode 100644 index 000000000..e64a6d3c9 --- /dev/null +++ b/beta_02_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

This tour uses an interactive coding tool from Rust Playground.

+

It's a great way to play around with Rust and show others your creativity and challenges!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_es.html b/beta_02_es.html new file mode 100644 index 000000000..5a7d583ac --- /dev/null +++ b/beta_02_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Familiarízate con Rust

+

En el tour usaremos la siguiente herramienta de programación interactiva: https://play.rust-lang.org

+

De esta manera podrás empezar a trabajar con Rust y demostrar tu creatividad y aptitudes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_fa.html b/beta_02_fa.html new file mode 100644 index 000000000..36e4d78f5 --- /dev/null +++ b/beta_02_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

This tour uses an interactive coding tool from Rust Playground.

+

It's a great way to play around with Rust and show others your creativity and challenges!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_fi.html b/beta_02_fi.html new file mode 100644 index 000000000..957eff9ff --- /dev/null +++ b/beta_02_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust-leikkikenttä

+

Tämä opas käyttää Rust-leikkikenttää Rust Playground tapana ajaa suoraan Rust-ohjelmia.

+

Se on loistava työkalu testata Rustia, näyttää muille luovuutesi ja vastata ohjelmointihaasteisiin.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_fr.html b/beta_02_fr.html new file mode 100644 index 000000000..49eb71090 --- /dev/null +++ b/beta_02_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Le terrain de jeu de Rust

+

Ce tour utilise l'outil de code interactif Rust Playground

+

C'est un excellent moyen d'expérimenter avec Rust et de montrer aux autres ta créativité et tes challenges!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_gr.html b/beta_02_gr.html new file mode 100644 index 000000000..dc5189065 --- /dev/null +++ b/beta_02_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Η Παιδική Χαρά της Rust

+

Αυτή η ξενάγηση χρησιμοποιεί το διαδραστικό προγραμματιστικό εργαλείο από την Παιδική Χαρά της Rust.

+

Είναι ένας εξαίρετος τρόπος να παίξετε με τη Rust και να δείξετε στους άλλους τη δημιουργικότητα και τις προκλήσεις σας!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_hu.html b/beta_02_hu.html new file mode 100644 index 000000000..e3e74524b --- /dev/null +++ b/beta_02_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A Rust Homokozó

+

Ez a bemutató egy interaktív programozó eszközt használ a Rust +Homokozóból.

+

Remek arra, hogy kipróbálhass dolgokat, kihívásokat oldj meg és, hogy bemutathasd a +kreativitásod.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_id.html b/beta_02_id.html new file mode 100644 index 000000000..5cb67e9a3 --- /dev/null +++ b/beta_02_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

Tur ini menggunakan sarana interaktif dari Rust Playground.

+

Sarana bagus untuk bermain-main dengan Rust dan menunjukkan kepada orang lain kreativitas kamu dan tantangan!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_ie.html b/beta_02_ie.html new file mode 100644 index 000000000..34f6bb74f --- /dev/null +++ b/beta_02_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Li Lud-terren Rust

+

Ti-ci tur usa un instrument interactiv por codar quel trova se a https://play.rust-lang.org

It es un bonissim metode por luder con Rust e monstrar li altres tui creativitá e defís!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_it.html b/beta_02_it.html new file mode 100644 index 000000000..63daa53d2 --- /dev/null +++ b/beta_02_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Il Rust Playground

+

Questo tour usa uno strumento interattivo di coding, il Rust Playground.

+

E' molto comodo per esplorare Rust e mostrare ad altri la tua creatività e le sfide che affronti, senza dover installare nulla !

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_ja.html b/beta_02_ja.html new file mode 100644 index 000000000..9e2cc7e48 --- /dev/null +++ b/beta_02_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Playground

+

このツアーでは、Rust Playground のインタラクティブなコーディングツールを使用します。

+

Rust で遊んで、あなたの創造性と挑戦を他の人に見せるのに最適な方法です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_ko.html b/beta_02_ko.html new file mode 100644 index 000000000..e0d865661 --- /dev/null +++ b/beta_02_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 놀이터

+

Rust 놀이터와 같은 대화형 코딩 도구를 이용해서 여행을 합시다.

+

Rust를 갖고 놀며 다른 사람에게 여러분의 창의성과 도전을 보여줄 수 있는 아주 훌륭한 방법입니다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_ne.html b/beta_02_ne.html new file mode 100644 index 000000000..5a47f0767 --- /dev/null +++ b/beta_02_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Playground

+

In deze cursus zult u een interactief hulpprogramma gebruiken om code te schrijven Rust Playground. +Het is een goede manier om met Rust te spelen en anderen uw creativiteit en uitdagingen te laten zien!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_pl.html b/beta_02_pl.html new file mode 100644 index 000000000..3237e1aaa --- /dev/null +++ b/beta_02_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Piaskownica Rusta

+

Niniejszy Przewodnik korzysta z interaktywnego narządzia Rust Playground, zwanego po polsku Piaskownicą Rusta.

+

Piaskownica jest świetnym sposobem na zabawę z kodem i testowanie czegokolwiek co przyjdzie nam akurat do głowy. Jest ona także dobrym sposobem na dzielenie się swoimi problemami i osiągnięciami przy nauce Rusta z innymi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_pt-br.html b/beta_02_pt-br.html new file mode 100644 index 000000000..8239ef87c --- /dev/null +++ b/beta_02_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O Playground do Rust

+

Este tour usa a ferramenta de codificação interativa Rust Playground

+

É uma boa maneira de brincar com Rust e mostrar aos outros a sua criatividade e desafios!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_ro.html b/beta_02_ro.html new file mode 100644 index 000000000..f2cc03cda --- /dev/null +++ b/beta_02_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Playground

+

În acest curs veți folosi un utilitar interactiv pentru scrierea codului Rust Playground.

+

E o modalitate bună de a vă juca cu Rust și a arăta altora creativitatea și provocările dumneavoastră!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_ru.html b/beta_02_ru.html new file mode 100644 index 000000000..06fe2d591 --- /dev/null +++ b/beta_02_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

В туре используется интерактивный компилятор Rust Playground

+

Это хороший способ попробовать язык, показать креативность и ваши решения проблем!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_th.html b/beta_02_th.html new file mode 100644 index 000000000..1caa88b31 --- /dev/null +++ b/beta_02_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

ทัวร์นี้ ใช้เครื่องมือที่พร้อมให้คุณทดลองเขียนโค้ดไปพร้อมกันจาก Rust Playground

+

มันเป็นวิธีที่ดีมากที่จะเล่นกับ Rust และเอาไปอวดให้คนอื่นเห็นว่าคุณมี ความคิดสร้างสรรค์อย่างไร และท้าทายเขาด้วยในเวลาเดียวกัน!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_tr.html b/beta_02_tr.html new file mode 100644 index 000000000..afc57ade3 --- /dev/null +++ b/beta_02_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Oyun Alanı

+

Tur boyunca Rust oyun alanındaki etkileşimli kodlama aracı kullanılıyor.

+

Bu araç Rust ile oynamak ve ürettiklerinizi başkalarıyla paylaşmak için harika bir olanaktır!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_ua.html b/beta_02_ua.html new file mode 100644 index 000000000..71eb6309e --- /dev/null +++ b/beta_02_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground

+

Також цей путівник використовує інтерактивний інструмент для програмування Rust Playground.

+

Це чудовий спосіб трохи погратися з Rust'ом, а також показати ваші здібності та креативнісить!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_vi.html b/beta_02_vi.html new file mode 100644 index 000000000..bc50091dd --- /dev/null +++ b/beta_02_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sân chơi của bạn

+

Bài học của chúng ta sử dụng một công cụ mã hóa tương tác từ RustPlayground.

+

Đó là một cách tuyệt vời để chơi với Rust và cho người khác thấy sự sáng tạo và thách thức của bạn!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_zh-cn.html b/beta_02_zh-cn.html new file mode 100644 index 000000000..b368b3f78 --- /dev/null +++ b/beta_02_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 练习场

+

本教程使用的是来自 Rust 练习场 的交互代码工具。

+

这是一个玩转 Rust 并且向别人展示你的创造和挑战的最好工具。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_02_zh-tw.html b/beta_02_zh-tw.html new file mode 100644 index 000000000..345a9d616 --- /dev/null +++ b/beta_02_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The Rust Playground (Rust 語言遊樂場)

+

本旅程我們會使用這個互動的編程工具 Rust Playground. +使用這工具是一個很好的方法去試驗您的 Rust 程序,和展示你的創作及挑戰給其他人看。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_al.html b/beta_03_al.html new file mode 100644 index 000000000..2cd196172 --- /dev/null +++ b/beta_03_al.html @@ -0,0 +1,55 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variablat

+

Variablat deklarohen duke përdorur fjalën kyçe let.

+

Kur caktoni një vlerë, Rust do të jetë në gjendje të konkludojë llojin e variabiles tuaj + 99% te rasteve.

+

Nëse nuk mundet, mund të shtoni llojin në deklaratën tuaj të variabiles.

+

Vini re se si mund t'i caktojmë të njëjtit emër variabël shumë herë. Kjo është + quhet variabël

+

hijezimi dhe lloji mund të ndryshohet për referenca të mëvonshme për këtë + emer.

+

Emrat e variabilave jane sa here ne snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_ar.html b/beta_03_ar.html new file mode 100644 index 000000000..0594b71ee --- /dev/null +++ b/beta_03_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المتغيرات

+

يتم التعريف بمتغير جديد بإستعمال الكلمة المفتاحية let.

+

عندما يتم تعيين قيمة للمتغير، فإن رست (Rust) يمكنها أن تستنتج نوع المتغير بنسة 99%.

+

أما إذا لم تتمكن اللغة من إستنتاج نوع المتغير فإنه يتوجب عليك حينها إضافة نوع المتغبر الذي قمت بتعريفه به.

+

لاحظ في المثال المقابل كيف يمكنك تعريف نفس اسم المتغير عدة مرات. وهذا ما يسمى بتظليل المتغير (variable shadowing) - من الظل -، والنوع يمكن تغييره في المراجع اللاحقة (subsequent references) لذلك الاسم.

+

أسماء معرفات المتغيرات دائما تكون بطريقة الثعبان snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_de.html b/beta_03_de.html new file mode 100644 index 000000000..6db3f23f0 --- /dev/null +++ b/beta_03_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variablen

+

Variablen werden mit dem Schlüsselwort let deklariert.

Im Regelfall sollte man Rust die Entscheidung überlassen, um welchen Datentypen es sich handelt. In Sonderfällen kann der Typ explizit angegeben werden.

Huch, was ist denn bei dem Beispiel los? Die Variable x wird mehrmals deklariert?

Das ist kein Fehler - Rust erlaubt sogenanntes variable shadowing (Variable überschatten). Bei Neudeklaration "verfällt" die vorige Deklaration und wir können mit der Variable arbeiten, als ob es sie davor noch nie gegeben hätte. Der Datentyp darf sich dabei auch ändern.

Variablennamen werden ebenfalls in snake_case geschrieben.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_en.html b/beta_03_en.html new file mode 100644 index 000000000..4a2c97b7d --- /dev/null +++ b/beta_03_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

Variables are declared using the let keyword.

+

When assigning a value, Rust will be able to infer the type of your variable 99% of +the time. If it cannot you may add the type to your variable declaration.

+

Notice how we can assign to the same variable name multiple times. This is called variable +shadowing and the type can be changed for subsequent references to that name.

+

Variable names are always in snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_es.html b/beta_03_es.html new file mode 100644 index 000000000..096f6bce3 --- /dev/null +++ b/beta_03_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

Las variables se declaran usando la palabra reservada let.

+

Al asignar un valor, Rust podrá deducir el tipo de la variable el 99% de las veces. +Si no puede, tú mismo podrás especificar el tipo al declarar una variable.

+

Fíjate en cómo podemos declarar variables con el mismo nombre varias veces. Esto se llama +sombreado (shadowing) de variables y se puede modificar el tipo para futuras referencias a ese nombre.

+

Los nombres de las variables se escriben siempre en snake_case

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_fa.html b/beta_03_fa.html new file mode 100644 index 000000000..ef9198c1f --- /dev/null +++ b/beta_03_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

Variables are declared using the let keyword.

+

When assigning a value, Rust will be able to infer the type of your variable 99% of +the time. If it cannot you may add the type to your variable declaration.

+

Notice how we can assign to the same variable name multiple times. This is called variable +shadowing and the type can be changed for subsequent references to that name.

+

Variable names are always in snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_fi.html b/beta_03_fi.html new file mode 100644 index 000000000..0e92bce09 --- /dev/null +++ b/beta_03_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Muuttujat

+

Muuttujat esitellään let -avainsanalla.

+

Kun muuttujaan asetetaan arvo, Rust osaa päätellä 99% ajasta muuttujan tyypin. Jos se ei kykene siihen, voit lisätä tyypin muuttujan esittelyyn.

+

Huomaa, että vaimme sijoittaa samannimiseen muuttujaan monta kertaa. Sitä kutsutaan muuttujan varjostamiseksi, ja muuttujan tyyppi voi muuttua myöhemmillä viittauksilla samaan nimeen.

+

Muuttujan nimet kirjoitetaan aina "snake_case", pienillä kirjaimilla ja sanoja erottaa alaviiva.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_fr.html b/beta_03_fr.html new file mode 100644 index 000000000..08ac59b03 --- /dev/null +++ b/beta_03_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

Les variables sont déclarées en utilisant le mot clé let.

+

Lorsqu'on assignera une valeur, Rust sera capable d'inférer le type de la variable (99% du +temps). Si pour quelques raisons que ce soit cela n'est pas possible, on peut toujours ajouter le type +à la déclaration de la variable.

+

Remarque comment on peut déclarer la même variable plusieurs fois. Ceci est appelé shadowing +et le type peut être modifié pour les prochaines références à ce nom de variable.

+

Les nom de variables sont toujours en snake_case

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_gr.html b/beta_03_gr.html new file mode 100644 index 000000000..050c5d58d --- /dev/null +++ b/beta_03_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μεταβλητές

+

Οι μεταβλητές δηλώνονται με τη λέξη-κλειδί let.

+

Όταν αναθέτουμε σε μία μεταβλητή, η Rust θα μπορέσει να συμπεράνει τον τύπο τις στο 99% των περιπτώσεων. Αν δεν μπορεί, μπορείτε να προσθέσετε τον τύπο στη δήλωση της μεταβλητής.

+

Προσέξτε ότι μπορούμε να αναθέσουμε στο ίδιο όνομα μεταβλητής πολλές φορές. Αυτό αποκαλείται επισκίαση μεταβλητής, και μπορούμε έτσι ν' αλλάξουμε τον τύπο δεδομένων για μετέπειτα αναφορές σ' αυτό το όνομα.

+

Τα ονόματα μεταβλητών είναι πάντα σε φιδο_πεζά.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_hu.html b/beta_03_hu.html new file mode 100644 index 000000000..ebf27110c --- /dev/null +++ b/beta_03_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Változók

+

A változókat a let kulcsszóval hozzuk létre.

+

Amikor egy változóhoz hozzárendelünk, a Rust az esetek 99%-ban képes lesz kitalálni, mi is a +típusa. Ha ez mégse sikerül neki, akkor a változó deklarációjában ezt te magad is megteheted.

+

Figyeld meg, hogy ugyanahhoz a változónévhez többször is hozzárendelhetünk értékeket. Ezt +változó-árnyékolásnak nevezzük, a változó típusa is megváltozhat ilyenkor.

+

A változóneveket mindig 'kígyó_módon' adjuk meg.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_id.html b/beta_03_id.html new file mode 100644 index 000000000..58fecf3d1 --- /dev/null +++ b/beta_03_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variabel

+

Variabel dideklaraskan menggunakan kata kunci let.

+

Ketika memberikan nilai kepada variabel, Rust hampir selalu dapat menggambil kesimpulan terhadap tipe data dari sebuah variabel. Jika tidak, kamu dapat menambahkan tipe data pada deklarasi variabel kamu.

+

Perhatikan, kita dapat menetapkan nilai kepada variabel yang sama berkali-kali. Ini dinamakan variable shadowing, serta tipe data dapat dirubah untuk referensi selanjutnya dari nama tersebut.

+

Nama variabel selalu menggunakan snake_scase.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_ie.html b/beta_03_ie.html new file mode 100644 index 000000000..9b487417f --- /dev/null +++ b/beta_03_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variables

+

On declara variabiles con li clave-parol let.

Quande on assigna un valore, Rust va posser inferer li tip del variabile con un certitá de 99%. Si it ne posse, tu posse adjunter li tip al declaration por li variabile.

A notar es qualmen noi posse assignar li sam nómine por un variabile plu quam un vez. Ti-ci metode es nominat variable shadowing ("variabil-ombration") in quel li tip va posser changear se por referenties sequent por ti nómine.

Nómines por variabiles sempre usa snake_case (minuscules con infra-strecs)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_it.html b/beta_03_it.html new file mode 100644 index 000000000..45b35bc8a --- /dev/null +++ b/beta_03_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variabili

+

Le variabili sono dichiarate usando la parola chiave let .

+

Quando assegni un valore, Rust riesce a capire il tipo della tua variabile nel 99% dei casi. +Se non dovesse riuscire, puoi aggiungere esplicitamente il tipo alla dichiarazione della variabile.

+

Nota come possiamo assegnare lo stesso nome variabile più volte: questo viene chiamato variable +shadowing ed il tipo può anche cambiare da una assegnazione all'altra dello stesso nome, perchè ogni volta è una nuova variabile.

+

I nomi delle variabili sono sempre in formato snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_ja.html b/beta_03_ja.html new file mode 100644 index 000000000..f1c25e7c1 --- /dev/null +++ b/beta_03_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

変数

+

変数は let キーワードを使用して宣言します。

+

値を割り当てる際、Rust は 99% のケースで変数の型を推論できます。それができない場合、変数宣言に型を追加できます。

+

同じ変数名に複数回割り当てできることに注目してください。 +これは変数のシャドウイングと呼ばれるもので、型を変更して後でその名前で参照できます。

+

変数名にはスネークケース snake_case を使用します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_ko.html b/beta_03_ko.html new file mode 100644 index 000000000..26e658ab9 --- /dev/null +++ b/beta_03_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

변수

+

변수는 let 키워드를 사용해 선언됩니다.

+

값을 할당할 때, Rust는 99% 확률로 여러분의 변수의 자료형을 유추할 수 있습니다. +유추가 불가능한 경우, 여러분의 변수 선언에 자료형을 추가해도 됩니다.

+

동일한 이름의 변수에 여러번 값을 할당할 수 있다는걸 알아차리셨나요?

+

이는 변수 숨김(variable shadowing)이라 불리며, 자료형도 변경할 수 있습니다.

+

변수 이름은 언제나 snake_case 형태로 짓습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_ne.html b/beta_03_ne.html new file mode 100644 index 000000000..5692a1c77 --- /dev/null +++ b/beta_03_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variabile

+

Variabelen worden gedeclareerd met het sleutelwoord let. +Wanneer u een waarde aan een variabele toewijst, kan Rust in 99% van de gevallen het gegevenstype afleiden. Als dat niet lukt, kunt u het gegevenstype toevoegen aan de declaratie van de variabele. +Merk op hoe we dezelfde variabelnaam (dezelfde identificator) meerdere keren kunnen gebruiken. Dit fenomeen wordt "variable shadowing" genoemd, en het gegevenstype kan veranderen voor latere verwijzingen naar die variabelnaam. +Variabelnamen worden altijd geschreven in de vorm van snake_case (ex: my_first_variable).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_pl.html b/beta_03_pl.html new file mode 100644 index 000000000..dd0c69c61 --- /dev/null +++ b/beta_03_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zmienne

+

Zmienne są w Ruscie deklarowane przy użyciu słowa kluczowego let.

+

Podczas przypisywania wartości zmiennej, w 99% przypadków Rust będzie w stanie domyśleć się jakiego powinna być ona typu. +W przypadku kiedy automatyczne wykrycie typu się nie uda, możesz zawsze dodać typ ręcznie, dopisując go przy deklaracji zmiennej.

+

Zauważ, że jesteśmy w stanie dokonać przypisania do tej samej zmiennej wielokrotnie. Taki manewr jest nazywany przyćmiewaniem zmiennej (ang. variable shadowing), i można w ramach niego dokonać również zmiany typu zmiennej.

+

Nazwy zmiennych są zawsze zapisywane małymi_literami_z_podkreślnikami_zamiast_spacji, czyli inaczej mówiąc stylem snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_pt-br.html b/beta_03_pt-br.html new file mode 100644 index 000000000..a3ba0284e --- /dev/null +++ b/beta_03_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variáveis

+

Variáveis são declaradas usando a palavra-chave let.

+

Quando atribuimos um valor, o Rust poderá inferir o tipo da sua variável em 99% dos casos.

+

Se não for possível, você poderá especificar o tipo ao declarar a variável.

+

Veja que podemos atribuir valores à mesma variável várias vezes. Isto é chamado sobreamento de variáveis (shadowing) e podemos mudar o seu tipo para referências futuras a esse nome.

+

Os nomes das variáveis são sempre em snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_ro.html b/beta_03_ro.html new file mode 100644 index 000000000..7422ec68b --- /dev/null +++ b/beta_03_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variabile

+

Variabilele sunt declarate folosind cuvântul cheie let.

+

Atunci când dați unei variabile o valoare, Rust este capabil să deducă tipul acesteia în 99% +din cazuri. Dacă acesta nu poate, puteți adăuga tipul de date la declararea variabilei.

+

Observați cum putem să folosim același nume de variabilă (același identificator) de mai multe ori. Acest fenomen se numește variable +shadowing (punere în umbră) și tipul de date se poate schimba pentru referințe ulterioare la acel nume de variabilă.

+

Numele de variabile sunt mereu scrise sub formă snake_case (ex: my_first_variable).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_ru.html b/beta_03_ru.html new file mode 100644 index 000000000..99a1745ca --- /dev/null +++ b/beta_03_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Переменные (Variables)

+

Переменные объявляются с помощью ключевого слова let.

+

Когда переменной присваивается значение, Rust может вывести её тип в 99% случаях. Когда он не может вывести тип, вы можете добавить тип в объявление переменной.

+

Заметьте, что мы можем присвоить значение одной и той же переменной несколько раз. Это называется сокрытие переменной (variable shadowing), её тип может быть изменен в последующих присваиваниях.

+

Имена переменных пишутся всегда в нотации: snake_case

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_th.html b/beta_03_th.html new file mode 100644 index 000000000..13db8a3d0 --- /dev/null +++ b/beta_03_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ตัวแปร

+

การประกาศตัวแปร ใช้คียเวิร์ด let

+

ปกติแล้ว Rust จะสามารถอนุมาน type ของตัวแปรที่คุณกำหนดค่าลงไปได้ถึง 99% แต่ถ้าหากมันทำไม่ได้ ก็เพียงแค่เพิ่มการประกาศ type ลงไปด้วยแค่นั้น

+

สังเกตดูจะพบว่าเราสามารถ กำหนดค่าให้ตัวแปรชื่อเดิมซ้ำๆ ได้หลายครั้ง สิ่งนี้เราเรียกว่าการทำ shadow ให้ตัวแปร และยังสามารถเปลี่ยน type ของตัวแปรชื่อนั้นได้อีกด้วย

+

และชื่อตัวแปรจะใช้ snake_case เสมอนะ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_tr.html b/beta_03_tr.html new file mode 100644 index 000000000..d43f02d09 --- /dev/null +++ b/beta_03_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Değişkenler

+

Değişkenler let anahtar sözcüğü kullanılarak bildirilir.

+

Bir değişkene değer atadığınızda bu değişkenin türü %99 olasılıkla Rust tarafından bilinir. Eğer tür otomatik olarak çıkarsanamamışsa değişken türünü kendiniz de bildirebilirsiniz.

+

Aynı değişken adını tekrar tekrar atayabildiğimize dikkat edin. Buna, değişken gölgeleme denir ve bu isme her başvurulduğunda değişkenin türü de değiştirilebilir.

+

Değişken isimleri kelimelerin alt_tire ile birbirine bağlandığı lover_snake_case biçiminde seçilmelidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_ua.html b/beta_03_ua.html new file mode 100644 index 000000000..dd693abf5 --- /dev/null +++ b/beta_03_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Змінні

+

Змінні оголошуються за допомогою ключового слова let. +Коли ми присвоюємо значення змінній, Rust в 99% випадків має змогу вивести її тип. В іншому разі ви маєте додати тип до оголошення.

+

Зверніть увагу, що ми можемо присвоїти значення змінній з одним і тим же ім'ям декалька разів. Це називається "приховування змінної" і тип може бути змінений для наступних посилась на це ім'я.

+

Імена змінних завжди мають бути в snake_case реєстрі.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_vi.html b/beta_03_vi.html new file mode 100644 index 000000000..e524b4cd9 --- /dev/null +++ b/beta_03_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Biến

+

Các biến được khai báo bằng từ khóa let.

+

Khi gán vào biến một giá trị, Rust sẽ có thể suy ra kiểu của biến biến trong hầu hết các trường hợp. Nếu không, bạn có thể thêm kiểu vào khai báo biến của mình.

+

Lưu ý rằng đây là cách mà chúng ta gán giá trị vào cùng một tên biến nhiều lần. Điều này được gọi là đổ bóng biến và kiểu có thể được thay đổi cho các lần tham chiếu tiếp theo đến tên biến đó.

+

Tên biến luôn tuân theo snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_zh-cn.html b/beta_03_zh-cn.html new file mode 100644 index 000000000..bbaaf3479 --- /dev/null +++ b/beta_03_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

变量

+

变量使用 let 关键字来声明。

+

在赋值时,Rust 能够在 99% 的情况下自动推断其类型。如果不能,你也可以手动将类型添加到变量声明中。

+

你也许注意到了,我们可以对同一个变量名进行多次赋值。这就是所谓的变量隐藏,可以更改变量类型以实现对该变量名的后续使用。

+

变量名总是遵循 蛇形命名法 (snake_case)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_03_zh-tw.html b/beta_03_zh-tw.html new file mode 100644 index 000000000..ef894882b --- /dev/null +++ b/beta_03_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

變量 (Variables)

+

變量是通過 let 關鍵字來宣告。 +當賦予一個值,在 99% 的情況下 Rust 能夠自行判斷變量的類型。如果不能自行判斷,您就要在 宣告變量是指明變量的類型。 +留意,我們可以用同一個變量名稱重覆宣告變量,這稱為變量遮蔽。 變量遮蔽容許使用同一個變量名稱,但不同的類型宣告。 +變量的命名是用snake_case啊!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_al.html b/beta_04_al.html new file mode 100644 index 000000000..86d4383a4 --- /dev/null +++ b/beta_04_al.html @@ -0,0 +1,56 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ndryshimi i variabilava

+

Rust kujdeset shumë për variablat që mund të modifikohen. vlerat

+

ndahen në dy lloje:

+
    +
  • mutable/e ndryshueshme - kompajleri do të lejojë që variabila të shkruhet dhe +te lexohet.

  • +
  • immutable/e pa nryshueshme - kompajleri do të lejojë vetëm leximin e ndryshores

    +

    Vlerat e ndryshueshme shënohen me një fjalë kyçe mut.

    +

    Ne do të kemi më shumë për të thënë më vonë për këtë koncept, por tani për tani vetëm mbani një sy +jashtë për këtë fjalë kyçe.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ar.html b/beta_04_ar.html new file mode 100644 index 000000000..9c1ec6497 --- /dev/null +++ b/beta_04_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تغيير قيم المتغيرات

+

يهتم رست (Rust) كثيرا بكيفية تعديل قيم المتغيرات. وهنا تنقسم القيم الى صنفين:

+
    +
  • قيم قابلة للتغيير (mutable) - في هذه الحالة يسمح المترجم (compiler) بأن يكون المتغير قابل للكتابة (أي التعديل) والقراءة منه.

  • +
  • قيم غير قابلة للتغيير (immutable) - وهنا المترجم (compiler) يسمح فقط بأن يكون المتغير قابل للقراءة فقط.

  • +
+

ويتم الإشارة إلى أن القيم قابلة للتغيير بالكلمة المفتاحية mut تضاف أثناء تعريف المتغير.

+

سيكون لدينا المزيد لنقوله حول هذا المفهوم لاحقًا، ولكن في الوقت الحالي ألق نظرة فقط على هذه الكلمة المفتاحية.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_de.html b/beta_04_de.html new file mode 100644 index 000000000..57dfb319a --- /dev/null +++ b/beta_04_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Variablenwerte ändern

+

Rust sorgt sich sehr darum, welche Variablen verändert werden können +und welche nicht. Daher gibt es die folgende Unterscheidung:

+
    +
  • mutable (veränderlich) - der Speicherort der Variable kann beschrieben und gelesen werden
  • +
  • immutable (unveränderlich) - der Compiler lässt nur das Lesen des Speicherortes zu
  • +
+

Variablen, die verändert werden können, werden mit einem extra mut (Abkürzung für mutable) +Schlüsselwort gekennzeichnet.

+

Auf dieses Konzept wird im späteren Verlauf noch mehr eingegangen, für jetzt ist es wichtig +zu wissen, dass "mutable" die Veränderbarkeit einer Variablen bestimmt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_en.html b/beta_04_en.html new file mode 100644 index 000000000..757bc8378 --- /dev/null +++ b/beta_04_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Changing Variables

+

Rust cares a great deal about what variables are modifiable. Values +fall into two types:

+
    +
  • mutable - the compiler will allow the variable to be written to and read from.
  • +
  • immutable - the compiler will only allow the variable to be read from.
  • +
+

Mutable values are denoted with a mut keyword.

+

We will have more to say on this concept later, but for now just keep an eye out for this keyword.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_es.html b/beta_04_es.html new file mode 100644 index 000000000..cdf5dd182 --- /dev/null +++ b/beta_04_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificar Variables

+

En Rust es importante tener en cuenta qué valores se modifican. +Los valores se dividen en dos tipos:

+
    +
  • mutables - la ubicación en memoria puede ser escrita y leída
  • +
  • inmutables - la ubicación en memoria sólo puede ser leída
  • +
+

Los valores mutables siempre se denotan con la palabra reservada mut.

+

Hay mucho más que explicar aún sobre este concepto, pero de momento solo presta atención a la palabra reservada.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_fa.html b/beta_04_fa.html new file mode 100644 index 000000000..af7eeda59 --- /dev/null +++ b/beta_04_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Changing Variables

+

Rust cares a great deal about what variables are modifiable. Values +fall into two types:

+
    +
  • mutable - the compiler will allow the variable to be written to and read from.
  • +
  • immutable - the compiler will only allow the variable to be read from.
  • +
+

Mutable values are denoted with a mut keyword.

+

We will have more to say on this concept later, but for now just keep an eye out for this keyword.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_fi.html b/beta_04_fi.html new file mode 100644 index 000000000..84250a6ad --- /dev/null +++ b/beta_04_fi.html @@ -0,0 +1,53 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Muuttumattomat muuttujat

+

Rustissa on tärkeää tietää, mitkä muuttujat ovat muuttuvia. muuttujat kuuluvat kahteen ryhmään:

+
    +
  • mutable - kääntäjä sallii muuttujaan kirjoittamisen ja lukemisen.
  • +
  • immutable - kääntäjä saallii vain muuttujan arvon lukemisen.
  • +
+

Mutable-arvot merkitään mut -avainsanalla.

+

Kerromme tästä enemmän myöhemmin, mutta siihen asti pidä silmällä tätä avainsanaa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_fr.html b/beta_04_fr.html new file mode 100644 index 000000000..e67928381 --- /dev/null +++ b/beta_04_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modification des variables

+

Rust prend très au sérieux le fait de savoir si une variable est modifiable ou non. +Les variables peuvent être de deux types:

+
    +
  • mutable - la variable peut être modifiée et sa valeur lue
  • +
  • immutable - seule la valeur de la variable peut être lue
  • +
+

Les variables modifiables sont préfixées du mot clé mut.

+

Nous aurons plus à dire à ce sujet par la suite.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_gr.html b/beta_04_gr.html new file mode 100644 index 000000000..2c1e2271e --- /dev/null +++ b/beta_04_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Αλλαγή μεταβλητών

+

Η Rust νοιάζεται πάρα πολύ για το ποιες μεταβλητές μπορούν να αλλάξουν τιμή αργότερα. Οι τιμές χωρίζονται σε δύο τύπους:

+
    +
  • Ελεύθερα μεταβαλλόμενες - Ο μεταφραστής θα μας επιτρέψει να τη γράφουμε και να τη διαβάζουμε.
  • +
  • Τοπικά σταθερές - Ο μεταφραστής, μετά την αρχικοποίηση, θα επιτρέπει μόνο την ανάγνωση της μεταβλητής.
  • +
+

Οι ελεύθερα μεταβαλλόμενες τιμές δηλώνονται με τη λέξη κλειδί mut.

+

Θα αναφερθούμε εκτενέστερα σ' αυτήν την έννοια αργότερα, αλλά προς το παρόν έχετε το νου σας σ' αυτήν τη λέξη-κλειδί.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_hu.html b/beta_04_hu.html new file mode 100644 index 000000000..c690be0f7 --- /dev/null +++ b/beta_04_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Változók megváltoztatása

+

A Rust nagy figyelmet fordít afelé, hogy mely változókat lehet megváltoztatni. Minden érték +kétféle kategóriába esik:

+
    +
  • megváltoztatható - a fordító megengedi, hogy az ilyen változókba való írást és a belőlük +való olvasást is.
  • +
  • megváltoztathatatlan - a fordító csak a változóból való olvasást engedi.
  • +
+

A megváltoztatható értékek a mut ("mutable", "megváltoztatható") kulcsszóval vannak jelölve.

+

A későbbiekben több szó is lesz majd erről a kulcsszóról, de egyelőre csak tartsd észben, hogy +létezik.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_id.html b/beta_04_id.html new file mode 100644 index 000000000..3d2bf9266 --- /dev/null +++ b/beta_04_id.html @@ -0,0 +1,53 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Merubah Variabel

+

Rust sangat peduli apakah variabel dapat dimodifikasi atau tidak. Nilai terdiri dari dua tipe:

+
    +
  • mutable - kompiler akan memperbolehkan variabel untuk dibaca dan di tulis.
  • +
  • immutable - kompiler hanya memperbolehkan variabel untuk dibaca.
  • +
+

Nilai yang dapat mungkin di rubah dilambangkan dengan kata kunci mut.

+

Kita akan berbicara lebih banyak tentang konsep ini nanti, untuk sekarang kita hanya memperhatikan kata kunci ini.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ie.html b/beta_04_ie.html new file mode 100644 index 000000000..670479ce8 --- /dev/null +++ b/beta_04_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Changear valores

+

Rust sucia se mult pri li valores queles es modificat. Valores possede du tipes:

  • mutabil - li loc in memorie posse esser inscrit e leet
  • ínmutabil - li loc in memorie posse esser solmen leet

On denota sempre li valores mutabil con li clave-parol mut

Pri to noi va parlar plu con detallies, ma por li momente ples solmen atenter pri ti-ci parol-clave quel monstra que un cose es modificabil

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_it.html b/beta_04_it.html new file mode 100644 index 000000000..0927794ed --- /dev/null +++ b/beta_04_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificare le Variabili

+

In Rust c'è una attenzione molto alta su cosa può cambiare valore. Le variabili infatti +possono dividersi in due categorie:

+
    +
  • mutabile - il compilatore permette di leggere e scrivere il contenuto della variabile
  • +
  • immutabile - il compilatore permette solo di leggere il contenuto della variabile.
  • +
+

I valori mutabili sono contraddistinti dalla parola chiave mut .

+

Approfondiremo questo concetto più avanti, ma per ora ricordati questa parola chiave.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ja.html b/beta_04_ja.html new file mode 100644 index 000000000..8f7f93925 --- /dev/null +++ b/beta_04_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

変数の変更

+

Rustは変数の変更についてとても配慮しています。値は 2 種類に分類されます。

+
    +
  • 可変 - コンパイラは変数の書き込みと読み込みを許可します。
  • +
  • 不変 - コンパイラは変数の読み込みだけを許可します。
  • +
+

可変値は mut キーワードで表します。

+

この概念については後で詳しく説明しますが、今のところはこのキーワードに注意してください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ko.html b/beta_04_ko.html new file mode 100644 index 000000000..d96f4e043 --- /dev/null +++ b/beta_04_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

변수의 값 변경하기

+

Rust는 어떤 변수가 변경 가능한지에 대해 굉장히 주의합니다. 값에는 다음의 두 가지가 있습니다:

+
    +
  • 변경 가능(mutable) - 컴파일러가 변수에 값이 씌어지고 읽혀지는 것을 허용함
  • +
  • 변경 불가(immutable) - 컴파일러가 변수의 값이 읽히는 것만 허용함
  • +
+

변경 가능(mutable)한 값은 mut 키워드로 표시합니다.

+

이 개념에 대해서는 나중에 더 얘기하겠지만, 일단은 이 키워드를 눈여겨 봅시다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ne.html b/beta_04_ne.html new file mode 100644 index 000000000..e2eccff40 --- /dev/null +++ b/beta_04_ne.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificarea variabilelor

+

De programmeertaal Rust hecht veel waarde aan welke variabelen kunnen worden gewijzigd. Variabelen vallen in twee categorieën:

+
    +
  • wijzigbaar (mutable) - de compiler staat de gebruiker toe om de waarde van dit type variabele te wijzigen en te lezen.
  • +
  • onveranderlijk (immutable) - de compiler staat de gebruiker alleen toe om de waarde van deze variabele te lezen. +Wijzigbare waarden worden gedeclareerd met behulp van het sleutelwoord mut. +We zullen later meer praten over dit concept, maar voor nu, wees gewoon opmerkzaam op dit sleutelwoord.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_pl.html b/beta_04_pl.html new file mode 100644 index 000000000..7b29c8f94 --- /dev/null +++ b/beta_04_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zmienianie Zmiennych

+

Rust skupia się mocno na tym jakie zmienne są mutowalne, czyli inaczej mówiąc zmienialne. Zmienne w Ruscie możemy podzielić na dwie grupy:

+
    +
  • mutowalne - kompilator pozwoli nam zarówno odczytywać jak i zapisywać dane do zmiennej
  • +
  • niemutowalne - kompilator pozwoli nam tylko odczytywać wartość zmiennej
  • +
+

Mutowalne zmienne muszą być opatrzone dodatkowym słowem kluczowym mut.

+

Póki co nie będziemy wchodzić głębiej w temat mutowalnych i niemutowalnych zmiennych, miej jednak oko na powyższe nowe słowo kluczowe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_pt-br.html b/beta_04_pt-br.html new file mode 100644 index 000000000..d8f5e5929 --- /dev/null +++ b/beta_04_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificando valores

+

Em Rust é importante levar em consideração quais valores serão alterados. Os valores se dividem em dois tipos:

+
    +
  • mutáveis - o compilador permitirá que a variável seja lida e gravada.
  • +
  • imutáveis - o compilador permitirá apenas a leitura da variável.
  • +
+

Valores mutáveis são marcados com a palavra-chave mut.

+

Temos muito a explicar ainda sobre este conceito, mas por enquanto apenas preste atenção nesta palavra-chave.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ro.html b/beta_04_ro.html new file mode 100644 index 000000000..fdfc4743b --- /dev/null +++ b/beta_04_ro.html @@ -0,0 +1,54 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modificarea variabilelor

+

Limbajul Rust ține foarte mult la ce variabile pot fi modificate. Variabilele +fac parte din două categorii:

+
    +
  • mutabile (mutable) - compilatorul va lăsa utilizatorul să modifice și să citească valoarea acestui tip de variabile.
  • +
  • imutabile (immutable) - compilatorul va lăsa utilizatorul doar să citească valoarea acestei variabile.
  • +
+

Valorile mutabile sunt declarate cu ajutorul cuvântului cheie mut.

+

O să revenim pentru a vorbi mai multe despre acest concept, dar deocamdată doar fiți atenți la acest cuvânt cheie.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ru.html b/beta_04_ru.html new file mode 100644 index 000000000..b4bab1b0f --- /dev/null +++ b/beta_04_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Изменение переменных

+

Rust уделяет много внимания тому, значения каких переменных можно изменять. Значение переменных бывают двух типов:

+
    +
  • mutable (изменяемые) - компилятор позволит писать в такую переменную новые значение и считывать значения из нее
  • +
  • immutable (не изменяемые) - компилятор позволит только читать значения из этой переменной
  • +
+

Изменяемые (Mutable) значения всегда помечены с помощью ключевого слова mut.

+

Мы поговорим об этой концепции, сейчас просто следите за этим ключевым словом.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_th.html b/beta_04_th.html new file mode 100644 index 000000000..855e72b82 --- /dev/null +++ b/beta_04_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การเปลี่ยนแปลงค่าในตัวแปร

+

Rust ให้ความใส่ใจเป็นอย่างยิ่งในเรื่องการแก้ไขค่าในตัวแปร จึงแบ่งประเภทการประกาศเป็นสองแบบ:

+
    +
  • mutable - แบบเปลี่ยนแปลงค่าได้ แบบนี้คอมไพเลอร์จะอนุญาตให้เขียนและอ่านค่าในตัวแปรได้
  • +
  • immutable - แบบเปลี่ยนแปลงค่าไม่ได้ แบบนี้คอมไพเลอร์จะอนุญาตให้อ่านค่าในตัวแปรได้เท่านั้น
  • +
+

ตัวแปรที่เปลี่ยนค่าได้ จะมีคีเวิร์ด mut

+

เราจะคุยเรื่องนี้กันอีกในภายหลัง แต่ตอนนี้แค่จับตาดูมันไว้ก่อนก็พอ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_tr.html b/beta_04_tr.html new file mode 100644 index 000000000..9407eb716 --- /dev/null +++ b/beta_04_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Değişkenlerin Değiştirilmesi

+

Rust hangi değişkenlerin değiştirilebilir olduğuna çok dikkat eder. İki tür değişken vardır:

+
    +
  • mutable - Derleyici bu tür değişkenlerin hem yazılmasına hem okunmasına izin verir.
  • +
  • immutable - Derleyici bu tür değişkenlerin sadece okunmasına izin verir. +Değişebilir değerler mut anahtar sözcüğü ile belirtilir.
  • +
+

İleride bu kavrama daha fazla değineceğiz. Ancak şu an için bu anahtar sözcüğe dikkat etmeniz yeterlidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_ua.html b/beta_04_ua.html new file mode 100644 index 000000000..bfd06e425 --- /dev/null +++ b/beta_04_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Змінюваність змінних

+

Rust дуже уважно слідкує за тими змінними, значення яких може змінюватися. Значення змінних поділяються на два типи:

+
    +
  • mutable (змінювані) - компілятор дозволить записувати значення в змінну і читати його звідти.
  • +
  • immutable (незмінювані) - компілятор дозволить тільки читати значення зі змінної. +Змінювані значення позначаються ключовим словом mut. +Пізніше ми розкажемо більше про цю концепцію, та на зараз ви маєте просто знати про існування цього ключового слова.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_vi.html b/beta_04_vi.html new file mode 100644 index 000000000..43f8f580d --- /dev/null +++ b/beta_04_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thay đổi biến

+

Rust để ý rất kỹ tới khi nào biến có thể thay đổi giá trị được. Chúng ta có hai trường hợp sau:

+
    +
  • mutable(có thể thay đổi được) - trình biên dịch sẽ cho phép biến được ghi vào và đọc từ đó.
  • +
  • immutable(không thể thay đổi được) - trình biên dịch sẽ chỉ cho phép biến được đọc từ đó.
  • +
+

Các giá trị có thể thay đổi được biểu thị bằng từ khóa mut.

+

Còn nhiều điều để nói về vấn đề này lắm đấy, tuy nhiên trước tiên thì hãy để ý tới những từ khóa này đã.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_zh-cn.html b/beta_04_zh-cn.html new file mode 100644 index 000000000..5670b5ccd --- /dev/null +++ b/beta_04_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

修改变量

+

Rust 非常关心哪些变量是可修改的。值分为两种类型:

+
    +
  • 可变的 - 编译器允许对变量进行读取和写入。
  • +
  • 不可变的 - 编译器只允许对变量进行读取。
  • +
+

可变值用 mut 关键字表示。

+

关于这个概念,我们之后还会有更多的内容,但是眼下请谨记这个关键字即可。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_04_zh-tw.html b/beta_04_zh-tw.html new file mode 100644 index 000000000..2e92e4e1d --- /dev/null +++ b/beta_04_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

改變變數的值

+

Rust 語言非常看重變量的可改變性,變量的可改變性分為以下兩種:

+
    +
  • 可改變 (mutable) - 編譯器容許此變量被寫入和讀取。
  • +
  • 不可改變 (immutable) - 編譯器只容許此變量被讀取
  • +
+

可改變的變量用 mut 關鍵字來標明。 +稍後我們將在這個概念上有更多的探討,但是現在暫時將它放在一旁吧。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_al.html b/beta_05_al.html new file mode 100644 index 000000000..437397329 --- /dev/null +++ b/beta_05_al.html @@ -0,0 +1,68 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipet Bazike

+

Rust ka një sërë llojesh të njohura:

+
    +
  • booleans - bool për paraqitjen e vërtetë/false

  • +
  • numra të plotë të panënshkruar - u8 u16 u32 u64 u128 për përfaqësim +numra të plotë jonegativë

  • +
  • numra të plotë të nënshkruar - i8 i16 i32 i64 i128 për përfaqësimin e numrave të plotë

  • +
  • Numrat e plotë të madhësisë së treguesit - usize isize për paraqitjen e indekseve

    +

    dhe madhësive të gjërave në kujtesë

  • +
  • pikë lundruese - f32 f64

  • +
  • karaktere - char për përfaqësimin e një karakteri të vetëm Unicode

  • +
  • tuple - (vlera, vlera, ...) për kalimin e sekuencave fikse të vlerave në +rafte

  • +
  • vargje - [vlera, vlera, ...] një koleksion elementësh të ngjashëm me fikse +gjatësia e njohur në kohën e përpilimit

  • +
  • slices - një koleksion elementësh të ngjashëm me gjatësi të njohur në kohën e ekzekutimit

  • +
  • str (prerja e vargut) - tekst me një gjatësi të njohur në kohën e ekzekutimit

    +

    Teksti mund të jetë më kompleks se sa jeni mësuar në gjuhë të tjera;

    +

    meqenëse Rust është një gjuhë programimi e sistemit, ajo kujdeset për kujtesën

    +

    çështje me të cilat mund të mos jeni mësuar. Ne do të hyjmë në këtë në detaje më vonë.

    +

    Llojet numerike mund të specifikohen në mënyrë eksplicite duke i bashkangjitur tipit në fund +të numrit (p.sh. "13u32", "2u8").

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ar.html b/beta_05_ar.html new file mode 100644 index 000000000..caa2a7a66 --- /dev/null +++ b/beta_05_ar.html @@ -0,0 +1,64 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الأنواع الأساسية

+

رست (Rust) لديها مجموعة متنوعة من الأنواع المألوفة:

+
    +
  • القيم المنطقية (booleans) - bool من أجل تمثيل قيمة صحيح أو خطأ
  • +
  • الأعداد الصحيحة بدون إشارة (unsigned integers) - يرمز لها بـ u8 u16 u32 u64 u128 وتمثل كل الأعداد الغير سالبة (الأعداد الموجبة).
  • +
  • الأعداد الصحيحة بإشارة (signed integers) - يرمز لها بـ i8 i16 i32 i64 i128 وتمثل كل الأعداد.
  • +
  • الأعداد الصحيحة بحجم المؤشر (pointer-sized integers) - يرمز لها بـ isize usize وهي لتمثيل الفهارس وأحجام الأشياء في الذاكرة، وللفهم أكثر فإن size هنا تتغير عند ترجمة البرنامج (compiling) حسب بنية النظام فهي تأخذ قيمة 32 بت (usize = u32) في البرامج الموجه للحواسب x86 و تأخذ قيمة 64 بت (usize = u64) في البرامج الموجهة للحواسب x86_64، إذن usize تضمن حجز الحجم الكافي في الذاكرة لأي مؤشر حسب بنية البيانات.
  • +
  • الأعداد العشرية (floating point) - يرمز لها بـ f32 f64 تمثل كل الأعداد التي تملك قسمًا عشريًا إضافةً إلى القسم الصحيح.
  • +
  • الصفوف (tuples) - تكتب بهذا الشكل (value, value, ...) هي مجموعة متسلسة ثابة من القيم بأنواع مختلفة والتي تمرر الى المكدس (Stack).
  • +
  • المصفوفات (arrays) - تكتب بهذا الشكل [value, value, ...] هي مجموعة متسلسة من العناصر متشابهة الأنواع وبطول ثابت ومعلوم أثناء الترجمة (compile time).
  • +
  • الشرائح (slices) - هو مفهوم يعبر عن مجموعة متسلسة من العناصر متشابهة الأنواع وبطول ثابت ومعلوم أثناء تشغيل البرنامج (runtime).
  • +
  • الشرائح النصية (string slice) - يرمز لها بـ str وهي نص (كل حرف يمثل شريحة) بطول معلوم أثناء تشغيل البرنامج (runtime).
  • +
+

قد يكون النص في لغة رست (Rust) أكثر تعقيدًا مما اعتدت عليه في اللغات الأخرى؛ نظرا لأن رست (Rust) هي لغة برمجة أنظمة، فهو يهتم بمشاكل الذاكرة التي قد لا تكون معتادًا عليها. وسنتناول هذا بالتفصيل لاحقًا.

+

وكمعلومة إضافية فإنه بالإمكان تحديد نوع المتغير عندما يكون من الانواع الرقمية (Numeric types) عن طريق إضافة النوع في نهاية قيمة العدد (مثال: 13u32, 2u8).

+

معلومات أخرى:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_de.html b/beta_05_de.html new file mode 100644 index 000000000..502b81c62 --- /dev/null +++ b/beta_05_de.html @@ -0,0 +1,65 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basistypen

+

Rust besitzt eine vielzahl an bekannten Datentypen

+
    +
  • booleans - bool für true/false bzw. wahr/falsch Werte
  • +
  • unsigned integers - u8 u32 u64 für positive Ganzzahlen (inkl. 0 für die Mathematiker)
  • +
  • signed integers - i8 i32 i64 für vorzeichenbehaftete Ganzzahlen
  • +
  • pointer sized integers - usize isize für Indizes und Größen im Speicher
  • +
  • floating point - f32 f64 für Dezimalzahlen
  • +
  • tuple - (Wert, Wert, ...) um festgelegte Sequenzen von Werten auf dem Stack zu speichern
  • +
  • arrays - [Wert, Wert, ...]eine Kollektion von ähnlichen Elementen mit zur Compile-Zeit festgelegter Länge
  • +
  • slices - eine Kollektion von ähnlichen Elementen mit Länge bekannt zur Laufzeit
  • +
  • str (string slice) - Text mit zur Laufzeit bekannter Länge
  • +
+

Wir sehen schon, dass es einiges zum Anpacken geben wird!

+

Eine Warnung vorweg: Text wird etwas komplexer sein als du es vielleicht von anderen +Programmiersprachen gewohnt bist, da Rust eine Systemprogrammiersprache ist und daher mehr +auf effektives Speichermanagement fokussiert. Keine Panik auf der Titanic aber, wir werden unser +Bestes geben, dich darauf vorzubereiten!

+

Noch ein Hinweis: Numerische Datentypen können auch nach dem Zahlenliteral spezifiziert werden +(z.B. 13u32)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_en.html b/beta_05_en.html new file mode 100644 index 000000000..bea689fa2 --- /dev/null +++ b/beta_05_en.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Types

+

Rust has a variety of familiar types:

+
    +
  • booleans - bool for representing true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 for representing nonnegative whole numbers
  • +
  • signed integers - i8 i16 i32 i64 i128 for representing whole numbers
  • +
  • pointer sized integers - usize isize for representing indexes +and sizes of things in memory
  • +
  • floating point - f32 f64
  • +
  • characters - char for representing a single Unicode character
  • +
  • tuple - (value, value, ...) for passing fixed sequences of values on the stack
  • +
  • arrays - [value, value, ...] a collection of similar elements with fixed length known at compile time
  • +
  • slices - a collection of similar elements with length known at runtime
  • +
  • str(string slice) - text with a length known at runtime
  • +
+

Text might be more complex than you are used to in other languages; +since Rust is a system programming language, it cares about memory +issues you might not be used to. We will be going into this in detail later.

+

Numeric types can be explicitly specified by appending the type to the end of the number (e.g. 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_es.html b/beta_05_es.html new file mode 100644 index 000000000..bfcfd3816 --- /dev/null +++ b/beta_05_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipos Básicos

+

Rust tiene una variedad de tipos que puede que te resulten familiares:

+
    +
  • booleanos - bool para representar verdadero/falso.
  • +
  • números enteros sin signo - u8 u32 u64 u128 para representar números enteros positivos.
  • +
  • números enteros con signo - i8 i32 i64 i128 para representar números enteros positivos y negativos.
  • +
  • números enteros de tamaño de puntero - usize isize se usan para representar índices y tamaños de elementos en memoria.
  • +
  • números en coma flotante - f32 f64.
  • +
  • En relación a textos - str char.
  • +
  • tuplas - (valor,valor,...) para pasar secuencias fijas de valores en la pila.
  • +
  • slices - &[T] para referenciar “vistas” en secuencias de valores en la memoria.
  • +
+

Profundizaremos en algunos más adelante.

+

Advertencia: los formatos de texto pueden ser más complejos de lo que estás acostumbrado en otros lenguajes, ya que Rust es un lenguaje de programación de sistemas, está orientado a gestionar los problemas de la memoria, algo a lo que puedes no estar acostumbrado. Entraremos en detalles sobre los textos más tarde.

+

Observa cómo los tipos numéricos pueden especificarse explícitamente añadiendo el tipo al final del número (por ejemplo, 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_fa.html b/beta_05_fa.html new file mode 100644 index 000000000..9f14f8834 --- /dev/null +++ b/beta_05_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Types

+

Rust has a variety of familiar types:

+
    +
  • booleans - bool for representing true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 for representing positive whole numbers
  • +
  • signed integers - i8 i16 i32 i64 i128 for representing positive/negative whole numbers
  • +
  • pointer sized integers - usize isize for representing indexes +and sizes of things in memory
  • +
  • floating point - f32 f64
  • +
  • tuple - (value, value, ...) for passing fixed sequences of values on the stack
  • +
  • arrays - [value, value, ...] a collection of similar elements with fixed length known at compile time
  • +
  • slices - a collection of similar elements with length known at runtime
  • +
  • str(string slice) - text with a length known at runtime
  • +
+

Text might be more complex than you are used to in other languages; +since Rust is a system programming language, it cares about memory +issues you might not be used to. We will be going into this in detail later.

+

Numeric types can be explicitly specified by appending the type to the end of the number (e.g. 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_fi.html b/beta_05_fi.html new file mode 100644 index 000000000..e27916d48 --- /dev/null +++ b/beta_05_fi.html @@ -0,0 +1,61 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Perustietotyypit

+

Rustissa on paljon tuttuja tietotyyppejä:

+
    +
  • totuusarvot - bool joka edustaa tilaa totta/ei-totta, true/false
  • +
  • etumerkittömät kokonaisluvut - u8 u16 u32 u64 u128, joihin voi sijoittaa vain positiivisia kokonaislukuja
  • +
  • etumerkilliset kokonaisluvut - i8 i16 i32 i64 i128, joihin voi voi sijoittaa myös negatiivisia kokonaislukuja
  • +
  • osoittimen kokoiset kokonaisluvut - usize isize, joilla voi osoittaa muistissa olevia yksiköitä tai säilöä suurimman mahdollisen taulukon indeksin
  • +
  • liukuluvut - f32 f64
  • +
  • tuple - (value, value, ...), jolla voi välittää ryhmän arvoja pinossa
  • +
  • taulukko - [value, value, ...] ryhmä samanlaisia elementtejä, joiden tarkka koko on tunnettu käännösaikana
  • +
  • viipale - ryhmä samanlaisia elementtejä, joiden koko on tunnettu käännösaikana
  • +
  • str(merkkijonoviipale) - tekstiä, jonka pituus on tunnettu käännösaikana
  • +
+

Merkkijonojen käsittely voi olla monimutkaisempaa kuin mihin olet tottunut muissa ohjelmointikielissä; +Koska Rust on systeemiohjelmointikieli, se pitää huolta muistin käytöstä enemmän kuin mihin olet ehkä tottunut. Palaamme tähän yksityiskohtaan myöhemmin.

+

Numeerinen tyyppi voidaan tarvittaessa tarkentaa lisäämällä tyyppi numeron perään (esimerkiksi 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_fr.html b/beta_05_fr.html new file mode 100644 index 000000000..de2135442 --- /dev/null +++ b/beta_05_fr.html @@ -0,0 +1,65 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Types primitifs

+

Rust possède une variété de types primitifs dont certains te seront certainement famillier:

+
    +
  • booléens - bool pour représenter vrai/faux
  • +
  • entiers non signés - u8 u32 u64 u128 pour représenter les entiers positifs
  • +
  • entiers signés - i8 i32 i64 i128 pour représenter les entiers positifs et négatifs
  • +
  • entiers de taille de pointeur - usize isize pour représenter les indices +et tailles des éléments en mémoire
  • +
  • nombre réel à virgule flottante - f32 f64 pour représenter notamment les nombres rationnels
  • +
  • tuple - (valeur, valeur, ...) pour passer une séquence finie de valeurs sur la pile
  • +
  • tableaux - [valeur, valeur, ...] une collection d'éléments de même type dont la taille est +fixe (déterminée à la compilation)
  • +
  • slices - similaire aux tableaux à l'exception que la taille est redimensionable
  • +
  • chaîne de caractères - str pour représenter une suite de caractères
  • +
+

Les chaînes de caractères peuvent être plus complexes comparées aux autres langages de programmation, +étant donné que Rust est un langage de programmation système, il est sensible aux problèmes +de mémoire que tu n'es peut-être pas habitué à traiter. Nous reviendrons sur ce sujet un peu plus tard.

+

Les types numériques peuvent être explicitement spécifiés en ajoutant le type après +le nombre (ex. 13u32, 2u8)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_gr.html b/beta_05_gr.html new file mode 100644 index 000000000..a54fcaaf1 --- /dev/null +++ b/beta_05_gr.html @@ -0,0 +1,60 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Βασικοί τύποι

+

Η Rust έχει μία ποικιλία γνωστών τύπων:

+
    +
  • Λογικές μεταβλητές - bool για την εκπροσώπηση τιμών «αληθές» ή «ψευδές»
  • +
  • Απροσήμαστους ακεραίους - u8 u16 u32 u64 u128 για την εκπροσώπηση μη-αρνητικών ακεραίων τιμών
  • +
  • Προσημασμένους ακεραίους - i8 i16 i32 i64 i128 Για την εκπροσώπηση ακεραίων τιμών γενικότερα
  • +
  • Ακεραίους μεγέθους δείκτη - usize isize για την εκπροσώπηση δεικτών και του μεγέθους πραγμάτων στη μνήμη
  • +
  • Κινητής υποδιαστολής - f32 f64
  • +
  • Πολλάδες - (τιμή, τιμή, ...) για τη μετάδοση συγκεκριμένων ακολουθιών τιμών στη στοίβα
  • +
  • Πίνακες - [τιμή, τιμή, ...] συλλογές ομοειδών στοιχείων με σταθερό μήκος γνωστό την ώρα της μετάφρασης
  • +
  • φέτες - Συλλογές ομοειδών στοιχείων με αυθαίρετο μήκος γνωστό την ώρα που τρέχει το πρόγραμμα
  • +
  • str(φέτα συμβολοσειράς) - Κείμενο με μήκος γνωστό την ώρα που τρέχει το πρόγραμμα
  • +
+

Ο χειρισμός του κειμένου μπορεί να 'ναι πιο πολύπλοκος απ' όσο έχετε ίσως συνηθίσει σε άλλες γλώσσες· καθώς η Rust είναι γλώσσα προγραμματισμού συστημάτων, νοιάζεται για θέματα μνήμης που μπορεί να μην έχετε συνηθίσει. Θα το αναλύσουμε αυτό λεπτομερέστερα αργότερα.

+

Ο ακριβής τύπος μίας αριθμητικής τιμής μπορεί να οριστεί ρητά επιθέτοντας τον τύπο στο τέλος της, πχ 13u32 ή 2u8 ή 1.0f64.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_hu.html b/beta_05_hu.html new file mode 100644 index 000000000..48c211ec1 --- /dev/null +++ b/beta_05_hu.html @@ -0,0 +1,72 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Alapvető típusok

+

A Rust sokféle, valószínűleg már ismert típust különböztet meg:

+
    +
  • boolean - bool igaz és hamis értékekhez
  • +
  • előjel nélküli egészek - u8 u16 u32 u64 u128 nemnegatív egész +számok kifejezésére
  • +
  • előjeles egészek - i8 i16 i32 i64 i128 egész számok kifejezésére
  • +
  • mutató méretű egészek - usize isize tömbök indexeinek és a memóriában +tárolt dolgok méretének tárolására
  • +
  • lebegőpontos törtek - f32 f64
  • +
  • tuple-k [1] - (érték, érték, ...) meghatározott hosszú és típusú +értékek a veremben való eltárolására szánt gyűjtemény
  • +
  • tömbök - [érték, érték, ...] ugyanolyan típusú értékek fordításkor is +ismert hosszal rendelkező gyűjteménye
  • +
  • szeletek - ugyanolyan típusú értékek futáskor ismert hosszal rendelkező +gyűjteménye
  • +
  • str (szöveg szelet) - szöveg, melynek a hosszát csak futáskor ismerjük
  • +
+

A szövegek kezelése kicsit bonyultabb, mint ahogy azt más nyelvekben megszokhattad. Mivel a Rust +egy alacsony-szintű programozási nyelv, így fontosnak tartja az olyan memória-hibák elkerülését +is, amikre esetleg eddig nem is gondoltál. De erről majd később.

+

A számértékek típusait explicit módon is meg lehet adni azzal, hogy a szám végére illesztjük +annak típusát (pl.: 13u32, 2u8).

+

[1]: A tuple magyar megfelelője az ú.n. "rendezett n-es", ám mivel ez borzasztó hülyén néz +ki programozós kontextusban és a tuple annyira elterjedt kfiejezés, hogy a kedves olvasó +valószínűleg eddig is ismerte már, így ebben a könyvben fordítatlanul fogom hagyni. -- A +fordító

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_id.html b/beta_05_id.html new file mode 100644 index 000000000..c22dd3216 --- /dev/null +++ b/beta_05_id.html @@ -0,0 +1,63 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipe Data Dasar

+

Rust mempunyai berbagai jenis tipe data:

+
    +
  • booleans - bool untuk menyatakan true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 untuk menyatakan integer positif
  • +
  • signed integers - i8 i16 i32 i64 i128 untuk menyatakan integer positif/negatif
  • +
  • pointer sized integers - usize isize untuk menyatakan index dan ukuran dari hal-hal di memori
  • +
  • floating point - f32 f64
  • +
  • tuple - (value, value, ...) untuk mewakili urutan nilai yang bersifat tetap pada stack
  • +
  • arrays - [value, value, ...] koleksi dari elemen serupa dengan lebar yang di diketahui saat waktu kompilasi
  • +
  • slices - koleksi dari elemen serupa dengan lebar yang diketahui pada saat program berjalan
  • +
  • str(string slice) - teks dengan lebar yang diketahui saat program berjalan
  • +
+

Teks mungkin lebih kompleks dari yang bahasa pemprograman lain; +Karena rust adalah system programming language, maka rust peduli pada +masalah memory yang kamu mungkin belum terbiasa. Kita akan membahas hal ini +secara rinci nanti.

+

Tipe data numerik dapat secara explisit ditetapkan dengan menambahkan tipe di akhir angka (contoh 13u32, 2u8)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ie.html b/beta_05_ie.html new file mode 100644 index 000000000..2cd933e3b --- /dev/null +++ b/beta_05_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic tipes

+

Rust possede un varietá de tipes familiari

  • booleanes - bool por representar true/false (ver/fals)
  • unsigned integers (integrales ínsignat) - u8u32u64u128 por representar integrales positiv
  • signed integers (integrales signat) - i8i32i64i128 por representar integrales sive positiv sive negativ
  • pointer sized integers (integrales con puntator-mesurat grandore) - usizeisize por representar indexes e grandores de coses in memorie
  • floating point (punctu flottant) - f32f64
  • con relation a textu - strchar
  • tuple - (value, value,...) por passar fixat sequenties de valore sur li stack (li cumul)
  • slices (tranches) - &[T] por referer visus ad-in sequenties de valores in memorie

Noi va parlar pri alcunes ex ili plu detalliatmen plu tard.

Un avise in prim: textu va posser esser plu complicat quam tui experientie con altri lingues, pro que Rust es un lingue de programmation por sistemas quel orienta se pri problemas de memorie con quel fórsan tu ne ha experientie. Noi va parlar plu detalliatmen pri textu plu tard.

Nota qualmen on posse explicitmen specificar tipes numeric per afixar li tip directmen pos li numeró (p.e. 13u32)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_it.html b/beta_05_it.html new file mode 100644 index 000000000..e87da009d --- /dev/null +++ b/beta_05_it.html @@ -0,0 +1,62 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipi di dato basilari

+

Rust ha molti tipi familiari:

+
    +
  • booleani - bool per rappresentare stati true/false
  • +
  • interi senza segno - u8 u16 u32 u64 u128 per rappresentare numeri interi positivi
  • +
  • interi con segno - i8 i16 i32 i64 i128 per rappresentare numeri interi
  • +
  • interi di dimensione puntatore - usize isize per rappresentare indici e dimensioni di cose in memoria
  • +
  • numeri a virgola mobile - f32 f64
  • +
  • tuple - (valore, valore, ...) per passare sequenze di valori sullo stack
  • +
  • array - [valore, valore, ...] un elenco a lunghezza fissa di elementi dello stesso tipo
  • +
  • slice - un elenco a lunghezza variabile di elementi dello stesso tipo
  • +
  • str(string slice) - stringa di testo con lunghezza conosciuta
  • +
+

La gestione del testo potrebbe essere più complessa di quella in cui sei abituato in altri linguaggi; +dato che Rust è un linguaggio di programmazione di sistema, gestisce problemi di memoria a cui potresti +non essere abituato. Approfondiremo questo aspetto più avanti.

+

Per i numeri, il tipo può essere esplicitato aggiungendo un suffisso al numero stesso, per esempio 13u32 o 2u8.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ja.html b/beta_05_ja.html new file mode 100644 index 000000000..31df32a7e --- /dev/null +++ b/beta_05_ja.html @@ -0,0 +1,61 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本的な型

+

Rustにはよく知られた様々な型があります。

+
    +
  • ブール型 - bool は true または false を表します
  • +
  • 符号なし整数型 - u8 u32 u64 u128 は正の整数を表します
  • +
  • 符号付き整数型 - i8 i32 i64 i128 は正と負の整数を表します
  • +
  • ポインタサイズ整数型 - usize isize はメモリ内のインデックスとサイズを表します
  • +
  • 浮動小数点数型 - f32 f64
  • +
  • タプル型 - (value, value, ...) スタック上の固定された値の組を渡すために使用されます
  • +
  • 配列型 - コンパイル時に長さが決まる同じ要素のコレクション
  • +
  • スライス型 - 実行時に長さが決まる同じ要素のコレクション
  • +
  • str(string slice) - 実行時に長さが決まるテキスト
  • +
+

Rust はシステムプログラミング言語であるため、他の言語よりも複雑かもしれません。あまり意識しなかったようなメモリの問題を扱います。 +これについては後ほど詳しく説明します。

+

数値型は、数値の最後に型を付加することで明示的に指定できます。(例: 13u32, 2u8

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ko.html b/beta_05_ko.html new file mode 100644 index 000000000..809806481 --- /dev/null +++ b/beta_05_ko.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

기본 자료형

+

Rust에는 다양하지만 익숙한 자료형들이 있습니다:

+
    +
  • 부울 값 - 참/거짓 값을 나타내는 bool
  • +
  • 부호가 없는 정수형 - 양의 정수를 나타내는 u8 u16 u32 u64 u128
  • +
  • 부호가 있는 정수형 - 양/음의 정수를 나타내는 i8 i16 i32 i64 i128
  • +
  • 포인터 사이즈 정수 - 메모리에 있는 값들의 인덱스와 크기를 나타내는 usize isize
  • +
  • 부동 소수점 - f32 f64
  • +
  • 튜플(tuple) - stack에 있는 값들의 고정된 순서를 전달하기 위한 (값, 값, ...)
  • +
  • 배열(array) - 컴파일 타임에 정해진 길이를 갖는 유사한 원소들의 모음(collection)인 [값, 값, ...]
  • +
  • 슬라이스(slice) - 런타임에 길이가 정해지는 유사한 원소들의 collection
  • +
  • str(문자열 slice) - 런타임에 길이가 정해지는 텍스트
  • +
+

텍스트는 다른 익숙한 언어에서보다 복잡한데, 이는 Rust가 시스템 프로그래밍 언어이며 +여러분이 지금까지 익숙하지 않았을 메모리 문제에 신경쓰기 때문입니다. +이에 대해서는 나중에 더 자세히 다루겠습니다.

+

숫자형 자료형들은 숫자 뒤에 자료형 이름을 붙여 명시적으로 지정할 수 있습니다 (예: 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ne.html b/beta_05_ne.html new file mode 100644 index 000000000..3d7bfc691 --- /dev/null +++ b/beta_05_ne.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basisdatatypes

+

Rust heeft een verscheidenheid aan datatypes die u bekend zullen voorkomen:

+
    +
  • booleaanse variabele - bool om waar en onwaar te vertegenwoordigen

  • +
  • ongesigneerde gehele getallen - u8 u16 u32 u64 u128 om natuurlijke getallen voor te stellen

  • +
  • getallen met teken - i8 i16 i32 i64 i128 om gehele getallen voor te stellen

  • +
  • gehele getallen van de grootte van een pointer - usize isize om indexen

    +

    en geheugengrootte voor te stellen

  • +
  • komma getallen - f32 f64 om reële getallen voor te stellen

  • +
  • tupel - (waarde, waarde, ...) voor het doorgeven van vaste sequenties van waarden op de stack

  • +
  • array - [waarde, waarde, ...] een verzameling van elementen van hetzelfde type; de grootte van de verzameling is vast en wordt alleen bij compilatie bekend.

  • +
  • slice - een deel van een verzameling elementen van hetzelfde type; de grootte van het deel wordt pas tijdens de uitvoering bekend

  • +
  • str (reeks van tekens) - tekst van bekende lengte tijdens uitvoering +De syntaxis kan complexer zijn in Rust in vergelijking met andere programmeertalen waaraan u gewend bent; +gezien het feit dat Rust een systeemprogrammeertaal is, geeft het om geheugenkwesties waar u mogelijk +niet aan gewend bent. We zullen hier later dieper op ingaan. +Numerieke types kunnen expliciet worden gespecificeerd door het type aan het einde van het nummer toe te voegen (bijv. 13u32, 2u8).

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_pl.html b/beta_05_pl.html new file mode 100644 index 000000000..f2ceec4d7 --- /dev/null +++ b/beta_05_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Podstawowe Typy

+

W Ruscie mamy do dyspozycji całą gamę popularnych typów:

+
    +
  • boolowski typ logiczny - bool, służący przedstawianiu wartości prawda/fałsz (ang. true/false)
  • +
  • liczby całkowite bez znaku (ang. unsigned integers) - u8 u16 u32 u64 u128, przedstawiające nieujemne liczby całkowite
  • +
  • liczby całkowite ze znakiem (ang. signed integers) - i8 i16 i32 i64 i128, przedstawiające liczby całkowite
  • +
  • liczby całkowite wielkości wskaźnika (ang. pointer size numbers) - usize isize, używane do przedstawiania indeksów oraz wielkości rozmaitych rzeczy w pamięci
  • +
  • liczby zmiennoprzecinkowe (ang. floating point numbers) - f32 f64
  • +
  • krotki (ang. tuple) - (wartość, wartość, ...) służące do zapisywania sekwencji o stałej długości na stosie
  • +
  • tablice (ang. array) - [wartość, wartość, ...] kolekcja podobnych elementów, której długość jest stała i znana na etapie kompilacji
  • +
  • typ slice - kolekcja podobnych elementów której długość jest znana na etapie wykonywania programu
  • +
  • str (ang. string slice) - tekst którego długość jest znana na etapie wykonywania programu
  • +
+

Sprawa reprezentowania tekstu może sprawić więcej problemu w Ruscie niż w innych językach; ze względu na bycie językiem systemów, Rust przykłada dużą wagę do kwestii zarządzania pamięcią które mogą być Ci obce. Przyjrzymy się tej kwestii w późniejszych rozdziałach.

+

Typy liczbowe mogą być wyraźnie zaznaczone poprzez dopisanie odpowiedniego oznaczenia na końcu danej liczby (np. 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_pt-br.html b/beta_05_pt-br.html new file mode 100644 index 000000000..90841cdc7 --- /dev/null +++ b/beta_05_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipos básicos

+

Rust tem uma variedade tipos que lhe serão familiares:

+
    +
  • booleanos - bool para representar verdadeiro/falso
  • +
  • números inteiros sem sinal - u8 u32 u64 u128 para representar números inteiros não negativos
  • +
  • números inteiros com sinal - i8 i32 i64 i128 para representar números inteiros positivos e negativos
  • +
  • ponteiros de números inteiros - usize isize para representar índices e o comprimento de coleções em memória
  • +
  • números de ponto flutuante - f32 f64
  • +
  • tuplas - (value, value, ...) para passar sequências de valores fixas para a pilha
  • +
  • matriz - uma coleção de elementos similares com comprimento fixo conhecidos em tempo de compilação
  • +
  • slices - uma coleção de elementos similares com comprimento conhecido em tempo de execução
  • +
  • str (string slice) - texto com comprimento conhecido em tempo de execução
  • +
+

Formatos de texto podem ser mais complexos do que você está acostumado com outras linguagens. Uma vez que o Rust é uma linguagem de programação de sistemas, ele cuida do gerenciamento de memória de uma maneira que pode não estar familiarizado. Entraremos em detalhes mais adiante.

+

Tipos numéricos podem ser especificados explicitamente adicionando o tipo ao final do número (por exemplo: 13u32, 2u8)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ro.html b/beta_05_ro.html new file mode 100644 index 000000000..f3a66dac2 --- /dev/null +++ b/beta_05_ro.html @@ -0,0 +1,64 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipuri de date de bază

+

Rust are o varietate de tipuri de date familiare dumneavoastră:

+
    +
  • variabilă booleană - bool pentru a reprezenta adevărat și fals
  • +
  • numere întregi fără semn - u8 u16 u32 u64 u128 pentru a reprezenta numere naturale
  • +
  • numere întregi cu semn - i8 i16 i32 i64 i128 pentru a reprezentare numere întregi
  • +
  • numere întregi de dimensiunea unui pointer - usize isize pentru a reprezenta indici +și dimensiunea datelor în memorie
  • +
  • numere cu virgulă mobilă - f32 f64 pentru a reprezenta numere reale
  • +
  • caractere - char pentru reprezentarea unui singur caracter Unicode
  • +
  • tuplu - (valoare, valoare, ...) pentru trecerea unor secvențe fixe de valori pe stivă
  • +
  • tablou - [valoare, valoare, ...] o colecție de elemente de același tip; dimensiunea colecției este fixă și devine cunoscută doar în momentul compilării
  • +
  • parte (slice) - o parte dintr-o colecție de elemente de același tip; dimensiunea părții devine cunoscută doar în timpul rulării
  • +
  • str (string slice) - text de lungime cunoscută în timpul rulării
  • +
+

Sintaxa s-ar putea să fie mai complexă în Rust față de alte limbaje de programare cu care sunteți obișnuiți; +având în vedere că Rust este un limbaj de programare pentru sisteme, îi pasă de problemele +de memorie cu care s-ar putea să nu fiți obișnuiți. O să aprofundăm aceste lucruri mai târziu.

+

Tipurile numerice pot fi specificate explicit prin adăugarea tipului la finalul numărului (ex: 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ru.html b/beta_05_ru.html new file mode 100644 index 000000000..444c3801e --- /dev/null +++ b/beta_05_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Базовые типы (Basic Types)

+

В Rust много знакомых типов:

+
    +
  • булевый - bool представляет true/false
  • +
  • без знаковые целочисленные - u8 u16 u32 u64 u128 представляют только положительные числа
  • +
  • знаковые целочисленные - i8 i16 i32 i64 i128 представляют положительные и отрицательные числа
  • +
  • целочисленные для размеров указателей - usize, isize для представления индексов и размеров элементов в памяти
  • +
  • числа с плавающей точкой - f32 f64
  • +
  • кортежи - (значение,значение,...) представляют фиксированную последовательность из разных типов значений, размещаются на стеке
  • +
  • массивы - [значение, значение, ...] представляют последовательность элементов одного типа, имеющий фиксированный размер известный на стадии компиляции.
  • +
  • срезы (slices) - коллекция одинаковых элементов с длиной, известной во время выполнения
  • +
  • строковый срез str ( string slice ) - текст с размером определяемым во время выполнения
  • +
+

Справедливое предупреждение: на других языках текст может быть сложнее, чем вы привыкли. Rust - язык системного программирования, ориентированный на решение проблем памяти, с которыми вы, возможно, не сталкивались. Мы поговорим о текстовых данных позже.

+

Числовые типы могут быть явно объявлены с указанным типом, если явно добавить тип у числа (пример: 13u32, 2u8)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_th.html b/beta_05_th.html new file mode 100644 index 000000000..2fd8cd45b --- /dev/null +++ b/beta_05_th.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Types พื้นฐาน

+

Rust มี type ที่เราคุ้นเคยอยู่หลายตัว:

+
    +
  • booleans - bool สำหรับค่า true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 สำหรับตัวเลขทั้งหมดที่มีค่าเป็นบวก
  • +
  • signed integers - i8 i16 i32 i64 i128 สำหรับตัวเลขทั้งหมด
  • +
  • pointer sized integers - usize isize สำหรับค่าดัชนี(index) และขนาดของ ของในหน่วยความจำ
  • +
  • floating point - f32 f64
  • +
  • tuple - (value, value, ...) สำหรับส่งของตามลำดับบน stack
  • +
  • arrays - [value, value, ...] กลุ่มข้อมูลประเภทเดียวกันที่รู้ขนาดที่แน่นอนตั้งแต่ compile time
  • +
  • slices - กลุ่มข้อมูลประเภทเดียวกันที่รู้ขนาดที่แน่นอนเมื่อตอน runtime
  • +
  • str(string slice) - ข้อความ ที่รู้ขนาดที่แน่นอนเมื่อตอน runtime
  • +
+

เรื่องประเภทข้อมูลแบบข้อความ อาจจะมีความซับซ้อนมากกว่าที่คุณเคยรู้ในภาษาอื่น; เนื่องจากว่า Rust เป็นภาษา system programming language +จึงให้ความสำคัญกับปัญหาในเรื่องหน่วยความจำที่คุณอาจจะยังไม่คุ้นเคย ซึ่งเราจะลงในรายละเอียดเพิ่มเติมกันภายหลัง

+

ตัวแปรประเภทตัวเลขทั้งหลาย สามารถระบุความชัดเจนให้มันได้ด้วยการเติมประเภทต่อท้ายตัวเลข (เช่น 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_tr.html b/beta_05_tr.html new file mode 100644 index 000000000..50c877aa9 --- /dev/null +++ b/beta_05_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Temel Türler

+

Rust'ta aşina olduğunuz pek çok tür yer almaktadır:

+
    +
  • Mantıksal veri türü - bool sadece true/false olabilecek bir değeri temsil eder.
  • +
  • İşaretsiz tam sayılar - u8 u32 u64 u128 bit boyutlu (0/+) tam sayı değerlerini temsil eder.
  • +
  • İşaretli tam sayılar - i8 i32 i64 i128 bit boyutlu (-/+) işaretli tam sayı değerlerini temsil eder.
  • +
  • İşaretçi boyutlu tam sayılar - usize isize işaretçi boyutunda işaretsiz ve işaretli tam sayı türlerini temsil eder.
  • +
  • Kayan noktalı sayılar - f32 f64 32 bit ve 64 bit boyutlarında kayan noktalı sayıları temsil eder.
  • +
  • Çokuzlular - (değer, değer, ...) stack üzerinde depolanan aynı veya farklı tür öğelerin sabit boyutlu listesini tutar.
  • +
  • Diziler - [değer, değer, ...] değerleri derleme zamanında bilinen aynı veri türündeki öğelerin sabit boyutlu listesini tutar.
  • +
  • Dilimler - &[1..4] boyutu çalışma zamanında bilinen öğelerin listesini tutar.
  • +
  • Dizge dilimleri - str boyutu çalışma zamanında bilinen metin parçalarını temsil eder.
  • +
+

Metinlerle çalışmak size diğer dillerde alışık olduğunuzdan daha karmaşık gelebilir. Rust bir sistem programlama dili olduğundan, aşina olmadığınız bellek sorunlarını önemser. Daha sonra bu konuya ayrıntılarıyla değineceğiz.

+

Sayısal türleri bildirirken tür bildirimini sayının hemen sonuna ekleyerek 13u32, 2u8 şeklinde açıkça belirtebilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_ua.html b/beta_05_ua.html new file mode 100644 index 000000000..9e7cca171 --- /dev/null +++ b/beta_05_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Базові типи

+

Rust має декілька звичних типів:

+
    +
  • булевий тип - bool для представлення true/false
  • +
  • беззнакові цілочисельні - u8 u16 u32 u64 u128 для представлення цілих додатних чисел
  • +
  • цілочисельні зі знаком - i8 i16 i32 i64 i128 для представлення цілих чисел
  • +
  • вказівник розміром з ціле число - usize isize для преставлення індексів та розміри елементів у пам'яті
  • +
  • числа з рухомою комою - f32 f64
  • +
  • кортежі - (value, value, ...) для передачі фіксованих послідовностей значень різних типів, розміщених на стеку
  • +
  • масиви - [value, value, ...] колекція елементів одного типу фіксованої довжини, яка відома на етапі компіляції
  • +
  • зрізи (slices) - колекція елементів одного типу з довжиною що буде визначена під час виконання програми
  • +
  • str(рядковий зріз) (string slice) - текст довжини, що буде відома під час виконання програми.
  • +
+

Текст може бути більш складний, ніж ви звикли його бачити в інших мовах. Оскільки Rust - мова для системного програмування, що вирішує проблеми за памяттю, про які ви раніше не турбувалися. Але про це ми поговоримо трохи згодом.

+

Чисельні типи можуть бути явно вказані шляхом додавання типу прямо до числа (т. 13u32, 2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_vi.html b/beta_05_vi.html new file mode 100644 index 000000000..74314ca91 --- /dev/null +++ b/beta_05_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Những kiểu biến cơ bản

+

Rust có rất nhiều kiểu biến thông dụng:

+
    +
  • booleans - bool để biểu diễn true/false
  • +
  • unsigned integers - u8 u16 u32 u64 u128 để biểu diễn các số nguyên không âm
  • +
  • signed integers - i8 i16 i32 i64 i128 để biểu diễn các số nguyên
  • +
  • pointer sized integers - usize isize để biểu diễn các chỉ mục và kích thước của mọi thứ trong bộ nhớ
  • +
  • floating point(Số dấy phẩy động, dấu chấm động) - f32 f64
  • +
  • tuple - (value, value, ...) for passing fixed sequences of values on the stack
  • +
  • arrays (mảng)- [value, value, ...] tập hợp các phần tử tương tự có độ dài cố định được biết đến tại thời điểm biên dịch
  • +
  • slices - tập hợp các phần tử tương tự với độ dài đã biết trong thời gian chạy
  • +
  • str(string slice) - một chuỗi có độ dài đã biết trong thời gian chạy
  • +
+

Text có thể phức tạp hơn so với những ngôn ngữ khác bạn quen dùng, +vì Rust là một ngôn ngữ lập trình hệ thống, nó quan tâm đến bộ nhớ +những vấn đề bạn có thể không quen. Chúng ta sẽ đi vào chi tiết điều này sau.

+

Các loại số học có thể được chỉ định rõ ràng bằng cách thêm loại vào cuối (ví dụ: 13u32,2u8).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_zh-cn.html b/beta_05_zh-cn.html new file mode 100644 index 000000000..7f1d92d5e --- /dev/null +++ b/beta_05_zh-cn.html @@ -0,0 +1,61 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本类型

+

Rust 有多种常见的类型:

+
    +
  • 布尔型 - bool 表示 true 或 false
  • +
  • 无符号整型- u8 u32 u64 u128 表示非负整数
  • +
  • 有符号整型 - i8 i32 i64 i128 表示整数
  • +
  • 指针大小的整数 - usize isize 表示内存中内容的索引和大小
  • +
  • 浮点数 - f32 f64
  • +
  • 元组(tuple) - (value, value, ...) 用于在栈上传递固定序列的值
  • +
  • 数组 - 在编译时已知的具有固定长度的相同元素的集合
  • +
  • 切片(slice) - 在运行时已知长度的相同元素的集合
  • +
  • str(string slice) - 在运行时已知长度的文本
  • +
+

文本可能比你在其他语言中学到的更复杂,因为 Rust 是一种系统编程语言,它关心的是你可能不太习惯的内存问题。 +我们之后将详细讨论这个问题。

+

另外,你也可以通过将类型附加到数字的末尾来明确指定数字类型(如 13u322u8

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_05_zh-tw.html b/beta_05_zh-tw.html new file mode 100644 index 000000000..6ec3f222d --- /dev/null +++ b/beta_05_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本類型 (Primitive types)

+

Rust 具有多種常見的類型:

+
    +
  • (布林值)booleans - bool 來表達 true/false
  • +
  • (無符號整數) unsigned integers - u8 u16 u32 u64 u128 來表達正整數
  • +
  • (有符號整數) signed integers - i8 i16 i32 i64 i128 來表達正負整數
  • +
  • (指針大小的整數) pointer sized integers - usize isize 來表達索引或記憶體內的東西大小
  • +
  • (浮點) floating point - f32 f64
  • +
  • (元組) tuple - (value, value, ...) 用於在傳遞多個固定的值
  • +
  • (陣列) array - [value, value, ...] 在編譯時已知具有固定長度的相似元素的集合
  • +
  • (片段) slices - 在運行時已知長度的相似元素的集合
  • +
  • str(字串片段 string slice) - 在運行時已知長度的字串 +在 Rust 裡面,文字處理可能比您在其他程式語言中所理解到的複雜 +Rust 是一個系統程式語言 (system programming language),所以它所關注的記憶體問題 +對於您可能是前所未見。我們遲一點會深入了解。 +數字類型可以在後邊這樣明確標明它的類型: 13u32, 2u8
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_al.html b/beta_06_al.html new file mode 100644 index 000000000..51d947d41 --- /dev/null +++ b/beta_06_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konvertimi i tipit bazë

+

Ndryshku kërkon qartësi kur bëhet fjalë për llojet numerike. Një nuk mund

+

përdorni një u8 për një u32 rastësisht pa

+

gabim.

+

Fatmirësisht Rust i bën konvertimet e tipit numerik shumë të lehtë me fjalë kyçen + as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_ar.html b/beta_06_ar.html new file mode 100644 index 000000000..ca814414f --- /dev/null +++ b/beta_06_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تحويل الأنواع الأساسية

+

يطلب رست (Rust) منك أن تكون واضحا عندما تتعامل مع الأنواع الرقمية. بحيث لا يمكنك إستخدام نوع u8 لمتغير من نوع u32 بدون ظهور أخطاء.

+

طبعا من حسن الحظ، فإن رست (Rust) يبسط جدا تحويل الأنواع الرقمية عن طريق الكلمة المفتاحية as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_de.html b/beta_06_de.html new file mode 100644 index 000000000..82374b27f --- /dev/null +++ b/beta_06_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basistypen konvertieren

+

Rust fordert explizite Konvertierungen, wenn es um Zahlentypen geht. +Ein u8 (8-bit unsigned integer) kann nicht mit einem u32 locker aus dem Handgelenk +zusammengerechnet werden ohne das Programm zum Absturz zu bringen.

+

Glücklicherweise ist auf die Konvertierung mit dem as Schlüsselwort Verlass.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_en.html b/beta_06_en.html new file mode 100644 index 000000000..31b120587 --- /dev/null +++ b/beta_06_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Type Conversion

+

Rust requires explicitness when it comes to numeric types. One cannot +use a u8 for a u32 casually without +error.

+

Luckily Rust makes numeric type conversions very easy with the as keyword.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_es.html b/beta_06_es.html new file mode 100644 index 000000000..020915de9 --- /dev/null +++ b/beta_06_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversión de Tipos Básica

+

Rust requiere ser explícito cuando se trata de tipos numéricos. No se puede usar un u8 cuando necesitemos un u32 sin que se produzca un error.

+

Por suerte, Rust hace que las conversiones de tipos numéricos sean muy fáciles con la palabra reservada as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_fa.html b/beta_06_fa.html new file mode 100644 index 000000000..07b25b9b4 --- /dev/null +++ b/beta_06_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Type Conversion

+

Rust requires explicitness when it comes to numeric types. One cannot +use a u8 for a u32 casually without +error.

+

Luckily Rust makes numeric type conversions very easy with the as keyword.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_fi.html b/beta_06_fi.html new file mode 100644 index 000000000..a5c7d83ee --- /dev/null +++ b/beta_06_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Perustietotyypin muunnokset

+

Rust vaatii kaikkien muunnosten merkitsemistä, kun numeerisia tietotyyppejä muunnetaan toiseksi. Tyyppiä u8 ei voi käyttää tyypin u32 sijaan aiheuttamatta virheilmoitusta.

+

Onneksi Rust tekee muunnoksen numeerisista tyypeistä toiseksi hyvin helpoksi avainsanalla as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_fr.html b/beta_06_fr.html new file mode 100644 index 000000000..b1ed08b31 --- /dev/null +++ b/beta_06_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversion des types primitifs

+

Avec Rust, l'utilisation des types est stricte. On ne peut pas +utiliser une variable de type u8 et la faire passer pour une variable de type u32.

+

Heureusement, Rust rend la conversion de type très facile grâce au mot clé as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_gr.html b/beta_06_gr.html new file mode 100644 index 000000000..00608a105 --- /dev/null +++ b/beta_06_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Βασική μετατροπή τύπων

+

Η Rust ζητάει σαφήνεια σε ό,τι αφορά αριθμητικούς τύπους. Δεν μπορεί κανείς να χρησιμοποιήσει ένα u8 αντί για ένα u32 ελεύθερα χωρίς λάθος.

+

Ευτυχώς η Rust κάνει τη μετατροπή αριθμητικών τύπων πολύ εύκολη με τη λέξη-κλειδί as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_hu.html b/beta_06_hu.html new file mode 100644 index 000000000..3005c21a0 --- /dev/null +++ b/beta_06_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Egyszerű típusok közötti átalakítás

+

A Rust a számtípusok használatakor meglehetősen szigorú. Például nem használhatsz u8-t olyan +helyen, ami u32-t vár anélkül, hogy hibát dobna.

+

Szerencsére a típusok közötti átalakítás nagyon egyszerű az as kulcsszó használatával.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_id.html b/beta_06_id.html new file mode 100644 index 000000000..4effabb39 --- /dev/null +++ b/beta_06_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Basic Type Conversion

+

Rust mengharuskan kejelasan untuk tipe data numerik. Kamu tidak bisa +menggunnakan u8 untuk tipe data u32 tanpa sebuah error.

+

Untungnya, Rust membuat koversi tipe data numerik mudah dengan kata kunci +as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_ie.html b/beta_06_ie.html new file mode 100644 index 000000000..f9710c4ef --- /dev/null +++ b/beta_06_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversion de basic tipes

+

Rust exige explicitá quande it acte se pri tipes numeric. On ne posse usar un u8 hasardalmen por un u32 sin un erra.

Felicimen, conversiones de tipes numeric es facil in Rust con li clave-parol as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_it.html b/beta_06_it.html new file mode 100644 index 000000000..c3fdf737c --- /dev/null +++ b/beta_06_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversioni tra tipi di dato

+

Rust richiede di essere esplicito nel gestire i tipi numerici. Ad esempio non puoi
+usare un u8 al posto di u32 a caso, senza incappare in errori del compilatore. +Fortunatamente, Rust rende molto facili le conversioni del tipi numerici grazie alla parola chiave as .

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_ja.html b/beta_06_ja.html new file mode 100644 index 000000000..2dc8d0aef --- /dev/null +++ b/beta_06_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本型の変換

+

Rust で数値型を扱う際、型を明示する必要があります。u8u32 を混ぜるとエラーになります。

+

幸い、Rust は as キーワードで数値型を簡単に変換できます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_ko.html b/beta_06_ko.html new file mode 100644 index 000000000..f545e32e9 --- /dev/null +++ b/beta_06_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

기본 자료형 변환

+

Rust에서는 숫자형 자료형을 쓸 때 명시적으로 써야 합니다. 생각 없이 u8u32에 쓴다거나 하면 오류가 발생합니다.

+

다행히도 Rust에서는 as 키워드를 사용해 숫자형 자료형을 매우 쉽게 변환할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_ne.html b/beta_06_ne.html new file mode 100644 index 000000000..b0e108c7c --- /dev/null +++ b/beta_06_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Type conversies

+

Rust vereist duidelijkheid als het gaat om numerieke types. +Je kunt niet zomaar een u8 gebruiken voor een u32 zonder +een foutmelding te krijgen. +Gelukkig kan Rust de conversie van het ene numerieke type +naar het andere heel gemakkelijk doen met het sleutelwoord as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_pl.html b/beta_06_pl.html new file mode 100644 index 000000000..1580357c4 --- /dev/null +++ b/beta_06_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Podstawowe Konwersje Typów

+

Kiedy przychodzi do typów liczbowych, Rust wymaga od nas precyzyjnego wyrażenia co chcemy osiągnąć. Nie jest dozwolone przykładowo przypisanie liczby o typie u8 zmiennej o typie u32. +Na szczęście Rust umożliwia nam konwersję pomiędzy rozmaitymi typami liczbowymi z użyciem słowa kluczowego as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_pt-br.html b/beta_06_pt-br.html new file mode 100644 index 000000000..5060d6a44 --- /dev/null +++ b/beta_06_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversão de tipos básica

+

O Rust requer que sejamos explícitos quando se trata de tipos numéricos. Não podemos usar um u8 como um u32 sem que se produza um erro.

+

Por sorte, o Rust faz com que as conversões de tipos numéricos sejam muito simples usando a plavra-chave as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_ro.html b/beta_06_ro.html new file mode 100644 index 000000000..2514ec393 --- /dev/null +++ b/beta_06_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversia tipurilor de bază

+

Rust necesită claritate atunci când vine vorba de tipurile numerice. Nu puteți +folosi un u8 pentru un u32 în mod neglijent fără +apariția unei erori.

+

Din fericire, Rust poate face conversia de la un tip numeric la altul, foarte ușor, folosind cuvântul cheie as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_ru.html b/beta_06_ru.html new file mode 100644 index 000000000..11e522294 --- /dev/null +++ b/beta_06_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Преобразование базовых типов (Type Conversion)

+

Rust требует полной ясности при работе с числами. Нельзя использовать тип u8, работая с типом u32: это ошибка.

+

К счастью, в Rust есть ключевое слово as, позволяющее очень легко преобразовывать типы.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_th.html b/beta_06_th.html new file mode 100644 index 000000000..3b92acfde --- /dev/null +++ b/beta_06_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การแปลงประเภทของตัวแปรแบบพื้นฐาน

+

Rust ต้องการความชัดเจนเมื่อเป็นเรื่องที่เกียวกับตัวแปรประเภทตัวเลข ทำให้ไม่สามารถใช้ u8 แทน u32 กันตามใจได้ โดยไม่มีข้อผิดพลาดเกิดขึ้น

+

แต่โชคดีที่ Rust มีวิธีแปลงค่าตัวเลขที่ง่ายมากๆด้วยการใช้คีย์เวิร์ด as

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_tr.html b/beta_06_tr.html new file mode 100644 index 000000000..6ac41a1c6 --- /dev/null +++ b/beta_06_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Temel Türleri Dönüştürmek

+

Rust türlerle çalışırken katı olmayı seçtiğinden, sayısal türler söz konusu olduğunda bu dönüşümlerin açıkça yapılmasını bekler. u8 türündeki bir değeri u32 türünden bir değerle tür dönüşümü yapmadan sorunsuzca toplayamazsınız.

+

Neyse ki sayısal tür dönüşümleri as anahtar kelimesiyle oldukça kolaylaştırır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_ua.html b/beta_06_ua.html new file mode 100644 index 000000000..df6b4a42f --- /dev/null +++ b/beta_06_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Перетворення базових типів (Type Conversion)

+

Rust вимагає явності, коли справа стосуєсться чисельних типів. Спроба призначити типу u8 значення типу u32 призведе до помилки.

+

На щастя для легкого перетворення чисельних типів Rust має ключове слово as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_vi.html b/beta_06_vi.html new file mode 100644 index 000000000..c0d703793 --- /dev/null +++ b/beta_06_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuyển đổi loại cơ bản

+

Rust yêu cầu sự rõ ràng khi nói đến các kiểu số. Chúng ta không thể sử dụng u8 chou32 một cách ngẫu nhiên mà không phát sinh lỗi.

+

May mắn thay, Rust làm cho việc chuyển đổi kiểu số trở nên rất dễ dàng với từ khóa as.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_zh-cn.html b/beta_06_zh-cn.html new file mode 100644 index 000000000..cf18ef351 --- /dev/null +++ b/beta_06_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本类型转换

+

当涉及到数字类型时,Rust 要求明确。一个人不能想当然地把“u8”用在“u32”上而不出错。

+

幸运的是,使用 as 关键字,Rust 使数字类型转换非常容易。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_06_zh-tw.html b/beta_06_zh-tw.html new file mode 100644 index 000000000..800f5efb5 --- /dev/null +++ b/beta_06_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基本的數據類型轉換

+

當用到數字類型(numeric types),Rust 要求明確指出哪一個類型。 您不可以把 u32u8 混著來使用。 +幸運地 Rust 有 as 這個關鍵字來讓數字類型轉換變得容易。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_al.html b/beta_07_al.html new file mode 100644 index 000000000..9334e4f0c --- /dev/null +++ b/beta_07_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstantet

+

Konstantet na lejojnë të specifikojmë një vlerë të përbashkët që përdoret gjatë gjithë kohës +nd kodin tone shumë herë me efikasitet. Në vend të kopjimit të vlerave si variablat

+

aty ku përdoren, konstantet zëvendësojnë drejtpërdrejt identifikuesin e tekstit ku + ata

+

përdoren me vlerën e tyre në kohën e përpilimit.

+

Ndryshe nga variablat, konstantet duhet të kenë gjithmonë lloje eksplicite.

+

Emrat konstant janë gjithmonë ne SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ar.html b/beta_07_ar.html new file mode 100644 index 000000000..8a5f2e442 --- /dev/null +++ b/beta_07_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الثوابت (Constants)

+

تسمح لنا الثوابت بتعيين قيمة مشتركة ثابتة يتم استخدامها في الكود الخاص بنا عدة مرات بكفاءة. وذلك عوض نسخ القيم لما يتم استخدام المتغيرات، بحيث تحدث عملية استبدال للمعرف النصي للثابت بقيمته أثناء الترحمة (compile time) مباشرة.

+

على عكس المتغيرات، فإنه يجب إضافة نوع الثابت دائمًا عند تعريفه.

+

أسماء معرفات الثوابت دائما تكون بطريقة الثعبان كبيرة الأحرف SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_de.html b/beta_07_de.html new file mode 100644 index 000000000..99bf87d50 --- /dev/null +++ b/beta_07_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstanten

+

Konstanten (const) erlauben uns einen Wert in der Kompilierzeit zu setzen, die in unserem Code eingesetzt +werden. Kompilierzeit ist hier das Stichwort: anstelle von Variablen sitzen dann an Orten, an denen +Konstanten eingestetzt werden, die Werte selbst.

+

Anders als bei Variablen muss bei Konstanten der Datentyp explizit angeben werden.

+

Die Namensgebung erfolgt generell in SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_en.html b/beta_07_en.html new file mode 100644 index 000000000..5712c5a8d --- /dev/null +++ b/beta_07_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constants

+

Constants allow us to specify a common value that's used throughout +our code many times efficiently. Instead of copying values like variables +where they are used, constants directly replace the text identifier where they +are used with their value at compile time.

+

Unlike variables, constants must always have explicit types.

+

Constant names are always in SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_es.html b/beta_07_es.html new file mode 100644 index 000000000..0dc55cb5e --- /dev/null +++ b/beta_07_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constantes

+

Las constantes nos permiten especificar un valor común que se utiliza muchas veces a lo largo de nuestro código de manera eficiente. En vez de copiar valores como variables en el lugar donde se usan, las constantes reemplazan directamente el identificador de texto (donde se haya usado) por su valor en tiempo de compilación.

+

A diferencia de las variables, el tipo de las constantes se debe especificar explícitamente.

+

Los nombres de las constantes se escriben siempre en SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_fa.html b/beta_07_fa.html new file mode 100644 index 000000000..028a231f3 --- /dev/null +++ b/beta_07_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constants

+

Constants allow us to specify a common value that's used throughout +our code many times efficiently. Instead of copying values like variables +where they are used, constants directly replace the text identifier where they +are used with their value at compile time.

+

Unlike variables, constants must always have explicit types.

+

Constant names are always in SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_fi.html b/beta_07_fi.html new file mode 100644 index 000000000..16c8fd8f0 --- /dev/null +++ b/beta_07_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vakiot

+

Vakioilla voimme kuvata yhteisiä lukuja, joita käytetään tehokkaasti monessa paikassa koodia. Muuttujat varaavat tilaa suorituksen aikana, mutta vakiot suoraan korvaavat vakion käytön vakion arvolla jo käännösaikana.

+

Vakioiden tyyppi on aina annettava, päinvastoin kuin muuttujan tyyppi.

+

Vakioiden nimet ovat aina SCREAMING_SNAKE_CASE, kaikki kirjaimet isolla ja sanat erotettuna alaviivalla.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_fr.html b/beta_07_fr.html new file mode 100644 index 000000000..1f21666f7 --- /dev/null +++ b/beta_07_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constantes

+

Les constantes permettent de spécifier une valeur qui sera utilisée +à plusieurs endroits du code et de manière efficiente. A la différence des variables, +rust remplace le nom des constantes par leur valeur lors de la compilation.

+

Le type des constantes doit être explicitement déclaré, ce qui n'est pas le cas pour +les variables.

+

Les noms de constantes sont toujours de la forme SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_gr.html b/beta_07_gr.html new file mode 100644 index 000000000..33a7bac5d --- /dev/null +++ b/beta_07_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Σταθερές

+

Οι σταθερές μας επιτρέπουν να ορίσουμε μία συνήθη τιμή η οποία χρησιμοποιείται διαμέσω του κώδικά μας αποδοτικά. Αντί να αντιγράφονται τιμές όπως μεταβλητές εκεί όπου χρησιμοποιούνται, οι σταθερές αντικαθιστούν άμεσα το όνομα της μεταβλητής όπου χρησιμοποιούνται με την τιμή τους την ώρα της μετάφρασης.

+

Σε αντίθεση με τις μεταβλητές, οι τύποι δεδομένων των σταθερών πρέπει πάντοτε να δηλώνονται ρητά.

+

Τα ονόματα των σταθερών είναι πάντοτε γραμμένα με ΦΙΔΟ_ΚΕΦΑΛΑΙΑ.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_hu.html b/beta_07_hu.html new file mode 100644 index 000000000..355dea072 --- /dev/null +++ b/beta_07_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstansok

+

A konstansok lehetővé teszik nekünk, hogy elnevezhessünk gyakran használt értékeket. Ahelyett, +hogy változók értékeit kézzel másolgatnánk oda, ahol azokat használjuk, a fordító lecseréli +helyettünk a konstansok nevét a megfelelő értékre.

+

A változókkal ellentétben a konstansoknak mindig explicit módon meg kell adnunk a típusát.

+

A konstansok neveit mindig ORDÍTÓ_KÍGYÓ_MÓDON adjuk meg.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_id.html b/beta_07_id.html new file mode 100644 index 000000000..27afb1eca --- /dev/null +++ b/beta_07_id.html @@ -0,0 +1,54 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstanta

+

Konstanta memperbolehkan kita untuk menentukan nilai yang serupa untuk +digunakan berkali-kali di sepanjang kode kita. Konstanta tidak menyalin +nilai seperti variabel biasa, tetapi konstanta secara langsung mengganti +teks pengidentifikasi dimana konstanta digunakan dengan nilai yang disimpan +oleh konstanta pada saat kompilasi.

+

Tidak seperti variabel, konstanta harus selalu mempunyai tipe data secara +explisit.

+

Nama konstanta selalu menggunakan HURUF_BESAR_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ie.html b/beta_07_ie.html new file mode 100644 index 000000000..c8c6c2070 --- /dev/null +++ b/beta_07_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constantes

+

Constantes possibilisa li specification de valores comun quel noi usa tra nor code con un eficientie mult vezes plu grand. Vice copiar valores quam variabiles chascun vez ú ili es usat, constantes remplazza li textu-identificator directmen con lor valore in li locs ú on usa les.

In contraste a variabiles, constantes deve sempre posseder un tip explicit

Nómines de constantes es sempre in SCREAMING_SNAKE_CASE (majuscules con infra-strecs)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_it.html b/beta_07_it.html new file mode 100644 index 000000000..46b46db48 --- /dev/null +++ b/beta_07_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Costanti

+

Le costanti ci permettono di specificare un valore comune che verrà usato in più parti del codice +molte volte, in maniera efficiente, perchè il compilatore inserisce direttamente il valore della costante nel codice.

+

A differenza delle variabili, le costanti devono sempre avere il tipo esplicitato. +I nomi delle costanti sono sempre scritti nello stile MAIUSCOLO_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ja.html b/beta_07_ja.html new file mode 100644 index 000000000..1a8933925 --- /dev/null +++ b/beta_07_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

定数

+

定数を使用すると、コード全体で何度も使用される共通の値を効率的に指定できます。 +定数は、変数のように値が使われる場所でコピーするのではなく、コンパイル時に値が使われる場所の識別子を直接置き換えます。

+

変数とは異なり、定数は明示的な型指定が必要です。

+

定数名には大文字のスネークケース SCREAMING_SNAKE_CASE を使用します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ko.html b/beta_07_ko.html new file mode 100644 index 000000000..135c21629 --- /dev/null +++ b/beta_07_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

상수

+

상수는 우리의 코드 내에서 여러번 사용되는 공통 값을 효과적으로 지정할 수 있게 해줍니다. +사용될 때 값이 복사되는 변수와 달리, 상수는 컴파일 타임에 텍스트 지정자를 직접 값으로 대체합니다.

+

변수와 달리, 상수는 반드시 명시적으로 자료형을 지정해야 합니다.

+

상수의 이름은 언제나 SCREAMING_SNAKE_CASE 형태로 짓습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ne.html b/beta_07_ne.html new file mode 100644 index 000000000..264c0a020 --- /dev/null +++ b/beta_07_ne.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constante

+

Constanten stellen ons in staat om op een efficiënte manier een waarde te specificeren die vaak in onze code wordt gebruikt. +In plaats van waarden te kopiëren, vervangen constanten op het moment van compilatie direct, +waar ze worden gebruikt, de tekstidentificator door zijn waarde. +In tegenstelling tot variabelen moet het type bij de declaratie expliciet aan +constanten worden opgegeven. De namen van constanten worden altijd geschreven in de vorm van +SCREAMING_SNAKE_CASE (bijv. MYFIRSTCONSTANT).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_pl.html b/beta_07_pl.html new file mode 100644 index 000000000..9ff4296de --- /dev/null +++ b/beta_07_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stałe

+

Stałe (ang. constants) pozwalają nam zdefiniować popularne wartości które mają być dostępne z wielu miejsc w naszym kodzie. Zamiast kopiować wartości, tak jakby to zwykle miało miejsce w przypadku normalnych zmiennych, w przypadku stałych kompilator już na etapie budowania naszego programu przekopiuje wartość stałej w każde miejsce gdzie została ona użyta.

+

W przeciwieństwie do zmiennych, stałe muszą zawsze mieć wyraźnie określony typ - nie ma tu miejsca na domysły ze strony kompilatora.

+

Nazwy stałych są zawsze pisane w stylu SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_pt-br.html b/beta_07_pt-br.html new file mode 100644 index 000000000..c7e180bf1 --- /dev/null +++ b/beta_07_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constantes

+

As constantes nos permitem especificar um valor comum que pode ser usado muitas vezes por todo o nosso código de maneira eficiente. Ao invés de copiar os valores como variáveis onde serão utilizadas, as constantes substituirão o identificador de texto pelo seu valor onde quer que estejam sendo usadas em tempo de compilação.

+

Diferentemente das variáveis, o tipo das constantes devem ser sempre declarados.

+

Os nomes das constantes são sempre em SCREAMING_SNAKE_CASE.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ro.html b/beta_07_ro.html new file mode 100644 index 000000000..1dceb771c --- /dev/null +++ b/beta_07_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Constante

+

Constantele ne permit să specificăm o valoare folosită uzual de-a lungul +codului nostru în mod eficient. În loc să copieze valori, constantele înlocuiesc direct, +acolo unde sunt utilizate, identificatorul de text cu valoarea sa, la momentul compilării.

+

Spre deosebire de variabile, constantelor trebuie să li se specifice explicit tipul la declarare.

+

Numele constantelor sunt mereu scrise în format SCREAMING_SNAKE_CASE (ex: MY_FIRST_CONSTANT).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ru.html b/beta_07_ru.html new file mode 100644 index 000000000..e2816da42 --- /dev/null +++ b/beta_07_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Константы (Constants)

+

Константы (ключевое слово const) позволяют указать общее значение, которое можно продуктивно использовать много раз в коде. Вместо копирования значения, как в случае переменных, константа напрямую заменяет текстовый идентификатор в месте ее использования на значение константы во время компиляции.

+

В отличие от переменных, константы всегда должны иметь явно объявленный тип.

+

Имена констант всегда пишутся в верхнем регистре SCREAMING_SNAKE_CASE

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_th.html b/beta_07_th.html new file mode 100644 index 000000000..50ce97679 --- /dev/null +++ b/beta_07_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ค่าคงที่

+

ค่าคงที่ช่วยให้เรากำหนดค่ากลางที่ใช้ร่วมกันบ่อยๆ ได้อย่างมีประสิทธิภาพ แทนที่จะคัดลอกค่าไปใช้แบบที่ตัวแปรทำ ค่าคงที่จะใช้วิธีแทนที่ค่าไปในข้อความเลยตรงๆ ตั้งแต่ตอน compile time

+

สิ่งที่ไม่เหมือนกับตัวแปรคือ ค่าคงที่จะต้องระบุ type เสมอ

+

การตั้งชื่อค่าคงที่จะอยู่ในรูปแบบ SCREAMING_SNAKE_CASE เสมอ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_tr.html b/beta_07_tr.html new file mode 100644 index 000000000..f2b0c6bf2 --- /dev/null +++ b/beta_07_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sabitler

+

Sabitler, kodumuzun çeşitli yerlerinde verimli şekilde kullanabilen değerleri tanımlamamıza izin verirler. Derleme sırasında sabitlerin adları tuttukları değerle değiştirildiğinden, bellekte kalıcı bir adresleri bulunmaz. Bu nedenle aynı sabite yapılan farklı başvuruların aynı hafıza adresine erişeceği garanti edilmez.

+

Değişkenlerin aksine sabitler tür açıklamaları yapılarak bildirilmeli ve daima tüm harflerin büyük olarak yazıldığı SCREAMING_SNAKE_CASE biçiminde ifade edilmelidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_ua.html b/beta_07_ua.html new file mode 100644 index 000000000..32708a110 --- /dev/null +++ b/beta_07_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Константи

+

Константи дозволяють нам вказувати значення, які будуть ефективно використані в багатьох місцях і багато разів. Замість копіювання значень в місці їх використання, як, наприклад, для змінних, константні значення будут підставлені замість текстових ідентифікаторів змінних під час компіляції.

+

На відміну від змінних, тип констант завжди має бути вказаний явно.

+

Константи мають бути іменовані в SCREAMING_SNAKE_CASE реєстрі.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_vi.html b/beta_07_vi.html new file mode 100644 index 000000000..3d7cc7994 --- /dev/null +++ b/beta_07_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hằng

+

Kiểu hằng(hay hằng số) cho phép chúng ta chỉ định một giá trị chung được sử dụng nhiều lần trong code của chúng ta một cách hiệu quả. Thay vì phải sao chép các giá trị tới những nơi chúng ta muốn nhiều lần, hằng số thay thế trực tiếp mã định danh nơi chúng được sử dụng bằng giá trị của chúng tại thời điểm biên dịch.

+

Không như biến, hằng số phải được khai báo kiểu một cách rõ ràng.

+

Khi khai báo hằng, chúng ta nên đặt tên chúng viết HOA tất cả các kí tự.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_zh-cn.html b/beta_07_zh-cn.html new file mode 100644 index 000000000..df96641f0 --- /dev/null +++ b/beta_07_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

常量

+

常量允许我们高效地指定一个在代码中会被多次使用的公共值。不同于像变量一样在使用的时候会被复制,常量会在编译期间直接用它们的值来替换变量的文本标识符。

+

不同于变量,常量必须始终具有显式的类型。

+

常量名总是遵循 全大写蛇形命名法(SCREAMING_SNAKE_CASE)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_07_zh-tw.html b/beta_07_zh-tw.html new file mode 100644 index 000000000..eb9f07e63 --- /dev/null +++ b/beta_07_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

常數 (Constant)

+

常數(Constant)讓我們可以定義一些常用的值,在程式中有效地重覆使用。 +跟變數不同,常數的值不會在運行的時候把值複製到使用的地方。 編譯器會在編譯時直接以字串取代的方法把值取代常數。 +跟變數不同,常數的數據類型是必須指明的。

+

常數通常是以 SCREAMING_SNAKE_CASE 命名的。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_al.html b/beta_08_al.html new file mode 100644 index 000000000..497a233c4 --- /dev/null +++ b/beta_08_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vargjet

+

Një array/varg është një përmbledhje me gjatësi fikse të elementeve të të dhënave të gjitha të te njëjta + lloji.

+

Lloji i të dhënave për një array është [T;N] ku T është lloji i elementeve dhe N + është gjatësia fikse e njohur në kohën e përpilimit.

+

Elementet individuale mund të merren me operatorin [x] ku x është a + indeksi usize (duke filluar nga 0) i elementit që dëshironi.

+

Koleksionet me gjatësi dinamike, të quajtura shpesh vargje dinamike ose të ndryshueshme, janë + prezantuar në një kapitull të mëvonshëm rreth Vektorëve.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ar.html b/beta_08_ar.html new file mode 100644 index 000000000..8f71293b0 --- /dev/null +++ b/beta_08_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المصفوفات (Arrays)

+

المصفوفة (array) هي مجموعة ثابتة الطول من عناصر البيانات كلها لها نفس النوع.

+

نوع البيانات للـ مصفوفة (array) يكتب بهذا الشكل [T;N] حيث T هو نوع العناصر و N يمثل الطول الثابت والمعلوم أثناء ترجمة البرنامج (compile-time).

+

يمكن إستخراج عناصر بشكل فردي عن طريق كتابة عامل بهذا الشكل [x] وتمثل x عدد من نوع usize (عدد صحيح موجب) يشير إلى ترتيب العنصر في فهرس (index) المصفوفة ويبدأ من 0.

+

أما بالنسبة للمجموعات ذات الأطوال المتغيرة فتسمى غالبا بالمصفوفات المتغير (variable arrays) أو الديناميكية (dynamic arrays)، سيتم التطرق إليها لاحقا في فصل يتحدث حول Vectors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_de.html b/beta_08_de.html new file mode 100644 index 000000000..e5c40dd69 --- /dev/null +++ b/beta_08_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Ein Array ist eine Kollektion von Datenelementen vom selben Datentyp mit festgelegter Länge.

+

Der Datentyp eines Arrays wird [T;N] geschrieben. T ist der Datentyp der Arrayelemente und N ist die festgelegte Länge dieser zur Compile-Zeit.

+

Einzelne Elemente können mit dem [x] Operator abgerufen werden, in welchem x den usize Index (beginnend bei 0) des gesuchten Elementes darstellt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_en.html b/beta_08_en.html new file mode 100644 index 000000000..080bf88a3 --- /dev/null +++ b/beta_08_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

An array is a fixed length collection of data elements all of the same type.

+

The data type for an array is [T;N] where T is the elements' type, and N is the fixed length known at compile-time.

+

Individual elements can be retrieved with the [x] operator where x is a usize index (starting at 0) of the element you want.

+

Collections with a dynamic length, often called dynamic or variable arrays, are introduced in a later chapter about Vectors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_es.html b/beta_08_es.html new file mode 100644 index 000000000..151f4b38d --- /dev/null +++ b/beta_08_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Un array es una colección de longitud fija de elementos de datos del mismo tipo.

+

El tipo de datos para un array es [T;N] siendo T el tipo del elemento, y N la longitud fija conocida en tiempo de compilación.

+

Los elementos individuales se pueden recuperar con el operador [x], siendo x un índice de tipo usize (empezando por 0) del elemento que quieras.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_fa.html b/beta_08_fa.html new file mode 100644 index 000000000..3686f5e0f --- /dev/null +++ b/beta_08_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

An array is a fixed length collection of data elements all of the same type.

+

The data type for an array is [T;N] where T is the elements' type, and N is the fixed length known at compile-time.

+

Individual elements can be retrieved with the [x] operator where x is a usize index (starting at 0) of the element you want.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_fi.html b/beta_08_fi.html new file mode 100644 index 000000000..13caf9c85 --- /dev/null +++ b/beta_08_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Taulukot

+

Taulukko on kiinteän mittainen kokoelma elementtejä, jotka ovat kaikki samaa tyyppiä.

+

Taulukon tyyppi on [T;N] missä T on elementtien tyyppi, ja N on taulukon kiinteä pituus, joka tiedetään käännösaikana.

+

Yksittäisiin elementteihin pääsee käsiksi operaattorilla [x], missä x on usize-tyyppinen indeksi taulukon haluttuun elementtiin (alkaen indeksistä 0).

+

Vaihtuvanmittaiset kokoelmat, dynaamisesti kasvavat taulukot, esitellään myöhemmin kappaleessa vektoreista.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_fr.html b/beta_08_fr.html new file mode 100644 index 000000000..ccc82f355 --- /dev/null +++ b/beta_08_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tableaux

+

Un tableau est une collection de taille fixe (celle-ci doit être +connue à la compilation) contenant des éléments du même type.

+

Le type d'un tableau est [T;N] où T est le type de l'élément +et N est la taille du tableau.

+

Chaque élément du tableau peut être récupéré avec la syntaxe [x]x est +l'index de type usize (commençant à 0) de l'élément à récupérer.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_gr.html b/beta_08_gr.html new file mode 100644 index 000000000..5300e6c1c --- /dev/null +++ b/beta_08_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Πίνακες

+

Ένας πίνακας είναι μία συλλογή δεδομένων που έχουν όλα τον ίδιο τύπο, με πάγιο μήκος.

+

Ο τύπος δεδομένων ενός πίνακα είναι [T;N], όπου T ο τύπος των στοιχείων, και N το πάγιο μήκος του πίνακα γνωστό την ώρα της μετάφρασης.

+

Μεμονωμένα στοιχεία μπορούν να προσπελαστούν με τον τελεστή [x] όπου x είναι ένας αύξων αριθμός usize που δηλώνει το ποιο στοιχείο θέλουμε, ξεκινώντας απ' το 0.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_hu.html b/beta_08_hu.html new file mode 100644 index 000000000..1f0fd47b8 --- /dev/null +++ b/beta_08_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tömbök

+

Egy tömb egy olyan azonos típusú elemeket tartalmazó csoport, aminek a hossza (elemeinek +száma) megváltoztathatatlan.

+

A tömbök típusa [T;N], ahol T az elemek típusa és N pedig a hossza, amit fordításkor már +tudnunk kell.

+

Egyes elemek elérhetőek a [x] operátorral, ahol x egy usize indexe +(0-val kezdődő sorszáma) annak az elemnek, amit szeretnél.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_id.html b/beta_08_id.html new file mode 100644 index 000000000..eabf79b0a --- /dev/null +++ b/beta_08_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Sebuah array adalah koleksi dari elemen data yang mempunyai tipe data yang sama dan panjang yang tetap.

+

Tipe data untuk array adalah [T;N] dimana T adalah tipe data elemen dan N adalah panjang array yang diketahui pada saat kompilasi.

+

Setiap elemen dapat diambil dengan menggunakan operator [x] dimana x adalah indeks usize (dimulai dari 0) dengan elemen yang kamu mau.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ie.html b/beta_08_ie.html new file mode 100644 index 000000000..9114de780 --- /dev/null +++ b/beta_08_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Un array (un arangeament o un tabló) es un colection de longore fixat con data-elementes con li sam tip.

+

Li tip de data por un array es [T;N] ú T es li tip del elementes, e N es li longore fixat quel on save quande on compila.

+

Singul elementes posse esser retrovat con li operator [x] ú x es un index de usize (comensant con 0) del element quel +on desira accesser.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_it.html b/beta_08_it.html new file mode 100644 index 000000000..a747e7682 --- /dev/null +++ b/beta_08_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Array

+

Un array è una lista di lunghezza fissa di dati, tutti dello stesso tipo.

+

Il tipo dati per un array è [T;N] dove T è il tipo degli elementi, e N è la lunghezza fissa, nota a tempo di compilazione.

+

Ogni elemento può essere recuperato con l'operatore [x] dove x è l'indice usize (partendo da 0) dell'elemento che ti serve.

+

Le collezioni a lunghezza dinamica, spesso chiamati array dinamici o array variabili, saranno introdotte in un capitolo successivo quando parleremo dei Vettori

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ja.html b/beta_08_ja.html new file mode 100644 index 000000000..ce418cd58 --- /dev/null +++ b/beta_08_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

配列

+

配列は、データ要素がすべて同じ型の固定長コレクションです。

+

配列のデータ型は [T;N] であり、T は要素の型、N はコンパイル時に決まる固定長です。

+

個々の要素は [x] 演算子によって取得できます。ここで x は取り出そうとする要素の usize 型のインデックス(0 始まり)です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ko.html b/beta_08_ko.html new file mode 100644 index 000000000..f4ea139f3 --- /dev/null +++ b/beta_08_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

배열

+

배열(array)은 고정된 길이로 된 모두 같은 자료형의 자료를 가진 collection입니다.

+

array의 자료형은 [T;N]로 표현하며, 여기서 T는 원소의 자료형, N은 컴파일 타임에 주어지는 고정된 길이입니다.

+

각각의 원소는 [x] 연산자로 가져올 수 있는데, 여기서 x는 여러분이 원하는 원소의 (0에서부터 시작하는) usize 형의 인덱스입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ne.html b/beta_08_ne.html new file mode 100644 index 000000000..668846883 --- /dev/null +++ b/beta_08_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Een array is een verzameling van een vaste grootte van elementen die gegevens van hetzelfde type bevatten. +Het gegevenstype voor een array wordt geschreven als [T;N], waar T het type van de elementen vertegenwoordigt, en N de vaste grootte die bekend is bij compilatie. +Individuele elementen kunnen worden benaderd met behulp van de operator [x], waarbij x een usize-index (beginnend bij 0) is van het element dat u wilt benaderen. +Verzamelingen met een dynamische grootte, vaak aangeduid als dynamische arrays of vectoren, zullen aan u worden gepresenteerd in een later hoofdstuk genaamd Vectoren.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_pl.html b/beta_08_pl.html new file mode 100644 index 000000000..6adcbbace --- /dev/null +++ b/beta_08_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tablice

+

Tablica to kolekcja o stałej długości której wszystkie elementy są tego samego typu.

+

Typ danych dla danej tablicy to [T;N], gdzie T to typ elementów tablicy, a N to stała długość tej tablicy znana na etapie kompilacji.

+

Poszczególne elementy mogą pobrane z tablicy z wykorzystaniem operatora [x], gdzie x to indeks elementu który chcemy odczytać. Typ indeksu x to usize (zaczyna się od 0).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_pt-br.html b/beta_08_pt-br.html new file mode 100644 index 000000000..cbfe15b41 --- /dev/null +++ b/beta_08_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

Uma array é uma coleção de tamanho fixo de elementos, cujos valores são todos do mesmo tipo.

+

O tipo de dado para uma array é [T;N], onde T é o tipo dos valores e N é o comprimento fixo conhecido em tempo de compilação.

+

Os elementos podem ser recuperados individualmente com o operador [x], onde x é o índice do tipo usize (começando de 0) do elemento que deseja recuperar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ro.html b/beta_08_ro.html new file mode 100644 index 000000000..59835d036 --- /dev/null +++ b/beta_08_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tablouri

+

Un tablou este o colecție de dimensiune fixă de elemente care conțin date de același tip.

+

Tipul de date pentru un tablou este scris sub forma [T;N], unde T reprezintă tipul elementelor, iar N reprezintă dimensiunea fixă cunoscută la momentul compilării.

+

Elemente individuale pot fi accesate cu ajutorul operatorului [x], unde x este un index usize (începând cu 0) al elementului pe care doriți să-l accesați.

+

Colecțiile cu dimensiune dinamică, deseori numite tablouri dinamice sau variabile, vă vor fi prezentate într-un capitol viitor numit Vectori.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ru.html b/beta_08_ru.html new file mode 100644 index 000000000..8dc718916 --- /dev/null +++ b/beta_08_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Массивы (Arrays)

+

Массив - это коллекция с фиксированным количеством элементов данных одинакового типа.

+

Тип данных массив объявляется как [T; N], где T - тип элементов и N - количество элементов в массиве, заранее известное при компиляции.

+

Получить доступ к элементам массива можно с помощью оператора [x], где x является индексом типа usize (массив всегда начинается с 0 индекса) для желаемого элемента.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_th.html b/beta_08_th.html new file mode 100644 index 000000000..d5d23c6bd --- /dev/null +++ b/beta_08_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Arrays

+

array คือกลุ่มของข้อมูลที่มี type เดียวกัน และมีขนาดที่แน่นอน

+

ชนิดข้อมูลสำหรับ array คือ [T;N] โดย T คือ type ของสมาชิก และ N คือขนาดที่ถูกกำหนดให้รับรู้ตั้งแต่ compile-time

+

การดึงข้อมูลแต่ละตัวออกมา ทำได้ด้วยการใช้ตัวดำเนินการ(operator) [x] โดยที่ x คือ usize index (เริ่มต้นที่เลข 0) ที่คุณต้องการ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_tr.html b/beta_08_tr.html new file mode 100644 index 000000000..0f8b689e7 --- /dev/null +++ b/beta_08_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Diziler

+

Dizi, aynı tür öğelerden oluşan, sabit boyutlu bir koleksiyon türüdür.

+

Dizinin veri türü [T; N] olarak temsil edilir. T burada öğenin türünü gösterirken, N derleme zamanında bilinen sabit uzunluğunu ifade eder.

+

Dizinleri usize türünde ve 0'dan başlayan dizi öğelerine erişmek için dizi[x] söz dizimi kullanılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_ua.html b/beta_08_ua.html new file mode 100644 index 000000000..2d6b2e802 --- /dev/null +++ b/beta_08_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Масиви

+

Масив - це колекція фіксованої довжини, де усі елементи представляють один і той же тип даних.

+

Тип даних масив позначається як [T;N], де Т - тип даних елемента, а N - фіксована довжина, що відома під час компіляції.

+

Кожен окремий елемент можна отримати за допомогою оператора [x], де x - індекс типу usize (починається з 0), який вказує на бажаний елемент.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_vi.html b/beta_08_vi.html new file mode 100644 index 000000000..22c421850 --- /dev/null +++ b/beta_08_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mảng

+

Một Mảng là một tập hợp độ dài cố định của tất cả các phần tử dữ liệu cùng kiểu.

+

Kiểu dữ liệu cho một mảng[T; N] trong đó T là kiểu của các phần tử và N là độ dài cố định đã biết tại thời điểm biên dịch.

+

Các phần tử riêng lẻ có thể được truy xuất bằng toán tử [x] trong đó x là chỉ số usize (bắt đầu từ 0) của phần tử bạn muốn.

+

Các tập hợp có độ dài động, thường được gọi là mảng động hoặc mảng biến, được giới thiệu trong chương sau về Vectơ.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_zh-cn.html b/beta_08_zh-cn.html new file mode 100644 index 000000000..9117b375f --- /dev/null +++ b/beta_08_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

数组

+

数组是所有相同类型数据元素的固定长度集合。

+

一个数组的数据类型是 [T;N],其中 T 是元素的类型,N 是编译时已知的固定长度。

+

可以使用 [x] 运算符提取单个元素,其中 x 是所需元素的 usize 索引(从 0 开始)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_08_zh-tw.html b/beta_08_zh-tw.html new file mode 100644 index 000000000..a730570c1 --- /dev/null +++ b/beta_08_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

陣列 (Array)

+

陣列(Array) 是一個固定長度的數據集。裡面只會放著同一種類型的值。 +陣列 類型是以 [T;N] 來宣告。T 是數據元件的類型,而 N 是在編譯時已經知道的陣列長度。

+

陣列 中的數據元件可以透過[x] 來提取。 x 是一個由零開始計的 usize 類索引。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_al.html b/beta_09_al.html new file mode 100644 index 000000000..24ff12824 --- /dev/null +++ b/beta_09_al.html @@ -0,0 +1,54 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funksionet

+

Një funksion ka zero ose më shumë parametra.

+

Në këtë shembull, funksioni add merr dy argumente të tipit i32 + (numër i plotë i nënshkruar me gjatësi 32-bit).

+

Nëse thjesht dëshironi të ktheni një shprehje, mund të hiqni fjalën kyçe "kthim". + dhe pikëpresjes në fund, siç bëmë në funksionin zbris.

+

Emrat e funksioneve janë gjithmonë në snake_case.

+

Këshillë: nëse përcaktoni një funksion, të dhënat që ai pranon quhen parametra. + Nëse e thërrisni atë funksion dhe i kaloni të dhëna, atëherë ai quhet argumente.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_ar.html b/beta_09_ar.html new file mode 100644 index 000000000..f49bf0a0d --- /dev/null +++ b/beta_09_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الدوال (Functions)

+

تُعرَّف الدوال باستخدام الكلمة المفتاحية fn ويمكن أن تحمل صفر أو عدة معلمات (parameters) وهي التي تكون محاطة بالأقواس.

+

في هذا المثال، الدالة add تأخذ وسيطتين (arguments) من نوع i32 (عدد صحيح بإشارة ذو طول 32 بت).

+

إذا اردت إرجاع عبارة (expression)، يمكنك الإستغناء عن الكلمة المفتاحية return و الفاصلة المنقوطة (semicolon) في آخر السطر، كما هو مبين في المثال مع الدالة subtract.

+

أسماء معرفات الدوال دائما تكون بطريقة الثعبان snake_case.

+

تلميح: إذا قمت بتعريف دالة، فإن البيانات التي تقبلها تدعى بـالمعلمات(parameters). وإذا قمت بإستدعاءالدالة ومررت لها بيانات فإنها حينئذ تدعى بالوسيطات (arguments). إذا المعلمة هي المتغير المدرج داخل الأقواس في تعريف الدالة. أما الوسيطة هي القيمة التي يتم إرسالها إلى الدالة عند استدعائها.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_de.html b/beta_09_de.html new file mode 100644 index 000000000..296c94f7c --- /dev/null +++ b/beta_09_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funktionen

+

Eine Funktion kann eine beliebige (nicht-negative) Anzahl an Argumenten bzw. Parametern aufnehmen.

+

In diesem Beispiel verlangt die Funktion add zwei Parameter vom Typ i32 (32 Bit Ganzzahl). Wenn du lediglich einen Ausdruck zurückgibst, kannst du das return Schlüsselwort und das Semikolon am Ende weglassen, wie wir es bei der subtract Funktion getan haben.

+

Funktionsnamen sollten im snake_case Format vergeben werden.

+

Hinweis: Wenn man eine Funktion deklariert, dann spricht man bei den Daten, die die Funktion aktzeptiert, von Parametern. Ruft man die Funktion dann auf und übergibt ihr Daten, dann spricht man von Argumenten.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_en.html b/beta_09_en.html new file mode 100644 index 000000000..fc9293d0e --- /dev/null +++ b/beta_09_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functions

+

A function has zero or more parameters.

+

In this example, the add function takes two arguments of type i32 (signed integer of 32-bit length).

+

If you just want to return an expression, you can drop the return keyword and the semicolon at the end, as we did in the subtract function.

+

Function names are always in snake_case.

+

Hint: if you define a function, the data it accepts are called parameters. If you call that function and pass data to it, then it's called arguments.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_es.html b/beta_09_es.html new file mode 100644 index 000000000..ed5b00356 --- /dev/null +++ b/beta_09_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funciones

+

Una función tiene cero o más parámetros.

+

En este ejemplo, "add" recibe dos argumentos de tipo i32 (entero de 32 bits).

+

Los nombres de las funciones se escriben siempre en snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_fa.html b/beta_09_fa.html new file mode 100644 index 000000000..b956848b2 --- /dev/null +++ b/beta_09_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functions

+

A function has zero or more parameters.

+

In this example, add takes two arguments of type i32 (signed integer of 32-bit +length).

+

Function names are always in snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_fi.html b/beta_09_fi.html new file mode 100644 index 000000000..056a06b4a --- /dev/null +++ b/beta_09_fi.html @@ -0,0 +1,51 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funktiot

+

Fuktiolla on nolla tai enemmän parametreja.

+

Tässä erimerkissä, funktio add saa kaksi parametriä, joiden tyyppi on i32 (etumerkillinen 32-bittinen kokonaisluku).

+

Jos haluat palauttaa vain lausekkeen arvon funktion lopussa, voit jättää pois return-avainsanan ja puolipisteen, kuten subtract-funktiossa.

+

Funktion nimet ovat aina snake_case.

+

Huomaa: Kun määrittelet funktion, sen saamia tietoja sanotaan parametreiksi. Kun kutsut funktiota ja annat sille tietoja, niitä sanotaan argumenteiksi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_fr.html b/beta_09_fr.html new file mode 100644 index 000000000..fc07eaa8a --- /dev/null +++ b/beta_09_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fonctions

+

Une fonction peut posséder 0 à plusieurs paramètres.

+

Dans cet exemple, la fonction add accepte 2 arguments de type i32 (entier +de longueur 32-bit).

+

Les noms de fonctions sont toujours de la forme snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_gr.html b/beta_09_gr.html new file mode 100644 index 000000000..df47d5eeb --- /dev/null +++ b/beta_09_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Συναρτήσεις

+

Μία συνάρτηση μπορεί να έχει μηδέν ή περισσότερες παραμέτρους.

+

Σ' αυτό το παράδειγμα, η συνάρτηση add δέχεται δύο ορίσματα τύπου i32, ήτοι προσημασμένους 32bitους ακεραίους.

+

Τα ονόματα των συναρτήσεων είναι πάντοτε σε φιδο_πεζά.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_hu.html b/beta_09_hu.html new file mode 100644 index 000000000..352bdffd3 --- /dev/null +++ b/beta_09_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Függvények

+

A függvényeknek nulla vagy több paraméterük van.

+

Ebben a példában az add két i32 (32 bit hosszú előjeles szám) paramétert vár.

+

A függvények nevei mindig kígyó_módon vannak megadva.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_id.html b/beta_09_id.html new file mode 100644 index 000000000..099a8a3ec --- /dev/null +++ b/beta_09_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fungsi

+

Sebuah fungsi memepunyai parameter dengan jumlah nol atau lebih.

+

Di dalam contoh ini, add membutuhkan dua argumen dengan tipe data i32 (signed integer dengan panjang 32-bit).

+

Nama fungsi selalu menggunakan snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_ie.html b/beta_09_ie.html new file mode 100644 index 000000000..1d84f92fa --- /dev/null +++ b/beta_09_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functiones

+

Un function posse prender null o plu argumentes.

In ti-ci exemple, adddir prende du parametres del tip i32 (integer (númere integrale) del longore 32-bit).

Nómines de functiones es sempre in snake_case (minuscules con infra-strecs)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_it.html b/beta_09_it.html new file mode 100644 index 000000000..0ca5fc218 --- /dev/null +++ b/beta_09_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funzioni

+

Una funzione può avere zero o più parametri.

+

In questo esempio, la funzione add richiede due argomenti di tipo i32 (interi con segno di 32-bit).

+

Se vuoi solo ritornare una espressione, puoi tralasciare la parola chiave return e il punto-e-virgola alla fine, come abbiamo fatto nella funzione subtract .

+

I nomi delle funzioni sono sempre in snake_case.

+

Chiarimento: quando definisci una funzione, i dati che accetta si chiamano parametri. Quando chiami la funzione passandogli dei dati, allora li chiameremo argomenti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_ja.html b/beta_09_ja.html new file mode 100644 index 000000000..42ee8079c --- /dev/null +++ b/beta_09_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数

+

関数には 0 個以上の引数があります。

+

この例では、add は i32 型(32 ビット長の整数)の引数を 2 つ取ります。

+

関数名にはスネークケース snake_case を使用します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_ko.html b/beta_09_ko.html new file mode 100644 index 000000000..73b254bea --- /dev/null +++ b/beta_09_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

함수

+

함수는 0개 또는 그 이상의 인자를 가집니다.

+

이 예제에서 add 함수는 i32 (32비트 길이의 부호가 있는 정수형) 자료형의 인자 2개를 받습니다.

+

함수의 이름은 언제나 snake_case 형태로 짓습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_ne.html b/beta_09_ne.html new file mode 100644 index 000000000..6df07cc66 --- /dev/null +++ b/beta_09_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functies

+

Een functie kan nul of meer parameters accepteren. +In dit voorbeeld accepteert de functie add twee parameters van het type i32 (een getal met teken van 32 bits). +Bij het retourneren van een expressie kunnen het sleutelwoord 'return' en de puntkomma aan het einde worden weggelaten, zoals gedaan is in de functie subtract. +De namen van functies worden altijd geschreven in de vorm van snake_case. +Hint: als u een functie definieert, worden de gegevens die het accepteert formele parameters genoemd. Als u een functie aanroept en gegevens doorgeeft, worden ze actuele parameters genoemd.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_pl.html b/beta_09_pl.html new file mode 100644 index 000000000..31666fa2a --- /dev/null +++ b/beta_09_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funkcje

+

Funkcja posiada zero lub więcej parametrów.

+

W naszym przykładzie, add bierze dwa argumenty typu i32 (liczby całkowitej ze znakiem, o długości 32 bitów).

+

Nazwy funkcji są zawsze zapisywane stylem snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_pt-br.html b/beta_09_pt-br.html new file mode 100644 index 000000000..916e3efec --- /dev/null +++ b/beta_09_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funções

+

Uma função pode receber zero ou mais parâmetros.

+

Neste exemplo, add recebe dois parâmetros do tipo i32 (número inteiro de 32 bits).

+

Os nomes das funções são sempre em snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_ro.html b/beta_09_ro.html new file mode 100644 index 000000000..57d16475a --- /dev/null +++ b/beta_09_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funcții

+

O funcție admite zero sau mai mulți parametri.

+

În acest exemplu, funcția add admite doi parametri de tip i32 (număr întreg cu semn cu dimensiune de 32 de biți).

+

La returnarea unei expresii se poate omite cuvântul cheie return și simbolul punct-virgulă de la final, așa cum s-a procedat în funcția subtract.

+

Numele funcțiilor sunt mereu scrise în format snake_case.

+

Sfat: dacă definiți o funcție, datele pe care le admite se numesc parametrii formali. Dacă apelați o funcție și îi transmiteți niște date, atunci ele se numesc parametrii actuali.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_ru.html b/beta_09_ru.html new file mode 100644 index 000000000..50105cb36 --- /dev/null +++ b/beta_09_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Функции (Functions)

+

Функция может принимать ноль или больше аргументов.

+

В этом примере функция add принимает два аргумента типа i32 +(целочисленное длиной 32 бита).

+

Имена функций всегда пишутся в нотации snake_case.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_th.html b/beta_09_th.html new file mode 100644 index 000000000..e5f07fb90 --- /dev/null +++ b/beta_09_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functions

+

ฟังก์ชัน มีพารามิเตอร์ได้ศูนย์ตัวหรือมากกว่านั้น

+

ในตัวอย่างนี้ ฟังก์ชัน add รับอากิวเมนต์ประเภท i32 (signed integer of 32-bit +length)

+

ชื่อฟังก์ชันจะเป็น snake_case เสมอ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_tr.html b/beta_09_tr.html new file mode 100644 index 000000000..fb5f6a63d --- /dev/null +++ b/beta_09_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

İşlevler

+

Bir işlev herhangi bir sayıda parametreye sahip olabilir.

+

Bu örnekte, ekle işlevi, i32 yani 32 bit tam sayı türünde iki parametre kabul eder.

+

İşlev isimleri her zaman snake_case biçiminde tercih edilmelidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_ua.html b/beta_09_ua.html new file mode 100644 index 000000000..8c92dd4f6 --- /dev/null +++ b/beta_09_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Функції

+

Функції можуть не мають жодного, мати один або більше аргументів.

+

В цьому прикладі функція add приймає два аргументи типу i32 (цілочисельний зі знаком довжини в 32 біти).

+

Функції мають бути іменовані snake_case реєстрі.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_vi.html b/beta_09_vi.html new file mode 100644 index 000000000..8b6cf4e4e --- /dev/null +++ b/beta_09_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hàm

+

Một hàm có thể không có hoặc có nhiều tham số.

+

Trong ví dụ này, hàm add nhận hai đối số kiểu i32 (số nguyên có dấu có độ dài 32 bit).

+

Nếu bạn chỉ muốn trả về một biểu thức, bạn có thể bỏ từ khóa return và dấu chấm phẩy ở cuối, như chúng ta đã làm trong hàm subtract.

+

Tên hàm luôn ở dạng snake_case..

+

Mẹo: nếu bạn định nghĩa một hàm, dữ liệu mà nó chấp nhận được gọi là tham số. Nếu bạn gọi hàm đó và truyền dữ liệu cho nó, thì nó được gọi là các đối số.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_zh-cn.html b/beta_09_zh-cn.html new file mode 100644 index 000000000..dc1f81a52 --- /dev/null +++ b/beta_09_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

函数

+

函数可以有 0 个或者多个参数。

+

在这个例子中,add 接受类型为 i32(32 位长度的整数)的两个参数。

+

函数名总是遵循 蛇形命名法 (snake_case)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_09_zh-tw.html b/beta_09_zh-tw.html new file mode 100644 index 000000000..1bc9f56d3 --- /dev/null +++ b/beta_09_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

函數 (Functions)

+

函數(Functions)的參數數量可以從沒有到多個都可以 +在這個例子中, add 有兩個 i32 類型的參數 (有符號的 32-bit 整數) +函數的名字通常是使用 snake_case 來命名。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_ar.html b/beta_100_ar.html new file mode 100644 index 000000000..2506de5fc --- /dev/null +++ b/beta_100_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

عد المراجع (Referencing Counting)

+

Rc هو مؤشر ذكي (smart pointer) ينقل البيانات من المكدس (stack) إلى الكومة (heap). فهو يسمح لنا باستنساخ (clone) مؤشرات ذكية أخرى من نوع Rc تتمتع جميعها بالقدرة على استعارة غير قابلة للتغيير للبيانات التي تم وضعها في الكومة.

+

فقط عندما يتم إسقاط (drop) المؤشر الذكي (smart pointer) الأخير، فإنه يتم إلغاء تخصيص (deallocated) البيانات الموجودة في الكومة (heap).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_en.html b/beta_100_en.html new file mode 100644 index 000000000..341d29c24 --- /dev/null +++ b/beta_100_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_es.html b/beta_100_es.html new file mode 100644 index 000000000..e1303d2b6 --- /dev/null +++ b/beta_100_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rc (Referencing Counting)

+

Rc es un puntero inteligente que mueve los datos de la pila al montículo. Nos permite clonar otros punteros inteligentes Rc que tienen la capacidad de tomar prestados de forma inmutable los datos que se colocaron en el montículo.

+

Sólo cuando se libera (drop) el último puntero inteligente, los datos en el montículo se liberan.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_fa.html b/beta_100_fa.html new file mode 100644 index 000000000..13b2e2262 --- /dev/null +++ b/beta_100_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_fr.html b/beta_100_fr.html new file mode 100644 index 000000000..dc68826e9 --- /dev/null +++ b/beta_100_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-propriétaire

+

Rc (en anglais Reference Counting) est un pointeur intelligent qui +déplace les données de la pile vers le tas. Celui-ci peut être cloné +et permet d'emprunter immuablement les données se trouvant sur le tas.

+

Ce n'est que lorsque le dernier pointeur intelligent est déalloué que les +données du tas sont désallouées.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_hu.html b/beta_100_hu.html new file mode 100644 index 000000000..d1ad97124 --- /dev/null +++ b/beta_100_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciaszámlálás

+

Az Rc egy olyan okos mutató, ami a veremből a kupacmemóriára mozgat adatot. Lehetővé teszi +számunkra, hogy további Rc mutatókat klónozzunk belőle, amik a kupacra mozgatott adatunkat +képesek - módosítást nem megengedő módon - kölcsönvenni.

+

Amikor az utolsó okos mutató is drop-ol, a kupacmemóriában lévő adat felszabadításra kerül.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_ie.html b/beta_100_ie.html new file mode 100644 index 000000000..a0b896b90 --- /dev/null +++ b/beta_100_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Numerotar Referenties

+

Rc es un puntator inteligent quel move data del stack til li heap. Con it noi posse clonar altri +puntatores Rc queles possede li habilitá de ínmutabilmen pruntar li data plazzar sur li heap. +Li dealocation del data sur li heap eveni solmen pos que li ultim puntator inteligent cade.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_ko.html b/beta_100_ko.html new file mode 100644 index 000000000..9dde589de --- /dev/null +++ b/beta_100_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조 카운팅

+

Rc는 stack에 있는 데이터를 heap으로 옮겨주는 smart pointer입니다. +이는 heap에 놓인 데이터를 immutable하게 대여하는 기능을 가진 다른 Rc smart pointer들을 복제할 수 있게 해줍니다.

+

마지막 smart pointer가 drop 될 때에만 heap에 있는 데이터가 할당 해제됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_pl.html b/beta_100_pl.html new file mode 100644 index 000000000..fdc09c138 --- /dev/null +++ b/beta_100_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Counting

+

Rc is a smart pointer that moves data from the stack onto the heap. It allows us to +clone other Rc smart pointers that all have the ability to immutably borrow the data +that was put on the heap.

+

Only when the last smart pointer is dropped does the data on the heap become deallocated.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_pt-br.html b/beta_100_pt-br.html new file mode 100644 index 000000000..2c9c31927 --- /dev/null +++ b/beta_100_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Contando referências

+

O Rc é um ponteiro inteligente que move os dados da pilha para a heap. Ele nos permite clonar outros ponteiros inteligentes Rc que têm a capacidade de imutavelmente tomar emprestado os dados que foram colocados na heap.

+

Somente quando o último ponteiro inteligente é descartado que os dados na heap são desalocados.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_ro.html b/beta_100_ro.html new file mode 100644 index 000000000..f1bd15a16 --- /dev/null +++ b/beta_100_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Numărarea referențierilor

+

Rc este un pointer inteligent ce mută date de pe stivă pe heap. Acesta ne permite +să clonăm alți pointeri inteligenți Rc care au abilitatea de a împrumuta drept imutabile datele +ce au fost mutate pe heap.

+

Datele de pe heap sunt dezalocate numai atunci când ultimul pointer inteligent este abandonat.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_ru.html b/beta_100_ru.html new file mode 100644 index 000000000..c285c506f --- /dev/null +++ b/beta_100_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Подсчет ссылок (Referencing Counting)

+

Тип Rc является умным указателем, который перемещает данные из стека в кучу. Он также позволяет клонировать другие умные указатели Rc, которые имеют возможность неизменного заимствования данных, помещенных в кучу.

+

Как только последний умный указатель удален, данные внутри умного указателя освобождаются в куче.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_th.html b/beta_100_th.html new file mode 100644 index 000000000..47014182c --- /dev/null +++ b/beta_100_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Counting

+

Rc เป็น smart pointer ที่ย้ายข้อมูลจาก stack ไปอยู่ใน heap มันช่วยให้เราโคลน smart pointer Rc ตัวอื่นๆ โดยทุกตัวจะสามารถ ยืมโดยไม่เปลี่ยนแปลง ข้อมูลที่อยู่ใน heap ได้

+

เมื่อ smart pointer ตัวสุดท้ายถูก drop เท่านั้นจึงจะคืนหน่วยความจำใน heap

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_tr.html b/beta_100_tr.html new file mode 100644 index 000000000..6b99d165d --- /dev/null +++ b/beta_100_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referans Sayımı

+

Rc, verileri yığından öbeğe taşıyan akıllı bir işaretçidir. Ve bu işaretçi gerektiğinde, öbek üzerinde bulunan verileri ödünç alma yeteneğine sahip, diğer Rc akıllı işaretçilerini klonlamamızı sağlar.

+

Öbek üzerindeki veriler, yalnızca son akıllı işaretçi düşürüldüğünde serbest bırakılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_ua.html b/beta_100_ua.html new file mode 100644 index 000000000..1893ed931 --- /dev/null +++ b/beta_100_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Лічильник посилань

+

Rc - це розумний покажчик, який переміщує дані зі стеку в купу. Він дозволяє нам +клонувати інші розумні вказівники Rc, які мають можливість незмінно запозичувати дані, +які було поміщено на купу не змінюючи їх.

+

Тільки коли останній розумний покажчик буде скинуто, дані будуть викинуті з купи.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_vi.html b/beta_100_vi.html new file mode 100644 index 000000000..d5cf8489c --- /dev/null +++ b/beta_100_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đếm tham chiếu

+

Rc là một con trỏ thông minh di chuyển dữ liệu từ stack lên heap. Nó cho phép chúng ta sao chép các con trỏ thông minh Rc khác mà tất cả đều có khả năng mượn dữ liệu được đặt trên heap một cách bất biến.

+

Chỉ khi con trỏ thông minh cuối cùng bị drop thì dữ liệu trên heap mới được deallocate.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_100_zh-cn.html b/beta_100_zh-cn.html new file mode 100644 index 000000000..403031c3f --- /dev/null +++ b/beta_100_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

引用计数

+

Rc 是一个能将数据从栈移动到智能指针。 它允许我们克隆其他Rc智能指针,这些指针都具有不可改变地借用放在堆上的数据的能力。

+

只有当最后一个智能指针被删除时,堆上的数据才会被释放。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_ar.html b/beta_101_ar.html new file mode 100644 index 000000000..af9825c18 --- /dev/null +++ b/beta_101_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مشاركة الوصول (Sharing Access)

+

RefCell عبارة عن هيكل بيانات في شكل حاوية (container data structure) يتم الاحتفاظ به عادةً بواسطة مؤشرات ذكية التي تستوعب البيانات وتتيح لنا استعارة مراجع قابلة للتغيير وغير قابلة للتغيير (mutable and immutable references) إلى ما بداخلها. وهو يمنع إساءة استخدام الاستعارة (borrowing) من خلال فرض قواعد أمان ذاكرة (memory safety rules) الخاصة برست (Rust) في وقت التشغيل (runtime) عندما تطلب استعارة البيانات عن طريق:

+

مرجع واحد فقط قابل للتغيير أو عدة مراجع غير قابلة للتغيير، ولكن ليس كليهما!

+

إذا انتهكت هذه القواعد، فسوف يصدر RefCell رسالة ذعر (panic).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_en.html b/beta_101_en.html new file mode 100644 index 000000000..204789028 --- /dev/null +++ b/beta_101_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_es.html b/beta_101_es.html new file mode 100644 index 000000000..a80bc597b --- /dev/null +++ b/beta_101_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Acceso Compartido

+

RefCell es una estructura de datos de tipo contenedor comúnmente compuesta por punteros inteligentes que toma datos y nos permite tomar prestadas referencias mutables e inmutables de lo que hay dentro. Evita que se abuse de los préstamos haciendo cumplir las reglas de seguridad de la memoria de Rust en tiempo de ejecución cuando pides prestado los datos del interior:

+

Sólo permite una referencia mutable o múltiples referencias inmutables, ¡pero no ambas!

+

Si incumples estas reglas, RefCell entrará en pánico.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_fa.html b/beta_101_fa.html new file mode 100644 index 000000000..4e8b8ed64 --- /dev/null +++ b/beta_101_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_fr.html b/beta_101_fr.html new file mode 100644 index 000000000..a23bc2692 --- /dev/null +++ b/beta_101_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partage d'accès

+

RefCell est une structure de données couramment détenue par des pointeurs +intelligents et qui contient des données. RefCellnous permet d'emprunter +des références mutables et immuables vers ces données. Il empêche d'abuser +de la fonctionnalité d'emprunt (en anglais borrowing) de Rust en appliquant +des règles de sécurité liées à la mémoire lors de l'exécution:

+

Une seule référence mutable OU plusieurs références immuables, mais pas les deux!

+

Si vous violez ces règles, RefCell paniquera.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_hu.html b/beta_101_hu.html new file mode 100644 index 000000000..41ace892d --- /dev/null +++ b/beta_101_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hozzáférés Megosztása

+

A RefCell egy olyan adatstruktúra, ami képes kölcsönadni mind meg nem változtatható, mind +pedig megváltoztatható módon az általa birtokolt adatot. Gyakran használják egyéb okos mutatók +megvalósításakor. Az egyszerű referenciákkal szemben nem fordítási, hanem futásidőben ellenőrzi +a Rust kölcsönvételi szabályait, így segít megakadályozni azok megkerülését:

+

Egyszerre csak egy megváltoztatható VAGY akármennyi meg nem változtatható referencia lehet, de +sosem lehet egyszerre mindkettő!

+

Ha megsértjük ezt a szabályt, a RefCell pánikol.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_ie.html b/beta_101_ie.html new file mode 100644 index 000000000..492a12255 --- /dev/null +++ b/beta_101_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Accesse Junt

+

RefCell es un data-structura scatullesc quel es tenet per puntatores inteligent e prende data por que noi mey +pruntar referenties mutabil e ínmutabil al contenete intern. Ti-ci puntator inteligent preveni pruntation abuset +per li validation del regules de Rust pri securitá de memorie durant li functionament del programma quande tu +peti pruntar li data intern. +Sive un mutabil referentie sive multiplic ínmutabil referenties, ma ne ambi! +Con un violation de ti regules RefCell va far un panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_ko.html b/beta_101_ko.html new file mode 100644 index 000000000..353972281 --- /dev/null +++ b/beta_101_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

접근 공유하기

+

RefCell은 보통 smart pointer가 보유하는 컨테이너 데이터 구조로서, +데이터를 가져오거나 안에 있는 것에 대한 mutable 또는 immutable한 참조를 대여할 수 있게 해줍니다. +데이터를 대여할 때, Rust는 런타임에 다음의 메모리 안전 규칙을 적용하여 남용을 방지합니다:

+

단 하나의 mutable한 참조 또는 여러개의 immutable한 참조만 허용하며, 둘 다는 안됨!.

+

이 규칙을 어기면 RefCell은 panic을 일으킵니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_pl.html b/beta_101_pl.html new file mode 100644 index 000000000..f8dbbf0ce --- /dev/null +++ b/beta_101_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Access

+

RefCell is a container data structure commonly held by smart pointers that takes in data and lets us +borrow mutable and immutable references to what's inside. It prevents borrowing from +being abused by enforcing Rust's memory safety rules at runtime when you ask to borrow +the data within:

+

Only one mutable reference OR multiple immutable references, but not both!

+

If you violate these rules RefCell will panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_pt-br.html b/beta_101_pt-br.html new file mode 100644 index 000000000..98b7557a6 --- /dev/null +++ b/beta_101_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Compartilhando acesso

+

O RefCell é uma estrutura de dados contêiner comumente mantida por ponteiros inteligentes que obtém dados e nos permite emprestar referências mutáveis e imutáveis para o que está lá dentro. Ele evita o abuso do empréstimo aplicando as regras de segurança de memória do Rust em tempo de execução quando você pede emprestado os dados que estão dentro:

+

Apenas uma referência mutável OU várias referências imutáveis, mas não ambas!

+

Se você violar essas regras, o RefCell retornará um panic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_ro.html b/beta_101_ro.html new file mode 100644 index 000000000..3d4ac68de --- /dev/null +++ b/beta_101_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partajarea accesului

+

RefCell este o structură de date de tip container, întâlnită de obicei la pointerii inteligenți, ce ia date și ne permite să împrumutăm referințe mutabile și +imutabile a ce se află în acesta. Previne abuzul împrumutului +prin consolidarea regulilor de siguranță ale limbajului Rust atunci când la rulare ceri să împrumuți: +O singură referință mutabilă SAU mai multe referințe imutabile, dar nu ambele!

+

Încălcarea acestor reguli va face ca RefCell să se panicheze.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_ru.html b/beta_101_ru.html new file mode 100644 index 000000000..140e7175b --- /dev/null +++ b/beta_101_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Разделяемый доступ (Sharing Access)

+

Тип RefCell является контейнерной структурой данных, которая обычно поддерживает другие умные указатели. Она принимает данные и позволяет заимствовать изменяемые и неизменяемые ссылки на то, что находится внутри неё. Это предотвращает злоупотребление заимствованиями, обеспечивая соблюдение Rust правил безопасности памяти во время выполнения, когда вы просите заимствовать данные в случае:

+

только одна изменяемая ссылка ИЛИ несколько неизменяемых ссылок, но не обе одновременно!

+

При нарушении данного правила RefCell тип вызывает панику.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_th.html b/beta_101_th.html new file mode 100644 index 000000000..aab0efd7e --- /dev/null +++ b/beta_101_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Access

+

RefCell เป็นโครงสร้างข้อมูลแบบคอนเทนเนอร์ ที่ถูกถือไว้โดย smart pointer โดยมันจะรับข้อมูลเข้ามา และยอมให้เรายืม การอ้างอิง ของที่อยู่ในนั้นไม่ว่าจะเป็นอะไร ทั้งแบบยืมโดยไม่เปลี่ยนแปลงอะไร และยืมโดยยอมให้เปลี่ยนแปลงได้ +และมีการป้องกันการยืมไม่ให้ถูกละเมิด ด้วยการบังคับใช้กฎรักษาความปลอดภัยในหน่วยความจำของ Rust ตอน runtime เมื่อคุณขอยืมข้อมูล:

+

การยืมเลือกได้เพียงอย่างเดียว คือ ยืมแบบเปลี่ยนแปลงค่าได้ หนึ่งตัว หรือยืมแบบเปลี่ยนค่าไม่ได้ หลายตัว จะทำทั้งสอบแบบในเวลาเดียวกันไม่ได้

+

หากคุณละเมิดกฎของ RefCall จะทำให้เกิด panic

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_tr.html b/beta_101_tr.html new file mode 100644 index 000000000..23e8d47f0 --- /dev/null +++ b/beta_101_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Erişim Paylaşımı

+

RefCell, kapsadığı verilere değişmez veya değişken referanslar ödünç almamızı sağlayan ve genellikle akıllı işaretçiler tarafından tutulan kapsayıcı bir veri yapsıdır. Bu veri yapısının biricik özelliği, bellekle ilgili güvenlik kurallarını çalışma zamanında uygulamak ve borçlanma sisteminin kötüye kullanılmasını önlemektir. Bu yapıyla ilgili bilinmesi gereken tek kural aşağıda yer almaktadır:

+

Ya sadece bir tane değişken referansınız, YA DA çok sayıda değişmez referansınız olabilir. İkisinin birden olmasına izin verilmez!

+

Bu kuralın ihlali RefCell özelliğinin panik üretmesine ve programın durdurulmasına sebep olur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_ua.html b/beta_101_ua.html new file mode 100644 index 000000000..156028151 --- /dev/null +++ b/beta_101_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Спільний доступ

+

RefCell - це контейнерна структура даних, яка зазвичай утримується розумними покажчиками, яка приймає дані і дозволяє нам +змінювати змінні та незмінні посилання на те, що знаходиться всередині. Це запобігає зловживанню +запозиченнями, використовуючи правила безпеки пам'яті Rust, коли ви робите запит запозичити +дані всередині:

+

**Тільки одного змінюваного посилання АБО декількох незмінних посилань, але не обох видів одночасно! **.

+

Якщо ви порушите ці правила, RefCell впаде у паніку.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_vi.html b/beta_101_vi.html new file mode 100644 index 000000000..c7c63799a --- /dev/null +++ b/beta_101_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chia sẻ quyền truy cập

+

RefCell là một cấu trúc dữ liệu vùng chứa thường được giữ bởi các con trỏ thông minh mà sẽ lấy dữ liệu và cho phép chúng ta mượn các tham chiếu bất biến và khả biến cho những gì bên trong. Nó ngăn không cho việc vay mượn bị lạm dụng bằng cách thực thi các quy tắc an toàn bộ nhớ của Rust trong thời gian chạy khi bạn yêu cầu mượn dữ liệu trong:

+

Chỉ một tham chiếu khả biến HOẶC nhiều tham chiếu bất biến, nhưng không phải cả hai!

+

Nếu bạn vi phạm các quy tắc này RefCell sẽ hoảng hốt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_101_zh-cn.html b/beta_101_zh-cn.html new file mode 100644 index 000000000..2d7abd236 --- /dev/null +++ b/beta_101_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

共享访问

+

RefCell 是一个容器数据结构,通常由智能指针拥有,它接收数据并让我们借用可变或不可变引用来访问内部内容。 当您要求借用数据时,它通过在运行时强制执行 Rust 的内存安全规则来防止借用被滥用

+

只有一个可变引用或多个不可变引用,但不能同时有!

+

如果你违反了这些规则,RefCell 将会panic。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_ar.html b/beta_102_ar.html new file mode 100644 index 000000000..0cac0cf28 --- /dev/null +++ b/beta_102_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المشاركة عبر الخيوط (Sharing Across Threads)

+

Mutex عبارة عن هيكل بيانات في شكل حاوية (container data structure) يتم الاحتفاظ به عادةً بواسطة مؤشرات ذكية تستوعب البيانات وتتيح لنا استعارة مراجع قابلة للتغيير وغير قابلة للتغيير (mutable and immutable references) للبيانات الموجودة بداخلها. وهو يمنع إساءة استخدام الاستعارة (borrowing) من خلال جعل نظام التشغيل يقيد حق الوصول للبيانات إلا لخيط وحدة معالجة مركزية (one CPU thread) واحد ، مما يؤدي إلى منع الخيوط (threads) الأخرى من الوصول إلى تلك البيانات حتى ينتهي الخيط الأصلي ذو الإستعارة المقفلة (locked borrow).

+

بالرغم من أن موضوع تعدد الخيوط (Multithreading) خارج مواضيع دورة تعلم راست هذه، ولكن Mutex هو جزء أساسي في تنسيق الخيوط العديدة لوحدة المعالجة المركزية التي تصل إلى نفس البيانات.

+

يوجد مؤشر ذكي خاص Arc وهو مطابق لـ Rc باستثناء أنه يستخدم زيادة عن طريق خيط آمن (thread-safe) عند عد المراجع. غالبًا ما يتم استخدامه للحصول على العديد من المراجع إلى نفس Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_en.html b/beta_102_en.html new file mode 100644 index 000000000..47a89fe1b --- /dev/null +++ b/beta_102_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_es.html b/beta_102_es.html new file mode 100644 index 000000000..bdee0008e --- /dev/null +++ b/beta_102_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Compartir Datos Entre Hilos

+

Mutex es una estructura de datos de tipo contenedor comúnmente compuesta por punteros inteligentes que toma los datos y nos permite tomar prestadas referencias mutables e inmutables de los datos que contiene. Así se evita el abuso del préstamo al hacer que el sistema operativo restrinja sólo un hilo de la CPU en el momento de acceder a los datos, bloqueando otros hilos hasta que el original termine con los datos prestados.

+

Los multihilos están fuera del alcance del Tour de Rust, pero Mutex es una parte fundamental de la coordinación de múltiples hilos de CPU que acceden a los mismos datos.

+

Existe un puntero inteligente especial Arc que es idéntico al Rc excepto porque usa un incremento de referencia con seguridad de hilo. A menudo se utiliza para tener muchas referencias al mismo Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_fa.html b/beta_102_fa.html new file mode 100644 index 000000000..31ed753b4 --- /dev/null +++ b/beta_102_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_fr.html b/beta_102_fr.html new file mode 100644 index 000000000..8eea90253 --- /dev/null +++ b/beta_102_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partage entre threads

+

Mutex est une structure de données (couramment détenue par des pointeurs +intelligents) pouvant contenir des données et nous permet d'emprunter des +références mutable ou immuables vers les données qu'elle contient. Mutex +restreint l'accès aux données à un seul thread CPU, bloquant les autres +threads jusqu'à ce que le thread d'origine ait terminé et déverrouillé les +données.

+

Le multithreading dépasse le cadre de Tour of Rust, mais Mutex est un +élément fondamental de la programmation concurrentielle avec Rust.

+

Il existe un pointeur intelligent spécial Arc qui est identique à Rc +mais pour les threads. La particularité de Arc est qu'il est thread-safe, +Rust gardera en mémoire le nombre de références existantes vers une donnée +même dans une application utilisant plusieurs threads. Il est souvent utilisé +pour avoir plusieurs références vers un même Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_hu.html b/beta_102_hu.html new file mode 100644 index 000000000..319d89dd2 --- /dev/null +++ b/beta_102_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Megosztás Szálak Között

+

A RefCell egy olyan adatstruktúra, ami képes kölcsönadni mind meg nem változtatható, mind +pedig megváltoztatható módon az általa birtokolt adatot. Gyakran használják egyéb okos mutatók +megvalósításakor. Egy időben csak egy programszál számára enged hozzáférést a benne tárolt +adathoz, így segíti a Rust memóriahasználati szabályainak betartását többszálú környezetben. Ha +más szál is megpróbál hozzáférni a tárolt adathoz, miközben az kölcsön van adva, a második szál +blokkolásra kerül.

+

A többszálúság túlmutat a Rust-túra anyagán, de a Mutex az adatok több szálból történő +elérésének egyik alapvető részét képzi.

+

Van egy különleges okos mutató, az Arc, ami hasonló az Rc-hez, kivéve, hogy többszálú +környezetben is biztonságosan használható. Gyakran használják, hogy több helyen hivatkozzanak +ugyan arra a Mutex-re.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_ie.html b/beta_102_ie.html new file mode 100644 index 000000000..9a0c901d9 --- /dev/null +++ b/beta_102_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partiprender trans Files (Threads)

+

Mutex es un data-structura scatullesc quel es frequentmen tenet per puntatores inteligent e prende data por que noi +mey pruntar mutabil e ínmutabil al contenete intern. Con to li pruntation ne es abuset per restrictiones del OS quande +solmen un fil posse accesser li data, bloccante li altri files til quande li fil original ha finit con li pruntation +original. Multifilation es plu complex por nor libre, ma Mutex es un parte fundamental del gerentie de multiplic +CPU-files por accesse al sam data. +Hay un puntator inteligent special nominat Arc quel es identic a Rc except in qualmen it usa fil-secur incrementation +del númere de referenties. Con it on posse haver mult referenties al sam Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_ko.html b/beta_102_ko.html new file mode 100644 index 000000000..5fde26231 --- /dev/null +++ b/beta_102_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

쓰레드 간에 공유하기

+

Mutex는 보통 smart pointer가 보유하는 컨테이너 데이터 구조로서, +데이터를 가져오거나 내부 데이터에 대한 mutable 또는 immutable한 참조를 대여할 수 있게 해줍니다. +이는 잠긴 대여를 통해 운영체제가 동시에 오직 하나의 CPU만 데이터에 접근 가능하도록 하고, +원래 쓰레드가 끝날 때까지 다른 쓰레드들을 막음으로써 대여가 남용되는 것을 방지합니다.

+

멀티쓰레드는 Tour of Rust의 범위를 벗어나지만, Mutex는 +여러 개의 CPU 쓰레드가 같은 데이터에 접근하는 것을 조율하는 근본적인 부분입니다.

+

특별한 smart pointer인 Arc도 있는데, 쓰레드-안전성을 가진 참조 카운트 증가 방식을 사용한다는 것을 제외하고는 Rc와 동일합니다. +이는 동일한 Mutex에 다수의 참조를 가질 때 종종 사용되곤 합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_pl.html b/beta_102_pl.html new file mode 100644 index 000000000..14bc74f1e --- /dev/null +++ b/beta_102_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Across Threads

+

Mutex is a container data structure commonly held by smart pointers that takes in data and lets us borrow mutable +and immutable references to the data within. This prevents borrowing from being abused by +having the operating system restrict only one CPU thread at time to have access to the data, +blocking other threads until that original thread is done with its locked borrow.

+

Multithreading is beyond the scope of Tour of Rust, but Mutex is a fundamental part of orchestrating +multiple CPU threads accessing the same data.

+

There is a special smart pointer Arc which is identical to Rc except uses thread-safe incrementing of reference counts. +It's often used to have many references to the same Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_pt-br.html b/beta_102_pt-br.html new file mode 100644 index 000000000..58c9fe56b --- /dev/null +++ b/beta_102_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Compartilhando entre threads

+

O Mutex é uma estrutura de dados contêiner comumente mantida por ponteiros inteligentes que recebe os dados e nos permite emprestar referências mutáveis e imutáveis aos dados que estão dentro. Isso evita o abuso do empréstimo fazendo com que o sistema operacional restrinja o acesso aos dados a apenas uma thread de CPU por vez, bloqueando as outras threads até que a thread original seja concluída com seu empréstimo bloqueado.

+

O multithreading está além do escopo do Tour por Rust, mas Mutex é uma parte fundamental da orquestração de várias threads de CPU acessando os mesmos dados.

+

Há um ponteiro inteligente especial Arc que é idêntico aoRc, exceto pelo uso de incrementos thread-safe de contagens de referência. Frequentemente é usado para ter muitas referências ao mesmo Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_ro.html b/beta_102_ro.html new file mode 100644 index 000000000..866771db6 --- /dev/null +++ b/beta_102_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Partajarea între thread-uri

+

Mutex este o structură de date de tip container, întâlnită de obicei la pointerii inteligenți, ce ia date și ne permite să împrumutăm referințe mutabile și +imutabile la datele ce se află înăuntru. Abuzul împrumutului este prevenit prin restricționarea procesorului, astfel încât un singur thread are acces la +date la un moment dat, blocând celelalte thread-uri până ce thread-ul original a terminat împrumutul său blocat. +Multithreading-ul depășește scopul Turului limbajului Rust, dar Mutex este o parte fundamentală a gestionării +mai multor thread-uri ce accesează date simultan.

+

Există un pointer inteligent special numit Arc, identic lui Rc, cu excepția că folosește o incrementare a numărului de referințe sigură din punct de vedere al thread-urilor. +Este des întâlnită folosirea mai multor referințe pentru același Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_ru.html b/beta_102_ru.html new file mode 100644 index 000000000..2e41ca108 --- /dev/null +++ b/beta_102_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Разделение данных между потоками (Sharing Across Threads)

+

Mutex является контейнерной структурой данных, которая обычно содержится в других умных указателях, которые уже внутри содержат данные и позволяет создавать изменяемые и неизменяемые ссылки на данные внутри. Это предотвращает злоупотребление заимствованием, поскольку операционная система ограничивает одновременный доступ к данным только одному потоку ЦП, блокируя другие потоки до тех пор, пока исходный поток не завершит работу с заблокированным заимствованием.

+

Многопоточное программирование выходит за рамки Tour of Rust, но тип Mutex является фундаментальной частью управления несколькими потоками ЦП, обращающихся к одним и тем же данным.

+

Существует специальный, умный указатель Arc, который идентичен Rc, за исключением того, что использует потоко-безопасное увеличение количества ссылок. +Часто используется много ссылок на один и тот же Mutex объект.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_th.html b/beta_102_th.html new file mode 100644 index 000000000..483f02193 --- /dev/null +++ b/beta_102_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Sharing Across Threads

+

Mutex เป็นโครงสร้างข้อมูลแบบคอนเทนเนอร์ ที่ถูกถือไว้โดย smart pointer โดยมันจะรับข้อมูลเข้ามา และยอมให้เรายืม การอ้างอิง ข้อมูลที่อยู่ในนั้น ทั้งแบบยืมโดยไม่เปลี่ยนแปลงอะไร และยืมโดยยอมให้เปลี่ยนแปลงได้ +โดยป้องกันการยืมไปใช้ในทางที่ผิดด้วยการให้ระบบปฏิบัติการ จำกัดการเข้าถึงได้เพียง CPU เดียวในช่วงเวลาหนึ่ง และกันไม่ให้เธรดอื่นเข้าถึงได้จนกว่าเธรดเดิมจะทำงานเสร็จแล้วค่อยปลดล็อกการยืม

+

มัลติเธรดอยู่นอกเหนือขอบเขตของ Tour of Rust แต่ Mutex เป็นส่วนพื้นฐานของการควบคุม เธรดหลายตัวของ CPU ในการเข้าถึงข้อมูลเดียวกัน

+

มี smart pointer พิเศษอีกตัวที่เหมือนกับ Rc แต่ต่างกันที่ มันใช้เพิ่มจำนวนตัวอ้างอิงแบบ thread-safe ซึ่งจะใช้บ่อยเมื่อมีการอ้างถึงหลายๆตัวไปที่ Mutex เดียวกัน

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_tr.html b/beta_102_tr.html new file mode 100644 index 000000000..e8ea35a47 --- /dev/null +++ b/beta_102_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

İş Parçacıkları Arasında Paylaşım

+

Mutex, kapsadığı verilere değişmez veya değişken referansları ödünç alabilmemizi sağlayan ve genellikle akıllı işaretçiler tarafından tutulan kapsayıcı bir veri yapsıdır. Mutex'in biricik özelliği, veri erişimini tek bir CPU iş parçacığıyla kısıtlayarak, asıl iş parçacığının çalışmasını beklemek, bu bekleme sırasında diğer iş parçacıklarını engellemek ve beklemenin sonunda verilere erişimin kilidini açmaktır.

+

Eşzamanlılık konusu, bu turun kapsamı dışında kaldığından daha fazla detaya girmek yerine Mutex'in, aynı verilere erişen çok sayıda CPU iş parçacığını kontrol eden bir kilitleme düzeneği olduğunu bilmeniz şu an için yeterlidir.

+

Referansların iş parçacığı açısından güvenli şekilde sayılması haricinde, Rc ile aynı özelliklere sahip Arc adında bir akıllı işaretçimiz daha vardır. Bu işaretçi genellikle aynı Mutex kilidine birden fazla referansla erişirken kullanılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_ua.html b/beta_102_ua.html new file mode 100644 index 000000000..9d91ae35b --- /dev/null +++ b/beta_102_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Спільне доступ до даних у різних потоках

+

Mutex - це контейнерна структура даних, яку зазвичай утримують розумні вказівники, що приймає дані і дозволяє нам замінювати змінювані +та незмінні посилання на дані всередині. Це запобігає зловживанню запозиченням +коли операційна система обмежує лише одному потоку процесора доступ до даних, +блокуючи інші потоки, доки початковий потік не завершить роботу із заблокованим запозичення.

+

Багатопоточність виходить за рамки Tour of Rust, але Mutex є фундаментальною частиною організації +декількох потоків процесора, які отримують доступ до одних і тих самих даних.

+

Існує спеціальний розумний покажчик Arc, який ідентичний Rc, за винятком того, що використовує безпечне для потоків інкрементування лічильників посилань. +Його часто використовують для того, щоб мати багато посилань на один і той самий Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_vi.html b/beta_102_vi.html new file mode 100644 index 000000000..3b96c2f6e --- /dev/null +++ b/beta_102_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chia sẻ qua các luồng

+

Mutex là một cấu trúc dữ liệu vùng chứa thường được giữ bởi các con trỏ thông minh lấy dữ liệu và cho phép chúng ta mượn các tham chiếu có thể thay đổi và bất biến đến dữ liệu bên trong. Điều này ngăn không cho việc vay mượn bị lạm dụng bằng cách hệ điều hành chỉ hạn chế một luồng CPU tại một thời điểm để có quyền truy cập vào dữ liệu, chặn các luồng khác cho đến khi luồng gốc đó được thực hiện với phần mượn bị khóa của nó.

+

Đa luồng nằm ngoài phạm vi của Tour of Rust, nhưng Mutex là một phần cơ bản của việc sắp xếp nhiều luồng CPU truy cập vào cùng một dữ liệu.

+

Có một con trỏ thông minh đặc biệt Arc giống hệt vớiRc ngoại trừ việc sử dụng cách tăng số lượng tham chiếu một cách an toàn cho luồng.

+

Nó thường được sử dụng để có nhiều tham chiếu đến cùng một Mutex.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_102_zh-cn.html b/beta_102_zh-cn.html new file mode 100644 index 000000000..bb4645fbe --- /dev/null +++ b/beta_102_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

线程间共享

+

Mutex 是一种容器数据结构,通常由智能指针持有,它接收数据并让我们借用对其中数据的可变和不可变引用。 这可以防止借用被滥用,因为操作系统一次只限制一个 CPU 线程访问数据,阻塞其他线程,直到原线程完成其锁定的借用。

+

多线程超出了 Rust 之旅的范围,但 Mutex 是协调多个 CPU 线程访问相同数据的基本部分。

+

有一个特殊的智能指针 Arc,它与 Rc 相同,除了使用线程安全的引用计数递增。 它通常用于对同一个 Mutex 进行多次引用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ar.html b/beta_103_ar.html new file mode 100644 index 000000000..63ede6233 --- /dev/null +++ b/beta_103_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الجمع بين المؤشرات الذكية (Combining Smart Pointers)

+

قد تبدو المؤشرات الذكية محدودة، لكنها يمكن أن تشكل توليفات قوية جدًا.

+

Rc<Vec<Foo>> - تسمح باستنساخ (clone) عدة مؤشرات ذكية يمكنها استعارة نفس المتجهة (vector) الخاصة بهياكل البيانات غير القابلة للتغيير في الكومة (heap).

+

Rc<RefCell<Foo>> - تسمح لعدة مؤشرات ذكية باستعارة نفس الهيكل (struct) Foo بشكل قابل للتغيير/غير قابل للتغيير

+

Arc<Mutex<Foo>> - تسمح لعدة مؤشرات ذكية بالقدرة على الاستعارة المفقلة بشكل مؤقت وتكون قابلة للتغيير/غير قابلة للتغيير بطريقة حصرية لخيط وحدة المعالجة المركزية (CPU thread).

+

تفاصيل الذاكرة:

+
    +
  • ستلاحظ مبحثا يحتوي على العديد من هذه التوليفات. استخدام نوع بيانات غير قابل للتغيير (من المحتمل أن يكون مملوكًا لعدة مؤشرات ذكية) لتعديل البيانات الداخلية. يُشار إلى هذا في رست (Rust) باسم نمط "التغير الداخلي (interior mutability)". إنه نمط يتيح لنا إخضاع قواعد استخدام الذاكرة في وقت التشغيل (runtime) بنفس مستوى الأمان الذي توفره عمليات التحقق أثناء وقت الترجمة (compile-time) في رست (Rust).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_en.html b/beta_103_en.html new file mode 100644 index 000000000..7141c4ed2 --- /dev/null +++ b/beta_103_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of an immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_es.html b/beta_103_es.html new file mode 100644 index 000000000..12fd4424a --- /dev/null +++ b/beta_103_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combinación de Punteros Inteligentes

+

A simple vista, los punteros inteligentes pueden parecer limitados, pero disponen de algunas combinaciones muy eficaces.

+

Rc<Vec<Foo>> - Permite la clonación de múltiples punteros inteligentes que pueden tomar prestado el mismo vector de estructuras de datos inmutables en el montículo.

+

Rc<RefCell<Foo>> - Permite a varios punteros inteligentes la capacidad de tomar prestada mutablemente/immutablemente la misma estructura Foo.

+

Arc<Mutex<Foo>> - Permite a múltiples punteros inteligentes la capacidad de bloquear préstamos temporales mutables/inmutables en un hilo de CPU de manera exclusiva.

+

Detalle de la memoria:

+
    +
  • Muchas de estas combinaciones siguen un mismo patrón. El uso de un tipo de datos inmutables (posiblemente propiedad de múltiples punteros inteligentes) para modificar los datos internos. En Rust, esto se conoce como el patrón de "mutabilidad interior". Es un patrón que nos permite saltarnos las reglas de uso de la memoria en tiempo de ejecución con el mismo nivel de seguridad que las comprobaciones en tiempo de compilación de Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_fa.html b/beta_103_fa.html new file mode 100644 index 000000000..e8f9194e2 --- /dev/null +++ b/beta_103_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of a immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_fr.html b/beta_103_fr.html new file mode 100644 index 000000000..f5bbcee24 --- /dev/null +++ b/beta_103_fr.html @@ -0,0 +1,68 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Utilisation avancée des pointeurs intelligents

+

Les pointeurs intelligents peuvent sembler limités, mais ils peuvent +être utilisés de manière très puissante avec les structures que nous +venons de voir.

+

Rc<Vec<Foo>> - Permet de cloner plusieurs pointeurs intelligents pouvant +emprunter le même vecteur de données immuables. Pour rappel Rc place les +données sur le tas.

+

Rc<RefCell<Foo>> - Permet à plusieurs pointeurs intelligents d'emprunter +mutuellement ou immuablement la même structure Foo.

+

Arc<Mutex<Foo>> - Permet à un pointeur intelligent de verrouiller +temporairement une donnée (celle-ci ne pourra plus être emprunté mutablement +ou immuablement) de manière exclusive à un thread du CPU (les autres threads +n'y auront pas accès).

+

Détail de la mémoire:

+
    +
  • Vous remarquerez un thème commun avec plusieurs de ces utilisations: +l'utilisation d'un type de données immuable (possiblement emprunté par +plusieurs pointeurs intelligents) pour modifier les données internes. +C'est ce qu'on appelle la "mutabilité intérieure" (en anglais interior +mutability) de Rust. C'est un modèle qui nous permet de contourner les +règles d'utilisation de la mémoire à l'exécution mais en gardant le même +niveau de sécurité que Rust nous offre lors de la compilation.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_hu.html b/beta_103_hu.html new file mode 100644 index 000000000..df4cde506 --- /dev/null +++ b/beta_103_hu.html @@ -0,0 +1,66 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Okos Mutatók Kombinálása

+

Bár az okos mutatók képességei meglehetősen korlátozottnak tűnhetnek, létezik néhány +kifejezetten hasznos kombinációjuk:

+
    +
  • Rc<Vec<Foo>> - Lehetővé teszi több okos mutató klónozását, amik képesek egy, a kupacon lévő +vektort meg nem változtatható módon kölcsönkérni.
  • +
  • Rc<RefCell<Foo>> - Lehetővé teszi több okos mutató számára ugyan annak az adatnak az +elérését mint megváltoztatható, mind pedig meg nem változtatható módon.
  • +
  • Arc<Mutex<Foo>> - Lehetővé teszi több okos mutató létrehozását, melyen keresztül egyazon +adat zárolható és többszálú környezetben is biztonságosan kölcsönkérhető. Több programszál is +képes ugyan azt az adatot kölcsönkérni, de egy időben mindig csak egy hozzáférést enged meg a +program. A többi szál várakozni fog, amíg az adat zárolva van.
  • +
+

Hogyan érinti ez a memóriát:

+
    +
  • Több ilyen kombinációnál is észrevehetted, hogy meg nem változtatható adattípuson (amit akár +több okos mutató is birtokol) keresztül lehetséges adatok megváltoztatása. Ezt a mintát "belső +megváltoztathatóság" néven ismerjük Rust-ban. Ez segít kicsit rugalmasabbá tenni a memória +felhasználásával kapcsolatos szabályokat a Rust fordítási idejű ellenőrzéseihez hasonló +biztonságossággal.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ie.html b/beta_103_ie.html new file mode 100644 index 000000000..3c34fb700 --- /dev/null +++ b/beta_103_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combinar Puntatores Inteligent

+

Smart pointers sembla liminat, ma junt ili crea combinationes tre potent. +Rc<Vec<Foo>> - Clonada de multiplic smart pointers queles posse pruntar li sam vector de ínmutabil data-structuras sur li heap. +Rc<RefCell<Foo>> - Multiplic smart pointers possent pruntar mutabilmen/ínmutabilmen li sam struct Foo +Arc<Mutex<Foo>> - Multiplic smart pointers possent cluder temporari mutabil/ínmutabil pruntas in un maniere exclusiv in un fil del CPU. +Detallies pri memorie:

+
    +
  • Tu va har remarcat un tema comun con ti-ci combinationes, a saver li usation de un data-tip ínmutabil (fórsan possedet per multiplic puntatores inteligent) por modificar +data intern. On nomina it li mustre de "mutabilitá intern" in Rust. Con ti mustre noi posse circumear li regules pri usation de memorie durant li execution del programma +con un nivelle de securitá tam secur quam ti durant li compilation.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ko.html b/beta_103_ko.html new file mode 100644 index 000000000..6893ed1e6 --- /dev/null +++ b/beta_103_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스마트 포인터 조합하기

+

smart pointer는 한계가 있는 것처럼 보이지만, 조합해서 사용하면 매우 강력해질 수 있습니다.

+

Rc<Vec<Foo>> - heap에 있는 immutable한 데이터 구조의 동일한 vector를 대여할 수 있는 복수의 smart pointer를 복제할 수 있게 해줍니다.

+

Rc<RefCell<Foo>> - 복수의 smart pointer가 동일한 Foo struct를 mutable/immutable하게 대여할 수 있게 해줍니다.

+

Arc<Mutex<Foo>> - 복수의 smart pointer가 임시의 mutable/immutable한 대여를 CPU 쓰레드 독점 방식으로 잠글 수 있게 해줍니다.

+

메모리 상세:

+
    +
  • 이런 조합이 많이 포함된 주제를 확인할 수 있을겁니다. 내부 데이터를 변경하기 위해 immutable한 데이터 유형(복수의 smart pointer가 소유할 수 있음)을 사용합니다. 이를 Rust에서는 "내부 가변성" 패턴이라고 합니다. 이는 Rust의 컴파일 타임 체크와 동일 수준의 안전성으로 런타임의 메모리 사용 규칙을 변경할 수 있는 패턴입니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_pl.html b/beta_103_pl.html new file mode 100644 index 000000000..681867415 --- /dev/null +++ b/beta_103_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combining Smart Pointers

+

Smart pointers might seem limited, but they can make some very powerful combinations.

+

Rc<Vec<Foo>> - Allow the cloning of multiple smart pointers that can borrow the same vector of immutable data structures on the heap.

+

Rc<RefCell<Foo>> - Allow multiple smart pointers the ability to borrow mutably/immutably the same struct Foo

+

Arc<Mutex<Foo>> - Allow multiple smart pointers the ability to lock temporary mutable/immutable borrows in a CPU thread exclusive manner.

+

Memory detail:

+
    +
  • You'll notice a theme with many of these combinations. The use of a immutable data type (possibly owned by multiple smart pointers) to modify internal data. This +is referred to as the "interior mutability" pattern in Rust. It is a pattern that lets us bend the rules of memory usage at runtime with the same level of safety as Rust's +compile-time checks.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_pt-br.html b/beta_103_pt-br.html new file mode 100644 index 000000000..b19931184 --- /dev/null +++ b/beta_103_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combinando ponteiros inteligentes

+

Os ponteiros inteligentes podem parecer limitados, mas eles podem fazer algumas combinações muito poderosas.

+

Rc<Vec<Foo>> - permite a clonagem de vários ponteiros inteligentes que podem pegar emprestado o mesmo vetor de estruturas de dados imutáveis na heap.

+

Rc<RefCell<Foo>> - permite a múltiplos ponteiros inteligentes a capacidade de emprestar mutável/imutavelmente a mesma estrutura Foo.

+

Arc<Mutex<Foo>> - permite que vários ponteiros inteligentes bloqueiem empréstimos mutáveis/imutáveis temporários exclusivamente por thread de CPU.

+

Detalhes da memória:

+
    +
  • Você notará um assunto em comum em muitas dessas combinações. O uso de um tipo de dado imutável (possivelmente pertencente a vários ponteiros inteligentes) para modificar dados internos. Isso é conhecido como o padrão "mutabilidade interior" no Rust. É um padrão que nos permite dobrar as regras de uso de memória em tempo de execução com o mesmo nível de segurança das verificações de tempo de compilação do Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ro.html b/beta_103_ro.html new file mode 100644 index 000000000..37c415c55 --- /dev/null +++ b/beta_103_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combinarea pointerilor inteligenți

+

Pointerii inteligenți pot părea limitați, dar pot fi combinați în moduri foarte utile.

+

Rc<Vec<Foo>> - Permite clonarea mai multor pointeri inteligenți ce pot împrumuta același vector de structuri de date imutabile de pe heap.

+

Rc<RefCell<Foo>> - Permite mai multor pointeri inteligenți să împrumute mutabil/imutabil aceeași structură Foo.

+

Arc<Mutex<Foo>> - Conferă mai multor pointeri inteligenți abilitatea de a bloca temporar împrumuturi mutabile/imutabile într-un mod caracteristic thread-urilor.

+

Detaliu despre memorie:

+
    +
  • Vei observa ceva comun la multe dintre aceste combinații. Folosesc un tip de date imutabil (probabil deținut de mai multi pointeri inteligenți) pentru a modifica date interne. Aceasta +se mai numește și pattern-ul "mutabilității interne" în Rust. Este un pattern ce ne permite să ocolim regulile de întrebuințare a memoriei la rulare cu același nivel de siguranță ca +verificarea la compilare a limbajului Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ru.html b/beta_103_ru.html new file mode 100644 index 000000000..7949a0ff0 --- /dev/null +++ b/beta_103_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Комбинирование умных указателей (Combining Smart Pointers)

+

Умные указатели могут показаться довольно ограниченными по функционалности, но главное то, что они могут создавать очень мощные комбинации для использования в коде.

+

Rc<Vec<Foo>> - позволяет клонирование нескольких умных указателей, которые могут заимствовать из кучи один и тот же вектор неизменяемых структур данных.

+

Rc<RefCell<Foo>> - дает возможность нескольким умных указателям заимствовать одну и туже структуру Foo как неизменяемую или изменяемую.

+

Arc<Mutex<Foo>> - дает возможность нескольким умным указателям временно блокировать в процессорном потоке изменяемые или неизменяемые заимствования.

+

Детали для запоминания:

+
    +
  • Вы обнаружите умные указатели во множестве комбинаций. Использование неизменяемого типа данных (возможно, принадлежащего нескольким умным указателям) для изменения внутренних данных указателя. Это случай в Rust называется шаблоном "внутренняя изменчивость". +Этот шаблон позволяет изменять правила использования памяти во время выполнения с тем же уровнем безопасности, +что и проверки во время компиляции в Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_th.html b/beta_103_th.html new file mode 100644 index 000000000..1e87b1ade --- /dev/null +++ b/beta_103_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Combining Smart Pointers

+

Smart pointers ดูเหมือนจะมีข้อจำกัด แต่มันสามารถเอามารวมกันเพื่อให้ทำงานให้มีความหลากหลายเพิ่มขึ้นได้

+

Rc<Vec<Foo>> - อนุญาตให้ทำการโคลน smart pointer หลายตัว ที่สามารถยืมเวกเตอร์เดียวกันของโครงสร้างข้อมูลที่ไม่เปลี่ยนรูปบน heap ได้

+

Rc<RefCell<Foo>> - อนุญาตให้ smart pointer หลายตัวสามารถยืมโครงสร้าง Foo ตัวเดียวกัน โดยยืมได้ทั้งแบบ เปลี่ยนแปลงได้/เปลี่ยนแปลงไม่ได้

+

Arc<Mutex<Foo>> - อนุญาตให้ smart pointer หลายตัวสามารถล็อกการยืม โดยยืมได้ทั้งแบบ เปลี่ยนแปลงได้/เปลี่ยนแปลงไม่ได้ ชั่วคราว​ ในลักษณะเฉพาะของเธรด CPU

+

รายละเอียดหน่วยความจำ:

+
    +
  • คุณจะสังเกตเห็น รูปแบบการผสมผสานนี้ มาใช้กับข้อมูลประเภทที่แก้ไขไม่ได้ (ซึ่งเป็นไปได้ว่าจะถูกถือครองโดย smart pointer หลายตัว) เพื่อใช้แก้ไขข้อมูลภายในนั้น รูปแบบนี้ใน Rust เรียกว่า "interior mutability" สิ่งนี้เป็นรูปแบบที่เรานำมาใช้เลี่ยงกฎของการใช้หน่วยความจำในขณะ runtime โดยยังมีความปลอดภัยระดับเดียวกับการตรวจสอบของ Rust ในขณะ compile-time
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_tr.html b/beta_103_tr.html new file mode 100644 index 000000000..cc1d77ef3 --- /dev/null +++ b/beta_103_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Akıllı İşaretçileri Bir Araya Getirmek

+

Akıllı işaretçiler sınırlıymış gibi görünmelerine rağmen, bazen çok güçlü kombinasyonlar oluşturabilirler.

+

Rc<Vec<Tur>> - Öbek üzerinde bulunan değişmez veri yapısı vektörünü ödünç alan, birden çok akıllı işaretçinin klonlanmasına izin verir.

+

Rc<RefCell<Tur>> - Birden fazla akıllı işaretçinin aynı Tur yapısını, değişken ya da değişmez olarak ödünç almasına izin verir.

+

Arc<Mutex<Tur>> - Bir akıllı işaretçinin, değişken ya da değişmez olarak borç alınmış bir veriyi, yalnızca bir CPU iş parçacığına ve diğer iş parçacıklarının erişimine müsaade etmeyecek şekilde geçici olarak kilitlemesine izin verir.

+

Bellek ayrıntıları:

+
    +
  • Bu kombinasyonların çoğu olasılıkla çok sayıda akıllı işaretçiye ait olan ve dahili verileri değiştirmek için değişmez bir veri türünü kullanan tek bir modeli takip eder. Rust'ın "dahili değişkenlik" olarak adlandırdığı bu model, çalışma zamanında bellek kullanım kurallarını atlamamıza izin verirken, Rust'un derleme zamanında bize verdiği güvenlik düzeyini de korumamıza yardımcı olur.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_ua.html b/beta_103_ua.html new file mode 100644 index 000000000..c17c9ed93 --- /dev/null +++ b/beta_103_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Поєднання розумних покажчиків

+

Розумні покажчики можуть здатися обмеженими, але вони можуть створювати дуже потужні комбінації.

+

Rc<Vec<Foo>> - Дозволяє клонування декількох смарт-покажчиків, які можуть позичати один і той самий вектор незмінних структур даних на купі.

+

Rc<RefCell<Foo>> - Дозволити декільком смарт-покажчикам запозичувати взаємно/незмінно одну й ту саму структуру Foo.

+

Arc<Mutex<Foo>> - Дозволяє декільком смарт-покажчикам блокувати тимчасові змінювані/незмінні запозичення виключно для потоку процесора.

+

Деталі роботи за памяттю:

+
    +
  • Використання незмінного типу даних (який може належати декільком смарт-покажчикам) для модифікації внутрішніх даних у Rust називається патерном "внутрішня змінюваність". Це патерн, який дозволяє нам змінювати правила використання пам'яті під час виконання з тим же рівнем безпеки, що і перевірки Rust під час компіляції.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_vi.html b/beta_103_vi.html new file mode 100644 index 000000000..083df3885 --- /dev/null +++ b/beta_103_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kết hợp nhiều con trỏ thông minh

+

Con trỏ thông minh có vẻ hạn chế, nhưng chúng có thể tạo ra một số kết hợp rất mạnh mẽ.

+

Rc<Vec<Foo>> - Cho phép sao chép nhiều con trỏ thông minh có thể mượn cùng một vectơ của cấu trúc dữ liệu bất biến trên heap.

+

Rc<RefCell<Foo>> - Cho phép nhiều con trỏ thông minh khả năng mượn có thể thay đổi/không thay đổi cùng một struct Foo

+

Arc<Mutex<Foo>> - Cho phép nhiều con trỏ thông minh có khả năng khóa việc mượn tạm thời có thể thay đổi/ không thể thay đổi theo cách thức độc quyền của luồng CPU.

+

Chi tiết bộ nhớ:

+
    +
  • Bạn sẽ nhận thấy một chủ đề với nhiều sự kết hợp này. Việc sử dụng kiểu dữ liệu bất biến (có thể thuộc sở hữu của nhiều con trỏ thông minh) để sửa đổi dữ liệu nội bộ. Đây được gọi là mô hình "interior mutability" trong Rust. Đây là một mô hình cho phép chúng ta bẻ cong các quy tắc sử dụng bộ nhớ trong thời gian chạy với mức độ an toàn tương tự như kiểm tra thời gian biên dịch của Rust.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_103_zh-cn.html b/beta_103_zh-cn.html new file mode 100644 index 000000000..5b2939aaa --- /dev/null +++ b/beta_103_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

组合智能指针

+

智能指针看起来可能会存在一些限制,但是我们可以做一些非常有用的结合。

+

Rc<Vec<Foo>> - 允许克隆多个可以借用堆上不可变数据结构的相同向量的智能指针。

+

Rc<RefCell<Foo>> - 允许多个智能指针可变/不可变地借用相同的结构Foo

+

Arc<Mutex<Foo>> - 允许多个智能指针以 CPU 线程独占方式锁定临时可变/不可变借用的能力。

+

内存细节:

+
    +
  • 您会注意到一个包含许多这些组合的主题。 使用不可变数据类型(可能由多个智能指针拥有)来修改内部数据。 +这在 Rust 中被称为“内部可变性”模式。 这种模式让我们可以在运行时以与 Rust 的编译时检查相同的安全级别来改变内存使用规则。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_104_ar.html b/beta_104_ar.html new file mode 100644 index 000000000..eabc78fad --- /dev/null +++ b/beta_104_ar.html @@ -0,0 +1,46 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 8 - الخلاصة

+

المؤشرات الذكية (Smart pointers) هي العبارات الإصطلاحيه في برمجة رست (Rust) والتي تسمح لنا بعدم إعادة إنشاء الأنماط الشائعة جدًا لاستخدام الذاكرة. بإستخدامهم أنت على استعداد لمواجهة أصعب التحديات!

+

الآن بعد أن أصبح لدينا أساسيات رست (Rust)، دعونا نتحدث قليلاً عن كيفية إنشاء مشاريع أكبر. في الفصل التاسع، سوف نتحرر من التعليمات البرمجية ذات الصفحة الواحدة.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_en.html b/beta_104_en.html new file mode 100644 index 000000000..ebcde5a18 --- /dev/null +++ b/beta_104_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_es.html b/beta_104_es.html new file mode 100644 index 000000000..90b9aee1c --- /dev/null +++ b/beta_104_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 8 - Conclusión

+

Los punteros inteligentes son como los modismos de la programación Rust y no hace falta recrear los patrones más comunes de uso de la memoria. Concluido este capítulo, ya estás listo para afrontar los desafíos más difíciles. Ahora que ya tenemos conocimientos sobre los principios fundamentales de Rust, hablemos un poco de cómo llevar a cabo proyectos más complejos. En el capítulo 9 nos liberamos de las líneas de código de una sola página.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_fa.html b/beta_104_fa.html new file mode 100644 index 000000000..87f1f59bb --- /dev/null +++ b/beta_104_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_fr.html b/beta_104_fr.html new file mode 100644 index 000000000..907a567f3 --- /dev/null +++ b/beta_104_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 8 - Conclusion

+

Les pointeurs intelligents sont très utilisés avec Rust car cela nous +évite de recréer nous-même ces schémas très courants d'utilisation de +la mémoire. Avec eux, tu sera prêt à affronter tous les défis! Maintenant +que nous avons vu les fondations de Rust, nous verrons dans le prochain +chapitre comment se structure un projet Rust au-delà d'un simple fichier.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_hu.html b/beta_104_hu.html new file mode 100644 index 000000000..e9ff88422 --- /dev/null +++ b/beta_104_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

8. Fejezet - Konklúzió

+

Az okos pointerek a Rust programozás szerves részét képzik és idiomatikus eszközöket nyújtanak +ahhoz, hogy ne kelljen nagyon gyakori memóriakezelési mintákat ismételten megírnunk. +Segítségükkel készen állsz arra, hogy megbírkózz a legnehezebb kihívásokkal is! Most, hogy +végeztünk a Rust alapjaival, beszéljünk egy kicsit arról, hogyan csinálhatunk nagyobb +projekteket. A 9. fejezetben kitörünk az egy oldalra kiférő kódok világából.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_ie.html b/beta_104_ie.html new file mode 100644 index 000000000..a90e56729 --- /dev/null +++ b/beta_104_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 8 - Conclusion

+

Puntatores inteligent es li idiotismes de programmation in Rust con queles noi ne es fortiat recrear +li defís comun in li mustres de usation de memorie. Con ili on es pret a soluer mem li defís max dur! +Armat con li fundamentes de Rust, noi nu va parlar plu pri qualmen crear projectes con un grandore +plu ampli. In Capitul 9 noi va liberar nos de lineas de code scrit sur un singul págine.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_ko.html b/beta_104_ko.html new file mode 100644 index 000000000..d0fc6765e --- /dev/null +++ b/beta_104_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

8장 - 마무리

+

smart pointer는 Rust 프로그래밍의 관용구로서 매우 일반적인 메모리 사용 패턴들도 다시 만들 필요 없게 해줍니다. +이들만 있으면 어려운 도전도 해결할 준비가 된 것입니다! +이제 Rust의 기초를 다졌으니, 더 큰 프로젝트를 만드는 방법에 대해 조금 얘기해 봅시다. +9장에서는 한 페이지짜리 코드에서 벗어날 수 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_pl.html b/beta_104_pl.html new file mode 100644 index 000000000..73ea3fc28 --- /dev/null +++ b/beta_104_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Conclusion

+

Smart pointers are the idioms of Rust programming and let us not have to re-create the +very common patterns of memory usage. With them you are ready to tackle the toughest of +challenges! Now that we have the foundations of Rust, let's talk a bit about how we make +larger projects. In chapter 9 we break free of single page +lines of code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_pt-br.html b/beta_104_pt-br.html new file mode 100644 index 000000000..14b3e8f68 --- /dev/null +++ b/beta_104_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 8 - Conclusão

+

Os ponteiros inteligentes são expressões idiomáticas da programação em Rust, assim não precisamos recriar os padrões mais usuais de uso de memória. Com eles você está pronto para enfrentar os desafios mais difíceis! Agora que temos os fundamentos do Rust, vamos falar um pouco sobre como fazemos projetos maiores. No capítulo 9 nos libertamos das linhas de código de uma única página.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_ro.html b/beta_104_ro.html new file mode 100644 index 000000000..5136b1269 --- /dev/null +++ b/beta_104_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Concluzii

+

Pointerii inteligenți sunt expresii specifice programării în Rust ce ne scutesc de recrearea +unor tipare des întâlnite în lucrul cu memoria. Cu acestea poți face față celor mai grele +provocări! Acum că am pus bazele limbajului Rust, haide să discutăm puțin despre cum să facem +proiecte mai mari. În capitolul 9 vom scăpa de scrierea codului într-un +singur fișier.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_ru.html b/beta_104_ru.html new file mode 100644 index 000000000..1df50d8e8 --- /dev/null +++ b/beta_104_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 8 - Заключение

+

Умные указатели являются идиомами программирования в Rust и нам не нужно заново создавать очень распространенные шаблоны использования памяти. С ними вы можете быть готовыми решать самые сложные задачи. +Теперь, когда у нас есть основы Rust, давайте немного поговорим о том, как создаются большие проекты. +В главе 9 мы освобождаемся от примеров кода в одну страницу.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_th.html b/beta_104_th.html new file mode 100644 index 000000000..7b17746b1 --- /dev/null +++ b/beta_104_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 8 - สรุป

+

Smart pointer เป็นสำนวนของการเขียนโปรแกรมของ Rust มันช่วยให้เราไม่ต้องสร้างรูปแบบการใช้งานหน่วยความจำขึ้นมาใหม่ +และด้วยสิ่งนี้ คุณจึงพร้อมรับมือกับเรื่องที่ยากที่สุด! ซึ่งตอนนี้เรารู้เรื่องพื้นฐานของ Rust แล้ว เราจะไปคุยกันอีกเล็กน้อยถึงการสร้างโปรเจ็คที่ใหญ่ขึ้น ในบทที่ 9 เราจะไม่เขียนโค้ดแค่หน้าเดียวแล้ว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_tr.html b/beta_104_tr.html new file mode 100644 index 000000000..2a43aad54 --- /dev/null +++ b/beta_104_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 8 - Sonuç

+

Aslında birer Rust programlama dili deyimi olan ve oldukça sık kullanılan akıllı işaretçiler, bizleri yaygın bellek kullanım modellerini yeniden oluşturma zahmetinden kurtarmakla beraber, her türlü zorlukla yüzleşmeye hazır hale getirir. Artık Rust'un temellerini kavradığımıza göre daha büyük projelere yelken açabiliriz. +Bir sonraki bölümde tek sayfalık kodlara veda edecek ve büyük projelerin nasıl oluşturulduğunu tartışacağız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_ua.html b/beta_104_ua.html new file mode 100644 index 000000000..ed7575290 --- /dev/null +++ b/beta_104_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 8 - Висновок

+

Розумні покажчики - це ідіома програмування на Rust, і нам не доведеться повторно створювати дуже поширені патерни використання пам'яті. +Тепер, коли ми ознайомилися з основами Rust, давайте трохи поговоримо про те як створювати більші проекти. У главі 9 ми перестанемо писати код у одному файлі.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_vi.html b/beta_104_vi.html new file mode 100644 index 000000000..d46a927f6 --- /dev/null +++ b/beta_104_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 8 - Tổng kết

+

Con trỏ thông minh là điểm đặc trưng của lập trình Rust và chúng ta không cần phải tạo lại các mô hình sử dụng bộ nhớ rất phổ biến. Với nó, bạn đã sẵn sàng để đối phó với những thử thách khó khăn nhất! Bây giờ chúng ta đã có nền tảng của Rust, hãy nói một chút về cách chúng ta thực hiện các dự án lớn hơn. Trong chương 9, chúng ta sẽ tách ra khỏi các dòng code đơn.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_104_zh-cn.html b/beta_104_zh-cn.html new file mode 100644 index 000000000..b872967ee --- /dev/null +++ b/beta_104_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第8章 - 总结

+

智能指针是 Rust编程中经常使用的,它可以让我们不必重新创建非常常见的内存使用范式。 有了它,您可以准备好应对最艰难的挑战了! 现在我们掌握了 Rust 的基础,让我们来谈谈如何编写更庞大的项目。 在下一章中,我们将摆脱一个文件包含所有代码的束缚。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_ar.html b/beta_106_ar.html new file mode 100644 index 000000000..d4d49c77e --- /dev/null +++ b/beta_106_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الوحدات (Modules)

+

كل برنامج أو مكتبة في رست (Rust) هي صندوق (crate)

+

يتكون كل صندوق (crate) من تسلسل هرمي (hierarchy) من الوحدات (modules).

+

يحتوي كل صندوق (crate) على وحدة جذر (root module).

+

يمكن للوحدة أن تحتوي على متغيرات عامة (global variables) أو دوال أو هياكل (structs) أو سمات (traits) أو حتى وحدات (modules) أخرى!

+

في رست (Rust) لا يوجد 1 لـ 1 في خريطة الملفات الخاصة بالتسلسل الهرمي لشجرة الوحدة (module tree hierarchy). يجب أن نبني شجرة الوحدة (module tree) بشكل واضح يدويًا في التعليمات البرمجية الخاصة بنا.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_de.html b/beta_106_de.html new file mode 100644 index 000000000..7265778c8 --- /dev/null +++ b/beta_106_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module

+

Jedes Rust Programm oder jede Bibliothek wird crate genannt. +Jedes create besteht aus einer Hierarchie von Modulen. +Jedes crate hat ein root Modul. +Ein Modul kann globale Variablen, Funktionen, Strukturen, Traits oder sogar andere Module beinhalten.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_en.html b/beta_106_en.html new file mode 100644 index 000000000..b5b7544c1 --- /dev/null +++ b/beta_106_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_es.html b/beta_106_es.html new file mode 100644 index 000000000..d929cd948 --- /dev/null +++ b/beta_106_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Módulos

+

Cada programa o librería de Rust es un crate.

+

Cada crate está compuesto por una jerarquía de módulos.

+

Cada crate tiene un módulo raíz.

+

Un módulo puede contener variables globales, funciones, estructuras, traits, o incluso otros módulos.

+

En Rust no existe una relación 1 a 1 entre los archivos y el árbol jerárquico de módulos. Debemos construir el árbol de módulos manualmente en nuestro código.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_fa.html b/beta_106_fa.html new file mode 100644 index 000000000..5508f995a --- /dev/null +++ b/beta_106_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree heirarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_fr.html b/beta_106_fr.html new file mode 100644 index 000000000..82961c8e4 --- /dev/null +++ b/beta_106_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Chaque programme ou bibliothèque Rust est appelé une crate +(littéralement une caisse).

+

Chaque crate est constituée d'une hiérarchie de modules.

+

Chaque crate possède un module racine.

+

Un module peut contenir des variables globales, des fonctions, des +structures, des traits ou même d'autres modules!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_hu.html b/beta_106_hu.html new file mode 100644 index 000000000..1de72023f --- /dev/null +++ b/beta_106_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modulok

+

Minden Rust programot, vagy könyvtárat crate-nek (ládának) hívunk.

+

Minden láda modulok hierarchiáját tartalmazza.

+

Minden ládának van legfelső szintű (root, gyökér) modulja.

+

A modulok tartalmazhatnak globális változókat, függvényeket, struct-okat, traiteket, vagy akár +másik modulokat is!

+

Rust-ban nincs 1:1 megfeleltetés a fájlok és a modul-hierarchia között. A modulok fáját kézzel +kell felépítenünk a kódunkban.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_ie.html b/beta_106_ie.html new file mode 100644 index 000000000..60cbf4ce5 --- /dev/null +++ b/beta_106_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Chascun programma o biblioteca in Rust es un crate. +Chascun crate es creat ex un hierarchie de modules. +Chascun crate possede un root (radical) modul. +Un model possede variabiles global, functiones, structs, traits, e altri modules!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_ko.html b/beta_106_ko.html new file mode 100644 index 000000000..2143d3e26 --- /dev/null +++ b/beta_106_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

모듈

+

모든 Rust 프로그램이나 라이브러리(library)는 크레이트(crate)입니다.

+

모든 crate는 모듈(module)의 계층구조로 이루어져 있습니다.

+

모든 crate에는 최상위(root) module이 있습니다.

+

module에는 전역변수, 함수, struct, trait, 또는 다른 module까지도 포함될 수 있습니다!

+

Rust에서는 파일과 module 트리 계층구조 간의 1:1 대응은 없습니다. module의 트리 구조는 코드로 직접 작성해야 합니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_pl.html b/beta_106_pl.html new file mode 100644 index 000000000..f6aaad826 --- /dev/null +++ b/beta_106_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

Every Rust program or library is a crate.

+

Every crate is made of a hierarchy of modules.

+

Every crate has a root module.

+

A module can hold global variables, functions, structs, traits or even other modules!

+

In Rust there is not a 1 to 1 mapping of files to the module tree hierarchy. We must build the module tree explicitly by hand in our code.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_pt-br.html b/beta_106_pt-br.html new file mode 100644 index 000000000..695cedbaa --- /dev/null +++ b/beta_106_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Módulos

+

Cada programa ou biblioteca do Rust é uma crate.

+

Cada crate é feita de uma hierarquia de módulos.

+

Cada crate tem um módulo raiz.

+

Um módulo pode conter variáveis globais, funções, structs, traits ou até mesmo outros módulos!

+

No Rust não há um mapeamento 1 para 1 de arquivos para a hierarquia da árvore de módulos. Devemos construir a árvore de módulos explicitamente à mão em nosso código.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_ro.html b/beta_106_ro.html new file mode 100644 index 000000000..3976a32af --- /dev/null +++ b/beta_106_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module

+

Fiecare program sau bibliotecă Rust este o cutie.

+

Fiecare cutie este alcătuit dintr-o ierarhie de module.

+

Fiecare cutie are un modul rădăcină.

+

Un modul poate conține variabile globale, funcții, structuri, trăsături sau chiar alte module!

+

În Rust nu există o corespondență unu la unu între fișiere și ierarhia de module. Trebuie să construim arborele de module în mod explicit și manual în codul nostru.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_ru.html b/beta_106_ru.html new file mode 100644 index 000000000..d1aba76ab --- /dev/null +++ b/beta_106_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Модули (Modules)

+

Каждая Rust программа или библиотека является crate (крейтом).

+

Каждый крейт (crate) сделан из иерархии модулей (modules), которые могут быть программами или библиотекой.

+

Каждый крейт имеет корневой модуль (root module).

+

Модуль содержит глобальные переменные, функции, структуры, типажи и даже другие модули!

+

В Rust нет "1 в 1" отображения файлов на древовидную, иерархическую структуру модуля. Мы сами должны +создать дерево модулей явным образом "в ручную" в вашем коде.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_th.html b/beta_106_th.html new file mode 100644 index 000000000..c1735e996 --- /dev/null +++ b/beta_106_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modules

+

ทุกโปรแกรมและไลบรารีของ Rust ล้วนเป็น crate.

+

และทุกๆ crate สร้างจากลำดับชั้นของ modules.

+

ทุกๆ crate ต้องมีโมดูลหลักหนึ่งตัวเสมอ

+

โมดูล สามารถถือครองได้ทั้ง ตัวแปร, ฟังก์ชัน, structs, traits แบบโกลบอล หรือแม้แต่โมดูลอื่น

+

Rust ไม่ใช้การจับคู่ 1 ไฟล์ต่อ 1 ลำดับชั้นของโมดูล แต่เราใช้วิธีสร้างโมดูลให้ชัดเจนด้วยมือเราเอง

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_tr.html b/beta_106_tr.html new file mode 100644 index 000000000..a5217d6ac --- /dev/null +++ b/beta_106_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modüller

+

Her Rust programı veya kütüphanesi birer sandıktır.

+

Her sandık bir modül hiyerarşisinden oluşur.

+

Her sandıkta bir kök modül bulunur.

+

Her modül evrensel değişkenler, işlevler, yapılar, özellikler hatta başka modüllerden bile oluşabilir!

+

Rust'ta ağaç benzeri hiyerarşik modül yapısına 1 e 1 dosya eşlemesi bulunmadığından, modül ağacının kod içinde, açıkça ve bizim tarafımızdan +oluşturulması gerekir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_ua.html b/beta_106_ua.html new file mode 100644 index 000000000..8ff4e81d6 --- /dev/null +++ b/beta_106_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Модулі

+

Будь яка програма чи бібліотека на Rust є crate (це такі пакети в rust).

+

Кожен crate створює ієрархію модулів.

+

Кожен crate є головним модулем.

+

Модулі можуть мати в собі як глобальні змінні, так і структури, функції, трейти, і т.д.!

+

У Rust немає відображення файлів до ієрархії дерева модулів 1 до 1. Ми повинні будувати дерево модулів явно вручну в нашому коді.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_vi.html b/beta_106_vi.html new file mode 100644 index 000000000..66b981d7d --- /dev/null +++ b/beta_106_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mô-đun(Module)

+

Mọi chương trình hoặc thư viện Rust đều là một crate.

+

Mỗi crate đều được tạo thành từ hệ thống phân cấp của mô-đun.

+

Mỗi crate đều có một mô-đun gốc.

+

Một mô-đun có thể chứa các biến toàn cục, hàm, struct, trait hoặc thậm chí các mô-đun khác!

+

Trong Rust, không có ánh xạ từ 1 đến 1 của các tệp với cấu trúc phân cấp cây mô-đun. Chúng ta phải xây dựng cây mô-đun một cách rõ ràng bằng tay trong code của chúng ta.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_106_zh-cn.html b/beta_106_zh-cn.html new file mode 100644 index 000000000..775881c64 --- /dev/null +++ b/beta_106_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

模块

+

每个 Rust 程序或者库都叫 crate

+

每个 crate 都是由模块的层次结构组成。

+

每个 crate 都有一个根模块。

+

模块里面可以有全局变量、全局函数、全局结构体、全局 Trait 甚至是全局模块!

+

在 Rust 中,文件与模块树的层次结构并不是一对一的映射关系。我们必须在我们的代码中手动构建模块树。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_ar.html b/beta_107_ar.html new file mode 100644 index 000000000..458a3472d --- /dev/null +++ b/beta_107_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

كتابة برنامج (Writing a Program)

+

البرنامج (Program) يملك وحدة جذر (root module) في ملف يسمى بـ main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_de.html b/beta_107_de.html new file mode 100644 index 000000000..55a9b2a56 --- /dev/null +++ b/beta_107_de.html @@ -0,0 +1,45 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ein Programm schreiben

+

Ein Programm hat ein Hauptmodul, das in der Datei main.rs untergebracht ist.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_en.html b/beta_107_en.html new file mode 100644 index 000000000..9587c568e --- /dev/null +++ b/beta_107_en.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_es.html b/beta_107_es.html new file mode 100644 index 000000000..05037bf1f --- /dev/null +++ b/beta_107_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escribir un Programa

+

Un programa tiene un módulo raíz en un archivo llamado main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_fa.html b/beta_107_fa.html new file mode 100644 index 000000000..3e6d732e7 --- /dev/null +++ b/beta_107_fa.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_fr.html b/beta_107_fr.html new file mode 100644 index 000000000..5626aa5df --- /dev/null +++ b/beta_107_fr.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ecrire un programme

+

Un programme possède un module racine dans un fichier appelé main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_hu.html b/beta_107_hu.html new file mode 100644 index 000000000..d43573b5e --- /dev/null +++ b/beta_107_hu.html @@ -0,0 +1,45 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hogyan Írjunk Futtatható Programot

+

Egy programnak mindig kell egy legfelső szintű modul, melyet a main.rs fájl tartalmaz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_ie.html b/beta_107_ie.html new file mode 100644 index 000000000..0bbf0710e --- /dev/null +++ b/beta_107_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scrir un Programma

+

Un programma have un modul root in un archive nominat main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_ko.html b/beta_107_ko.html new file mode 100644 index 000000000..db597060e --- /dev/null +++ b/beta_107_ko.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

프로그램 작성하기

+

프로그램은 main.rs라 불리는 파일에 root module을 갖고 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_pl.html b/beta_107_pl.html new file mode 100644 index 000000000..3afe782a4 --- /dev/null +++ b/beta_107_pl.html @@ -0,0 +1,45 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Program

+

A program has a root module in a file called main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_pt-br.html b/beta_107_pt-br.html new file mode 100644 index 000000000..ed1dc95aa --- /dev/null +++ b/beta_107_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escrevendo um programa

+

Um programa possui um módulo raiz em um arquivo chamado main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_ro.html b/beta_107_ro.html new file mode 100644 index 000000000..c5778093a --- /dev/null +++ b/beta_107_ro.html @@ -0,0 +1,45 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scrierea unui program

+

Un program are un modul rădăcină într-un fișier numit main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_ru.html b/beta_107_ru.html new file mode 100644 index 000000000..9aa4e34a1 --- /dev/null +++ b/beta_107_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Написание программы (Writing a Program)

+

Программа имеет корневой модуль в файле с названием main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_th.html b/beta_107_th.html new file mode 100644 index 000000000..dcabeec2e --- /dev/null +++ b/beta_107_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Program

+

ทุกๆโปรแกรมจะมีโมดูลหลักในไฟล์ชื่อ main.rs

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_tr.html b/beta_107_tr.html new file mode 100644 index 000000000..b0e4466ee --- /dev/null +++ b/beta_107_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bir Program Yazmak

+

Her program main.rs adlı dosyadan oluşan bir kök modüle sahiptir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_ua.html b/beta_107_ua.html new file mode 100644 index 000000000..ca394fde5 --- /dev/null +++ b/beta_107_ua.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Написання програм

+

Ваша програма є головним модулем у файлі під назвою main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_vi.html b/beta_107_vi.html new file mode 100644 index 000000000..43ec9f835 --- /dev/null +++ b/beta_107_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Viết chương trình

+

Một chương trình có một mô-đun gốc trong một tệp có tên là main.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_107_zh-cn.html b/beta_107_zh-cn.html new file mode 100644 index 000000000..94775f88e --- /dev/null +++ b/beta_107_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

编写程序

+

应用程序的根模块需要在一个叫 main.rs 的文件里面。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_ar.html b/beta_108_ar.html new file mode 100644 index 000000000..12ca3f3d0 --- /dev/null +++ b/beta_108_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

كتابة مكتبة (Writing a Library)

+

المكتبة (library) تملك وحدة جذر (root module) في ملف يدعى بـ lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_de.html b/beta_108_de.html new file mode 100644 index 000000000..f29a80f50 --- /dev/null +++ b/beta_108_de.html @@ -0,0 +1,45 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eine Bibliothek schreiben

+

Eine Bibliothek hat ein Hauptmodul, das in der Datei lib.rs untergebracht ist.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_en.html b/beta_108_en.html new file mode 100644 index 000000000..4fa65bd0d --- /dev/null +++ b/beta_108_en.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_es.html b/beta_108_es.html new file mode 100644 index 000000000..8d629f769 --- /dev/null +++ b/beta_108_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escribir una Librería

+

Una librería tiene un módulo raíz en un archivo llamado lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_fa.html b/beta_108_fa.html new file mode 100644 index 000000000..10bd85cf9 --- /dev/null +++ b/beta_108_fa.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_fr.html b/beta_108_fr.html new file mode 100644 index 000000000..435e958a2 --- /dev/null +++ b/beta_108_fr.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ecrire une bibliothèque

+

Un bibliothèque possède un module racine dans un fichier appelé lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_hu.html b/beta_108_hu.html new file mode 100644 index 000000000..dfce76438 --- /dev/null +++ b/beta_108_hu.html @@ -0,0 +1,45 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hogyan Írjunk Programkönyvtárat

+

Egy könyvtárnak mindig kell egy legfelső szintű modul, melyet a lib.rs fájl tartalmaz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_ie.html b/beta_108_ie.html new file mode 100644 index 000000000..55a7094b4 --- /dev/null +++ b/beta_108_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scrir un Biblioteca

+

Un biblioteca have un modul root in un archive nominat lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_ko.html b/beta_108_ko.html new file mode 100644 index 000000000..ad9922602 --- /dev/null +++ b/beta_108_ko.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

라이브러리 작성하기

+

library는 lib.rs라 불리는 파일에 root module을 갖고 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_pl.html b/beta_108_pl.html new file mode 100644 index 000000000..9f0293d5d --- /dev/null +++ b/beta_108_pl.html @@ -0,0 +1,45 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Library

+

A library has a root module in a file called lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_pt-br.html b/beta_108_pt-br.html new file mode 100644 index 000000000..a04828844 --- /dev/null +++ b/beta_108_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escrevendo uma biblioteca

+

Uma biblioteca possui um módulo raiz em um arquivo chamado lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_ro.html b/beta_108_ro.html new file mode 100644 index 000000000..1a0800db5 --- /dev/null +++ b/beta_108_ro.html @@ -0,0 +1,45 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scrierea unei biblioteci

+

O bibliotecă are un modul rădăcină într-un fișier numit lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_ru.html b/beta_108_ru.html new file mode 100644 index 000000000..461889487 --- /dev/null +++ b/beta_108_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Написание библиотеки (Writing a Library)

+

Библиотека имеет корневой модуль в файле с названием lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_th.html b/beta_108_th.html new file mode 100644 index 000000000..fc4ba1d2b --- /dev/null +++ b/beta_108_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Writing a Library

+

ทุกๆไลบรารีจะมีโมดูลหลักในไฟล์ชื่อ lib.rs

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_tr.html b/beta_108_tr.html new file mode 100644 index 000000000..4d66a3022 --- /dev/null +++ b/beta_108_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bir Kütüphane Yazmak

+

Her kütüphane lib.rs adlı dosyadan oluşan bir kök modüle sahiptir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_ua.html b/beta_108_ua.html new file mode 100644 index 000000000..acb17dcf1 --- /dev/null +++ b/beta_108_ua.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Написання бібліотеки

+

Ваша бібліотека є головним модулем у файлі під назвою lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_vi.html b/beta_108_vi.html new file mode 100644 index 000000000..5a9f50cf6 --- /dev/null +++ b/beta_108_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Viết thư viện

+

Một thư viện có một mô-đun gốc trong một tệp có tên là lib.rs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_108_zh-cn.html b/beta_108_zh-cn.html new file mode 100644 index 000000000..9a9a211cb --- /dev/null +++ b/beta_108_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

编写库

+

库的根模块需要在一个叫 lib.rs 的文件里面。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_109_ar.html b/beta_109_ar.html new file mode 100644 index 000000000..7954acd2e --- /dev/null +++ b/beta_109_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الإشارة إلى وحدات وصناديق أخرى (Referencing Other Modules and Crates)

+

يمكن الإشارة إلى العناصر الموجودة في الوحدات الأخرى عن طريق المسار الكامل للوحدة كما يلي

+
std::f64::consts::* 
+
+

والطريقة الأسهل هي استعمال الكلمة المفتاحية use. فهي تتيح لنا تحديد عناصر معينة من الوحدات والتي نرغب في استخدامها في التعليمات البرمجية الخاصة بنا ودون استخدام المسار الكامل. على سبيل المثال،

+
std::f64::consts::PI 
+
+

هنا يسمح لي فقط باستخدام المعرف PI في دالتي الرئيسية.

+

std هي الصندوق الخاص بـ المكتبة القياسية (standard library) لرست (Rust) والتي تحوي هياكل بيانات ودوال مساعدة في التفاعل مع نظام التشغيل الخاص بك.

+

يمكنك العثور على دليل الصناديق (crates) الذي أنشأه مجتمع رست (Rust) ويمكنك البحث فيه عبر الموقع https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_de.html b/beta_109_de.html new file mode 100644 index 000000000..4c1325475 --- /dev/null +++ b/beta_109_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenzierung zu anderen Modulen und Crates

+

Um auf Elemente in Modulen zu referenzieren, kann der vollständige Modulpfad verwendet werden: std::f64::consts::PI. +Ein einfacherer Weg ist das use Schlüsselwort. Es erlaubt uns anzugeben, welche Elemente wir durchgehend in unserem Code verwenden wollen, ohne jedes Mal den vollständigen Pfad angeben zu müssen. +Als Beispiel: use std::f64::consts::PI erlaubt Dir nur die Bezeichnung PI in der main Funktion zu verwenden. +std ist das Create der Standard Bibliothek von Rust. Sie ist voll mit nützlichen Datenstrukturen und Funktionen, um mit deinem Betriebssystem zu interagieren. +Eine durchsuchbare Bibliothek aller Creates, die von der Community erstellt wurden, findest Du unter: https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_en.html b/beta_109_en.html new file mode 100644 index 000000000..002b8e311 --- /dev/null +++ b/beta_109_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_es.html b/beta_109_es.html new file mode 100644 index 000000000..6c1c3be3d --- /dev/null +++ b/beta_109_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciar Otros Módulos y Crates

+

Los elementos de los módulos se pueden referenciar con la ruta completa de su módulo std::f64::consts::PI.

+

Una forma más simple es con el uso de la palabra reservada use. Esta nos permite especificar elementos particulares de los módulos que queremos usar en todo nuestro código sin una ruta completa. Por ejemplo, el uso de std::f64::consts::PI nos permite usar el identificador PI en la función principal.

+

std es un crate de la librería estándar de Rust que está lleno de estructuras de datos y funciones para interactuar con tu sistema operativo.

+

En el siguiente enlace: https://crates.io puedes encontrar un directorio de crates creado por la comunidad.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_fa.html b/beta_109_fa.html new file mode 100644 index 000000000..0a7ad85a1 --- /dev/null +++ b/beta_109_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_fr.html b/beta_109_fr.html new file mode 100644 index 000000000..972bcc660 --- /dev/null +++ b/beta_109_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Référencement de modules et de crates

+

Les composants d'un module peuvent être référencés avec leur chemin +complet std::f64::consts::PI.

+

Un moyen plus simple est d'utiliser le mot-clé use. Il nous permet +de spécifier des éléments particuliers des modules que nous souhaitons +utiliser sans avoir à spécifier le chemin complet à chaque fois. Par +exemple use std::f64::consts::PI permettra d'utiliser simplement +l'identifiant PI là où on en a besoin.

+

std est la bibliothèque standard de Rust. Celle-ci met à +disposition de nombreuses structures de données et fonctions pour +intéragir plus facilement avec le système d'exploitation.

+

Un répertoire des crates créés par la communauté peut être consulté à +l'adresse https://crates.io

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_hu.html b/beta_109_hu.html new file mode 100644 index 000000000..826849d7e --- /dev/null +++ b/beta_109_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hogyan Hivatkozzunk Más Modulokra és Ládákra

+

Modulokban lévő elemekre teljes elérési útjukkal lehet hivatkozni, például: +std::f64::consts::PI.

+

Ennél egyszerűbb a use kulcsszó. Ez lehetővé teszi számunkra más modulok adott elemeire +hivatkozást anélkül, hogy a teljes elérési útjukat ki kéne újra írnunk. Például, ha modulunk, +függvényünk vagy blokkunk elejére írjuk, hogy use std::f64::consts::PI, az adott helyen már +elég csak PI-ként hivatkoznunk rá.

+

A Rust alapkönyvtárának ládájára std néven hivatkozhatunk. Ez tele van hasznos +adatstruktúrákkal és függvényekkel, valamint az operációs rendszer képességeit elérő +funkciókkal.

+

A közösség által készített ládák kereshető gyűjteményét a +https://crates.io weboldalon találod.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_ie.html b/beta_109_ie.html new file mode 100644 index 000000000..258a689a0 --- /dev/null +++ b/beta_109_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referentiar Coses Multiplic

+

On posse referentiar coses multiplic in un sol modul quam seque:

+
use std::f64::consts::{PI, TAU}
+
+

Ferris ne manja TAU, solmen PI.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_ko.html b/beta_109_ko.html new file mode 100644 index 000000000..841e106cc --- /dev/null +++ b/beta_109_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

다른 모듈과 크레이트 참조하기

+

module 내의 항목은 전체 module 경로인 std::f64::consts::PI를 이용해 참조할 수 있습니다.

+

더 간단한 방법은 use 키워드를 사용하는 것입니다. +이를 이용하면 module에서 쓰고자 하는 특정 항목을 전체 경로를 쓰지 않고도 코드 어디에서든 사용할 수 있습니다. +예를 들어, use std::f64::consts::PI를 쓰면 main 함수에서 PI만으로 사용할 수 있습니다.

+

std는 유용한 데이터 구조 및 OS와 상호작용할 수 있는 함수로 가득한 +표준 라이브러리(standard library)의 crate입니다.

+

커뮤니티에서 작성한 crate들의 검색 가능 목록을 https://crates.io에서 확인하실 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_pl.html b/beta_109_pl.html new file mode 100644 index 000000000..c24fe07f1 --- /dev/null +++ b/beta_109_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Other Modules and Crates

+

Items in modules can be referenced with their full module path std::f64::consts::PI.

+

A simpler way is the use keyword. It allows us to specify particular items from modules we want +to use throughout our code without a full path. For instance use std::f64::consts::PI +allows me to just use the identifier PI in my main function.

+

std is the crate of the standard library of Rust which is full of useful data +structures and functions for interacting with your operating system.

+

A searchable directory of crates created by the community can be found at https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_pt-br.html b/beta_109_pt-br.html new file mode 100644 index 000000000..6dfeb1bd0 --- /dev/null +++ b/beta_109_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciando outros módulos e crates

+

Os itens nos módulos podem ser referenciados com o seu caminho completo do módulo std::f64::consts::PI.

+

Uma maneira simples é a palavra-chave use. Ela nos permite especificar determinados itens dos módulos que desejamos usar em todo o nosso código sem um caminho completo. Por exemplo, use std::f64::consts::PI me permite usar apenas o identificadorPI em minha função principal.

+

std é o crate da biblioteca padrão do Rust que está repleta de estruturas de dados úteis e funções para interagir com o seu sistema operacional.

+

Um diretório pesquisável de crates criadas pela comunidade pode ser encontrado em https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_ro.html b/beta_109_ro.html new file mode 100644 index 000000000..ea83a157d --- /dev/null +++ b/beta_109_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referențierea de către alte module și cutii

+

Elementele din module pot fi referențiate cu calea completă a acestora. std::f64::consts::PI.

+

O modalitate mai simplă este cuvântul cheie use. Acesta ne permite să specificăm anumite elemente din modulele pe care dorim să le +să folosim în tot codul nostru fără o cale completă. Spre exemplu use std::f64::consts::PI +îmi permite să folosesc doar identificatorul PI în funcția mea principală.

+

std este o cutie a bibliotecii standard din Rust, care este plină de structuri de date și funcții utile pentru interacțiunea cu sistemul de operare.

+

Un repertoriu de căutare a cutiilor (în denumite engleza crate) create de comunitate poate fi găsit la adresa https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_ru.html b/beta_109_ru.html new file mode 100644 index 000000000..f4263beba --- /dev/null +++ b/beta_109_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Подключение других модулей и крейтов (Referencing Other Modules and Crates)

+

На элементы из модуля можно ссылаться, подключая их в коде с помощью полного модульного пути, например std::f64::consts::PI.

+

Использование ключевого слова use является более простым способом. Он позволяет указать определенные элементы модуля, которые мы хотим использовать в коде без указания полного пути. Например, use std::f64::consts::PI позволяет использовать короткий идентификатор PI в функции main.

+

std является крейтом standard library (стандартной библиотеки) Rust, которая полна полезных структур данных для взаимодействия с вашей операционной системой.

+

Каталог для поиска множества полезных крейтов, созданных сообществом, можно найти по адресу https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_th.html b/beta_109_th.html new file mode 100644 index 000000000..f9eb4baa2 --- /dev/null +++ b/beta_109_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Other Modules and Crates

+

ของต่างๆในโมดูลสามารถอ้างถึงได้ด้วย โมดูลพาธแบบเต็ม std::f64::consts::PI.

+

อีกวิธีที่ง่ายกว่าคือการใช้คีย์เวิร์ด use ซึ่งจะช่วยให้เราระบุสิ่งที่ต้องการใช้ จากโมดูลนั้น โดยไม่ต้องใส่ โมดูลพาธแบบเต็ม ตัวอย่างเช่นเมื่อเราใช้ use std::f64::consts::PI จะทำให้เราสามารถระบุเพียงแค่ PI ได้ในฟังก์ชันหลัก

+

std คือ crate ของ standard library หรือไลบรารีมาตรฐานของ Rust +ซึ่งเต็มไปด้วย โครงสร้างข้อมูล และฟังก์ชันที่มีประโยชน์ในการติดต่อกับระบบปฏิบัติการ

+

สามารถค้นหา crates ได้จากแหล่งรวบรวมที่สร้างโดยชุมชนของเราที่ https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_tr.html b/beta_109_tr.html new file mode 100644 index 000000000..74f516c31 --- /dev/null +++ b/beta_109_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Başka Modül ve Sandıklara Referans Vermek

+

Modül öğelerine std::f64::consts::PI şeklinde, modül içi tam yolun gösterilmesi ile başvuru yapılabilir.

+

use anahtar sözcüğü daha basit bir yöntemdir. Bu sözcüğün kullanımı kod boyunca kullanılacak modül öğelerine tam yollarını belirtmeden ulaşma olanağı sunar. Örneğin use std::f64::consts::PI şeklinde bir yol bildirmek, main işlevi içinde yalnızca PI tanımlayıcısını kullanmamıza izin verir.

+

Standart kütüphanemiz std, işletim sisteminizle etkileşimde bulunabilmemiz için yararlı veri yapıları ve işlevlerden oluşan bir Rust sandığıdır.

+

Topluluk tarafından oluşturulan sandıklara https://crates.io üzerindeki dizinden ulaşabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_ua.html b/beta_109_ua.html new file mode 100644 index 000000000..b4c7f4315 --- /dev/null +++ b/beta_109_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Зсилання на crate та модулі

+

Елемент із модуля доступний лише при вказування повного шляху до самого модуля std::f64::consts::PI.

+

Але це можна спростити з використанням use. Це надасть вам можливість зробити код візуально краще, і ви зможете вказувати лише потрібну частину шляху +без необхідності вказувати повний шлях. Наприклад use std::f64::consts::PI +дозволить використовувати мені PI у моїх функціях.

+

std це crate стандартної бібліотеки Rust, котра надає вам повну необхідну інформацію +структури і функції для роботи з вашою операційною системою.

+

А тут ви зможете знайти будь-який потрібний вам crate - https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_vi.html b/beta_109_vi.html new file mode 100644 index 000000000..5a67a991a --- /dev/null +++ b/beta_109_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu các mô-đun và crate khác

+

Các mục trong mô-đun có thể được tham chiếu với đường dẫn mô-đun đầy đủ của chúng std::f64::consts::PI.

+

Một cách đơn giản hơn là từ khóa use. Nó cho phép chúng ta chỉ định các mục cụ thể từ các mô-đun mà chúng ta muốn sử dụng trong toàn bộ code của mình mà không có đường dẫn đầy đủ. Ví dụ use std::f64::consts::PI cho phép ta chỉ sử dụng từ định danh PI trong hàm main của mình.

+

std là crate của standard library(thư viện tiêu chuẩn) của Rust chứa đầy các cấu trúc và chức năng dữ liệu hữu ích để tương tác với hệ điều hành của bạn.

+

Có thể tìm thấy thư mục crate do cộng đồng tạo ra tại https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_109_zh-cn.html b/beta_109_zh-cn.html new file mode 100644 index 000000000..c2487ba47 --- /dev/null +++ b/beta_109_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

引用其他模块和 crate

+

你可以使用完整的模块路径路径引用模块中的项目: std::f64::consts::PI

+

更简单的方法是使用use关键字。此关键字可以让我们在代码中使用模块中的项目而无需指定完整路径。例如 use std::f64::consts::PI +这样我在 main 函数中只需要写 PI 就可以了。

+

std 是 Rust 的标准库。这个库中包含了大量有用的数据结构和与操作系统交互的函数。

+

由社区创建的 crate 的搜索索引可以在这里找到: https://crates.io.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_al.html b/beta_10_al.html new file mode 100644 index 000000000..4babe342a --- /dev/null +++ b/beta_10_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vlerat e shumëfishta të kthimit

+

Funksionet mund të kthejnë vlera të shumta duke kthyer një tuple

+

të vlerave.

+

Elementet e dyfishta mund të referohen me numrin e tyre të indeksit.

+

Rust mbështet lloje të ndryshme destrukturimi që do t'i shohim në shumë forma, + duke lejuar

+

ne të nxjerrim nën-pjesë të strukturave të të dhënave në mënyra ergonomike. Të jesh në + kujdes!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_ar.html b/beta_10_ar.html new file mode 100644 index 000000000..902130bf3 --- /dev/null +++ b/beta_10_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع قيم عديدة

+

يمكن أن ترجع الدوال عدد من القيم على شكل صف (tuple) من القيم.

+

ويمكن الوصول إلى عناصر الصف (tuple) عن طريق رقم ترتيبها في الفهرس (index).

+

يدعم رست (Rust) أنواعًا مختلفة من التفكيك (destructuring) والتي نراها في أشكال عديدة، تسمح لنا باستخراج أجزاء فرعية من هياكل البيانات بطرق مريحة. أرجو أن تكون متنبهاً لها!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_de.html b/beta_10_de.html new file mode 100644 index 000000000..12580c2f3 --- /dev/null +++ b/beta_10_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mehrere return-Variablen

+

Funktionen können mehrere Variablen auf einmal zurückgeben mittels eines tuples.

+

Die Werte können danach über einen Index gelesen werden.

+

Rust unterstützt verschiedene Formen von "destructuring", wodurch sich Wertepaare auf +einzelne Variablen aufteilen lassen. Halte Ausschau danach!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_en.html b/beta_10_en.html new file mode 100644 index 000000000..fffc24349 --- /dev/null +++ b/beta_10_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Return Values

+

Functions can return multiple values by returning a tuple +of values.

+

Tuple elements can be referenced by their index number.

+

Rust supports various kinds of destructuring that we will see in many forms, allowing +us to extract sub-pieces of data structures in ergonomic ways. Be on the lookout!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_es.html b/beta_10_es.html new file mode 100644 index 000000000..62df18435 --- /dev/null +++ b/beta_10_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Múltiples Variables de Retorno

+

Las funciones pueden devolver múltiples valores utilizando una tupla de valores.

+

Los valores se pueden referenciar por su posición en la tupla.

+

Rust soporta varios modos de desestructuración que veremos en diferentes formas, esto nos permite extraer subconjuntos de estructuras de datos de manera práctica. ¡Presta mucha atención!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_fa.html b/beta_10_fa.html new file mode 100644 index 000000000..89525eb0e --- /dev/null +++ b/beta_10_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Return Values

+

Functions can return multiple values by returning a tuple +of values.

+

Tuple elements can be referenced by their index number.

+

Rust supports various kinds of destructuring that we will see in many forms, allowing +us to extract sub-pieces of data structures in ergonomic ways. Be on the lookout!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_fi.html b/beta_10_fi.html new file mode 100644 index 000000000..a801bcb1f --- /dev/null +++ b/beta_10_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Monta paluuarvoa

+

Funktiot voivat palauttaa useampia arvoja palauttamalla tuplen

+

Tuplen elementteihin voi viitata niiden järjestysnumerolla.

+

Rust tukee useita eri tapoja pilkkoa tietorakenteet osiinsa, mikä mahdollistaa monia erginomisia keinoja päästä käsiksi muuttujien alirakenteisiin. Odota vain hetki!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_fr.html b/beta_10_fr.html new file mode 100644 index 000000000..e96e07e7a --- /dev/null +++ b/beta_10_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple valeurs de retour

+

Une fonction peut retourner plusieurs valeurs en retournant un tuple de valeurs.

+

Les éléments du tuple peuvent être référencés par leur index.

+

Rust nous donne la possibilité d'extraire simplement certaines parties de structures de données, +c'est la destructuration. Nous en verrons d'autres formes par la suite. Garde l'oeil ouvert!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_gr.html b/beta_10_gr.html new file mode 100644 index 000000000..a9d0c1a47 --- /dev/null +++ b/beta_10_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Πολλαπλές τιμές επιστροφής

+

Οι συναρτήσεις μπορούν να επιστρέψουν πάνω από μία τιμή με τη χρήση μίας πολλαπλότητας τιμών.

+

Στο κάθε στοιχείο μίας πολλαπλότητας μπορεί να αναφερθεί κανείς με τον αύξοντα αριθμό του.

+

Η Rust υποστηρίζει διαφόρους τύπος αποδόμησης που θα δούμε σε πολλές μορφές, επιτρέποντάς μας να εξάγουμε υπο-τμήματα δομών δεδομένων με εργονομικούς τρόπους. Στα υπ' όψιν!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_hu.html b/beta_10_hu.html new file mode 100644 index 000000000..abbf20a91 --- /dev/null +++ b/beta_10_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Több visszatérési érték

+

A függvények több értékkel is visszatérhetnek egy tuple formájában.

+

A tuple-k elemeit az indexük számával lehet elérni.

+

A Rust többféle elérési módot is biztosít, amivel az adatok bizonyos részeit kényelmes módon +érhetjük el. De erről később lesz szó!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_id.html b/beta_10_id.html new file mode 100644 index 000000000..387a78bf8 --- /dev/null +++ b/beta_10_id.html @@ -0,0 +1,51 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pengembalian nilai berganda

+

Fungsi dapat mengembalikan nilai secara berganda dengan menggunakan tuple.

+

Elemen tuple dapat direferensikan dengan indeksnya.

+

Rust mendukung berbagai macam destructuring yang kita akan lihat di dalam +berbagai macam bentuk, memungkinkan kita untuk mengekstrak sub-bagian dari +data struktur secara ergonimis.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_ie.html b/beta_10_ie.html new file mode 100644 index 000000000..f7c948ed5 --- /dev/null +++ b/beta_10_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiplic retorn-valores

+

Functiones posse retornar multiplic valores per retornar un tuple de valores. (N.B. un tuple es parent con -tuplic in Interlingue-Occidental)

On posse referer al valores per lor position in li tuple.

Rust subtene varie tipes de destructuration quel noi va vider in pluri formes. To possibilisa li extraction de sub-pezzes de data ergonomicmen. Esse atentiv por it!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_it.html b/beta_10_it.html new file mode 100644 index 000000000..5ba371ef2 --- /dev/null +++ b/beta_10_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Valori di ritorno multipli

+

Le funzioni possono ritornare più di un valore, semplicemente ritornando una tupla di valori. +Puoi referenziare gli elementi di una tupla con il loro numero indice. +Rust supporta vari tipi di destrutturazione che vedremo in varie forme, +permettendoci di estrarre sottoinsiemi di dati in modo ergonomico. Guarda l'esempio!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_ja.html b/beta_10_ja.html new file mode 100644 index 000000000..147511607 --- /dev/null +++ b/beta_10_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

複数の戻り値

+

関数は、値をタプルで返すことによって、複数の値を返せます。

+

タプルの要素はインデックス番号で参照できます。

+

Rust はデータ構造の一部を抽出する機能を提供します。これについては後ほど他の方法も見ていきます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_ko.html b/beta_10_ko.html new file mode 100644 index 000000000..4e7e73471 --- /dev/null +++ b/beta_10_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러개의 리턴 값

+

함수는 튜플(tuple)을 리턴함으로써 여러개의 값을 리턴할 수 있습니다.

+

tuple의 원소는 인덱스 숫자를 통해 참조할 수 있습니다.

+

Rust는 데이터 구조의 일부분을 편하게 추출할 수 있도록 해주는 다양한 형태의 분해(destructuring) 방법을 지원합니다. 잘 지켜보세요!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_ne.html b/beta_10_ne.html new file mode 100644 index 000000000..66e3593dd --- /dev/null +++ b/beta_10_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Het teruggeven van meerdere waarden

+

Functies kunnen meerdere waarden retourneren door een tuple van waarden terug te geven. +De elementen van een tuple kunnen worden benaderd met behulp van hun index. (bijv: my_tuple.0) +Rust ondersteunt verschillende vormen van destructurering die we in veel contexten zullen zien, waardoor het mogelijk is om delen van gegevensstructuren op slimme manieren te extraheren. Wees alert!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_pl.html b/beta_10_pl.html new file mode 100644 index 000000000..87ace4009 --- /dev/null +++ b/beta_10_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Wielu Wartości

+

Funkcje mogą zwracać wiele wartości przy użyciu krotki (ang. tuple).

+

Do elementów krotki możemy odnieść się za pomocą ich numerycznych indeksów.

+

Jak przekonamy się w kolejnych rozdziałach, Rust dostarcza rozmaitych sposobów ergonomicznego rozkładania struktur na czynniki pierwsze.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_pt-br.html b/beta_10_pt-br.html new file mode 100644 index 000000000..3eee29ac4 --- /dev/null +++ b/beta_10_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retorno de Múltiplos Valores

+

Funções podem devolver múltiplos valores retornando uma tupla de valores.

+

Os elementos da tupla podem ser referenciados pelo seu índice.

+

O Rust suporta vários modos de desestruturação que veremos em diferentes formas, permitindo extrair subconjuntos de dados de maneira prática.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_ro.html b/beta_10_ro.html new file mode 100644 index 000000000..5cad19829 --- /dev/null +++ b/beta_10_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea mai multor valori

+

Funcțiile pot returna mai multe valori prin returnarea unui tuplu +de valori.

+

Elementele unui tuplu pot fi accesate folosind indexul acestora. (ex: my_tuple.0)

+

Rust suportă diferite tipuri de destructurări pe care le vom vedea în multe contexte, permițându-ne +să extragem fracțiuni ale unor structuri de date în moduri ingenioase. Fiți pe fază!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_ru.html b/beta_10_ru.html new file mode 100644 index 000000000..efc52f9ee --- /dev/null +++ b/beta_10_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возврат нескольких значений (Tuple)

+

Функции могут возвращать несколько значений с помощью кортежа значений (tuple).

+

Доступ к значениям элементов кортежа осуществляется по их позиции внутри кортежа.

+

Rust поддерживает разные виды деструктуризации (destructuring), которые вы увидите в разных формах. Это позволяет извлекать части данных из структур удобным способом. Смотрите внимательно!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_th.html b/beta_10_th.html new file mode 100644 index 000000000..93ab7ad69 --- /dev/null +++ b/beta_10_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การคืนค่าหลายค่า

+

ฟังก์ชันสามารถคืนค่าได้หลายค่าด้วยการคืนออกมาเป็น tuple

+

สามารถอ้างถึงสมาชิกของ Tuple ได้ด้วย index

+

Rust รองรับการถอดโครงสร้างได้หลายแบบ ซึ่งเราจะได้เห็นว่าทำได้อีกหลายวิธี โดยจะทำให้เราแยกของที่อยู่ในโครงสร้างออกมาเป็นชิ้นย่อยๆ ตามหลักสรีรศาสตร์ จับตาดูไว้ให้ดี!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_tr.html b/beta_10_tr.html new file mode 100644 index 000000000..1412cc173 --- /dev/null +++ b/beta_10_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çoklu Dönüş Değerleri

+

Bir çokuzlu yardımıyla işlevlerden aynı anda birden çok değer döndürebilir.

+

Döndürülen çokuzlunun elemanlarına dizin numaraları kullanılarak erişilir.

+

Rust, çeşitli yıkım biçimlerini desteklediğinden, veri yapılarını ayrı değişkenler halinde değerlendirebilirsiniz!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_ua.html b/beta_10_ua.html new file mode 100644 index 000000000..b00da6cb4 --- /dev/null +++ b/beta_10_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення декількох значень (Tuple)

+

Функції можуть повертати декілька значень за допомогою кортежів (Tuple) значень.

+

Отримати значення елемента кортежу можна за номером його індекса.

+

Rust підтримує багато видів деструктуризацій (destructuring) у різноманітних формах, які дозволяють нам отримувати частини даних найбільш зручним способом. Дивіться уважніше!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_vi.html b/beta_10_vi.html new file mode 100644 index 000000000..0c21ee6e3 --- /dev/null +++ b/beta_10_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trả lại nhiều giá trị

+

Các hàm có thể trả về nhiều giá trị bằng cách trả về một tuple(bộ giá trị).

+

Các phần tử trong một Tuple có thể được tham chiếu bằng số chỉ mục của chúng.

+

Rust hỗ trợ các loại cấu trúc hủy khác nhau mà chúng ta sẽ thấy ở nhiều dạng, cho phép chúng tôi trích xuất các phần con của cấu trúc dữ liệu theo những cách tiện dụng. Cẩn thận nhé!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_zh-cn.html b/beta_10_zh-cn.html new file mode 100644 index 000000000..a477f6101 --- /dev/null +++ b/beta_10_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多个返回值

+

函数可以通过元组来返回多个值。

+

元组元素可以通过他们的索引来获取。

+

Rust 允许我们将后续会看到的各种形式的解构,也允许我们以符合逻辑的方式提取数据结构的子片段。敬请期待后面的内容!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_10_zh-tw.html b/beta_10_zh-tw.html new file mode 100644 index 000000000..bcbcf964e --- /dev/null +++ b/beta_10_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多個回傳值

+

當函數要回傳幾個值的時候,可以把回傳值放到元組(Tuple)回傳。 +元組的元素可以通過索引(Index)來獲取。 +Rust 支持幾種不同的手法來拆解元組, 讓我們可以漂亮的從數據結構中分解出部份有用的值來使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_110_ar.html b/beta_110_ar.html new file mode 100644 index 000000000..176a59d5a --- /dev/null +++ b/beta_110_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الإشارة لعدة عناصر (Referencing Multiple Items)

+

يمكن الإشارة لعدة عناصر في مسار وحدة واحدة (single module path) على النحو التالي:

+
use std::f64::consts::{PI,TAU}
+
+

فيريس لا يأكل TAU، بل يأكل PI فقط.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_de.html b/beta_110_de.html new file mode 100644 index 000000000..3eebe1a45 --- /dev/null +++ b/beta_110_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mehrere Elemente referenzieren

+

Möchtest Du auf mehrere Elemente in einem einzelnen Modulpfad referenzieren, verwendest du folgenden Code:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris isst kein TAU, er isst nur PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_en.html b/beta_110_en.html new file mode 100644 index 000000000..10fc56969 --- /dev/null +++ b/beta_110_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_es.html b/beta_110_es.html new file mode 100644 index 000000000..6d00998b8 --- /dev/null +++ b/beta_110_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciar Múltiples Elementos

+

En este ejemplo podemos ver cómo referenciar múltiples elementos utilizando una única ruta al módulo.

+
use std::f64::consts::{PI,TAU}
+
+

TAUro y PIscis son los signos del zodiaco más compatibles con Ferris.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_fa.html b/beta_110_fa.html new file mode 100644 index 000000000..634b67ede --- /dev/null +++ b/beta_110_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_fr.html b/beta_110_fr.html new file mode 100644 index 000000000..81b48bd65 --- /dev/null +++ b/beta_110_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Référencement de plusieurs composants d'un module

+

Plusieurs composants peuvent être référencés dans un seul chemin de module:

+
use std::f64::consts::{PI,TAU}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_hu.html b/beta_110_hu.html new file mode 100644 index 000000000..6e006455c --- /dev/null +++ b/beta_110_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hivatkozás Több Elemre

+

Egy időben több elemre is hivatkozhatunk:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris nem szereti a TAUtát, ő csak PItét eszik.[1]

+

[1]: Bocs. -- A fordító

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_ie.html b/beta_110_ie.html new file mode 100644 index 000000000..ca6440a48 --- /dev/null +++ b/beta_110_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creation de un Modul

+

Quande on pensa pri code, on imagina por li pluparte un hierarchie de archives organisat in archivieres. +Rust let you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. Rust posse posseder un modul foo representat quam

+
    +
  • un archive nominat foo.rs
  • +
  • un archiviere nominat foo in quel sta un archive mod.rs
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_ko.html b/beta_110_ko.html new file mode 100644 index 000000000..46c7f71fc --- /dev/null +++ b/beta_110_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러 개의 항목을 참조하기

+

복수의 항목을 하나의 module 경로로 참조하고 싶다면 이렇게 하면 됩니다:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris는 TAU를 먹지 않습니다. PI만 먹어요.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_pl.html b/beta_110_pl.html new file mode 100644 index 000000000..c63d022a1 --- /dev/null +++ b/beta_110_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Multiple Items

+

Multiple items can be referenced in a single module path as so:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris doesn't eat TAU, he only eats PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_pt-br.html b/beta_110_pt-br.html new file mode 100644 index 000000000..c68c958cf --- /dev/null +++ b/beta_110_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciando múltiplos itens

+

Vários itens podem ser referenciados em um único caminho de módulo assim:

+
use std::f64::consts::{PI, TAU}
+
+

Ferris não come TAU, ele só come PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_ro.html b/beta_110_ro.html new file mode 100644 index 000000000..fda2e07c5 --- /dev/null +++ b/beta_110_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referința la mai multe elemente

+

Mai multe elemente pot fi menționate într-o singură cale de modul, astfel:

+
use std::f64::consts::{PI,TAU}
+
+

TAUr și PIsces sunt semnele zodiacale cele mai compatibile cu Ferris.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_ru.html b/beta_110_ru.html new file mode 100644 index 000000000..0b04047dd --- /dev/null +++ b/beta_110_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Подключение нескольких элементов (Referencing Multiple Items)

+

Подключить несколько элементов из одного модульного пути можно так:

+
use std::f64::consts::{PI,TAU}
+
+

Феррис не кушает TAU, от кушает только PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_th.html b/beta_110_th.html new file mode 100644 index 000000000..b5cbe3a68 --- /dev/null +++ b/beta_110_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencing Multiple Items

+

สามารถอ้างถึงของหลายๆอย่างได้ด้วยการระบุพาธโมดูลครั้งเดียวได้

+
use std::f64::consts::{PI,TAU}
+
+

Ferris ไม่กิน TAU เขากินแต่ PI

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_tr.html b/beta_110_tr.html new file mode 100644 index 000000000..e2b3678d2 --- /dev/null +++ b/beta_110_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çok Sayıda Öğeye Başvurmak

+

Aşağıda örneklendiği şekilde tek bir modül yolunda çok sayıda öğeye referans verilebilir.

+
use std::f64::consts::{PI,TAU}
+
+

Ferris TAU yiyemez, o sadece PI yemeyi tercih eder.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_ua.html b/beta_110_ua.html new file mode 100644 index 000000000..b631f335d --- /dev/null +++ b/beta_110_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Посилання на декілька елементів

+

Ви можете посилатися на декілька елементів одного і того самого модуля:

+
use std::f64::consts::{PI,TAU}
+
+

Якщо-що, то Ферріс їсть тільки PI, від TAU його нудить.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_vi.html b/beta_110_vi.html new file mode 100644 index 000000000..5f8228d4b --- /dev/null +++ b/beta_110_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu nhiều mục

+

Nhiều mục có thể được tham chiếu trong một đường dẫn mô-đun duy nhất như sau:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris không ăn TAU, anh ấy chỉ ăn PI.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_110_zh-cn.html b/beta_110_zh-cn.html new file mode 100644 index 000000000..ef1ef34ac --- /dev/null +++ b/beta_110_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

引用多个项目

+

在同一个模块路径中可以引用多个项目,比如:

+
use std::f64::consts::{PI,TAU}
+
+

Ferris 不吃桃(TAU),它只吃派(PI)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_ar.html b/beta_111_ar.html new file mode 100644 index 000000000..54ad4236f --- /dev/null +++ b/beta_111_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إنشاء وحدات (Creating Modules)

+

عندما نفكر في التعليمات البرمجية، فإننا عادة نتخيل تسلسلًا هرميًا (hierarchy) للملفات المنظمة في مجلدات أو أدلة. يتيح لك رست (Rust) إنشاء وحدات (modules) وثيقة الصلة ببنية ملفك.

+

هناك طريقتان في رست (Rust) للتصريح عن وحدة (module). على سبيل المثال، يمكن تمثيل الوحدة foo على النحو التالي:

+
    +
  • إما بملف اسمه foo.rs.
  • +
  • أو عن طريق دليل اسمه "foo" وبداخله ملف "mod.rs".
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_de.html b/beta_111_de.html new file mode 100644 index 000000000..931b48a1e --- /dev/null +++ b/beta_111_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module erstellen

+

Denken wir über Code nach, so stellen wir uns üblicher Weise eine Hierarchie von Dateien in Ordnern vor. +Rust macht es möglich, dass du sehr nah an dieser Dateistruktur Module erstellen kannst.

+

Es gibt zwei Wege um ein Modul zu erstellen. Zum Beispiel kann das Modul foo dargestellt werden als,

+
    +
  • eine Datei mit dem Namen foo.rs
  • +
  • ein Verzeichnis mit dem Namen foo und einer darin erstellten Datei mod.rs
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_en.html b/beta_111_en.html new file mode 100644 index 000000000..229b78253 --- /dev/null +++ b/beta_111_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_es.html b/beta_111_es.html new file mode 100644 index 000000000..096eeeca6 --- /dev/null +++ b/beta_111_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crear Módulos

+

Cuando pensamos en el código, solemos imaginar una jerarquía de archivos que se organizan en directorios. Rust nos permite crear módulos que están estrechamente relacionados con la estructura de archivos.

+

En Rust hay dos maneras de declarar un módulo. Por ejemplo, podemos representar un módulo foo de la siguiente forma:

+
    +
  • Un archivo llamado foo.rs.
  • +
  • Un directorio llamado foo que contiene un fichero llamado mod.rs.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_fa.html b/beta_111_fa.html new file mode 100644 index 000000000..b780d55fc --- /dev/null +++ b/beta_111_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_fr.html b/beta_111_fr.html new file mode 100644 index 000000000..376d20b83 --- /dev/null +++ b/beta_111_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Création d'un module

+

Lorsqu'un développeur écrit un programme, il se retrouve généralement +avec une hiéarchie de fichiers organisés en répertoire. Rust permet +d'organiser son code sous forme de modules tout en préservant la structure +des fichiers.

+

Avec Rust, il y a deux manière de créer un module. Par exemple, si nous +souhaitons créer le module foo, nous pouvons créer au choix:

+
    +
  • un fichier nommé foo.rs
  • +
  • un répertoire nommé foo avec un fichier mod.rs à l'intérieur
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_hu.html b/beta_111_hu.html new file mode 100644 index 000000000..5a54d216a --- /dev/null +++ b/beta_111_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modulok Készítése

+

Amikor kódra gondolunk, általában egy fájlokból és mappákból álló struktúrát képzelünk magunk +elé. A Rust megengedi számunkra, hogy a fájlstruktúrához hasonló modul-hierarchiát építsünk fel.

+

Több módon is létrehozhatunk modulokat. Például, egy foo nevű modul az alábbi formákat veheti +fel:

+
    +
  • foo.rs nevű fájl
  • +
  • foo nevű mappa, benne mod.rs nevű fájl
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_ie.html b/beta_111_ie.html new file mode 100644 index 000000000..bf0f3352e --- /dev/null +++ b/beta_111_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hierarchie de un Modul

+

A module can depends on another one. Por etablisser un relation inter un model e su sub-modul, on deve scrir quam seque in li modul genitori.

+
  // This declaration will look for a file named `foo.rs` or `foo/mod.rs` and
+  // will insert its contents inside a module named `foo` under this scope
+  mod foo;
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_ko.html b/beta_111_ko.html new file mode 100644 index 000000000..adb73c8c8 --- /dev/null +++ b/beta_111_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

모듈 작성하기

+

코드를 생각할 때 보통은 디렉토리로 구성된 파일구조를 떠올립니다. +Rust는 여러분의 파일 구조에 가깝게 module을 만들 수 있게 해줍니다.

+

Rust에서 module을 선언하는 데에는 두 가지 방법이 있습니다. +예를 들어 foo module은 다음과 같이 나타낼 수 있습니다:

+
    +
  • foo.rs라는 이름의 파일
  • +
  • foo라는 이름의 디렉토리에 들어있는 파일 mod.rs
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_pl.html b/beta_111_pl.html new file mode 100644 index 000000000..033e4ba24 --- /dev/null +++ b/beta_111_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Modules

+

When we think of code, we usually imagine a hierarchy of files organized +in directories. Rust lets you create modules closely related to your file +structure.

+

There are two ways in Rust to declare a module. For example, a module +foo can be represented as:

+
    +
  • a file named foo.rs
  • +
  • a directory named foo with a file mod.rs inside
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_pt-br.html b/beta_111_pt-br.html new file mode 100644 index 000000000..7586985dc --- /dev/null +++ b/beta_111_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Criando módulos

+

Quando pensamos em código, geralmente imaginamos uma hierarquia de arquivos organizados em diretórios. O Rust permite criar módulos intimamente relacionados à sua estrutura de arquivos.

+

Há duas maneiras no Rust de declarar um módulo. Por exemplo, um módulo foo pode ser representado como:

+
    +
  • um arquivo chamado foo.rs.
  • +
  • um diretório chamado foo com um arquivo mod.rs dentro.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_ro.html b/beta_111_ro.html new file mode 100644 index 000000000..da504c2df --- /dev/null +++ b/beta_111_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crearea de module

+

Când ne gândim la cod, ne imaginăm de obicei o ierarhie de fișiere organizate +în directoare. Rust vă permite să creați module organizate într-un mod similar +cu structura dumneavoastră de fișiere.

+

În Rust există două moduri de a declara un modul. De exemplu, un modul +foo poate fi reprezentat ca:

+
    +
  • un fișier numit foo.rs
  • +
  • un director numit foo cu un fișier mod.rs în interior
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_ru.html b/beta_111_ru.html new file mode 100644 index 000000000..4e0b1aba7 --- /dev/null +++ b/beta_111_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Создание модулей (Creating Modules)

+

Когда мы думаем о коде, мы обычно представляем себе иерархию файлов, огранизованную +в директориях. Rust позволяет создавать модули, близко похожие на файловую структуру.

+

В Rust есть два способа для объявления модуля. Например, модуль foo может быть +представлен как:

+
    +
  • файл с именем foo.rs
  • +
  • каталог с именем foo с файлом mod.rs внутри
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_th.html b/beta_111_th.html new file mode 100644 index 000000000..5e2d64edb --- /dev/null +++ b/beta_111_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Modules

+

เวลาเราคิดถึงโค้ด เรามักจะคิดไปถึงการจัดลำดับชั้นของไฟล์ในไดเร็กทอรี +Rust เลยช่วยให้คุณสร้างโมดูลให้ใกล้เคียงกับโครงสร้างไฟล์ของคุณเลย

+

Rust มีสองวิธีในการประกาศโมดูล ตัวอย่างเช่นโมดูล foo สามารถทำได้โดย:

+
    +
  • ตั้งชื่อไฟล์ว่า foo.rs
  • +
  • ตั้งชื่อไดเร็กทอรีว่า foo และสร้างไฟล์ชื่อ mod.rs ไว้ข้างใน
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_tr.html b/beta_111_tr.html new file mode 100644 index 000000000..c77b0b590 --- /dev/null +++ b/beta_111_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modüller Oluşturmak

+

Bir programı hakkında düşündüğünüzde, çoğu zaman gözlerinizin önüne dizinler halinde düzenlenmiş dosya hiyerarşisinden oluşan bir yapı geliyordur. +Rust, dosya yapınızla çok benzeşen modüller oluşturmanıza olanak sağlar.

+

Rust'ta bir modül bildirmenin iki yolu vardır. Örnek bir modül olan turler modülü, aşağıdaki iki yoldan biriyle oluşturulabilir:

+
    +
  • turler.rs adındaki bir dosya oluşturarak.
  • +
  • içinde mod.rs dosyası bulunan turler adlı bir dizin biçiminde.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_ua.html b/beta_111_ua.html new file mode 100644 index 000000000..41c8f73ab --- /dev/null +++ b/beta_111_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Створення модулів

+

Коли ми думаємо про код, то зазвичай уявляємо собі ієрархію файлів, організованих +у каталогах. Rust дозволяє створювати модулі, тісно пов'язані з вашою файловою +структурою вашого файлу.

+

У Rust є два способи оголошення модуля. Наприклад, модуль +foo може бути представлений як:

+
    +
  • файлу з іменем foo.rs.
  • +
  • директорія з іменем foo з файлом mod.rs всередині.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_vi.html b/beta_111_vi.html new file mode 100644 index 000000000..b8b97b44c --- /dev/null +++ b/beta_111_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tạo Mô-đun

+

Khi chúng ta nghĩ về code, +chúng ta thường tưởng tượng một hệ thống phân cấp của các file được tổ chức trong các thư mục. Rust cho phép bạn tạo các mô-đun liên quan chặt chẽ đến cấu trúc file của bạn.

+

Có hai cách trong Rust để khai báo một mô-đun. Ví dụ, một mô-đun foo có thể được biểu diễn như sau:

+
    +
  • một file có tên foo.rs
  • +
  • một thư mục có tên là foo với tệp mod.rs bên trong
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_111_zh-cn.html b/beta_111_zh-cn.html new file mode 100644 index 000000000..cd75abfde --- /dev/null +++ b/beta_111_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

创建模块

+

当我们想到项目时,我们通常会想象一个以目录组织的文件层次结构。Rust 允许您创建与您的文件结构密切相关的模块。

+

在 Rust 中,有两种方式来声明一个模块。例如,模块 foo 可以表示为:

+
    +
  • 一个名为 foo.rs 的文件。
  • +
  • 在名为 foo 的目录,里面有一个叫 mod.rs 文件。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_ar.html b/beta_112_ar.html new file mode 100644 index 000000000..20dc61d29 --- /dev/null +++ b/beta_112_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التسلسل الهرمي للوحدة (Module Hierarchy)

+

يمكن أن تعتمد الوحدة (module) على وحدة أخرى. من أجل إنشاء علاقة بينها وبين وحدتها الفرعية (sub-module)، ولهذا يجب عليك أن تكتب في الوحدة الأصلية ما يلي:

+
mod foo;
+
+

التصريح المبين في الأعلى سوف يبحث عن ملف باسم foo.rs أو foo/mod.rs ثم سوف يدرج محتواه داخل وحدة تسمى foo ضمن ذلك النطاق.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_de.html b/beta_112_de.html new file mode 100644 index 000000000..ae61df7ef --- /dev/null +++ b/beta_112_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modulhierarchie

+

Ein Modul kann von einem anderen Modul abhänig sein. Um eine Beziehung zwischen einem Modul und einem Sub-Modul aufzubauen, musst Du folgendes ins übergeordnete Modul schreiben:

+
mod foo;
+
+

Die Deklaration sucht nun eine Datei foo.rs oder foo/mod.rs und inkludiert deren Inhalt in ein Modul foo innerhalb des Scopes.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_en.html b/beta_112_en.html new file mode 100644 index 000000000..4f932d918 --- /dev/null +++ b/beta_112_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_es.html b/beta_112_es.html new file mode 100644 index 000000000..280baaa9b --- /dev/null +++ b/beta_112_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Jerarquía de Módulos

+

Un módulo puede depender de otro. Para establecer una relación entre un módulo y su submódulo, debemos escribir el módulo padre:

+
mod foo;
+
+

La declaración anterior buscará un archivo llamado foo.rs o foo/mod.rs e insertará el contenido dentro de un módulo llamado foo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_fa.html b/beta_112_fa.html new file mode 100644 index 000000000..89e3f3191 --- /dev/null +++ b/beta_112_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_fr.html b/beta_112_fr.html new file mode 100644 index 000000000..05a910222 --- /dev/null +++ b/beta_112_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hiérarchie de modules

+

Un module peut dépendre d'un autre. Afin d'établir une relation entre +un module et son sous-module, vous devez écrire dans le module parent:

+
mod foo;
+
+

La déclaration ci-dessus recherchera un fichier nommé foo.rs ou +foo/mod.rs et insérera son contenu dans un module nommé foo qu'on +pourra ensuite utiliser.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_hu.html b/beta_112_hu.html new file mode 100644 index 000000000..79b144f1d --- /dev/null +++ b/beta_112_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modul Hierarchia

+

Modulok tartalmazhatnak más modulokat is. Ahhoz, hogy egy al-modult hozzunk létre, a szülő +modulba az alábbi sort kell írnunk:

+
mod foo;
+
+

Ez a deklaráció megkeresi a foo.rs vagy foo/mod.rs fájlt és a tartalmát beilleszti a +modulunkba.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_ie.html b/beta_112_ie.html new file mode 100644 index 000000000..8c162ef61 --- /dev/null +++ b/beta_112_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modul Inlineari

+

On posse 'inlinear' un sub-modul directmen in li code de un model. +On fa talmen tre frequentmen por crear provas unitic (unit tests).

+
// Ti-ci macro remove li modul inlineari quande Rust
+// ne sta in prova-mode.
+#[cfg(test)]
+mod tests {
+  // A notar que a nos ne es ínmediatmen dat accesse al
+  // modul genitori. Noi deve esser explicit.
+  use super::*;
+  ... li provas sta ci ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_ko.html b/beta_112_ko.html new file mode 100644 index 000000000..1da2d1a95 --- /dev/null +++ b/beta_112_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

모듈 계층구조

+

한 module은 다른 module에 의존할 수 있습니다. +module과 하위모듈(sub-module) 사이에 관계를 지어주려면, 부모 module에 다음과 같은 코드를 작성합니다:

+
mod foo;
+
+

위 선언은 foo.rs 파일이나 foo/mod.rs 파일을 찾아 +이 scope 내의 foo module안에 그 내용물을 삽입합니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_pl.html b/beta_112_pl.html new file mode 100644 index 000000000..fd5ec25f2 --- /dev/null +++ b/beta_112_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Hierarchy

+

A module can depend on another one. In order to establish a relationship +between a module and its sub-module, you must write in the parent module:

+
mod foo;
+
+

The declaration above will look for a file named foo.rs or foo/mod.rs and +will insert its contents inside a module named foo under this scope.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_pt-br.html b/beta_112_pt-br.html new file mode 100644 index 000000000..8bfbe3a3d --- /dev/null +++ b/beta_112_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hierarquia de módulo

+

Um módulo pode depender de outro. Para estabelecer uma relação entre um módulo e seu submódulo, você deve escrever no módulo pai:

+
mod foo;
+
+

A declaração acima irá procurar por um arquivo chamado foo.rs oufoo/mod.rs e irá inserir seu conteúdo dentro de um módulo chamado foo neste escopo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_ro.html b/beta_112_ro.html new file mode 100644 index 000000000..11de13361 --- /dev/null +++ b/beta_112_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ierarhia modulelor

+

Un modul poate depinde de un alt modul. Pentru a stabili o relație +între un modul și submodulul său, trebuie să scrieți în modulul părinte:

+
mod foo;
+
+

Declarația de mai sus va căuta un fișier numit foo.rs sau foo/mod.rs. și +va insera conținutul acestuia în interiorul unui modul numit foo, în domeniul de vizibilitate al acestuia.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_ru.html b/beta_112_ru.html new file mode 100644 index 000000000..465380c1e --- /dev/null +++ b/beta_112_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Иерархия модуля (Module Hierarchy)

+

Модуль может зависеть от другого модуля. Для установки отношений между модулем и его подмодулем, вы должны написать в родительском модуле:

+
mod foo;
+
+

Объявление выше будет искать файл с именем foo.rs или foo/mod.rs и вставит содержимое внутрь модуля с именем foo в текущей области видимости.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_th.html b/beta_112_th.html new file mode 100644 index 000000000..ec0f40bd6 --- /dev/null +++ b/beta_112_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Hierarchy

+

โมดูลสามารถอาศัยอยู่กับโมดูลอื่นได้ โดยในการสร้างความสัมพันธ์ระหว่าง โมดูล กับโมดูลย่อยแบบนี้ คุณจะต้องเขียนในโมดูลหลัก

+
mod foo;
+
+

การประกาศอย่างที่เห็นด้านบนนี้ มันจะหาไฟล์ที่ชื่อ foo.rs หรือ foo/mod.rs และจะเอาเนื้อหาใน foo มาแทรกอยู่ในนี้เลย

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_tr.html b/beta_112_tr.html new file mode 100644 index 000000000..c8a2a0e07 --- /dev/null +++ b/beta_112_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modül Hiyerarşisi

+

Bir modül bir başka modüle bağlı olduğunda, modül ile alt modülü arasında bir ilişki kurabilmesi için, alt modülün üst modülde bildirilmesi gerekir:

+
mod turler;
+
+

Yukarıdaki bildirim, turler.rs veya turler/mod.rs adlı bir dosyayı çağıracak ve içeriğini mevcut kapsamda yer alan turler adlı modüle ekleyecektir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_ua.html b/beta_112_ua.html new file mode 100644 index 000000000..54ae8ee3b --- /dev/null +++ b/beta_112_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ієрархія модулів

+

Один модуль може залежати від іншого. Для того, щоб встановити зв'язок +між модулем та його підмодулем, ви повинні написати у батьківському модулі

+
mod foo;
+
+

Наведений вище оголошення шукатиме файл з іменем foo.rs або foo/mod.rs. і +вставить його вміст у модуль з іменем foo у цій області видимості.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_vi.html b/beta_112_vi.html new file mode 100644 index 000000000..5a4725780 --- /dev/null +++ b/beta_112_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cấu trúc phân cấp mô-đun

+

Một mô-đun có thể phụ thuộc vào một mô-đun khác. Để thiết lập mối quan hệ giữa mô-đun và mô-đun con của nó, bạn phải viết trong mô-đun mẹ:

+
mod foo;
+
+

Khai báo ở trên sẽ tìm kiếm một tệp có tên là foo.rs hoặc foo/mod.rs và sẽ chèn nội dung của nó vào bên trong một mô-đun có tên là foo trong scope này.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_112_zh-cn.html b/beta_112_zh-cn.html new file mode 100644 index 000000000..74f80f255 --- /dev/null +++ b/beta_112_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

模块层次结构

+

模块可以互相依赖。要建立一个模块和其子模块之间的关系,你需要在父模块中这样写:

+
mod foo;
+
+

上面的声明将使编译器寻找一个名为 foo.rsfoo/mod.rs 的文件,并将其内容插入这个作用域内名为 foo 的模块中。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_ar.html b/beta_113_ar.html new file mode 100644 index 000000000..09e93b8d2 --- /dev/null +++ b/beta_113_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الوحدة المضمنة (Inline Module)

+

يمكن تضمين الوحدة الفرعية (sub-module) مباشرةً ضمن التعليمات البرمجية للوحدة.

+

أحد الاستخدامات الشائعة جدًا للوحدات المضمنة (inline modules) هو إنشاء وحدة اختبارات (unit tests). نقوم بإنشاء وحدة مضمنة لا توجد إلا عند استخدام رست (Rust) للاختبار (testing)!

+
// يقوم هذا الماكرو بإزالة هذه الوحدة المضمنة عند ما يكون رست
+// ليس في وضع إختبار
+#[cfg(test)]
+mod tests {
+    // لاحظ أننا لا نستطيع الوصول على الفور إلى 
+    // الوحدة الأب. يجب أن نكون صريحين.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_de.html b/beta_113_de.html new file mode 100644 index 000000000..f56168071 --- /dev/null +++ b/beta_113_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline-Module

+

Ein Sub-Modul kann direkt in einen Modulcode eingebettet werden. +Das ist vor allem üblich für Unit Tests. Wir erzeugen ein Inline-Modul nur dann, wenn Rust zum Testen verwendet wird. +Hier ein Beispiel dazu:

+
// Dieses Macro entfernt das Inline-Modul, // wenn Rust nicht im Testmodus ausgeführt wird.
+#[cfg(test)]
+mod tests {
+    // Beachte, dass wir nicht sofort Zugriff auf das übergeordnete Modul erhalten.
+    // Wir müssen das explizit anfordern.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_en.html b/beta_113_en.html new file mode 100644 index 000000000..cbc9c5ae3 --- /dev/null +++ b/beta_113_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_es.html b/beta_113_es.html new file mode 100644 index 000000000..6e269f4d9 --- /dev/null +++ b/beta_113_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Módulo en Línea

+

Un sub-módulo se puede insertar directamente dentro del código del módulo.

+

Un uso muy común de los módulos en línea es la creación de pruebas unitarias/tests unitarios. Creamos un módulo en línea que sólo existe cuando al usar Rust para hacer pruebas.

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_fa.html b/beta_113_fa.html new file mode 100644 index 000000000..2062e4ded --- /dev/null +++ b/beta_113_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_fr.html b/beta_113_fr.html new file mode 100644 index 000000000..ff06b4a16 --- /dev/null +++ b/beta_113_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Module Inline

+

Un sous-module peut être directement intégré dans le code d'un module.

+

Une utilisation très courante de ces modules 'inline' consiste à créer +des tests unitaires. Nous créons un module inline qui n'existe que +lorsque Rust est utilisé pour les tests!

+
// Cette macro supprime ce module inline lorsque Rust
+// n'est pas en mode test.
+#[cfg(test)]
+mod tests {
+    // Note que nous n'avons pas immédiatement accès au
+    // module parent. Nous devons être explicite.
+    use super::*;
+
+    ... les tests vont ici ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_hu.html b/beta_113_hu.html new file mode 100644 index 000000000..96425534c --- /dev/null +++ b/beta_113_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Beágyazott Modulok

+

Egy almodult közvetlenül elhelyezhetünk a szülő modul kódjában is.

+

Ennek egy nagyon gyakori felhasználása a teszt kódok készítése. Létre tudunk hozni olyn +almodult, ami csak teszt környezetben fog létezni!

+
// Ez a tulajdonság eltávolítja a modult, ha a Rust nem tesztkörnyezetben fut
+#[cfg(test)]
+mod tests {
+    // Vegyük észre, hogy alapból nem férünk hozzá a szülő modul tartalmához, azt importálnunk
+    // kell.
+    use super::*;
+
+    ... ide jönnek a tesztek ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_ie.html b/beta_113_ie.html new file mode 100644 index 000000000..450e2a26b --- /dev/null +++ b/beta_113_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenties Intern a Modules

+

Rust possede mult clave-paroles queles tu posse usar in tui use-path por rapidmen trovar li modul desirat:

+
    +
  • crate - li root modul de tui crate
  • +
  • super - li modul genitori del modul quel tu usa actualmen
  • +
  • self - li modul in quel on nu sta
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_ko.html b/beta_113_ko.html new file mode 100644 index 000000000..2e8a1deab --- /dev/null +++ b/beta_113_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

인라인 모듈

+

sub-module은 module의 코드 내에 직접 치환(inline)될 수 있습니다.

+

inline module의 가장 흔한 용도는 단위 테스트를 만들 때입니다. Rust가 테스트에 쓰일 때에만 존재하는 inline module을 만들어 봅시다!

+
// 이 macro는 Rust가 테스트 모드가 아닐 경우
+// 이 inline module을 제거합니다.
+#[cfg(test)]
+mod tests {
+    // 부모 module에 즉시 접근이 가능하지 않다는 데에 주의하세요.
+    // 반드시 명시적으로 써줘야 합니다.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_pl.html b/beta_113_pl.html new file mode 100644 index 000000000..89f6c68bf --- /dev/null +++ b/beta_113_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline Module

+

A sub-module can be directly inlined within a module's code.

+

One very common use for inline modules is creating unit tests. We create an inline module that only exists when Rust is used for testing!

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_pt-br.html b/beta_113_pt-br.html new file mode 100644 index 000000000..b4f97d581 --- /dev/null +++ b/beta_113_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Módulo embutido

+

Um submódulo pode ser embutido diretamente no código de um módulo.

+

Um uso muito comum para módulos embutidos é a criação de testes unitários. Criamos um módulo embutido que só existe quando Rust é usado para testes!

+
// Esta macro remove este módulo embutido quando o Rust
+// não está em modo de testes.
+#[cfg(test)]
+mod tests {
+    // Observe que não obtemos acesso imediato 
+    // ao módulo pai. Devemos ser explícitos.
+    use super::*;
+
+    ... os testes vão aqui ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_ro.html b/beta_113_ro.html new file mode 100644 index 000000000..348d07707 --- /dev/null +++ b/beta_113_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Modul inclus direct (inline)

+

Un submodul poate fi inclus direct în codul unui modul.

+

O utilizare foarte frecventă a modulelor inline este crearea de teste unitare. Creăm un modul inline care există doar atunci când Rust este utilizat pentru testare!

+
// Acest macro elimină acest modul inline atunci când Rust
+// nu se află în modul de testare
+#[cfg(test)]
+mod tests {
+    // Observați că nu obținem imediat acces la
+    // modulul părinte. Trebuie să fim expliciți.
+    use super::*;
+
+    ... teste scrise aici ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_ru.html b/beta_113_ru.html new file mode 100644 index 000000000..adfe3a638 --- /dev/null +++ b/beta_113_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Встроенный модуль (Inline Module)

+

Подмодуль может быть напрямую встроен внутрь кода модуля.

+

Одно очень частое использование модулей — это создание юнит-тестов. Мы создаем встроенный модуль, который существует только тогда, когда Rust используется для тестирования!

+
// Данный макрос удаляет этот встроенный модуль,
+// когда Rust не в режиме тестирования.
+#[cfg(test)]
+mod tests {
+    // Заметьте, что мы не можем сразу получить доступ к
+    // родительскому модулю. Его нужно указывать явно.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_th.html b/beta_113_th.html new file mode 100644 index 000000000..420f68fe4 --- /dev/null +++ b/beta_113_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inline Module

+

สามารถเขียนโมดูลย่อยแทรกลงไปในโค้ดของโมดูลได้โดยตรง

+

ปกติแล้วการทำ inline modules จะเห็นเป็นปกติในการเขียน unit tests เราเขียนแบบนี้เมื่อใช้ Rust ทำการทดสอบเท่านั้น

+
// This macro removes this inline module when Rust 
+// is not in test mode.
+#[cfg(test)]
+mod tests {
+    // Notice that we don't immediately get access to the 
+    // parent module. We must be explicit.
+    use super::*;
+
+    ... tests go here ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_tr.html b/beta_113_tr.html new file mode 100644 index 000000000..f7cb7d918 --- /dev/null +++ b/beta_113_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Satır İçi Modül

+

Bir alt modül, üst modülün kodu içine doğrudan yerleştirilebilir.

+

Satır içi modüller en çok birim testleri oluştururken kullanılırlar. Aşağıdaki kodda sadece test amaçlı kullanıldığında var olabilen çevrim içi bir modül örneklenmektedir.

+
// Aşağıdaki satır içi modül, bu makro tarafından, 
+// Rust test modunda kullanılmadığında kaldırılacaktır!
+#[cfg(test)]
+mod testler {
+    // Üst modüle hemen erişemeyeceğimizden
+    // daha açık davranmamamız gerekir.
+    use super::*;
+
+    ... testler başlasın ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_ua.html b/beta_113_ua.html new file mode 100644 index 000000000..30eefc006 --- /dev/null +++ b/beta_113_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Вбудований модуль

+

Підмодуль може бути безпосередньо вбудований у код модуля.

+

Одне з найпоширеніших застосувань вбудованих модулів - створення модульних тестів. Ми створюємо вбудований модуль, який існує лише тоді, коли для тестування використовується Rust!

+
// Цей макрос видаляє цей вбудований модуль, коли Rust
+// не знаходиться в режимі тестування.
+#[cfg(test)]
+mod tests {
+    // Зверніть увагу, що ми не одразу отримуємо доступ до
+    // батьківського модуля. Ми повинні бути явними.
+    використовуйте super::*;
+
+    ... тести йдуть сюди ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_vi.html b/beta_113_vi.html new file mode 100644 index 000000000..ee72afc75 --- /dev/null +++ b/beta_113_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mô-đun nội tuyến

+

Một mô-đun con có thể được nội tuyến trực tiếp trong code của mô-đun.

+

Một cách sử dụng rất phổ biến cho các mô-đun nội tuyến là tạo các bài kiểm tra đơn vị. Chúng tôi tạo một mô-đun nội tuyến chỉ tồn tại khi Rust được sử dụng để thử nghiệm!

+
// Macro này loại bỏ mô-đun nội tuyến này  // khi Rust không ở chế độ thử nghiệm 
+
+#[cfg(test)]
+mod tests {
+    // Lưu ý rằng 
+    // chúng tôi không có quyền truy cập ngay lập tức 
+    // vào mô-đun mẹ. 
+    // Chúng ta phải rõ ràng. 
+    use super::*;
+
+    ... kiểm tra ở đây ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_113_zh-cn.html b/beta_113_zh-cn.html new file mode 100644 index 000000000..9d1c635f6 --- /dev/null +++ b/beta_113_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

内联模块

+

一个子模块可以直接内联在一个模块的代码中。

+

内联模块最常见的用途是创建单元测试。 下面我们创建一个只有在使用 Rust 进行测试时才会存在的内联模块!

+
// 当 Rust 不在测试模式时,这个宏会删除这个内联模块。
+#[cfg(test)]
+mod tests {
+    // 请注意,我们并不能立即获得对父模块的访问。我们必须显式地导入它们。
+    use super::*;
+
+    ... 单元测试写在这里 ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_ar.html b/beta_114_ar.html new file mode 100644 index 000000000..dc021bc78 --- /dev/null +++ b/beta_114_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الإشارة إلى وحدة داخلية (Internal Module Referencing)

+

يحتوي رست (Rust) على العديد من الكلمات المفتاحية التي يمكنك استخدامها في مسار use الخاص بك للوصول بسرعة إلى الوحدة التي تريدها:

+
    +
  • الصندوق (crate) - وحدة الجذر لصندوقك
  • +
  • علوي (super) - الوحدة الأب لوحدتك الحالية
  • +
  • الذات (self) - الوحدة الحالية
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_de.html b/beta_114_de.html new file mode 100644 index 000000000..063323335 --- /dev/null +++ b/beta_114_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Interne Modul Referenzierung

+

Rust hat verschiedene Schlüsselwörter, die Du in deinem use Pfad verwenden kannst, um schnell das richtige Modul in die Finger zu bekommen:

+
    +
  • crate - das Hauptmodul deines Crates
  • +
  • super - das übergeordnete Modul deines derzeitigen Moduls
  • +
  • self - das derzeitige Modul
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_en.html b/beta_114_en.html new file mode 100644 index 000000000..c01bf883a --- /dev/null +++ b/beta_114_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_es.html b/beta_114_es.html new file mode 100644 index 000000000..bb9e56024 --- /dev/null +++ b/beta_114_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciar Módulos Internos

+

Rust tiene varias palabras reservadas que puedes usar en tu ruta use para conseguir rápidamente el módulo que quieres:

+
    +
  • crate - el módulo raíz de tu crate.
  • +
  • super - el módulo padre del módulo actual.
  • +
  • self - el módulo actual.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_fa.html b/beta_114_fa.html new file mode 100644 index 000000000..83b2081cd --- /dev/null +++ b/beta_114_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_fr.html b/beta_114_fr.html new file mode 100644 index 000000000..85e16945d --- /dev/null +++ b/beta_114_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Référencement de module interne

+

Lors du référencement d'un module avec le mot-clé use, tu peux également +utiliser les mots-clés suivants dans le chemin:

+
    +
  • crate - le module racine de la crate
  • +
  • super - le module parent du module actuel
  • +
  • self - le module actuel
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_hu.html b/beta_114_hu.html new file mode 100644 index 000000000..03d03c865 --- /dev/null +++ b/beta_114_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Beágyazott Modulokra Hivatkozás

+

A Rust több kulcsszót is ismer, amit a use útvonalainál használhatsz, hogy könnyebben +hivatkozhass arra, amit szeretnél:

+
    +
  • crate - a láda legkülső modulja
  • +
  • super - az aktuális modul szülőmodulja, az eggyel kintebbi modul
  • +
  • self - az aktuális modul
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_ie.html b/beta_114_ie.html new file mode 100644 index 000000000..7154f8ffc --- /dev/null +++ b/beta_114_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportation

+

In Rust, noi exporta membres de un module usante li clave-parol pub.

Quande on usa un module, sive in su propri code sive in un crate extern, on posse solmen aluder a membres possedent li marcation public.

Li code in ti-ci exemple es ruptet; ples adjunter li clave-parol pub in li loc necessi por reparar it.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_114_ko.html b/beta_114_ko.html new file mode 100644 index 000000000..d347dd5e9 --- /dev/null +++ b/beta_114_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

내부 모듈 참조하기

+

Rust에서는 use 경로에 사용할 수 있는 몇 가지 키워드를 통해 원하는 module을 빠르게 가져다 쓸 수 있습니다:

+
    +
  • crate - root module
  • +
  • super - 현재 module의 부모 module
  • +
  • self - 현재 module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_pl.html b/beta_114_pl.html new file mode 100644 index 000000000..5db45bbcf --- /dev/null +++ b/beta_114_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Internal Module Referencing

+

Rust has several keywords you can use in your use path to quickly get ahold of the module you want:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_pt-br.html b/beta_114_pt-br.html new file mode 100644 index 000000000..b14fd78d3 --- /dev/null +++ b/beta_114_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciamento interno aos módulos

+

O Rust tem várias palavras-chave que você pode usar no seu caminho use para obter rapidamente o módulo que deseja:

+
    +
  • crate - o módulo raiz do seu crate.
  • +
  • super - o módulo pai do seu módulo corrente.
  • +
  • self - o módulo corrente.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_ro.html b/beta_114_ro.html new file mode 100644 index 000000000..1f49f7b57 --- /dev/null +++ b/beta_114_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referențierea modulelor interne

+

Rust are câteva cuvinte cheie pe care le puteți folosi în calea use pentru a obține rapid rapid modulul pe care îl doriți:

+
    +
  • crate - modulul rădăcină al cutiei dvs.
  • +
  • super - modulul părinte al modulului curent
  • +
  • self - modulul curent
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_ru.html b/beta_114_ru.html new file mode 100644 index 000000000..ac9b8c86e --- /dev/null +++ b/beta_114_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ссылка на встроенный модуль (Internal Module Referencing)

+

Rust имеет несколько ключевых слов, которые вы можете использовать в своем пути use (использовать), чтобы быстро получить доступ к нужному модулю:

+
    +
  • crate - корневой модуль вашего крейта
  • +
  • super - родительсвкий модуль вашего текущего модуля
  • +
  • self - текущий модуль
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_th.html b/beta_114_th.html new file mode 100644 index 000000000..187276b4d --- /dev/null +++ b/beta_114_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Internal Module Referencing

+

Rust มีหลายคีย์เวิร์ดให้คุณใช้ใน พาธ use ของคุณ เพื่อรับโมดูลที่คุณต้องการแบบเร่งด่วน:

+
    +
  • crate - the root module of your crate
  • +
  • super - the parent module of your current module
  • +
  • self - the current module
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_tr.html b/beta_114_tr.html new file mode 100644 index 000000000..bc223b79c --- /dev/null +++ b/beta_114_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yerleşik Modüllere Başvurmak

+

Rust, dilediğimiz modüle hemen erişebilmemiz için use eşliğinde kullanabileceğiniz birkaç anahtar kelime sunar.

+
    +
  • crate - sandığınızın kök modülü.
  • +
  • super - mevcut modülününüzün üst modülü
  • +
  • self - mevcut modülünüz.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_ua.html b/beta_114_ua.html new file mode 100644 index 000000000..aff825eff --- /dev/null +++ b/beta_114_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Внутрішнє посилання на модулі

+

У Rust є кілька ключових слів, які ви можете використовувати у шляху use, щоб швидко отримати доступ до потрібного вам модуля:

+
    +
  • crate - Головний модуль вашого проекту.
  • +
  • super - батьківський модуль вашого модуля, тобто той що вище по ієрархії.
  • +
  • self - поточний модуль.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_vi.html b/beta_114_vi.html new file mode 100644 index 000000000..cec561137 --- /dev/null +++ b/beta_114_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu mô-đun nội bộ

+

Rust có một số từ khóa bạn có thể sử dụng trong đường dẫn use của mình để nhanh chóng có được mô-đun bạn muốn:

+
    +
  • crate - mô-đun gốc của crate của bạn
  • +
  • super - mô-đun mẹ của mô-đun hiện tại của bạn
  • +
  • self - mô-đun hiện tại
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_114_zh-cn.html b/beta_114_zh-cn.html new file mode 100644 index 000000000..9c2d55367 --- /dev/null +++ b/beta_114_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

模块内部引用

+

你可以在你的 use 路径中使用如下 Rust 关键字来获得你想要的模块:

+
    +
  • crate - 你的 crate 的根模块
  • +
  • super - 当前模块的父模块
  • +
  • self - 当前模块
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_ar.html b/beta_115_ar.html new file mode 100644 index 000000000..b9e3365b2 --- /dev/null +++ b/beta_115_ar.html @@ -0,0 +1,46 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التصدير (Exporting)

+

بشكل افتراضي، لا يمكن الوصول إلى أعضاء (members) الوحدة (module) من خارجها (ولا حتى من الوحدات الفرعية الخاصة بها!). ولنجعل أعضاء الوحدة يمكن الوصول إليهم نستخدم الكلمة الفتاحية pub.

+

وكذلك، افتراضيا لا يمكن الوصول إلى أعضاء الصندوق (crate) خارجه. ولتجعل أعضاء الصندوق قابلين للوصول ضع عليهم pub في الوحدة الجذرية (root module) لصندوقك (lib.rs أو main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_de.html b/beta_115_de.html new file mode 100644 index 000000000..7a0e16e4c --- /dev/null +++ b/beta_115_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Export

+

Die Inhalte eines Moduls sind außerhalb des Moduls nicht automatisch zugänglich. +Stattdessen müssen die Teile, die im Modul erreichbar sein sollen, durch das pub Schlüsselwort exportiert werden.

+

Die Inhalte einer Kiste (crate) sind ebenfalls außerhalb des Crates nicht automatisch zugänglich. +Die zu exportierenden Teile werden im root Modul (lib.rs oder main.rs) durch das pub Schlüsselwort exportiert.

+

Mehr dazu später, für jetzt reicht es zu wissen, dass durch pub die Sichtbarkeit +von Funktionen und Attributen gesteuert werden kann.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_en.html b/beta_115_en.html new file mode 100644 index 000000000..a356a9908 --- /dev/null +++ b/beta_115_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_es.html b/beta_115_es.html new file mode 100644 index 000000000..88fd34c06 --- /dev/null +++ b/beta_115_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportar

+

Por defecto, los miembros de un módulo no son accesibles desde fuera del módulo (¡ni siquiera a sus módulos hijo!). Hacemos que los miembros de un módulo sean accesibles usando la palabra reservada pub.

+

Por defecto, no se puede acceder a los miembros de un crate fuera del mismo. Hacemos que los miembros de un crate sean accesibles marcándolos como pub en el módulo raíz de tu crate (lib.rs o main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_fa.html b/beta_115_fa.html new file mode 100644 index 000000000..e805e9c3d --- /dev/null +++ b/beta_115_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_fr.html b/beta_115_fr.html new file mode 100644 index 000000000..c29075f11 --- /dev/null +++ b/beta_115_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Export

+

Par défaut, les membres d'un module ne sont pas accessibles de +l'extérieur du module (pas même à ses modules enfants!). Pour que +ceux-ci soient accessible, il faut utiliser le mot-clé pub.

+

Par défaut, les membres d'une crate ne sont pas accessibles en dehors +de la crate. De même, il faut utiliser le mot-clé pub dans le +module racine de la crate (lib.rs ou main.rs) si l'on souhaite +rendre accesssible les membres d'une crate depuis l'extérieur.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_hu.html b/beta_115_hu.html new file mode 100644 index 000000000..211ca7d07 --- /dev/null +++ b/beta_115_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportálás

+

Alapértelmezés szerint egy modulban definiált elemek nem láthatóak kívülről (még a modul +részét képző gyermek-modulokban sem!). Hogy elérhetővé tegyük ezeket a definíciókat, a pub +kulcsszóra van szükségünk.

+

Ugyanígy, egy láda tagjai sem látszanak alapból más ládákban. Hogy elérhetővé tegyünk valamit, +annak a pub kulcsszóval publikusnak kell lennie a legkülső modulban (lib.rs vagy +main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_ie.html b/beta_115_ie.html new file mode 100644 index 000000000..7ff9e9c6f --- /dev/null +++ b/beta_115_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visibilitá de Structuras

+

Just quam functiones, structuras posse usar pub por declarar to quo ili desira esser exposit éxter su modul.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_115_ko.html b/beta_115_ko.html new file mode 100644 index 000000000..285341a78 --- /dev/null +++ b/beta_115_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

내보내기

+

기본적으로 module의 구성원들은 외부에서 접근이 불가능합니다 (그 자식 module에게까지도!). +pub 키워드를 사용하면 module의 구성원들을 접근 가능하게 할 수 있습니다.

+

기본적으로 crate의 구성원들도 외부에서 접근이 불가능합니다. +crate의 root module (lib.rs 또는 main.rs)에 pub을 표시하면 구성원들을 접근 가능하게 할 수 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_pl.html b/beta_115_pl.html new file mode 100644 index 000000000..900500ad2 --- /dev/null +++ b/beta_115_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting

+

By default members of a module are not accessible from outside of the module (not even to its child modules!). We make members +of a module accessible using the pub keyword.

+

By default members of a crate are not accessible outside of the crate. We make members of +a crate accessible by marking them as pub in the root module of your crate (lib.rs or main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_pt-br.html b/beta_115_pt-br.html new file mode 100644 index 000000000..a9ed8fb89 --- /dev/null +++ b/beta_115_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportando

+

Por padrão, os membros de uma crate não são acessíveis fora da crate (nem mesmo para os seus módulos filhos!). Tornamos os membros de uma crate acessíveis marcando-os como pub no módulo raiz da sua crate (lib.rs ou main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_ro.html b/beta_115_ro.html new file mode 100644 index 000000000..ec9b12671 --- /dev/null +++ b/beta_115_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportarea

+

În mod implicit, membrii unui modul nu sunt accesibili din exteriorul modulului (nici măcar pentru submodulele sale!). Facem ca membrii +unui modul sa fie accesibili cu ajutorul cuvântului cheie pub.

+

În mod implicit, membrii unei cutii nu sunt accesibili din afara cutiei. Noi facem membrii unei +cutii accesibilă prin marcarea lor ca pub în modulul rădăcină (în engleză root module) al cutiei dvs. (lib.rs sau main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_ru.html b/beta_115_ru.html new file mode 100644 index 000000000..db2af0561 --- /dev/null +++ b/beta_115_ru.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Экспорт (Exporting)

+

По умолчанию элементы module (модуля) недоступны вне этого модуля (даже для модулей наследников!). Элементы модуля можно сделать "видимыми" или доступными, используя ключевое слово pub.

+

Также элементы crate (крейта) недоступны по умолчанию вне этого крейта. Их можно сделать доступными с помощью ключевого слова pub в root module (корневом модуле) крейта (lib.rs или main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_th.html b/beta_115_th.html new file mode 100644 index 000000000..41562ae0c --- /dev/null +++ b/beta_115_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting

+

ด้วยค่าเริ่มต้น สมาชิกใน โมดูล จะไม่ยอมให้เข้าถึงได้จากภายนอกโมดูล (แม้แต่โมดูลลูก) เราทำให้สมาชิกของโมดูลสามารถเข้าถึงได้ด้วยการใช้คีย์เวิร์ด pub

+

ด้วยค่าเริ่มต้น สมาชิกใน crate จะไม่ยอมให้เข้าถึงได้จากภายนอก crate เราทำให้สมาชิกของมันสามารถเข้าถึงได้ด้วยการทำให้มันเป็นpub ที่ root module ของ crate (lib.rs หรือ main.rs)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_tr.html b/beta_115_tr.html new file mode 100644 index 000000000..e2c2e3901 --- /dev/null +++ b/beta_115_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dışa Aktarmak

+

Varsayılan olarak, bir modülün üyelerine modülün dışından erişilemez. Bu kısıtlama alt modüller için de geçerli olduğundan modüllerin erişilir olabilmesi için pub anahtar kelimesiyle belirtilmeleri gerekir.

+

Benzer şekilde, bir sandık üyelerine sandık dışından da erişilemeyeceği varsayılır. O nedenle bir sandığın üyelerini dışarıdan erişime açmak istiyorsanız, her bir üyenin, sandığın kök modülü olan lib.rs veya main.rs içinde pub anahtar sözcüğü ile bildirilmesi gerekir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_ua.html b/beta_115_ua.html new file mode 100644 index 000000000..5e5a35fb6 --- /dev/null +++ b/beta_115_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Експорт

+

За замовчуванням члени модуля недоступні ззовні модуля (навіть з його дочірніх модулів!). Ми робимо члени +модуля доступними за допомогою ключового слова pub.

+

За замовчуванням члени crate недоступні ззовні цього crate. Ми робимо члени +доступними, позначивши їх як pub у кореневому модулі вашого (lib.rs або main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_vi.html b/beta_115_vi.html new file mode 100644 index 000000000..342c0e2c8 --- /dev/null +++ b/beta_115_vi.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xuất(Exporting)

+

Theo mặc định, các thành viên của một mô-đun không thể truy cập từ bên ngoài mô-đun (thậm chí không truy cập được vào các mô-đun con của nó!). Chúng ta làm cho các thành viên của một mô-đun có thể truy cập được bằng cách sử dụng từ khóa pub.

+

Theo mặc định, các thành viên của crate không thể truy cập được bên ngoài crate. Chúng ta giúp các thành viên của crate có thể truy cập được bằng cách đánh dấu họ là pub trong mô-đun gốc của crate của bạn (lib.rs hoặc main.rs).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_115_zh-cn.html b/beta_115_zh-cn.html new file mode 100644 index 000000000..8f9d316cc --- /dev/null +++ b/beta_115_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

导出

+

默认情况下,模块的成员不能从模块外部访问(甚至它的子模块也不行!)。 我们可以使用 pub 关键字使一个模块的成员可以从外部访问。

+

默认情况下,crate 中的成员无法从当前 crate 之外访问。我们可以通过在根模块中 (lib.rsmain.rs), 将成员标记为 pub 使它们可以访问。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_116_ar.html b/beta_116_ar.html new file mode 100644 index 000000000..b3970af0e --- /dev/null +++ b/beta_116_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

كشف الهيكل (Structure Visibility)

+

تمامًا مثل الدوال، يمكن التصريح للهيكل (structures) ما تريد أن يكشف منه خارج الوحدة النمطية باستخدام الكلمة المفتاحية pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_de.html b/beta_116_de.html new file mode 100644 index 000000000..446e3e874 --- /dev/null +++ b/beta_116_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktursichtbarkeit

+

Genau wie bei Funktionen kann in Strukturen angegeben werden, welche Felder nach außen hin sichtbar sein sollen. +Diese sind wieder mit dem Schlüsselwort pub versehen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_en.html b/beta_116_en.html new file mode 100644 index 000000000..45d80d761 --- /dev/null +++ b/beta_116_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_es.html b/beta_116_es.html new file mode 100644 index 000000000..6a950ec13 --- /dev/null +++ b/beta_116_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visibilidad de Estructuras

+

Al igual que las funciones, las estructuras pueden declarar lo que quieren que se exponga fuera de su módulo usando pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_fa.html b/beta_116_fa.html new file mode 100644 index 000000000..256ba6b1d --- /dev/null +++ b/beta_116_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_fr.html b/beta_116_fr.html new file mode 100644 index 000000000..de6c049d0 --- /dev/null +++ b/beta_116_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visibilité des structures

+

Tout comme les fonctions, les structures peuvent déclarer quels champs +seront visibles à l'extérieur du module en utilisant le mot-clépub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_hu.html b/beta_116_hu.html new file mode 100644 index 000000000..90624d2c5 --- /dev/null +++ b/beta_116_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktúra Láthatóság

+

Csakúgy, mint a függvényeknél, a pub kulcsszóval a struktúráknál is megmondhatjuk, elérhetőek +legyenek-e az őket definiáló modulon kívül.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_ko.html b/beta_116_ko.html new file mode 100644 index 000000000..41d7ce611 --- /dev/null +++ b/beta_116_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

구조체 가시성

+

함수와 마찬가지로, structure도 module 외부로 무엇을 노출할지를 pub을 사용해 선언할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_pl.html b/beta_116_pl.html new file mode 100644 index 000000000..7a6e6cd47 --- /dev/null +++ b/beta_116_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structure Visibility

+

Just like functions, structures can declare what they want exposed outside of their module using pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_pt-br.html b/beta_116_pt-br.html new file mode 100644 index 000000000..6812181a1 --- /dev/null +++ b/beta_116_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visibilidade da estrutura

+

Assim como as funções, as estruturas podem declarar o que desejam que seja exposto para fora de seu módulo usando pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_ro.html b/beta_116_ro.html new file mode 100644 index 000000000..d54ecd211 --- /dev/null +++ b/beta_116_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vizibilitatea structurilor

+

La fel ca și funcțiile, structurile pot declara ceea ce doresc să fie expus în afara modulului lor folosind pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_ru.html b/beta_116_ru.html new file mode 100644 index 000000000..c7dad1c11 --- /dev/null +++ b/beta_116_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Область видимости структур (Structure Visibility)

+

Подобно функциям, структуры можно объявить так, что они будут видны снаружи своих модулей с помощью pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_th.html b/beta_116_th.html new file mode 100644 index 000000000..b88fd6645 --- /dev/null +++ b/beta_116_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structure Visibility

+

แบบเดียวกับฟังก์ชัน ตัวโครงสร้างทั้งหลายก็สามารถประกาศได้ว่ามันต้องการเปิดเผยอะไรออกไปได้ ด้วยการใช้ pub

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_tr.html b/beta_116_tr.html new file mode 100644 index 000000000..c10ba211e --- /dev/null +++ b/beta_116_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yapısal Görünürlük

+

İşlevlerde olduğu gibi yapı alanlarının dışarıya açılabilmesi için pub anahtar kelimesiyle belirtilmeleri gerekir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_ua.html b/beta_116_ua.html new file mode 100644 index 000000000..a1004a0e3 --- /dev/null +++ b/beta_116_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Видимість структури

+

Так само як і функції, структури можуть оголошувати те, що вони хочуть виходити за межі модуля за допомогою pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_vi.html b/beta_116_vi.html new file mode 100644 index 000000000..a0699faab --- /dev/null +++ b/beta_116_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Khả năng hiển thị cấu trúc

+

Cũng giống như các hàm, các cấu trúc có thể khai báo những gì chúng muốn hiển thị bên ngoài mô-đun của chúng bằng cách sử dụng pub.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_116_zh-cn.html b/beta_116_zh-cn.html new file mode 100644 index 000000000..bb1027af6 --- /dev/null +++ b/beta_116_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

结构体可见性

+

就像函数一样,结构体可以使用 pub 声明它们想要在模块外暴露的东西。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_117_ar.html b/beta_117_ar.html new file mode 100644 index 000000000..f1aaf8c66 --- /dev/null +++ b/beta_117_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التمهيد (Prelude)

+

ربما تتساءل كيف يمكننا الوصول إلى Vec أو Box في كل مكان من دون use لاستيرادهما. هذا بسبب وحدة التمهيد prelude في المكتبة القياسية (standard library).

+

اعلم أنه في مكتبة رست (Rust) القياسية، أي شيء يتم تصديره في std::prelude::* متاح تلقائيًا لكل جزء من رست (Rust). هذا هو الحال بالنسبة لـ Vec وBox وبالنسبة للآخرين أيضًا (Option، Copy، + إلخ.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_de.html b/beta_117_de.html new file mode 100644 index 000000000..4fa95b390 --- /dev/null +++ b/beta_117_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Das `Prelude` Modul

+

Du wunderst dich vielleicht, wie wir von überall Zugriff auf Vec oder Box haben, ohne dass wir ein use Statement +verwenden müssen. Der Grund liegt im Prelude Modul in der Standard Bibliothek.

+

Du musst wissen, dass alles aus der Standard Bibliothek, das mit std::prelude::* exportiert wird, in jedem Bereich von +Rust automatisch verfügbar ist. Das trifft auch für Vec, Box und viele anderen Elemente, wie z.B. Option, Copy etc. zu.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_en.html b/beta_117_en.html new file mode 100644 index 000000000..6f99d6ff4 --- /dev/null +++ b/beta_117_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_es.html b/beta_117_es.html new file mode 100644 index 000000000..bbde3c159 --- /dev/null +++ b/beta_117_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

Te estarás preguntando cómo es que tenemos acceso a Vec o Box +en todas partes sin necesidad de utilizar use para importarlos. Esto se debe al módulo prelude de la librería estándar.

+

Es importante saber que, en la librería estándar de Rust, todo lo que se exporta en +std::prelude::* está automáticamente disponible en cualquier parte de Rust. +Ese es el caso de Vec y Box pero también de otros (Option, Copy, etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_fa.html b/beta_117_fa.html new file mode 100644 index 000000000..9b3cec3d4 --- /dev/null +++ b/beta_117_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_fr.html b/beta_117_fr.html new file mode 100644 index 000000000..8749ae361 --- /dev/null +++ b/beta_117_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

prelude

+

Tu pourrais te demander comment, avec Rust, nous avons pu avoir accès à +Vec ou Box sans utiliser le mot-clé use pour les importer. C'est +grâce au module prelude de la bibliothèque standard de Rust.

+

Il faut savoir que, dans la bibliothèque standard de Rust, tout ce qui +est exporté dans std::prelude::* sera automatiquement disponible +n'importe où dans le code. C'est le cas pour Vec et Box mais bien +d'autres encore (Option, Copy, etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_hu.html b/beta_117_hu.html new file mode 100644 index 000000000..2ed39cacd --- /dev/null +++ b/beta_117_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bevezetés (Prelude)

+

Feltűnhetett már, hogy a Vec vagy Box elérhető bárhonnan anélkül, hogy use-zal importálni +kellene őket. Ez azért van, mert az alapkönyvtárnak van egy úgynevezett bevezetése (prelude).

+

Minden, ami a Rust alapkönyvtárában a std::prelude::* alatt exportálva van, automatikusan +elérhető minden Rust kódban. Ez az eset a Vec és Box típusokkal, de sok mással is (Option, +Copy, stb.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_ko.html b/beta_117_ko.html new file mode 100644 index 000000000..8bdba4b6f --- /dev/null +++ b/beta_117_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

전주곡 (Prelude)

+

use로 가져오지도 않았는데 어떻게 어디서나 VecBox를 쓸 수 있는지 +궁금하실지도 모르겠습니다. 이는 standard library의 prelude module 덕분입니다.

+

Rust의 standard library에서는 std::prelude::*로 내보내기 된 모든 것들이 +어디에서든 자동으로 사용 가능하다는 점을 알아두십시오. +VecBox가 바로 이런 경우이며, 다른 것들(Option, Copy, 기타 등등)도 마찬가지입니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_pl.html b/beta_117_pl.html new file mode 100644 index 000000000..30f6a5438 --- /dev/null +++ b/beta_117_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

You might be wondering how we have access to Vec or Box +everywhere without a use to import them. It is because of the module +prelude in the standard library.

+

Know that in the Rust standard library anything that is exported in +std::prelude::* is automatically available to every part of Rust. +That is the case for Vec and Box but others as well (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_pt-br.html b/beta_117_pt-br.html new file mode 100644 index 000000000..3d2085f0b --- /dev/null +++ b/beta_117_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

Você pode estar se perguntando como temos acesso ao Vec ouBox em qualquer lugar sem um use para importá-los. É por causa do módulo prelude na biblioteca padrão.

+

Saiba que na biblioteca padrão do Rust tudo o que é exportado em std::prelude::* está automaticamente disponível para todas as partes do Rust. Esse é o caso de Vec e Box, mas também de outros (Option, Copy etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_ro.html b/beta_117_ro.html new file mode 100644 index 000000000..6b8c4de58 --- /dev/null +++ b/beta_117_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Preludiu

+

Poate vă întrebați cum de avem acces la Vec sau Box. +peste tot, fără un use pentru a le importa. Acest lucru se datorează modulului +prelude din biblioteca standard.

+

În biblioteca standard Rust orice este exportat în +std::prelude::* este automat disponibil pentru fiecare parte a Rust. +Acesta este cazul pentru Vec și Box, dar și pentru altele (Option, Copy, +etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_ru.html b/beta_117_ru.html new file mode 100644 index 000000000..d466ae11f --- /dev/null +++ b/beta_117_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Автоимпорт (Prelude)

+

Вам может быть интересно, как везде в коде мы получили доступ к типам Vec или Box +без использования use для их подключения? +Это благодаря использованию модуля prelude (автоимпорт) из стандартной библиотеки.

+

Знайте, что в стандартной библиотеке Rust все типы, которые экспортируются с помощью +std::prelude::* являются автоматически доступными в каждой части Rust. +В данном случае типы Vec и Box, но и другие (Option, Copy, etc.).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_th.html b/beta_117_th.html new file mode 100644 index 000000000..204f99513 --- /dev/null +++ b/beta_117_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

คุณอาจสงสัยว่าเราสามารถเข้าถึง Vec หรือ Box ได้ทุกที่ +โดยไม่ต้องใช้ use เพื่อนำพวกมันเข้ามาก่อนได้ นั่นเป็นเพราะโมดูล prelude +ในไลบรารีมาตรฐาน

+

ให้รู้ไว้ว่าในไลบรารีมาตรฐานของ Rust ทุกตัวที่ถูกเปิดเผยใน std::prelude::* +ถือว่าพร้อมใช้ได้ทุกที่ใน Rust โดยอัตโนมัติ นี่คือที่มาของ Vec และ Box +ซึ่งก็มีตัวอื่นด้วยเช่นกัน (Option, Copy,และอื่นๆ)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_tr.html b/beta_117_tr.html new file mode 100644 index 000000000..793e30b94 --- /dev/null +++ b/beta_117_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ön Yükleme Modülü

+

Şu ana kadar Vec ve Box türlerine use anahtar kelimesi kullanmak zorunda kalmadan nasıl eriştiğimizi merak ediyor olabilirsiniz. +Bunun cevabı standart kütüphanede yer alan ve prelude olarak adlandırılan ön yükleme modülünde gizlidir.

+

Standart kütüphaneden std::prelude::* olarak dışa aktarılan her şey, Rust'un her bir parçası tarafından otomatik olarak erişilebilir durumdadır. +Bu, Vec, Box için olduğu gibi Option, Copy gibi özellikler için de geçerlidir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_ua.html b/beta_117_ua.html new file mode 100644 index 000000000..8a512ad52 --- /dev/null +++ b/beta_117_ua.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Прелюдія

+

Вам може бути цікаво, як ми маємо доступ до Vec або Box +скрізь без використання use для їх імпорту. Це завдяки модулю +prelude у стандартній бібліотеці.

+

Знайте, що у стандартній бібліотеці Rust все, що експортується у +std::prelude::*, автоматично стає доступним для кожної частини Rust. +Це стосується як Vec і Box, так і інших (Option, Copy, +тощо).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_vi.html b/beta_117_vi.html new file mode 100644 index 000000000..ec1273b0b --- /dev/null +++ b/beta_117_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Phần dạo đầu(Prelude)

+

Bạn có thể tự hỏi làm thế nào chúng ta có thể truy cập vào Vec hoặcBox ở mọi nơi mà không có use để nhập chúng. +Đó là vì mô-đun prelude trong thư viện tiêu chuẩn.

+

Biết rằng trong thư viện tiêu chuẩn Rust, bất kỳ thứ gì được xuất trong std::prelude::* +đều tự động có sẵn cho mọi phần của Rust. Đó là trường hợp của VecBox nhưng những thứ khác cũng vậy (Option, Copy, v.v.)..

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_117_zh-cn.html b/beta_117_zh-cn.html new file mode 100644 index 000000000..470b8a974 --- /dev/null +++ b/beta_117_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude

+

你可能很好奇,为什么我们在没用 use 导入 VecBox 的情况下却可以到处使用它们。 +这是因为标准库中有一个叫 prelude 的模块。

+

要知道,在 Rust 标准库中,以 std::prelude::* 导出的任何东西都会自动提供给 Rust 的各个部分。 +VecBox 便是如此,并且其他东西(Option、Copy 等)也是如此。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_ar.html b/beta_118_ar.html new file mode 100644 index 000000000..93fc9bd14 --- /dev/null +++ b/beta_118_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تمهيدك الخاص (Your Own Prelude)

+

بالنظر لتمهيد (prelude) المكتبة القياسية (standard library)، فمن الشائع أن يكون لمكتبتك (library) وحدة تمهيدية (prelude module) خاصة بها كنقطة بداية حيث يجب على المستخدمين استيراد جميع هياكل البيانات الأكثر شيوعًا لاستخدام مكتبتك (على سبيل المثال، استخدم use my_library::prelude::*) .

+

هو لا يتم استخدامه تلقائيًا في البرامج/المكتبات التي تستخدم الصندوق الخاص بك، ولكنه تقليد جيد يجب اتباعه حتى يعرف الأشخاص من أين يبدأون.

+

يقول فيريس (Ferris): "كن رستاسيًا (rustacean) جيدًا وساعد سلطعونا زميلًا لك للخروج بتمهيد جيد!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_de.html b/beta_118_de.html new file mode 100644 index 000000000..26b9a71f8 --- /dev/null +++ b/beta_118_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dein eigenes `Prelude` Modul

+

Wie bei der Standard Bibliothek ist es üblich, für eigene Bibliotheken, ein eigenes Prelude Modul bereit zu stellen. Es dient den Usern deiner Bibliothek als Startpunkt, um die üblichsten Datenstrukturen aus deiner Bibliothek zu importieren (z.B. use my_library::prelude::*). +Es wird nicht automatisch in Programmen/Bibliotheken verwendet werden, die dein Crate nutzen, aber es ist eine Konvention dem zu folgen, damit Benutzer wissen, wo sie starten können. +Ferris sagt, "Sein ein guter Rustacean und hilf einer verbündeten Krabbe mit einem guten Prelude"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_en.html b/beta_118_en.html new file mode 100644 index 000000000..e5aabe6ee --- /dev/null +++ b/beta_118_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Your Own Prelude

+

Because of standard library's prelude, it's common for your library to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_es.html b/beta_118_es.html new file mode 100644 index 000000000..1ce24d1db --- /dev/null +++ b/beta_118_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prelude Propio

+

Debido al preludio de la librería estándar, es común que la librería tenga su propio módulo de preludio como punto de partida para que los usuarios importen todas las estructuras de datos más comunes. (por ejemplo, use my_library::prelude::*). +No se usa automáticamente en programas/librerías que usan tu crate, pero es una buena convención a seguir para saber por dónde empezar.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_fa.html b/beta_118_fa.html new file mode 100644 index 000000000..63afb9c43 --- /dev/null +++ b/beta_118_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Your Own Prelude

+

Because of standard library's prelude, it's common for your libary to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_fr.html b/beta_118_fr.html new file mode 100644 index 000000000..7918f5fa2 --- /dev/null +++ b/beta_118_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crée tes propres modules prelude

+

Il est courant qu'une bibliothèque ait son propre module prelude. Cela +permet d'importer toutes les structures de données nécessaires à +l'utilisation de la bibliothèque. Ces structures de données ne seront +pas automatiquement disponible (il faudra utiliser +use my_library::prelude::*) mais c'est une bonne convention à respecter.

+

Ferris dit: "Sois un bon rustacean et aide les autres crabes avec un bon prélude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_hu.html b/beta_118_hu.html new file mode 100644 index 000000000..e26c2b8f3 --- /dev/null +++ b/beta_118_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A Saját Bevezetésed

+

Ha már az alapkönyvtárhoz tartozik bevezetés, nem ritka, hogy a saját könyvtáraink is +tartalmaznak ilyen előzmény modult. Ez egyfajta kiindulópontként szolgál, amivel a felhasználók +a leggyakrabban használt típusokat egyszerűen importálhatják (pl.: use konyvtaram::prelude::*).

+

Az alapkönyvtárral ellentétben a saját bevezetés nem kerül automatikusan betöltésre, de jó ötlet +csinálni, hogy a felhasználók tudják, hogyan is kezdjenek neki a könyvtárunkat használni.

+

"Légy jó rustacean és segítsd a társaidat egy jó bevezetéssel!" - Ferris

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_ko.html b/beta_118_ko.html new file mode 100644 index 000000000..238e4a1b6 --- /dev/null +++ b/beta_118_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러분만의 Prelude

+

standard library의 prelude로 인해, 흔히들 library마다 고유의 prelude module을 만들어 +library 사용을 위해 필요한 가장 흔한 데이터 구조들을 모두 가져오는 시작점으로 쓰곤 합니다 (예: use my_library::prelude::*). +standard library와 달리 프로그램이나 library에서 자동으로 쓸 수 있는 것은 아니지만, +library 사용자들이 어디서부터 시작할지 도움을 줄 좋은 습관입니다.

+

Ferris가 말하길, "좋은 rustacean이 되어, 좋은 prelude로 게 친구를 도와주세요!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_pl.html b/beta_118_pl.html new file mode 100644 index 000000000..a8c621ec8 --- /dev/null +++ b/beta_118_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Your Own Prelude

+

Because of standard library's prelude, it's common for your libary to have its own prelude module as a starting point for +where users should import all of the most common data structures for using your library (e.g use my_library::prelude::*). +It doesn't automatically get used in programs/libraries that use your crate, but it's a good convention to follow so people +know where to start.

+

Ferris says, "Be a good rustacean and help a fellow crab out with a good prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_pt-br.html b/beta_118_pt-br.html new file mode 100644 index 000000000..17594df27 --- /dev/null +++ b/beta_118_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Seu próprio prelude

+

Por causa do prelude da biblioteca padrão, é usual que a sua biblioteca tenha seu próprio módulo de prelude como ponto de partida de onde os usuários devem importar todas as estruturas de dados mais usuais para usar a sua biblioteca (por exemplo, use my_library::prelude::*). +Ele não é usado automaticamente em programas/bibliotecas que usam a sua crate, mas é uma boa convenção a ser seguida para que as pessoas saibam por onde começar.

+

Ferris diz: "seja um bom rustáceo e ajude outro caranguejo com um bom prelude!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_ro.html b/beta_118_ro.html new file mode 100644 index 000000000..051391d8d --- /dev/null +++ b/beta_118_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Preludiul propriu

+

Datorită preludiului bibliotecii standard, este normal ca biblioteca dvs. să aibă propriul său modul preludiu. Aceasta poate fi un punct de plecare pentru +utilizatorii care doresc să importe cele mai comune structuri de date pentru utilizarea bibliotecii dumneavoastră (de exemplu, use my_library::prelude::*). +Acesta nu este utilizat automat în programele/bibliotecile care utilizează biblioteca dvs, dar este o convenție bună de urmat pentru ca oamenii +să știe de unde să înceapă.

+

Ferris spune: "Fiți un Rustaceu bun și ajutați alți crabi cu un preludiu bun!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_ru.html b/beta_118_ru.html new file mode 100644 index 000000000..88057650c --- /dev/null +++ b/beta_118_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ваш собственный автоимпорт (Your Own Prelude)

+

Из-за наличия автоимпорта в стандартной библиотеке, ваша библиотека обычно имеет собственный автоимпорт в качестве начальной точки, где пользователи должны импортировать все наиболее общие структуры данных для использования вашей библиотеки (например, use my_library::prelude::*). +Автоимпорт не используется автоматически в программах/библиотеках, которые используют ваш крейт, но это является хорошим соглашением, чтобы люди знали, с чего начать.

+

Феррис говорит: "Будь хорошим разработчиком и помоги другим удобным автоимпортом!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_th.html b/beta_118_th.html new file mode 100644 index 000000000..5de687a24 --- /dev/null +++ b/beta_118_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Your Own Prelude

+

และเป็นเพราะ prelude ในไลบรารีมาตรฐาน ก็ไม่แปลกถ้าเราจะมี prelude ของเราเอง เพื่อใช้เป็นจุดเริ่มต้นให้ผู้ใช้รับรู้ว่า ควรนำเข้า โครงสร้างข้อมูลที่ใช้ร่วมกันทั้งหมดก่อนใช้ไลบรารีของคุณ (เช่น use my_library::prelude::*) +ควาจริงมันไม่ได้ใช้ได้ทันทีใน โปรแกรมหรือไลบรารี ที่ใช้ crate ของคุณหรอก แต่มันเป็นหลักการที่ดีที่ควรทำตาม เพื่อให้ผู้คนทราบว่าจุดเริ่มต้นอยู่ที่ใด

+

Ferris บอกว่า, "จงเป็น rustacean ที่ดีและช่วยเหลือเหล่าเพื่อนปูด้วย prelude ดีๆสักอัน!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_tr.html b/beta_118_tr.html new file mode 100644 index 000000000..4a8814474 --- /dev/null +++ b/beta_118_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kendi Ön Yükleme Kütüphaneniz

+

Standart kütüphanede olduğu gibi, kişisel kütüphanelere özgü ön yükleme müdülleri sunmak oldukça yaygın bir davranış şeklidir. Örneğin use kutuphanem::prelude::* şeklindeki ön yükleme modülleri, kütüphanenizden yararlanmak isteyen kullanıcılara, sık kullanacakları veri yapılarını içe aktarabilecekleri, hızlı başlangıç yapma olanağını sağlar. Bu özel ön yükleme modülleri, kullanıldıkları program tarafından otomatik şekilde yüklenmiyor olsa bile, kullanıcılara nereden başlayacaklarını gösterdiğinden, çoğunlukla uyulan faydalı bir gelenektir.

+

Ve son olarak Ferris'in sözlerine kulak verelim: "İyi bir rustacean olup sandıklarınız için ön yükleme kütüphaneleri sağlayarak diğer, Rust programcılarının güzel bir başlangıç yapmalarına yardımcı olun!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_ua.html b/beta_118_ua.html new file mode 100644 index 000000000..e3d170c93 --- /dev/null +++ b/beta_118_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ваша особиста прелюдія

+

Оскільки прелюдія є стандартним компонентом бібліотеки, у вашій бібліотеці, як правило, є власний модуль прелюдії як відправна точка з котрої +користувачі мають імпортувати усі найпоширеніші структури даних для використання вашої бібліотеки (наприклад, use my_library::prelude::*). +Ферріс: "Будь добрим ракоподібним і допоможи крабу з гарною прелюдією!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_vi.html b/beta_118_vi.html new file mode 100644 index 000000000..b622c0843 --- /dev/null +++ b/beta_118_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Phần dạo đầu của riêng bạn

+

Do phần prelude của thư viện tiêu chuẩn, thư viện của bạn thường có mô-đun dạo đầu(prelude module) riêng làm điểm khởi đầu để người dùng nhập tất cả các cấu trúc dữ liệu phổ biến nhất để sử dụng thư viện của bạn (ví dụ: use my_library::prelude::*). +Nó không tự động được sử dụng trong các chương trình/thư viện sử dụng crate của bạn, nhưng đó là một quy ước tốt để tuân theo để mọi người biết bắt đầu từ đâu.

+

Ferris nói rằng, "Hãy là một rustacean tốt và giúp đỡ đồng loại với phần dạo đầu tốt!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_118_zh-cn.html b/beta_118_zh-cn.html new file mode 100644 index 000000000..3f7afb14e --- /dev/null +++ b/beta_118_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

你自己的 Prelude

+

你看,既然标准库里面有 prelude,那么你自己的库里面最好也要有一个 prelude 模块。 这个模块可以作为其他使用你的库的用户的起点:他们可以借此导入你的库里面所有常用的数据结构 (例如 use my_library::prelude::*)。 +当然,这个模块就不会在用了你的库的程序或别的库里面自动启用了。不过使用这个惯例的话,大家会很轻松地知道从何开始的。

+

Ferris 说:“当个好 rustacean,帮助蟹友奏好序曲(prelude)!”

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_ar.html b/beta_119_ar.html new file mode 100644 index 000000000..9795a2575 --- /dev/null +++ b/beta_119_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 9 - الخلاصة

+

لديك الآن بعض الحيل في جعبتك عندما يتعلق الأمر بإنشاء تطبيقات ومكتبات في رست(Rust) وتكون جاهزة للعالم. لا تقلق بشأن تذكر كل شيء. مع نمو مكتبتك واستخدامها من قبل أشخاص آخرين، ستجد ما هو الأفضل في كل مرحلة.

+

المصادر:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_de.html b/beta_119_de.html new file mode 100644 index 000000000..f66b82d0e --- /dev/null +++ b/beta_119_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Fazit

+

Jetzt hast Du ein paar Tricks in der Tasche, wenn es um das Schreiben von Rust Programmen und Bibliotheken geht, die auf der ganzen Welt verwendet werden. Mach Dir keine Gedanken, an alles zu denken. Sobald deine Bibliothek wächst und von anderen Menschen genutzt wird, wirst Du mit jedem neuen Meilenstein herausfinden, was am besten ist. +Ferris wünscht Dir viel Erfolg auf dem Weg dorthin! +Ressourcen:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_en.html b/beta_119_en.html new file mode 100644 index 000000000..4481a4155 --- /dev/null +++ b/beta_119_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_es.html b/beta_119_es.html new file mode 100644 index 000000000..d236a3355 --- /dev/null +++ b/beta_119_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 9 - Conclusión

+

Ahora tienes algunos trucos bajo la manga para crear aplicaciones y librerías en Rust. No te preocupes por tener que acordarte de todo, ya que a medida que tu librería crezca y lo usen otras personas, descubrirás lo que mejor funciona en cada caso.

+

Recursos (en inglés):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_fa.html b/beta_119_fa.html new file mode 100644 index 000000000..f2bb1200f --- /dev/null +++ b/beta_119_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_fr.html b/beta_119_fr.html new file mode 100644 index 000000000..ad3c2eaac --- /dev/null +++ b/beta_119_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Conclusion

+

Tu dois maintenant en connaître beaucoup sur la création de bibliothèques +et d'applications Rust. Je ne te demande pas de tout retenir car je suis +sûr que, à mesure que ta bibliothèque ou ton application s'agrandira et sera +utilisé par d'autres développeurs, tu seras capable de trouver une +solution à chaque problème que tu rencontrera.

+

Ressources (en anglais):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_hu.html b/beta_119_hu.html new file mode 100644 index 000000000..fc2f28b38 --- /dev/null +++ b/beta_119_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9. Fejezet - Konklúzió

+

Most már ismersz néhány trükköt, amik szükségesek lehetnek, ha programokat és könyvtárakat +szeretnél a világ elé tárni. Ne aggódj, ha nem emlékszel mindenre - ahogy a könyvtárad növekszik +és egyre többet használják, meg fogod látni, mi működik legjobban az egyes fejlődési +szakaszokban.

+

További olvasnivaló:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_ko.html b/beta_119_ko.html new file mode 100644 index 000000000..495494a0e --- /dev/null +++ b/beta_119_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9장 - 마무리

+

이제 여러분의 소매 속에는 Rust 프로그램과 library를 만드는 데에 쓸 몇 가지 재주가 생겼습니다. +이걸 모두 기억하려고 하지 마세요. 여러분의 library가 커져감에 따라, 또 다른 사람들이 사용함에 따라, 각 단계에서 뭐가 가장 좋은 방법인지 알게 될 것입니다.

+

자료:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_pl.html b/beta_119_pl.html new file mode 100644 index 000000000..42741f358 --- /dev/null +++ b/beta_119_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Conclusion

+

You now have a few tricks up your sleeve when it comes to creating Rust applications and libraries ready for the world. Don't +worry about remembering it all. As your library grows and is used by other people, you'll find what works best at each milestone.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_pt-br.html b/beta_119_pt-br.html new file mode 100644 index 000000000..3a5926455 --- /dev/null +++ b/beta_119_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 9 - Conclusão

+

Agora você tem alguns truques na manga quando se trata de criar aplicativos e bibliotecas Rust prontos para o mundo. Não se preocupe em lembrar-se de tudo. Conforme a sua biblioteca cresce e é usada por outras pessoas, você encontrará o que funciona melhor em cada etapa.

+

Recursos:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_ro.html b/beta_119_ro.html new file mode 100644 index 000000000..21ded1ad6 --- /dev/null +++ b/beta_119_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 9 - Concluzie

+

Acum aveți câteva trucuri în mânecă atunci când vine vorba de crearea de aplicații Rust pregătite pentru lume. Nu +vă faceți griji să le țineți minte pe toate. Pe măsură ce biblioteca dvs. crește și este utilizată de alte persoane, veți descoperi ce funcționează cel mai bine la fiecare etapă.

+

Resurse:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_ru.html b/beta_119_ru.html new file mode 100644 index 000000000..f047b8ca0 --- /dev/null +++ b/beta_119_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 9 - Заключение

+

Теперь вы знаете несколько хитростей к моменту, когда дело дойдет до создания приложений и библиотек Rust, готовых для всего мира. +Не беспокойтесь о том, чтобы их все запомнить. По мере роста вашей библиотеки и использования ее другими пользователями, вы найдете то, что лучше всего работает на каждом этапе.

+

Ресурсы:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_th.html b/beta_119_th.html new file mode 100644 index 000000000..3e8a8f809 --- /dev/null +++ b/beta_119_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 9 - สรุป

+

ตอนนี้ คุณก็ได้มีกลเม็ดเล็กๆน้อยๆเพียงพอจะสร้าง แอปพลิเคชันและไลบรารี ด้วย Rust ให้พร้อมใช้งานได้สำหรับโลกนี้แล้ว +ไม่ต้องกังวลว่าจะจำทั้งหมดนี้ได้หรือไม่ เพราะเมื่อใดที่ไลบรารีของคุณใหญ่ขึ้น และมีคนใช้งานมันมากขึ้น คุณจะพัฒนาขึ้นตามไปด้วย

+

แหล่งข้อมูล:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_tr.html b/beta_119_tr.html new file mode 100644 index 000000000..3489efe19 --- /dev/null +++ b/beta_119_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 9 - Sonuç

+

Artık Rust kitaplıkları ve uygulamaları oluşturmak hakkında çok şey biliyor durumdasınız. Sizden burada anlatılan her şeyi, her zaman hatırlamanız gerektiği yanılgısına düşmemenizi istiyorum. Kütüphaneleriniz büyüyüp geliştikçe ve diğer geliştiriciler tarafından kullanıldıkça, karşılaşacağınız her soruna doğru çözümler getireceğinizi şimdiden biliyorum.

+

Kaynaklar:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_ua.html b/beta_119_ua.html new file mode 100644 index 000000000..35fa03cdb --- /dev/null +++ b/beta_119_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 9 - Висновки

+

Тепер у вас є кілька хитрощів у рукаві, коли справа доходить до створення Rust-додатків і бібліотек , готових до публікації. Не турбуйтеся про те, щоб запам'ятати все це. У міру того, як ваша бібліотека зростатиме і нею користуватимуться інші ви зрозумієте, що найкраще працює на кожному етапі.

+

Ресурси:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_vi.html b/beta_119_vi.html new file mode 100644 index 000000000..7226bef2d --- /dev/null +++ b/beta_119_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 9 - Tổng kết

+

Bây giờ bạn đã có một vài thủ thuật khi nói đến việc tạo các ứng dụng và thư viện Rust. Bạn đã sẵn sàng để bước ra thế giới rồi đấy! Đừng lo lắng về việc nhớ tất cả. Khi thư viện của bạn phát triển và được người khác sử dụng, bạn sẽ tìm thấy những gì hoạt động tốt nhất ở mỗi cột mốc.

+

Nguồn:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_119_zh-cn.html b/beta_119_zh-cn.html new file mode 100644 index 000000000..ef6bd2b85 --- /dev/null +++ b/beta_119_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第九章 - 总结

+

现在,你应该学会了如何创建并与世界分享你的 Rust 应用程序和库了。 不要担心现在记不住这些东西。等以后你的库发展了,用的人多了,你自己会清楚每个阶段应该做什么的。

+

其他资源(英文):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_11_al.html b/beta_11_al.html new file mode 100644 index 000000000..05c949d74 --- /dev/null +++ b/beta_11_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kthe asgje

+

Nëse asnjë lloj kthimi nuk është specifikuar për një funksion, ai kthen një tuple bosh, + i njohur gjithashtu si një njësi.

+

Një tuple bosh përfaqësohet nga ().

+

Përdorimi i () është i pazakontë, por do të shfaqet aq shpesh sa është mirë të dihet + cfare po ndodh.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_ar.html b/beta_11_ar.html new file mode 100644 index 000000000..974eb88c6 --- /dev/null +++ b/beta_11_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع لاشء

+

إذا لم يتم تحديد نوع الإرجاع للدالة (function)، فإنها تُرجع صفًا (tuple) فارغًا، يُعرف أيضًا باسم الوحدة (unit).

+

يرمز للصف (tuple) الفارغ بـ ().

+

إن إستخدام الرمز () غير شائع، ولكنه قد يصادفك أحيانا وهو جيد لتوضيح ما يحدث فعليا في الدالة.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_de.html b/beta_11_de.html new file mode 100644 index 000000000..6d9733d44 --- /dev/null +++ b/beta_11_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Keine return-Variablen

+

Wenn kein Variablentyp als Rückgabewert einer Funktion angegeben wird, gibt die Funktion ein leeres Tupel zurück, auch bekannt als unit.

+

Ein leeres Tupel wird durch ein () repräsentiert.

+

Die leeren Klammern werden selten verwendet, finden trotzdem an manchen Orten ihren Platz, weshalb wir diese hier kurz zum Vorschein bringen wollen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_en.html b/beta_11_en.html new file mode 100644 index 000000000..beecdce6e --- /dev/null +++ b/beta_11_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Nothing

+

If no return type is specified for a function, it returns an empty tuple, also known as a unit.

+

An empty tuple is represented by ().

+

Using () is uncommon, but will come up often enough that it's good to know whats happening.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_es.html b/beta_11_es.html new file mode 100644 index 000000000..d1dfb4d3b --- /dev/null +++ b/beta_11_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

No Devolver Nada

+

Si no se especifica un tipo de retorno para una función, esta devuelve una tupla vacía, también conocida como unidad.

+

Una tupla vacía se representa mediante ()

+

El uso de () es poco común, pero es necesario saber su significado ya que aparecerá de vez en cuando.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_fa.html b/beta_11_fa.html new file mode 100644 index 000000000..b668233e5 --- /dev/null +++ b/beta_11_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Nothing

+

If no return type is specified for a function, it returns an empty tuple, also known as a unit.

+

An empty tuple is represented by ().

+

Using () is uncommon, but will come up often enough that it's good to know whats happening.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_fi.html b/beta_11_fi.html new file mode 100644 index 000000000..d6f0cccd2 --- /dev/null +++ b/beta_11_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tyhjän palauttaminen

+

Jos funktiolle ei ole määritelty paluuarvoa, se palauttaa tyhjän tuplen, jota myös kutsutaan nimellä unit.

+

Tyhjä tuple merkitään ().

+

Merkinnän () käyttö ei ole kovin tavallista, mutta sitä tarvitaan kuitenkin niin usein, että on hyvä tietää, mitä se tarkoittaa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_fr.html b/beta_11_fr.html new file mode 100644 index 000000000..a17e7efed --- /dev/null +++ b/beta_11_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ne rien retourner

+

Si une fonction ne spécifie aucun type de retour, celle-ci retourne un tuple vide, +également appelé unité.

+

Un tuple vide est représenté par ().

+

Il est rare d'utiliser (), mais cela arrive et il est bon de le savoir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_gr.html b/beta_11_gr.html new file mode 100644 index 000000000..3aa957a25 --- /dev/null +++ b/beta_11_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Επιστροφή του τίποτε

+

Αν σε μία συνάρτηση δεν οριστεί τύπος επιστροφής, αυτή επιστρέφει μία κενή πολλαπλότητα, γνωστή και ως μονάδα.

+

Μία κενή πολλαπλότητα συμβολίζεται με ().

+

Η ρητή χρήση του () είναι μάλλον σπάνια, αλλά εμφανίζεται αρκετά συχνά ώστε είναι καλό να ξέρει κανείς τι συμβαίνει.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_hu.html b/beta_11_hu.html new file mode 100644 index 000000000..c37a53b3b --- /dev/null +++ b/beta_11_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Semmivel való visszatérés

+

Ha nincs visszatérési érték megadva egy függvénynek, akkor egy üres tuple-el tér vissza, melyet +unit-nak hívunk.

+

Az üres tuple-öket ()-al jelöljük.

+

A () használata ritkán fordul elő, de mégis elég gyakori ahhoz, hogy érdemes tudni miről is +van szó.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_id.html b/beta_11_id.html new file mode 100644 index 000000000..cfeee0ce6 --- /dev/null +++ b/beta_11_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tidak mengembalikan apa-apa

+

Jika tidak ada nilai yang dikembalikan oleh sebuah fungsi secara tertulis, maka fungsi itu mengembalikan tuple kosong, atau dikenal juga dengan nama unit.

+

Sebuah tuple kosong dipresentasikan dengan ().

+

Menggukan () bukanlah hal umum, tapi kita akan sering bertemu denganya secara rutin, jadi alangkah baiknya kita tau apa yang terjadi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_ie.html b/beta_11_ie.html new file mode 100644 index 000000000..93c6e1b27 --- /dev/null +++ b/beta_11_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornar necos

+

Si null tip de retorn es specificat por un function, it retorna un vacui tuple, anc conosset quam un unit (li tal-nominat tip unitic)

+

On representa un vacui tuple per ()

+

In Rust it passa presc ínvisibil por que on ne mey esser distractet de it, ma it es bon a saver que un functiona retornant necos retorna un fact un vacui tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_it.html b/beta_11_it.html new file mode 100644 index 000000000..3d14ded18 --- /dev/null +++ b/beta_11_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ritornare il nulla

+

Se per una funzione non specifichi il tipo di ritorno, ritornerà una tupla vuota, conosciuta anche come unit.

+

La tupla vuota è rappresentata da ().

+

L'uso di () è poco comune, ma potresti vederlo ogni tanto quindi è giusto sapere cosa sta succedendo.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_ja.html b/beta_11_ja.html new file mode 100644 index 000000000..3b574a76d --- /dev/null +++ b/beta_11_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

空の戻り値

+

関数に戻り値の型が指定されていない場合、unit と呼ばれる空のタプルを返します。

+

空のタプルは () と表記します。

+

() はあまり使われませんが、時々出てくるので意味は知っておく必要があります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_ko.html b/beta_11_ko.html new file mode 100644 index 000000000..56ea50a18 --- /dev/null +++ b/beta_11_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

아무것도 리턴하지 않기

+

함수에 리턴형을 지정하지 않은 경우 빈 tuple을 리턴하는데, 이는 unit이라고도 합니다.

+

빈 tuple은 ()로 표현합니다.

+

()를 사용하는 경우는 드물지만, 뭔지 알아두는 것이 좋을 정도로 꽤 자주 마주치게 될겁니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_ne.html b/beta_11_ne.html new file mode 100644 index 000000000..9e07aa485 --- /dev/null +++ b/beta_11_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Niets retourneren

+

Als voor een functie niet wordt gespecificeerd welk type het retourneert, zal deze een lege tuple retourneren, ook wel bekend als unit (unit). +Een lege tuple wordt gerepresenteerd door (). +Het gebruik van () komt niet vaak voor, maar het zal vaak genoeg voorkomen, dus het is goed om te weten wat er gebeurt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_pl.html b/beta_11_pl.html new file mode 100644 index 000000000..d43a21598 --- /dev/null +++ b/beta_11_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Niczego

+

W przypadku kiedy definicja funkcja nie obejmuje zwracanego typu, funkcja taka zwraca pustą krotkę, znaną też jako jednostka (ang. unit)

+

Pusta krotka jest zapisywana jako ().

+

Używanie pustej krotki () nie jest specjalnie częste, ale nadal dobrze wiedzieć co taki zapis oznacza.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_pt-br.html b/beta_11_pt-br.html new file mode 100644 index 000000000..946c321ce --- /dev/null +++ b/beta_11_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando nada

+

Se nenhum tipo for especificado para o retorno de uma função, ele devolve uma tupla vazia, também conhecida como unit.

+

Uma tupla vazia é representada por ().

+

O uso de () é incomum, mas é necessário saber o seu significado uma vez que aparecerá de vez em quando.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_ro.html b/beta_11_ro.html new file mode 100644 index 000000000..869ff3036 --- /dev/null +++ b/beta_11_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A nu returna nimic

+

Dacă pentru o funcție nu se specifică ce tip returnează, aceasta va returna un tuplu gol, cunoscut și sub numele de unitate (unit).

+

Un tuplu gol este reprezentat de ().

+

Folosirea unui () nu este des întâlnită, dar va apărea de suficiente ori, deci este bine să știți ce se întâmplă.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_ru.html b/beta_11_ru.html new file mode 100644 index 000000000..f6e6b6729 --- /dev/null +++ b/beta_11_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возврат пустого значения (Nothing)

+

Если в функции не указан возвращаемый тип, она возвращает тип пустого кортежа, известный как тип unit (юнит тип).

+

Пустой кортеж представлен в коде как ().

+

Использование юнит типа () в коде бывает редким, но встречается достаточно часто, чтобы заметить скобки и привыкнуть к ним, зная что в таком случае происходит.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_th.html b/beta_11_th.html new file mode 100644 index 000000000..ee626da67 --- /dev/null +++ b/beta_11_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การไม่คืนอะไรเลย

+

ถ้าฟังก์ชันไม่ได้ระบุ type ที่ต้อง return มันจะคืนออกมาเป็น empty tuple หรือที่รู้จักกันอีกชื่อว่า unit

+

empty tuple แสดงได้ด้วย ()

+

ปกติเราจะไม่ค่อยได้ใช้ () กันหรอกนะ แต่บ่อยครั้งก็ใช้เพื่อให้รู้ว่ามันเกิดอะไรขึ้นจริงๆ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_tr.html b/beta_11_tr.html new file mode 100644 index 000000000..7b0d9a9d9 --- /dev/null +++ b/beta_11_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Boş Değer Döndürmek

+

Bir işlevin dönüş türü bildirilmediğinde, unit olarak da bilinen boş bir çokuzlu döndürülür.

+

Boş bir çokuzlu () şeklinde ifade edilir.

+

Her ne kadar sık kullanılmıyor olsalar da bu belirtecin () boş bir çokuzluyu temsil ettiğini bilmeniz önemlidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_ua.html b/beta_11_ua.html new file mode 100644 index 000000000..b5c9de66a --- /dev/null +++ b/beta_11_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення пустого значення

+

Якщо для функції не вказаний тип для повернення значення, вона повертає пустий кортеж, також відомий як unit (юніт тип).

+

Пустий кортеж представлений за допомогою (). Використання () не являється типовим, але зустрічається достатньо часто для того, щоб зрозуміти що відбувається.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_vi.html b/beta_11_vi.html new file mode 100644 index 000000000..9f310d4c7 --- /dev/null +++ b/beta_11_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Không trả về gì cả

+

Nếu không có kiểu trả về nào được chỉ định cho một hàm, nó sẽ trả về một bộ giá trị trống, còn được gọi là unit(đơn vị).

+

Một bộ giá trị trống được đại diện bởi ().

+

Việc sử dụng () là không phổ biến, nhưng sẽ xuất hiện thường xuyên để bạn có thể biết được điều gì đang xảy ra.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_zh-cn.html b/beta_11_zh-cn.html new file mode 100644 index 000000000..b93a477f3 --- /dev/null +++ b/beta_11_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

返回空值

+

如果没有为函数指定返回类型,它将返回一个空的元组,也称为单元

+

一个空的元组用 () 表示。

+

直接使用 () 的情况相当不常见。但它经常会出现(比如作为函数返回值),所以了解其来龙去脉非常重要。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_11_zh-tw.html b/beta_11_zh-tw.html new file mode 100644 index 000000000..f23897e5f --- /dev/null +++ b/beta_11_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

沒有回傳類型

+

當一沒有標明函數的回傳類型時,Rust 會默認回傳空的元組,稱為一個單元(Unit)

+

一個空的元組是以 () 來展示。 +直接使用()並不常見,但會經常出現。所以最好也能夠知道它是什麽。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_12_al.html b/beta_12_al.html new file mode 100644 index 000000000..57b523524 --- /dev/null +++ b/beta_12_al.html @@ -0,0 +1,58 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Conclusion

+

Punë e bukur deri tani! Bazat e Rust nuk janë aq të këqija, apo jo? ne jemi

+

duke parë se si mendon përpiluesi Rust. Si programim sistemi + gjuhe

+

kujdeset shumë për madhësinë e vlerave në kujtesë, nëse gjërat mund të jenë + modifikuar apo jo,

+

dhe sigurohuni që matematika juaj të jetë ajo që dëshironi të jetë. Në vazhdim do të jemi + duke parë disa miq të vjetër:

+

"if" testet dhe "for".

+

Më shumë burime:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_ar.html b/beta_12_ar.html new file mode 100644 index 000000000..5078ca398 --- /dev/null +++ b/beta_12_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 1 - الخلاصة

+

عمل جميل حتى الآن! أساسيات رست (Rust) ليست صعبة للغاية، أليس كذلك؟ لقد ألقينا نظرة خاطفة على كيفية تفكير مترجم رست (Rust compiler). باعتبارها لغة برمجة نظام، فرست (Rust) تهتم كثيرًا بحجم القيم في الذاكرة، وما إذا كان يمكن تعديل الأشياء أم لا، والتأكد من أن حساباتك هي ما تريد أن تكون عليه.

+

بعد ذلك سنلقي نظرة على بعض الأصدقاء القدامى:

+

اختبارات (tests) if وحلقات (loops) for.

+

المزيد من الموارد:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_de.html b/beta_12_de.html new file mode 100644 index 000000000..c793c70b3 --- /dev/null +++ b/beta_12_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 1 Fazit

+

Puh! Das wäre schon mal geschafft! War nicht so übel, oder? Wir wissen +schon ein wenig, wie der Compiler denkt. Er setzt viel Wert auf Speichermanagement, +wie groß Variablen sind, ob diese "mutable" sind oder nicht, und ob du garantiert +weißt, welche Datentypen zusammenaddiert werden. Das sind erste kleine Einblicke +in die Sicherheit, die sich durch die gesamte Rustsprache hindurchzieht

+
    +
  • nicht unbedingt die Sicherheit des Systems, aber die Sicherheit, dass du weißt, +was du tust.
  • +
+

Im nächsten Kapitel werden wir uns mit den altbekannten Datenkontrollstrukturen +if und for Schleifen beschäftigen! Worauf wartest du noch!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_en.html b/beta_12_en.html new file mode 100644 index 000000000..f41c37866 --- /dev/null +++ b/beta_12_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Conclusion

+

Nice job so far! The basics of Rust aren't so bad, right? We're +getting a peek into how the Rust compiler thinks. As a system programming language +it cares a lot about the size of values in memory, whether things can be modified or not, +and making sure your math is what you want it to be. Next up we'll be looking at some old friends: +if tests and for loops.

+

More Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_es.html b/beta_12_es.html new file mode 100644 index 000000000..bf065f237 --- /dev/null +++ b/beta_12_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Conclusión

+

¡Buen trabajo! No ha sido tan complicado, ¿verdad? Esta ha sido una visión general de cómo trabaja el compilador de Rust. Como ya has comprobado, hay que tener muy en cuenta el tamaño de los valores en memoria, las cosas que se pueden modificar y las que no, y asegurarse de que tu código dé el resultado que esperas. Estos son pequeños avances de un principio de seguridad que prevalece a través de Rust. Este compilador pretende asegurarse de que tu código hace lo que esperas. A continuación echaremos un vistazo a algunos viejos conocidos: if y for.

+

Más recursos (en inglés):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_fa.html b/beta_12_fa.html new file mode 100644 index 000000000..1b25e678a --- /dev/null +++ b/beta_12_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Conclusion

+

Nice job so far! The basics of Rust aren't so bad, right? We're +getting a peek into how the Rust compiler thinks. As a system programming language +it cares a lot about the size of values in memory, whether things can be modified or not, +and making sure your math is what you want it to be. Next up we'll be looking at some old friends: +if tests and for loops.

+

More Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_fi.html b/beta_12_fi.html new file mode 100644 index 000000000..9ab476428 --- /dev/null +++ b/beta_12_fi.html @@ -0,0 +1,51 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kappaleen 1 yhteenveto

+

Hyvää työtä tähän mennessä! Rustin perusteet eivät ole niin pahoja, vai mitä? Pääsimme kurkistamaan kuinka Rust-kääntäjä ajattelee. Systeemiohjelmointikielenä Rust on välittää hyvin paljon siitä, kuinka paljon eri arvot kuluttavat muistia, voidaanko arvoja muuttaa, ja varmistaa, että laskutoimitukset menevät juuri niin kuin niiden kuvitteletkin menevän. Seuraavaksi tutustumme vanhoihin ystäviin: if-testeihin ja for-silmukoihin.

+

Lisää tietoja:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_fr.html b/beta_12_fr.html new file mode 100644 index 000000000..62a36603a --- /dev/null +++ b/beta_12_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Conclusion

+

Bon travail! Les fondamentaux de rust ne sont pas si dur que ça, n'est-ce pas? Nous avons +commencé à voir comment le compilateur de Rust fonctionne. Celui-ci fait attention à la taille +des éléments en mémoire, s'assure si les choses peuvent être modifiées ou non, et fait en sorte +qu'on ne se mélange pas les pinceaux dans les types de variables. Par la suite, nous allons voir +de vieux amis : les structures de contrôles if et les boucles for.

+

Plus de ressources (en anglais):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_gr.html b/beta_12_gr.html new file mode 100644 index 000000000..d1e2fca63 --- /dev/null +++ b/beta_12_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 1 - Κατάληξη

+

Μια χαρά ως τώρα! Τα βασικά της Rust δεν είναι και τόσο άσχημα, ε; Βλέπουμε κλεφτά το πώς σκέπτεται ο μεταφραστής της Rust. Ως γλώσσα προγραμματισμού συστημάτων, η Rust νοιάζεται πολύ για το μέγεθος των τιμών στη μνήμη, το ποια πράγματα μπορούν να μεταβληθούν και ποια όχι, και για το αν οι πράξεις που κάνουμε είναι αυτές που όντως θέλουμε. Αμέσως μετά θα δούμε κάποιους παλιούς φίλους: Ελέγχους με το if και βρόχους με το for.

+

Περισσότερες πληροφορίες:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_hu.html b/beta_12_hu.html new file mode 100644 index 000000000..2b43d1e40 --- /dev/null +++ b/beta_12_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1. Fejezet - Konklúzió

+

Gratula az első fejezet teljesítéséhez! Ugye nem is olyan rossz eddig? Bepillantást nyertünk +abba, hogyan is gondolkodik a fordító. Mivel a Rust egy alacsony-szintű programozási nyelv, így +nagy figyelmet fordít a memóriában tárolt értékek méretére, arra, hogy a változók +megváltoztathatóak-e vagy sem és, hogy a számításaid valóban úgy történnek, ahogy szeretnéd. A +következő oldalon két régi baráttal fogunk megismerkedni: az if-el és a for ciklussal.

+

További források angolul:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_id.html b/beta_12_id.html new file mode 100644 index 000000000..fbc1dfa2f --- /dev/null +++ b/beta_12_id.html @@ -0,0 +1,57 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bab 1 - Kesimpulan

+

Kerja bagus! Dasar-dasar Rust tidak begitu buruk, bukan? kita akan mengintip +bagaimana kompiler Rust berpikir. Sebagai system proggramming language +Rust sangat peduli tentang ukuran nilai di dalam memori, baik dapat +dimodifikasi atau tidak, dan memastikan matematika yang kamu tulis sesuai +dengan yang kamu inginkan. Selanjutnya kita kaan melihat pada kawan lama +kita: +if dan for.

+

Sumber lain:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_ie.html b/beta_12_ie.html new file mode 100644 index 000000000..d2447f7fb --- /dev/null +++ b/beta_12_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 1 - Conclusion

+

Bon labor til nu! Li coses basic in Rust ne es tam mal, ne ver? Vi til nu un curt regarde pri qualmen pensa li compilator Rust. It sucia se mult pri li grandore de valores in memorie, qualmen on posse modificar un cose o ne, e si tui matematica es vermen to quel tu intente scrir o ne. Tis-ci es micri previsiones del principie de safety (securitá) quel prevale tra Rust. Li compilator solmen intente far cert que tui code fa to quo tu intente que it fa! A sequer noi va vider li old amics if (si) e cicles usant for (por).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_it.html b/beta_12_it.html new file mode 100644 index 000000000..4bc25c94d --- /dev/null +++ b/beta_12_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 1 - Conclusione

+

Bel lavoro! Le basi di Rust non sono così difficili, vero ? +Stiamo iniziando a capire come "pensa" il compilatore Rust. Come linguaggio di sistema, +Rust considera molto importanti aspetti come la dimensione di oggetti in memoria, controllare se le cose possono essere modificate o no, e fare in modo che i calcoli sui numeri diano il risultato che ti aspetti. Prossimamente vedremo alcuni vecchi amici: +le condizioni if e i cicli for .

+

Altre risorse:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_ja.html b/beta_12_ja.html new file mode 100644 index 000000000..865847e12 --- /dev/null +++ b/beta_12_ja.html @@ -0,0 +1,54 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 1 章 - まとめ

+

ここまでお疲れ様でした。Rust の基本はそれほど難しくなかったですよね? +Rust のコンパイラがどのように考えているのかを覗いてみました。 +システムプログラミング言語として、メモリ内の値のサイズ、変更が可能かどうか、計算を確実にすることを重視しています。 +次はお馴染みの iffor ループについて見ていきます。

+

その他の資料:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_ko.html b/beta_12_ko.html new file mode 100644 index 000000000..6b367867a --- /dev/null +++ b/beta_12_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1장 - 마무리

+

여기까지 잘 하셨습니다! Rust의 기초는 꽤 나쁘지 않습니다, 그렇죠?

+

우리는 Rust 컴파일러가 어떻게 생각을 하는지 들여다 보았습니다. +Rust는 시스템 프로그래밍 언어로서 메모리 내 값들의 크기와, 값들이 변경 가능한지 아닌지, +그리고 계산식이 의도한 대로인지를 매우 조심히 따져봅니다.

+

다음에는 우리의 오랜 친구인 if 조건문과 for 반복문에 대해 살펴보겠습니다.

+

더 많은 볼거리:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_ne.html b/beta_12_ne.html new file mode 100644 index 000000000..4225388dd --- /dev/null +++ b/beta_12_ne.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hoofdstuk 1 - Conclusies

+

Tot dusver, gaat het goed! De basisprincipes van Rust zijn niet zo slecht, toch? We hebben gekeken naar de manier waarop de Rust-compiler denkt. Als systeemprogrammeertaal geeft Rust veel om de grootte van waarden in het geheugen, of ze nu veranderbaar zijn of niet, en om de wiskundige correctheid van de toegepaste bewerkingen. In het vervolg zullen we kennismaken met enkele oude bekenden: if-tests en for-lussen. +Bibliografie:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_pl.html b/beta_12_pl.html new file mode 100644 index 000000000..caa04fc03 --- /dev/null +++ b/beta_12_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 1 - Podsumowanie

+

Nieźle Ci idzie! Podstawy Rusta nie są takie trudne jak się mogło wydawać. Zaczynamy podpatrywać działania kompilatora i tego jak myśli. Jako język programowania przeznaczony do budowania systemów, Rust poświęca dużą uwagę rzeczom takim jak wielkość wartości w pamięci komputera, mutowalność zmiennych a także poprawność zapisanych przez nas działań matematycznych. W następnym rozdziale przyjrzymy się kilku starym znajomym, mianowicie: kondycjom if oraz pętlom for.

+

Dowiedz się więcej:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_pt-br.html b/beta_12_pt-br.html new file mode 100644 index 000000000..da86d335a --- /dev/null +++ b/beta_12_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Conclusão

+

Bom trabalho! O básico do Rust não foi tão ruim, não é? Este foi só o comecinho de como o compilador Rust trabalha. Por ser uma linguagem de programação de sistemas, ele se importa muito com o tamanho dos valores na memória, se as coisas podem ser modificadas ou não, e garantir que sua matemática seja o que você quer que seja. A seguir veremos alguns velhos amigos: if e for.

+

Mais recursos:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_ro.html b/beta_12_ro.html new file mode 100644 index 000000000..bc7090b7c --- /dev/null +++ b/beta_12_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 1 - Concluzie

+

Până acu', e bine! Bazele Rust-ului nu sunt așa de rele, nu-i așa? Am +aruncat o privire modului în care gândește compilatorul de Rust. Fiind un limbaj de programare pentru sisteme, +acesta ține mult la dimensiunea valorilor în memorie, fie că pot fi modificate sau nu, +și la corectitudinea matematicii pe care o aplicați. În cele ce urmează, ne vom întâlni cu niște vechi prieteni: +teste if și bucle for.

+

Bibliografie:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_ru.html b/beta_12_ru.html new file mode 100644 index 000000000..88f824135 --- /dev/null +++ b/beta_12_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Раздел 1 - Заключение

+

Хорошая работа! Основы Rust не так уж и плохи, правда? Мы получили представление о том, как думает компилятор языка Rust. Являясь изначально языком системного программирования, он очень заботится о размере значений в памяти и о том, какую память можно изменять, а какую нет. И делает всё необходимое, чтобы математические операции вели себя так, как вы предполагаете. Это маленькое превью принципов безопасности, распространённых в Rust. Компилятор всего лишь хочет, чтобы ваш код делал то, чего вы ожидаете! Далее мы рассмотрим конструкции if и цикл for.

+

More Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_th.html b/beta_12_th.html new file mode 100644 index 000000000..ad689318a --- /dev/null +++ b/beta_12_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 1 - สรุป

+

ทำได้ดีมาก! พื้นฐานของ Rust ไม่ได้แย่อย่างที่คิด ใช่ไหม? เรากำลังสนใจเรื่องที่ว่าคอมไพเลอร์ของ Rust มันคิดอย่างไร +ในฐานะที่เป็น system programming language มันจึงให้ความสำคัญกับการใช้หน่วยความจำมากหน่อย ว่าของสิ่งนั้นจะถูกแก้ไขได้หรือไม่ +และให้ตรวจสอบให้แน่ใจว่า สิ่งที่คุณคิดมันให้ผลลัพธ์อย่างที่คุณต้องการจริงๆ +อีกสักครู่เราจะไปสำรวจเพื่อนเก่าของเรา: ทดลอง if และ for

+

แหล่งข้อมูลเพิ่มเติม:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_tr.html b/beta_12_tr.html new file mode 100644 index 000000000..5e41f0d20 --- /dev/null +++ b/beta_12_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 1 - Sonuç

+

Bu bölümü tamamladığınıza göre artık derleyicinin nasıl çalıştığı hakkında az çok bilgi sahibi oldunuz demektir. Bir sistem programlama dili olarak Rust, değerlerin hafızadaki büyüklüğüne, değişkenlerin değiştirilip değiştirilemeyeceğine, veri türlerinin birbiriyle örtüşüp örtüşmediğine oldukça önem verir.

+

Bu bölümde gördüklerimiz, Rust dilinin bütününü kapsayan güvenliğin belirmeye başladığının ilk işaretleridir. Bir sonraki bölümde başka dillerden aşina olduğumuz if ve for deyimleriyle ilgileneceğiz!

+

Ek kaynaklar (İngilizce):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_ua.html b/beta_12_ua.html new file mode 100644 index 000000000..4245b475e --- /dev/null +++ b/beta_12_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 1 - Заключна частина

+

Гарна робота! Основи Rust не такі вже й складні, правда ж? Ми на шлязу до того, щоб зрозуміти як думає компілятор.

+

Як системна мова програмування, Rust завжди дбає про те яким чином значення розміщені в пам'яті, які елементи можуть бути змінені, а які ні, і має бути впевнений, що ваші розрахунки - це дійсно саме те, що ви мали на увазі.

+

Далі ми поговоримо про наших старих друзів, а саме про умовний оператор if та оператор циклу for.

+

Більше інформації можна знайти за цими посиланнями:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_vi.html b/beta_12_vi.html new file mode 100644 index 000000000..55268f955 --- /dev/null +++ b/beta_12_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 1 - Tổng kết

+

Tốt lắm! Những điều cơ bản của Rust không quá tệ, phải không? Chúng ta đang xem xét cách thức suy nghĩ của trình biên dịch Rust. Là một ngôn ngữ lập trình hệ thống, nó quan tâm rất nhiều đến kích thước của các giá trị trong bộ nhớ, liệu mọi thứ có thể được sửa đổi hay không, và đảm bảo rằng các phép toán của bạn hoạt động như bạn muốn.

+

Phần tiếp theo, chúng ta sẽ khám phá phép thử if và vòng lặpfor

+

Tham khảo thêm:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_zh-cn.html b/beta_12_zh-cn.html new file mode 100644 index 000000000..d0ae35a4e --- /dev/null +++ b/beta_12_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章总结

+

到目前为止一切都进展顺利! Rust 的基础知识还不赖,对吧? 我们一起窥探了 Rust 编译器是如何思考的。 +作为一种系统编程语言,它非常关心内存中值的大小,是否可以修改内容,并确保数值符合你的预期。 +接下来,我们将看一些老朋友:if 判断和 for 循环。

+

其他教学资源(英文):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_12_zh-tw.html b/beta_12_zh-tw.html new file mode 100644 index 000000000..c35921810 --- /dev/null +++ b/beta_12_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章 - 總結

+

到目前為止做得很好! Rust的基礎還不錯,對吧? 我們是窺探了Rust編譯器的想法。 +作為系統編程語言,它非常關心內存中的值大小,是否可以修改,並確保您的算法是您想要的。 +接下來,我們將看著一些老朋友: +if 測試 和 for 循環

+

更多資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_14_al.html b/beta_14_al.html new file mode 100644 index 000000000..dc5ddcab7 --- /dev/null +++ b/beta_14_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Degëzimi i kodit në Rust nuk është befasues.

+

Kushtet nuk kanë kllapa! A kemi pasur vërtet nevojë për to? Logjika jonë + tani duket bukur dhe e pastër.

+

Të gjithë operatorët tuaj të zakonshëm relacionalë dhe logjikë ende funksionojnë: ==, !=, <, +>, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_ar.html b/beta_14_ar.html new file mode 100644 index 000000000..9e5951389 --- /dev/null +++ b/beta_14_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إذا / غير ذلك (if/else)

+

تفرع التعليمات البرمجية في رست (Rust) ليس مفاجئًا.

+

الشروط في رست (Rust) لا تحتوي على قوسين! هل كنا حقا بحاجة إليهم؟ يبدو منطق اللغة لطيفًا ونظيفًا.

+

كل عوامل التشغيل العلائقية والمنطقية المعتادة (relational and logical operators) لا تزال تعمل: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_de.html b/beta_14_de.html new file mode 100644 index 000000000..703ca9af3 --- /dev/null +++ b/beta_14_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Codeverzweigungen (branching) bieten viel bekanntes.

+

Außer den fehlenden Klammern! Wer braucht die schon? Logik war noch nie so sauber.

+

Die üblichen Vergleichsoperatoren und logischen Operatoren funktionieren noch: ==, !=, <, >, <=, >=, !, ||, &&.

+

Versuch ein paar von den Operatoren in den Code einzubauen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_en.html b/beta_14_en.html new file mode 100644 index 000000000..5d425b7b0 --- /dev/null +++ b/beta_14_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Code branching in Rust is not surprising.

+

Conditions don't have parentheses! Did we ever really need them? Our logic now looks nice and clean.

+

All your usual relational and logical operators still work: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_es.html b/beta_14_es.html new file mode 100644 index 000000000..faad77832 --- /dev/null +++ b/beta_14_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

La ramificación de código en Rust te resultará familiar.

+

Las condiciones no van entre paréntesis, ¿son realmente necesarios? De esta manera nuestra lógica se ve más limpia y sencilla.

+

Los demás operadores relacionales y lógicos conocidos siguen funcionando: ==, !=, <, >, <=, >=, !, ||, &&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_fa.html b/beta_14_fa.html new file mode 100644 index 000000000..574581c3a --- /dev/null +++ b/beta_14_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Code branching in Rust is not surprising.

+

Conditions don't have parentheses! Did we ever really need them? Our logic now looks nice and clean.

+

All your usual relational and logical operators still work: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_fi.html b/beta_14_fi.html new file mode 100644 index 000000000..f2b73b82f --- /dev/null +++ b/beta_14_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Koodin haaroitus Rust-ohjelmoinnissa ei ole yllättävää.

+

Ehtolausekkeissa ei ole sulkeita! Tarvitsimmeko niitä koskaan? Nyt logiikkamme näyttää kauniilta ja selkeältä.

+

Kaikki tavalliset suhteelliset ja loogiset operaattorit toimivat edelleen: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_fr.html b/beta_14_fr.html new file mode 100644 index 000000000..3b7dd6942 --- /dev/null +++ b/beta_14_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

L'embranchement de code en Rust n'est pas une surprise.

+

Les conditions n'ont pas de parenthèses! En a-t-on réellement besoin? +Sans elles notre code est plus joli et plus lisible.

+

Les opérateurs relationnels et logiques usuels sont disponibles: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_gr.html b/beta_14_gr.html new file mode 100644 index 000000000..178a4df78 --- /dev/null +++ b/beta_14_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Η διακλάδωση κώδικα στη Rust δεν εμπεριέχει εκπλήξεις.

+

Οι συνθήκες δεν έχουν παρενθέσεις! Δεν τις χρειαζόμασταν και ποτέ άλλωστε. Η λογική μας είναι ωραία και συμμαζεμμένη. (Χρειαζόμαστε όμως πάντοτε τα άγκιστρα: {}.)

+

Όλοι οι γνώριμοι σχετικοί και λογικοί τελεστές εξακολουθούν να λειτουργούν: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_hu.html b/beta_14_hu.html new file mode 100644 index 000000000..842898049 --- /dev/null +++ b/beta_14_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

A Rust elágazásai nem éppen meglepőek.

+

Az elágazások feltételei nincsenek zárójelbe téve. Őszintén, volt bármikor is szükségünk ezekre? +A logika így szépen és tisztán néz ki.

+

Minden logikai és összehasonlító operátor ugyanúgy működik: ==, !=, <, >, <=, >=, +!, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_id.html b/beta_14_id.html new file mode 100644 index 000000000..94583d6db --- /dev/null +++ b/beta_14_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Code branching pada Rust tidaklah mengejutkan.

+

Kondisi tidak mempunyai tanda kurung! Apakah kita sangat memebutuhkannya? Logika kita sekarang terlihat bagus dan bersih.

+

Semua operator relasioinal dan logika tetap berkerja: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_ie.html b/beta_14_ie.html new file mode 100644 index 000000000..750eb3873 --- /dev/null +++ b/beta_14_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Code-ramification in Rust ne es surprisant.

Conditiones ne prende parentheses! Esque noi vermen alquande besonat les? Nu nor logica sembla nett e clar.

Omni tui usual operatores logical functiona quam sempre: ==, !=, <, >, <=, >=, !, ||, &&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_it.html b/beta_14_it.html new file mode 100644 index 000000000..97eb44149 --- /dev/null +++ b/beta_14_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Il modo di creare ramificazioni if/else nel codice in Rust non è sorprendente.

+

Le condizioni non richiedono parentesi! Ne abbiamo mai avuto davvero bisogno? In questo modo la logica è più chiara e pulita.

+

Tutti gli operatori relazionali e logici funzionano come sempre: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_ja.html b/beta_14_ja.html new file mode 100644 index 000000000..38cf3cb63 --- /dev/null +++ b/beta_14_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Rust でのコード分岐はそれほど目新しくはありません。

+

条件には括弧がありませんが、本当に必要だったでしょうか?これでコードはすっきりします。

+

いつもの論理演算子が使えます: ==, !=, <, >, <=, >=, !, ||, &&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_ko.html b/beta_14_ko.html new file mode 100644 index 000000000..33e655dbe --- /dev/null +++ b/beta_14_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Rust에서의 코드 분기는 놀랄게 없습니다.

+

조건문에 괄호가 없습니다! 괄호가 필요하긴 했던가요? 우리의 로직이 이제 멋지고 깔끔해 보입니다.

+

모든 일반적인 관계 연산자와 논리 연산자가 그대로 동작합니다: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_pl.html b/beta_14_pl.html new file mode 100644 index 000000000..9f295ae13 --- /dev/null +++ b/beta_14_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Zjawisko rozgałęziania z pewnością nie jest nowością wprowadzoną na potrzeby Rusta.

+

Co może zaskoczyć to brak nawiasów w naszych wyrażeniach warunkowych! Czy rzeczywiście były one potrzebne? Wychodzi na to, że bez nich nasz kod wygląda jednak nieco czyściej.

+

Wszystkie powszechnie stosowane wyrażenia logiczne i porównania oczywiście nadal znajdują w Ruscie zastosowanie: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_pt-br.html b/beta_14_pt-br.html new file mode 100644 index 000000000..3b2b1d361 --- /dev/null +++ b/beta_14_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

A ramificação de código em Rust não tem nenhuma novidade.

+

Não há parêntesis nas condições! Realmente precisamos deles? Assim a nossa lógica fica mais simples e limpa.

+

Todos os nossos operadores relacionais e lógicos habituais continuam funcionando: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_ro.html b/beta_14_ro.html new file mode 100644 index 000000000..6c05abf0d --- /dev/null +++ b/beta_14_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else

+

Ramificarea codului în Rust nu este surprinzătoare.

+

Condițiile nu au nevoie de paranteze! Am avut vreodată de fapt nevoie de ele? Logica noastră poate arăta acum frumos și curat.

+

În rest, toți operatorii relaționali și logici funcționează la fel: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_ru.html b/beta_14_ru.html new file mode 100644 index 000000000..0dd05821b --- /dev/null +++ b/beta_14_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Ветвление кода в Rust не особо отличается от того, к чему вы привыкли.

+

Условия не оборачиваются в круглые скобки! Разве они нам действительно нужны? Теперь условные +конструкции выглядят красиво и чисто.

+

Все логические операторы, к которым вы так привыкли, всё еще работают: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_th.html b/beta_14_th.html new file mode 100644 index 000000000..5cee57856 --- /dev/null +++ b/beta_14_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

การสร้างทางเลือกในโค้ดของ Rust ไม่มีอะไรให้ประหลาดใจ แฮร่!

+

ในเงื่อนไขไม่ต้องมีวงเล็บ! ถามจริง เราเคยต้องการมันด้วยเหรอ? ตอนนี้ตรรกะของเราช่างดูงดงามแถมยังสะอาดสะอ้านเสียจริง

+

และพวก operation ที่เราคุ้นเคยก็ยังมีให้ใช้เหมือนเดิม: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_tr.html b/beta_14_tr.html new file mode 100644 index 000000000..af8e646cc --- /dev/null +++ b/beta_14_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Dallanma yapısının eksik parantezleri dışında, burada gördüğünüz Rust kodu bizi fazla şaşırtmaz.

+

Rust'ın koşullu ifadelerde paranteze ihtiyaç duymaması, kodumuzun daha temiz ve +daha rahat okunabilir olmasını sağlar. Parantezlerin yokluğu mantıksal işleçlerin çalışmasını engellemeyeceğinden, bu işleçlerin her birini: !, !=, ||, &&, <, >, <=, >= yandaki örnek kod üzerinde kolaylıkla deneyip değerlendirebilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_ua.html b/beta_14_ua.html new file mode 100644 index 000000000..60e5ae1c1 --- /dev/null +++ b/beta_14_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Розгалуження в Rust саме такі, якими ви звикли їх бачити.

+

Умови не мають бути обгорнутими в дужки. Та чи були вони взагалі коли-небудь потрібні? Зараз наш код виглядає значно чистіше.

+

Усі логічні оператори і оператори відношень працюють як і раніше: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_vi.html b/beta_14_vi.html new file mode 100644 index 000000000..ab58a6db1 --- /dev/null +++ b/beta_14_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Điều kiện if/else

+

Việc phân nhánh mã trong Rust không có gì đáng ngạc nhiên.

+

Điều kiện không có dấu ngoặc đơn! Có bao giờ chúng ta thực sự cần chúng không? Logic của chúng ta bây giờ trông thật "nice" và "clean".

+

Tất cả các toán tử quan hệ và logic thông thường vẫn hoạt động: ==, !=, <, >, <=, >=, !, ||, &&.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_zh-cn.html b/beta_14_zh-cn.html new file mode 100644 index 000000000..29e7569e1 --- /dev/null +++ b/beta_14_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

Rust 中的代码分支不足为奇。

+

Rust 的条件判断没有括号!~~需要括号干什么。~~我们现有的逻辑就看起来就很干净整洁呀。

+

不过呢,所有常见的逻辑运算符仍然适用:==!=<><=>=!||&&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_14_zh-tw.html b/beta_14_zh-tw.html new file mode 100644 index 000000000..4d6e9ff70 --- /dev/null +++ b/beta_14_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

if/else if/else

+

程式碼分支在 Rust 裡並不是什麼新奇的東西。

+

條件敘述沒有括號!我們真的需要它們嗎?我們的邏輯現在看起來漂亮且清晰。

+

所有你常用的關係式及邏輯運算符號仍然正常運作:==!=<><=>=!||&&

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_al.html b/beta_15_al.html new file mode 100644 index 000000000..8ca6216b8 --- /dev/null +++ b/beta_15_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop/lak

+

Keni nevojë për një lak të pafund?

+

Rust e bën të lehtë.

+

'break' do t'i shpëtojë një lak kur të jeni gati.

+

"loop" ka një sekret për të cilin do të flasim së shpejti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_ar.html b/beta_15_ar.html new file mode 100644 index 000000000..2d7b386d3 --- /dev/null +++ b/beta_15_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الحلقة (loop)

+

اتحتاج إلى حلقة لا نهائية؟

+

رست (Rust) يجعلها سهلة.

+

الكلمة المفتاحية break سوف تفلتك (تخرجك) من الحلقة عندما تكون مستعدًا.

+

الحلقة loop لديها سر سنتحدث عنه قريبا.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_de.html b/beta_15_de.html new file mode 100644 index 000000000..cc575e1bd --- /dev/null +++ b/beta_15_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Unendliche Schleifen gefällig? loop macht es möglich!

+

Mit break kann die Schleife unterbrochen werden.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_en.html b/beta_15_en.html new file mode 100644 index 000000000..b06a3f759 --- /dev/null +++ b/beta_15_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Need an infinite loop?

+

Rust makes it easy.

+

break will escape a loop when you are ready.

+

loop has a secret we'll talk about soon.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_es.html b/beta_15_es.html new file mode 100644 index 000000000..160ba653f --- /dev/null +++ b/beta_15_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

¿Necesitas un bucle infinito? +Con Rust es muy sencillo. +break nos permite salir de un bucle cuando lo indiquemos. +loop guarda un secreto del que te hablaremos más adelante.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_fa.html b/beta_15_fa.html new file mode 100644 index 000000000..18ba1a57a --- /dev/null +++ b/beta_15_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Need an infinite loop?

+

Rust makes it easy.

+

break will escape a loop when you are ready.

+

loop has a secret we'll talk about soon.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_fi.html b/beta_15_fi.html new file mode 100644 index 000000000..7861eb57f --- /dev/null +++ b/beta_15_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Tarvitsetko ääretöntä silmukkaa?

+

Rust tekee sen helpoksi.

+

break keskeyttää silmukan, kun olet valmis.

+

loop puolestaan kätkee sisäänsä salaisuuden, josta puhumme pian.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_fr.html b/beta_15_fr.html new file mode 100644 index 000000000..9002e829a --- /dev/null +++ b/beta_15_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Besoin d'une boucle infinie?

+

Avec Rust, c'est facile!

+

break permet de sortir de la boucle à tout moment.

+

Quant à l'instruction loop, celle-ci possède un secret dont nous parlerons plus tard.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_gr.html b/beta_15_gr.html new file mode 100644 index 000000000..343642328 --- /dev/null +++ b/beta_15_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Χρειάζεστε έναν ατέρμονα βρόχο; Με τη Rust αυτό είναι εύκολο. Το break θα λήξει ένα βρόχο μόλις είστε έτοιμοι.

+

Το loop έχει ένα μυστικό για το οποίο θα μιλήσουμε σύντομα.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_hu.html b/beta_15_hu.html new file mode 100644 index 000000000..a4dab8320 --- /dev/null +++ b/beta_15_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Szükséged volna egy végtelen ciklusra?

+

A Rust-tal ez egyszerű.

+

A break utasítás pedig kitör a ciklusból, ha arra van szükség.

+

A loop-nak van egy titka, amire hamarosan még kitérünk.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_id.html b/beta_15_id.html new file mode 100644 index 000000000..d799e7257 --- /dev/null +++ b/beta_15_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Butuh loop tak-terbatas?

+

Rust membuat hal tersebut menjadi mudah.

+

break akan menghentikan loop ketika kamu siap.

+

loop mempunyai rahasia, kita akan membicarakannya nanti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_ie.html b/beta_15_ie.html new file mode 100644 index 000000000..9b88fee7d --- /dev/null +++ b/beta_15_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop (cicle)

+

Tu besona un cicle ínfinit?

Con Rust it es simplic.

Con break on exea un cicle quande on es pret.

loop have un secrete pri quel noi va parlar max bentost.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_it.html b/beta_15_it.html new file mode 100644 index 000000000..95117f125 --- /dev/null +++ b/beta_15_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Hai bisogno di un ciclo infinito ?

+

In Rust è semplice.

+

con break potrai uscire dal ciclo quando ne avrai bisogno.

+

loop ha anche un segreto di cui parleremo presto.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_ja.html b/beta_15_ja.html new file mode 100644 index 000000000..ef6157f56 --- /dev/null +++ b/beta_15_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

無限ループが必要ですか?

+

Rust では簡単です。

+

break によってループから脱出できます。

後で見ますが loop には秘密があります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_ko.html b/beta_15_ko.html new file mode 100644 index 000000000..46b7b8555 --- /dev/null +++ b/beta_15_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

무한 반복문이 필요하십니까?

+

Rust에서는 쉬운 일입니다.

+

break는 여러분이 준비되면 loop을 탈출하게 해줍니다.

+

loop에는 우리가 곧 알아볼 비밀이 한 가지 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_pl.html b/beta_15_pl.html new file mode 100644 index 000000000..2de74ab45 --- /dev/null +++ b/beta_15_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Potrzebujesz nieskończonej pętli?

+

Nie ma sprawy. W Ruscie jest to bardzo prosta sprawa. Wystarczy napisać loop.

+

break zatrzyma wykonywanie pętli kiedy tylko sobie tego zażyczysz.

+

Pętla loop kryje pewien sekret o którym powiemy sobie więcej już wkrótce.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_pt-br.html b/beta_15_pt-br.html new file mode 100644 index 000000000..ae157dbf8 --- /dev/null +++ b/beta_15_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Precisando de um loop infinito?

+

Rust faz isso fácil.

+

O break nos permite sair de um loop quando precisar.

+

O loop tem um segredo do qual falaremos em breve.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_ro.html b/beta_15_ro.html new file mode 100644 index 000000000..0a7501be1 --- /dev/null +++ b/beta_15_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bucle

+

Aveți nevoie de o buclă infinită?

+

Rust face asta într-un mod foarte simplu.

+

break vă va arunca în afara buclei când sunteți pregătit.

+

loop are un secret despre care vom vorbi curând.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_ru.html b/beta_15_ru.html new file mode 100644 index 000000000..1d83d75ea --- /dev/null +++ b/beta_15_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Нужен бесконечный цикл?

+

В Rust есть такой.

+

break прервёт выполнение цикла, когда вам будет нужно.

+

loop имеет секрет, о котором мы вскоре поговорим.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_th.html b/beta_15_th.html new file mode 100644 index 000000000..516b85e14 --- /dev/null +++ b/beta_15_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

อยากได้ลูปแบบไม่มีจุดจบเหรอ?

+

Rust จัดให้

+

break จะพาคุณหนีออกจากลูปเมื่อคุณต้องการ

+

loop คำนี้มีความลับที่เดี๋ยวเราจะบอก

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_tr.html b/beta_15_tr.html new file mode 100644 index 000000000..27883835f --- /dev/null +++ b/beta_15_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

Bir sonsuz döngüye ihtiyaç duyduğunuzda, Rust bu işi sizin için kolaylaştırır.

+

Eğer sonsuz döngüden çıkmak isterseniz, break anahtar sözcüğünü kullanabilirsiniz.

+

loop anahtar kelimesininin sırlarını keşfetmeye ilerleyen bölümlerde devam edeceğiz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_ua.html b/beta_15_ua.html new file mode 100644 index 000000000..5271920cf --- /dev/null +++ b/beta_15_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Цикли

+

Вам потрібен безкінечний цикл? З Rust'ом це зробити дуже легко.

+

break вийде з циклу коли ви будете до цього готові.

+

loop має секрет, до якого ми повернемося пізніше.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_vi.html b/beta_15_vi.html new file mode 100644 index 000000000..ae700b012 --- /dev/null +++ b/beta_15_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop(vòng lặp)

+

Bạn cần một vòng lặp vô hạn?

+

Rust khiến cho điều đó trở nên dễ dàng.

+

break giúp bạn thoát ra khỏi một vòng lặp khi bạn muốn.

+

vòng lặp có một bí mật sẽ được bật mí sau.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_zh-cn.html b/beta_15_zh-cn.html new file mode 100644 index 000000000..f61febb8e --- /dev/null +++ b/beta_15_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

循环

+

需要一个无限循环?

+

使用 Rust 很容易实现。

+

break 会退出当前循环。但 loop 还有个秘密,我们很快讲到。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_15_zh-tw.html b/beta_15_zh-tw.html new file mode 100644 index 000000000..08c439599 --- /dev/null +++ b/beta_15_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop

+

需要一個無窮迴圈嗎?

+

Rust 將它變得很簡單。

+

當你準備好時,break 會離開一個迴圈。

+

loop 有個秘密,我們很快就會談到它。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_al.html b/beta_16_al.html new file mode 100644 index 000000000..f48417436 --- /dev/null +++ b/beta_16_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

"while" ju lejon të shtoni me lehtësi një kusht në një lak.

+

Nëse kushti vlerësohet në "false", cikli do të dalë.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_ar.html b/beta_16_ar.html new file mode 100644 index 000000000..2d02cf915 --- /dev/null +++ b/beta_16_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

طالما (while)

+

الكلمة الفتاحية while (طالما) تمكنك من إضافة شروط للحلقة (loop).

+

وطالما الشرط صحيح true فالحلقة تستمر، أما إذا كان تقييم الشرط هو خطأ false، سوف تخرج من الحلقة (loop).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_de.html b/beta_16_de.html new file mode 100644 index 000000000..34932a1db --- /dev/null +++ b/beta_16_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while Schleifen werden so lange ausgeführt, bis aus der angegeben Kondition false evaluiert wird.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_en.html b/beta_16_en.html new file mode 100644 index 000000000..85ceb02d0 --- /dev/null +++ b/beta_16_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while lets you easily add a condition to a loop.

+

If the condition evaluates to false, the loop will exit.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_es.html b/beta_16_es.html new file mode 100644 index 000000000..8d8a1d2f8 --- /dev/null +++ b/beta_16_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while permite añadir fácilmente una condición al bucle. +El bucle terminará cuando la condición se evalúe a false

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_fa.html b/beta_16_fa.html new file mode 100644 index 000000000..648dad0e7 --- /dev/null +++ b/beta_16_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while lets you easily add a condition to a loop.

+

If the condition evaluates to false, the loop will exit.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_fi.html b/beta_16_fi.html new file mode 100644 index 000000000..36abc2ee5 --- /dev/null +++ b/beta_16_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while antaa sinulle mahdollisuuden helposti lisätä ehtolausekkeen silmukkaan.

+

Jos ehtolauseke on false, silmukka poistuu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_fr.html b/beta_16_fr.html new file mode 100644 index 000000000..4209fbbb3 --- /dev/null +++ b/beta_16_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while permet d'ajouter facilement une condition à une boucle.

+

Si la condition est évaluée à faux, alors la boucle s'arrête.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_gr.html b/beta_16_gr.html new file mode 100644 index 000000000..cb94bcf5c --- /dev/null +++ b/beta_16_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

Το while μας επιτρέπει να προσθέσουμε εύκολα μία συνθήκη σ' ένα βρόχο.

+

Όταν η συνθήκη γίνει ψευδής, ο βρόχος θα τερματίσει.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_hu.html b/beta_16_hu.html new file mode 100644 index 000000000..278ea4d3b --- /dev/null +++ b/beta_16_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

A while segítségével egy feltételt szabhatsz a ciklusodnak.

+

Amint a feltétel false (hamis) értéket vesz, a ciklus megszakad.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_id.html b/beta_16_id.html new file mode 100644 index 000000000..087e5f816 --- /dev/null +++ b/beta_16_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while mempermudah kita untuk menambahkan kondisi pada loop.

+

Jika kondisi terevaluasi menjadi false, maka loop akan selesai.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_ie.html b/beta_16_ie.html new file mode 100644 index 000000000..d29768a67 --- /dev/null +++ b/beta_16_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while (durant)

+

while possibilisa te adjunter un condition a un cicle.

Si li condition evalua se a false, li cicle va exear.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_it.html b/beta_16_it.html new file mode 100644 index 000000000..224aa16b9 --- /dev/null +++ b/beta_16_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while ti permette di creare un ciclo con condizione.

+

Quando la condizione risulta false, il ciclo terminerà.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_ja.html b/beta_16_ja.html new file mode 100644 index 000000000..deda7952b --- /dev/null +++ b/beta_16_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while を使えば、ループに条件を簡単に追加できます。

+

条件が false と評価された場合、ループは終了します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_ko.html b/beta_16_ko.html new file mode 100644 index 000000000..57b86eb5f --- /dev/null +++ b/beta_16_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while은 반복문에 조건을 간단히 넣을 수 있게 해줍니다.

+

조건의 평가결과가 false인 경우, 반복문은 종료됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_pl.html b/beta_16_pl.html new file mode 100644 index 000000000..064a1effe --- /dev/null +++ b/beta_16_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while pozwala na dodanie warunku do naszej pętli.

+

Jeśli warunek zostanie obliczony i wykaże false, wykonywanie pętli zostanie przerwane.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_pt-br.html b/beta_16_pt-br.html new file mode 100644 index 000000000..b1c54d1b5 --- /dev/null +++ b/beta_16_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

O while permite que você estabeleça facilmente uma condição no loop.

+

Se a condição avaliar falso, o loop terminará.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_ro.html b/beta_16_ro.html new file mode 100644 index 000000000..7263d8605 --- /dev/null +++ b/beta_16_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while vă lasă să adăugați o condiție logică unei bucle.

+

Dacă condiția impusă buclei devine falsă, bucla se va termina.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_ru.html b/beta_16_ru.html new file mode 100644 index 000000000..3f3a9581a --- /dev/null +++ b/beta_16_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while позволяет легко добавить условие в цикл.

+

Если условие вычисляется в false, то цикл завершится.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_th.html b/beta_16_th.html new file mode 100644 index 000000000..d5c1e695a --- /dev/null +++ b/beta_16_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while ให้คุณใส่เงื่อนไขลงไปในลูปได้อย่างง่ายดาย

+

ถ้าเงื่อนไขถูกประเมินว่าเป็น false มันจะออกจากลูป

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_tr.html b/beta_16_tr.html new file mode 100644 index 000000000..0384492ce --- /dev/null +++ b/beta_16_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while Anahtar kelimesi bir döngüye kolayca koşul eklemenizi sağlar.

+

Koşul true olduğu sürece işletilen bu döngüden, koşul false olduğunda çıkılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_ua.html b/beta_16_ua.html new file mode 100644 index 000000000..428ed151c --- /dev/null +++ b/beta_16_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while дозволяє вам легко додати умови виходу з циклу.

+

Якщо умова повертає false, цикл буде полишено.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_vi.html b/beta_16_vi.html new file mode 100644 index 000000000..babf55f4c --- /dev/null +++ b/beta_16_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while giúp bạn dễ dàng thêm một điều kiện vào một vòng lặp.

+

Khi mà điều kiện trả về false (là nó bị sai á 😜), vòng lặp sẽ kết thúc.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_zh-cn.html b/beta_16_zh-cn.html new file mode 100644 index 000000000..13f7a2495 --- /dev/null +++ b/beta_16_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while 允许你轻松地向循环添加条件。

+

如果条件一旦变为 false,循环就会退出。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_16_zh-tw.html b/beta_16_zh-tw.html new file mode 100644 index 000000000..01639eb6c --- /dev/null +++ b/beta_16_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

while

+

while 讓你輕鬆的加入一個條件到迴圈裡。

+

如果該條件的結果是 false,那迴圈將會中止。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_al.html b/beta_17_al.html new file mode 100644 index 000000000..38a04d716 --- /dev/null +++ b/beta_17_al.html @@ -0,0 +1,60 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Cikli 'for' i Rust është një përmirësim i fuqishëm. Ajo

+

përsëritet mbi vlera nga çdo shprehje që vlerësohet në një përsëritës. + Çfarë është

+

një përsëritës? Një përsëritës është një objekt që mund të bëni pyetjen "Çfarë është

+

artikulli tjetër qe keni?" derisa të mos ketë më artikuj.

+

Ne do ta shqyrtojmë këtë më shumë në një kapitull të ardhshëm. Ndërkohë, njihni Rust + bën

+

te lehtë të krijohen përsëritës që gjenerojnë një sekuencë numrash të plotë.

+

Operatori .. krijon një përsëritës që gjeneron numra nga fillimi + numri deri në

+

por duke mos përfshirë një numër fundor.

+

Operatori ..= krijon një përsëritës që gjeneron numra nga fillimi + numri deri në

+

dhe duke përfshirë një numër fundor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_ar.html b/beta_17_ar.html new file mode 100644 index 000000000..9c09c5470 --- /dev/null +++ b/beta_17_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مِنْ أجْلِ (for)

+

حلقة (loop) من أجل for في رست (Rust) تعتبر ترقية قوية. فهي تتكرر بناءا على مرورها على قيم أي عبارة يمكن تقيمها داخل المكرِرْ (iterator).

+

ماهو المكرِرْ (iterator)؟ هو كائن (object) يمكنك أن تطرح عليه (بالتعبير المجازي) السؤال التالي "ماهو العنصر التالي الذي عندك في القائمة؟" حتى يرد بعدم الوجود عناصر أخرى. سنكتشف المزيد عليه في فصل آخر مستقبلا.

+

حاليا في هذا المثال رست (Rust) يمكنك من إنشاء مكررات تولد سلسلة من الاعداد الصحيحة. و المعامل .. ينشء لك مكرِرْ (iterator) يولد أعداد من عدد بداية حتى عدد نهاية لا يتم تضمينه في المجموعة (في الرياضيات نكتب [n..,x[). أما المعامل ..= فهو ينشئ مكرِرْ (iterator) يولد أعداد من عدد بداية حتى عدد نهاية يتم تضمينه في المجموعة (في الرياضيات نكتب [n..,x])

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_de.html b/beta_17_de.html new file mode 100644 index 000000000..880679e1d --- /dev/null +++ b/beta_17_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

for-Schleifen in Rust sind ein großes Upgrade. +Wird ein Ausdruck (expression) in einem Iterator evaluiert, kann dieser in eine +for-Schleife eingebaut werden.

+

Was ist ein Iterator? Ein Iterator ist ein Objekt, dem die Frage "Was kommt als nächstes?" +gestellt werden kann. Sind keine Elemente mehr vorhanden, wird die Schleife abgebrochen.

+

In diesem Beispiel sehen wir, wie in Rust eine Zahlensequenz erstellt wird, über die wir iterieren +können. Hierbei gibt es zwei unterschiedliche Notationen:

+
    +
  • x..y erstellt einen Iterator, der bei x anfängt und vor y aufhört
  • +
  • x..=y erstellt einen Iterator, der bei x anfängt und y mit einschließt
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_en.html b/beta_17_en.html new file mode 100644 index 000000000..db7070854 --- /dev/null +++ b/beta_17_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust's for loop is a powerful upgrade. It +iterates over values from any expression that evaluates into an iterator. What's +an iterator? An iterator is an object that you can ask the question "What's the +next item you have?" until there are no more items.

+

We'll explore this more in a future chapter. In the meantime, just know Rust makes +it easy to create iterators that generate a sequence of integer numbers.

+

The .. operator creates an iterator that generates numbers from a start number up to +but not including an end number.

+

The ..= operator creates an iterator that generates numbers from a start number up to +and including an end number.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_es.html b/beta_17_es.html new file mode 100644 index 000000000..735b1bd81 --- /dev/null +++ b/beta_17_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

El bucle for en Rust es una gran mejora, ya que itera sobre valores en cualquier expresión que se evalúe como un iterador. ¿Qué es un iterador? Un iterador es un objeto al que le puedes hacer la pregunta: "¿Cuál es el siguiente elemento?" hasta que ya no queden más elementos.

+

Nos centraremos más en esto en próximos capítulos, mientras tanto, sólo necesitas saber que en Rust es sencillo crear iteradores que generen secuencias de números enteros.

+

El operador .. crea un iterador que genera números a partir de un número inicial pero sin incluir el número final.

+

El operador ..= crea un iterador que genera números a partir de un número inicial, incluyendo el número final.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_fa.html b/beta_17_fa.html new file mode 100644 index 000000000..9c13ea780 --- /dev/null +++ b/beta_17_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust's for loop is a powerful upgrade. It +iterates over values from any expression that evaluates into an iterator. What's +an iterator? An iterator is an object that you can ask the question "What's the +next item you have?" until there are no more items.

+

We'll explore this more in a future chapter. In the meantime, just know Rust makes +it easy to create iterators that generate a sequence of integer numbers.

+

The .. operator creates an iterator that generates numbers from a start number up to +but not including an end number.

+

The ..= operator creates an iterator that generates numbers from a start number up to +and including an end number.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_fi.html b/beta_17_fi.html new file mode 100644 index 000000000..4ce9654e8 --- /dev/null +++ b/beta_17_fi.html @@ -0,0 +1,56 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rustin for silmukka on tehokas päivitys. Se +Iteroi arvojen yli mistä tahansa lausekkeesta, joka arvioituu iteraattoriksi. Mikä +on iteraattori? Iteraattori on objekti, jolta voi kysyä "Mikä on +seuraava sinulla oleva asia?" kunnes ei enää ole asioita.

+

Tarkastelemme tätä tarkemmin tulevassa kappaleessa. Sillä välin tiedä, että Rust tekee +helpoksi iteraattoreiden luomisen, jotka generoivat sarjan kokonaislukuja.

+

.. -operaattori luo iteraattorin, joka generoi numeroita aloitusnumerosta lähtien, +mutta ei sisällytä lopetusnumeroa.

+

..=-operaattori luo iteraattorin, joka generoi numeroita annetusta aloitusnumerosta +aina lopetusnumeroon asti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_fr.html b/beta_17_fr.html new file mode 100644 index 000000000..acc4cf449 --- /dev/null +++ b/beta_17_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

La boucle for de Rust est une mise à niveau puissante qui permet +d'itérer sur les valeurs d'une expression en créant un itérateur. +Qu'est-ce qu'un itérateur? Un itérateur est un objet auquel tu peux demander +"quel est l'élément suivant?" jusqu'à ce qu'il n'y en ait plus.

+

Nous donnerons plus d'explications sur les itérateurs dans un futur chapitre. Quoi qu'il en soit, +retiens qu'avec Rust il est facile de créer des itérateurs qui génèrent une séquence de nombres entiers.

+

L'opérateur .. crée un itérateur qui génère une suite de nombres depuis la première valeur incluse +jusqu'à la dernière valeur excluse. +L'opérateur ..= crée un itérateur qui génère une suite de nombres depuis la première valeur incluse +jusqu'à la dernière valeur incluse.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_gr.html b/beta_17_gr.html new file mode 100644 index 000000000..7b1c94437 --- /dev/null +++ b/beta_17_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Ο βρόχος for της Rust είναι μία πολυδύναμη βελτίωση. Μπορεί να διατρέξει τις τιμές οποιασδήποτε έκφρασης μπορεί να ερμηνευτεί ως διαδρομέας.

+

Τι είναι διαδρομέας; Είναι ένα αντικείμενο το οποίο μπορεί κανείς να ρωτάει συνεχώς «Ποιο είναι το επόμενο στοιχείο που έχεις;» μέχρι να σωθούν τα στοιχεία.

+

Αυτό θα το εξερευνήσουμε περισσότερο σε κάποιο μετέπειτα κεφάλαιο. Προς το παρόν έχετε υπ' όψιν ότι η Rust διευκολύνει τη δημιουργία διαδρομέων που παράγουν μία ακολουθία ακεραίων αριθμών.

+

Ο τελεστής .. δημιουργεί ένα διαδρομέα που παράγει αριθμούς από κάποιον αρχικό μέχρι κάποιον τελευταίο, χωρίς να συμπεριλαμβάνει τον τελευταίο.

+

Ο τελεστής ..= δημιουργεί ένα διαδρομέα που παράγει αριθμούς από κάποιον αρχικό μέχρι και κάποιον τελευταίο, συμπεριλαμβάνοντας και τους δύο.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_hu.html b/beta_17_hu.html new file mode 100644 index 000000000..0fceaa0da --- /dev/null +++ b/beta_17_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

A Rust for ciklusa egy hatalmas előrelépést jelent. Képes minden iterátorrá váló kifejezés +elemein végiglépkedni. Mit is jelent az, hogy valami iterátor? Olyan objektumok, amiknél +megkérdezhető, hogy "Mi a következő elem?" egészen addig, amíg már nem marad elem.

+

Ezt egy későbbi fejezetben jobban is át fogjuk nézni. Addig is elég ha azt tudod, hogy a Rust +egyszerűvé teszi a számok sorait létrehozó iterárotok készítését.

+

A .. operátor egy olyan iterátort hoz létre, ami egy megadott kezdőszámtól elszámol a megadott +végső szám előtti számig.

+

A ..= operátor pedig ugyanezt teszi, viszont ekkor a végső szám is benne van a sorban.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_id.html b/beta_17_id.html new file mode 100644 index 000000000..e06f506cd --- /dev/null +++ b/beta_17_id.html @@ -0,0 +1,51 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust for loop sangatlah powerful untuk mengiterasi suatu nilai dengan expresi apapun yang dievaluasi sebagai iterator. +Apa itu Iterator? Iterator adalah objek yang dapat menjawab pernyataan seperti "item apa yang selanjutnya kau punya?" sampai tidak ada item lagi.

+

Kita akan menjelajahi hal ini lebih lanjut pada bab selanjutnya. Sementara itu, ketahuilah bahwa Rust membuat hal tersebut mudah dengan membuat iterator yang menghasilkan serangkaian integer.

+

.. operator membuat sebuah iterator yang menghasilkan angka-angka dari suatu angka sampai sebuah angka lain yang menandakan akhiran tetapi tanpa angka akhir tersesbut.

+

..= operator membuat sebuah iterator yang menghasilkan angka-angka dari suatu angka sampai sebuah angka lain yang menandakan akhiran beserta angka tersebut.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_ie.html b/beta_17_ie.html new file mode 100644 index 000000000..cc6f0a3e8 --- /dev/null +++ b/beta_17_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for (por)

+

Li cicle for de Rust es un potent amelioration. It itera sur valores de quelcunc expression queles evalua se ad-in un iterator. Quo es un iterator? Un iterator es un object a quel on posse demandar: "Quo es li cose sequent quel tu possede?" til quande ti coses es exhaustet.

Noi va explorar pri to in plu detallie in un capitul futuri, ma por li moment it mey suficer a saver que in Rust it es facil crear iteratores queles genera un sequentie de ciffres integral.

Li operator .. crea un iterator quel genera ciffres ex un comensant ciffre til, ma ne includent, un final ciffre.

Con li operator ..= on crea un iterator quel genera ciffres ex un comensant ciffre til, e includent, un final ciffre.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_it.html b/beta_17_it.html new file mode 100644 index 000000000..47cc4f99e --- /dev/null +++ b/beta_17_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Il ciclo for di Rust è un grosso miglioramento. Itera sui valori da qualsiasi espressione che ritorni un iteratore. +Cos'è un iteratore ? Un iteratore è un oggetto a cui puoi chiedere "dammi il prossimo elemento", finchè non ci sono altri elementi.

+

Esploreremo questo aspetto in un capitolo futuro. Nel frattempo, ti basti sapere che Rust rende facile la creazione di iteratori che generano sequenze di numeri interi.

+

L'operatore .. crea un iteratore che genera numeri a partire da quello iniziale fino a quello finale escluso.

+

L'operatore ..= crea un iteratore che genera numeri a partire da quello iniziale fino a quello finale incluso.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_ja.html b/beta_17_ja.html new file mode 100644 index 000000000..4c85c797c --- /dev/null +++ b/beta_17_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust の for ループは強力に改良されています。 +イテレータとして評価される式を反復処理します。 +イテレータとは何でしょうか? +イテレータとは、項目がなくなるまで「次の項目は何ですか?」と質問することができるオブジェクトです。

+

それについては後の章で詳しく説明します。とりあえず、Rust では整数のシーケンスを生成するイテレータを、簡単に作成できることを知っておいてください。

+

.. 演算子は、開始番号から終了番号の手前までの数値を生成するイテレータを作成します。

+

..= 演算子は、開始番号から終了番号までの数値を生成するイテレータを作成します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_ko.html b/beta_17_ko.html new file mode 100644 index 000000000..0117e6820 --- /dev/null +++ b/beta_17_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust의 for 반복문은 강력한 업그레이드입니다. +어떠한 표현이든지, 그로부터 평가된 반복자의 값을 반복합니다. +반복자란 무엇일까요? 반복자는 더 가진게 없을 때까지 "다음에 가진게 뭐야?" 라고 요청할 수 있는 객체입니다.

+

이건 앞으로 더 살펴볼겁니다. 그동안에는 일단 Rust가 +정수의 배열을 생성하는 반복자를 만들기 쉽게 한다고만 알고 있읍시다.

+

.. 연산자는 시작 숫자에서 끝 숫자 전까지의 숫자들을 생성하는 반복자를 만듭니다.

+

..= 연산자는 시작 숫자에서 끝 숫자까지의 숫자들을 생성하는 반복자를 만듭니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_pl.html b/beta_17_pl.html new file mode 100644 index 000000000..7484aeb1b --- /dev/null +++ b/beta_17_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

for oznacza poważny awans w hierarchii pętli Rusta. Ta pętla będzie iterować na zbiorze wartości dostarczonym przez przypisane wyrażenie. Wyrażenie to musi zwracać iterator.

+

Czym jest iterator? Iterator to obiekt któremu możemy zadać pytanie "Jaki jest następny element w twoim zbiorze?" dopóki zbiór nie zostanie wyczerpany.

+

Iteratorom przyjrzymy się bliżej w jednym z przyszłych rozdziałów. Póki co wystarczy, że zapamiętasz, że w Ruscie proste jest tworzenie z pomocą iteratorów sekwencji liczb całkowitych, co bardzo przydaje się przy definicji pętli for.

+

Operator .. tworzy iterator który generuje liczby począwszy od pewnej liczby startowej aż to, lecz nie wliczając, liczby końcowej.

+

Jeśli chcemy wliczyć liczbę końcową w zbiór generowany przez taki iterator, możemy skorzystać z ..=.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_pt-br.html b/beta_17_pt-br.html new file mode 100644 index 000000000..c2a8d676e --- /dev/null +++ b/beta_17_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

O loop for do Rust é uma grande melhoria, uma vez que ele itera sobre valores de qualquer expressão que se avalie como um iterador. O que é um iterador? Um iterador é um objeto ao qual você pode perguntar "qual o seu próximo item?" até que não haja mais itens.

+

Iremos explorar mais isso em um capítulo futuro, mas por enquanto basta saber que em Rust é fácil criar iteradores que geram uma seqüência de números inteiros.

+

O operador .. cria um iterador que gera uma seqüência a partir de um número inicial até, mas não incluso, um número final.

+

O operador ..= cria um iterador que gera uma seqüência a partir de um número inicial até um número final, inclusive.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_ro.html b/beta_17_ro.html new file mode 100644 index 000000000..3b938fe1d --- /dev/null +++ b/beta_17_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Bucla for din Rust e o îmbunătățire importantă. Ea +iterează peste valorile oricărei expresii care poate fi transformată într-un iterator. Vă întrebați +ce este un iterator? Un iterator este un obiect pe care îl puteți întreba "Care este +următorul element pe care îl ai?" până când acesta nu mai are elemente.

+

Vom explora acest lucru într-un capitol viitor. Între timp, țineți minte că Rust poate +crea ușor iteratori care generează o secvență de numere întregi.

+

Operatorul .. creează un iterator care generează numere de la un număr până la +alt număr, din unu în unu, fără să îl includă pe cel din urmă.

+

Operatorul ..= creează un iterator care generează numere de la un număr până la +alt număr, din unu în unu, inclusiv cel din urmă.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_ru.html b/beta_17_ru.html new file mode 100644 index 000000000..8e029215d --- /dev/null +++ b/beta_17_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust цикл for, очень мощное средство. +Он перебирает значения из любого выражения, которое может вычисляться в итератор. А +что такое итератор? Итератор - это обьект, которому вы можете сказать "Дай мне +свой следующий элемент!" и так до тех пор, пока в нём не останется элементов.

+

Мы посмотрим на это в следующей главе, между прочим Rust позволяет очень легко создавать итераторы, которые генерируют последовательности целых чисел.

+

Оператор .. создает итератор, который генерирует числа от начального числа включительно и до второго указанного числа, но не включая самое последнее число последовательности, в математике это называют полуинтервалом [0..5).

+

Оператор ..= создает итератор, генерирующий числа от начального значения до последнего числа последовательности, включая это последний номер по замкнутому интервалу [0..5]. Разница между ними в том что в первом случае пятёрка не попадет в цикл, а втором она попадет.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_th.html b/beta_17_th.html new file mode 100644 index 000000000..45618d638 --- /dev/null +++ b/beta_17_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

for ของ Rust พัฒนาไปอีกขั้นด้วยการที่ มันสามารถ วนลูปซ้ำๆให้กับนิพจน์ใดก็ตามที่ถูกประเมินว่าเป็น iterator +แล้ว iterator คืออะไรน่ะเหรอ? เจ้า iterator มันก็คือ ออปเจ็ค ที่คุณสามารถถามมันว่า "คุณมีของอะไรอีกบ้าง?" ไปจนกว่ามันจะไม่มีอะไรให้คุณอีก

+

เราค่อยมาสำรวจเรื่องนี้กันต่อภายหลัง ตอนนี้รู้ไว้เพียงแค่ Rust สร้าง iterator จากลำดับของตัวเลขได้ง่ายมากๆ

+

operator .. สร้าง iterator จากตัวเลขเริ่มต้นทางซ้ายไปเรื่อยๆจนถึง แต่ไม่รวมค่าทางด้านขวา

+

operator ..= สร้าง iterator จากตัวเลขเริ่มต้นทางซ้ายไปเรื่อยๆจนถึง และรวมค่าทางด้านขวา

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_tr.html b/beta_17_tr.html new file mode 100644 index 000000000..d35faad92 --- /dev/null +++ b/beta_17_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust'un for döngüsü, yineleyici olarak değerlendirilen bir ifadenin, elemanları üzerinde yineleme yapılmasına izin veren güçlü bir yükseltmedir. +Yineleyici ise, tüm elemanlar tüketilene kadar "bir sonraki eleman nedir?" sorusunu yöneltebileceğimiz bir nesnedir.

+

Yineleyiciler konusunu daha sonra ayrıntılı olarak işleyeceğimizden şimdilik Rust'ta, tam sayı dizisi üreten yineleyiciler oluşturmanın oldukça kolay olduğunu bilmeniz yeterlidir.

+

.. işleciyle, verilen aralığın başlangıç sınırı dahil, bitiş sınırı hariç, arada kalan elemanlarının üretildiği bir yineleyici oluşturulur.

+

..= işleci ise, verilen aralığın hem başlangıç, hem bitiş sınırını kapsayan elemanlarının üretildiği bir yineleyici oluşturur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_ua.html b/beta_17_ua.html new file mode 100644 index 000000000..ace2f4e11 --- /dev/null +++ b/beta_17_ua.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

В Rust цикл for є досить потужним інструментом. Він перебирає значення з усіх виразів, результатом яких є ітератор.

+

Але що таке ітератор? Ітератором є об'єкт, якому ви можете поставити питання "Який твій наступний елемент?" до поки в нього нічого не залишиться.

+

Ми ще матимемо змогу ближче придивитися до ітератора в наступних розділах. А тим часом ми просто повинні знати, що ітератор можна легко створити шляхом генерації послідовності цілих чисел.

+

Оператор .. створює ітератор, що генерує послідовність від першого числа до числа вказаного другим, але не включаючи його.

+

Оператор ..= створює ітератор, що генерує послідовність від першого числа до числа вказаного другим, включно з ним.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_vi.html b/beta_17_vi.html new file mode 100644 index 000000000..dc0dccffa --- /dev/null +++ b/beta_17_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Vòng lặp for của Rust là một nâng cấp mạnh mẽ. Rust's for loop is a powerful upgrade. +Nó lặp lại các giá trị từ bất kỳ biểu thức nào được đánh giá thành một trình iterator. +Vậy iterator là gì? +Một iterator là một đối tượng mà bạn có thể đặt câu hỏi "Phần tử tiếp theo bạn có là gì?" cho đến khi không còn phần tử nào nữa.

+

Chúng ta sẽ khám phá điều này nhiều hơn trong những chương tiếp theo. Bây giờ thì chỉ cần ghi nhớ rằng Rust giúp bạn dễ dàng tạo iterator mà tạo ra một chuỗi các số nguyên.

+

Toán tử .. tạo ra một iterator khởi tạo một chuỗi số không bao gồm số cuối cùng.

+

Toán tử ..= tạo ra một iterator khởi tạo một chuỗi số bao gồm cả số cuối cùng.

+

Hãy cùng xem qua ví dụ nhé.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_zh-cn.html b/beta_17_zh-cn.html new file mode 100644 index 000000000..ff1e66e7d --- /dev/null +++ b/beta_17_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust 的 for 循环是一个强大的升级。它遍历来自计算结果为迭代器的任意表达式的值。 +迭代器是什么?迭代器是一个你可以一直询问“下一项是什么?”直到没有其他项的对象。

+

我们将在以后的章节中进一步探讨这一点,与此同时,我们知道 Rust 使创建生成整数序列的迭代器变得容易。

+

.. 运算符创建一个可以生成包含起始数字、但不包含末尾数字的数字序列的迭代器。

+

..= 运算符创建一个可以生成包含起始数字、且包含末尾数字的数字序列的迭代器。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_17_zh-tw.html b/beta_17_zh-tw.html new file mode 100644 index 000000000..8e2b21e3e --- /dev/null +++ b/beta_17_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

for

+

Rust 的 for 迴圈是個強大升級版。 它會迭代任何表達式的數值,並且將該數值放入迭代器 (iterator) 裡。 什麼是迭代器?迭代器是一個物件,你可以向這個物件詢問:「下一個物品是什麼?」,直到沒有下一個物品了。

+

我們在後續章節會探討更多。同時,現在只需要知道 Rust 可以讓你輕鬆的建立一個產生整數數列的迭代器就好了。

+

.. 運算子產生一個迭代器,而這個迭代器產生一連串的數字,從起始數字開始,但不包含最後一個數字。

+

..= 運算子產生一個迭代器,而這個迭代器產生一連串的數字,從起始數字開始直到最後一個數字。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_al.html b/beta_18_al.html new file mode 100644 index 000000000..bcf38bf70 --- /dev/null +++ b/beta_18_al.html @@ -0,0 +1,57 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Të mungon deklarata switch? Rust ka një fjalë kyçe tepër të dobishme

+

për përputhjen e të gjitha kushteve të mundshme të një vlere dhe ekzekutimin e një shtegu kodi nëse

+

ndeshja është e vërtetë. Le të shohim se si funksionon kjo për numrat. Do të kemi më shumë per te + thene

+

në kapitujt e ardhshëm mbi përputhjen e modelit të të dhënave më komplekse. Ju premtoj + do

+

ia vlej pritja.

+

"match" është shteruese, kështu që të gjitha rastet

+

duhen trajtuar.

+

Përputhja e kombinuar me destrukturimin është padyshim një nga

+

modelet më të zakonshme që do të shihni në të gjithë Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_ar.html b/beta_18_ar.html new file mode 100644 index 000000000..f3b55746c --- /dev/null +++ b/beta_18_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مُطابقة (match)

+

هل تفتقد عبارة التبديل (switch statement)؟ يحتوي رست (Rust) على كلمة فتاحية مفيدة بشكل لا يصدق لمطابقة جميع الشروط الممكنة للقيمة وتنفيذ تعليمات برمجية إذا كانت المطابقة صحيحة.

+

دعنا نرى في المثال المقابل كيف تعمل مع الارقام. سوف يكون لدينا الكثير لنقوله في الفصول القادمة حول أنماط مطابقة ذات بيانات أكثر تعقيدا. أعدك أنه يستحق الانتظار.

+

مُطابقة match تكون شاملة لذا فإنها تتعامل مع جميع الحالات.

+

المطابقة المدموجة مع التفكيك هي أحد الأنماط الأكثر شيوعا التي ستراها في لغة رست (Rust) كلها.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_de.html b/beta_18_de.html new file mode 100644 index 000000000..89b7b626f --- /dev/null +++ b/beta_18_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Du vermisst dein Switch Statement? Rust lässt dich nicht im Stich!

+

Mittels match können Werte mit allen möglichen Konditionen und Werten verglichen werden. +Konditionen ist hier vielleicht das interessanteste. Kein stupides Vergleichen, ob zwei Werte +eins zu eins übereinstimmen.

+

Hier sehen wir das "matching" auf die Zahl x angewandt.

+

match in Rust ist exhaustive (erschöpfend). Das bedeuted, dass jeder mögliche +Wert getested werden muss, den die Variable annehmen kann.

+

Hier sei schon mal erwähnt, dass ein destructuring in Kombination mit match unglaublich +viel Anwendung in der Sprache findet. Zu viel für ein Einführungskapitel leider, +weshalb wir uns dafür etwas gedulden müssen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_en.html b/beta_18_en.html new file mode 100644 index 000000000..9e71f7556 --- /dev/null +++ b/beta_18_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Miss your switch statement? Rust has an incredibly useful keyword +for matching all possible conditions of a value and executing a code path if the +match is true. Let's see how this works for numbers. We will have more to say +in future chapters on pattern matching more complex data. I promise you it will +be worth the wait.

+

match is exhaustive so all cases +must be handled.

+

Matching combined with destructuring is by far one of the +most common patterns you will see in all of Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_es.html b/beta_18_es.html new file mode 100644 index 000000000..e6a731c02 --- /dev/null +++ b/beta_18_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

¿Echas de menos el “switch”? Rust tiene una palabra reservada muy útil para hacer coincidir (matching) todas las condiciones posibles de un valor y ejecutar una ruta de código si la condición es verdadera. Veamos cómo funciona esto para los números. Nos centraremos en los patrones de coincidencia con datos más complejos en próximos capítulos, te prometo que valdrá la pena la espera.

+

match es exhaustivo, así que todos los casos deben ser evaluados.

+

El emparejamiento (matching) combinado con la desestructuración es uno de los patrones más comunes que verás en Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_fa.html b/beta_18_fa.html new file mode 100644 index 000000000..d7ce7f10b --- /dev/null +++ b/beta_18_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Miss your switch statement? Rust has an incredibly useful keyword +for matching all possible conditions of a value and executing a code path if the +match is true. Let's see how this works for numbers. We will have more to say +in future chapters on pattern matching more complex data. I promise you it will +be worth the wait.

+

match is exhaustive so all cases +must be handled.

+

Matching combined with destructuring is by far one of the +most common patterns you will see in all of Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_fi.html b/beta_18_fi.html new file mode 100644 index 000000000..8c42513b8 --- /dev/null +++ b/beta_18_fi.html @@ -0,0 +1,55 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Kaipaatko switch-lausetta? Rust-kielessä on uskomattoman hyödyllinen avainsana +kaikkien mahdollisten ehtojen vastaamiseen ja koodipolun suorittamiseen, jos ehto +on tosi. Katsotaanpa, miten tämä toimii luvuille. Meillä on enemmän sanottavaa +tulevissa kappaleissa monimutkaisempien tietojen käsittelystä. Lupaan, että se +on odotuksen arvoista.

+

match on täydellinen, joten kaikki tapaukset (cases) +täytyy käsitellä.

+

Matchaaminen yhdistettynä purkamiseen on selvästi yksi +yleisimmistä kaavoista, joita näet Rustissa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_fr.html b/beta_18_fr.html new file mode 100644 index 000000000..68cecde19 --- /dev/null +++ b/beta_18_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

La structure de contrôle switch te manque? Rust possède un mot clé similaire +extrêmement puissant pour comparer une valeur à un motif et permet de déclencher soit +une exécution conditionnelle soit la récupération d'une valeur (le terme anglais est +pattern matching). Regardons un exemple pour les nombres. Nous aurons plus à dire +dans les chapitres à venir lorsque nous l'appliquerons à des données plus complexes, +je te promets que cela vaut la peine d'attendre.

+

match est exhaustif donc tous les cas doivent être pris en compte.

+

La destructuration combinée avec match fournit un des patterns les plus utilisé de Rust. Tu pourra le constater par toi même.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_gr.html b/beta_18_gr.html new file mode 100644 index 000000000..d7c0018b0 --- /dev/null +++ b/beta_18_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Σας λείπει η δήλωση switch; Η Rust έχει μία απίστευτα χρήσιμη λέξη-κλειδί για τον εντοπισμό κάθε πιθανής κατάστασης μίας τιμής, και την εκτέλεση ενός τμήματος κώδικα για την κάθε μία απ' αυτές. Ας δούμε πώς λειτουργεί αυτό για αριθμούς. Θα έχουμε αργότερα κι άλλα να πούμε σε μετέπειτα κεφάλαια ως προς το πώς ταιριάζουμε πρότυπα πιο πολύπλοκων δεδομένων. Υπόσχομαι ότι θα αξίζει την αναμονή.

+

Το match είναι εξαντλητικό, οπότε πρέπει να συμπεριληφθεί κάθε πιθανή περίπτωση.

+

Το ταίριασμα αυτού του είδους, σε συνδυασμό με την αποδόμηση, είναι μακράν ένα απ' τα πιο συνήθη πρότυπα που παρατηρεί κανείς σε όλην τη Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_hu.html b/beta_18_hu.html new file mode 100644 index 000000000..54f5bb552 --- /dev/null +++ b/beta_18_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Hiányolod a switch szerkezetet? A Rust rendelkezik egy nagyon hasznos kulcsszóval, ami lehetővé +teszi, hogy minden lehetséges esetet lekezelj úgy, hogy ezek közül az első illeszkedő ág fog +lefutni. Egyelőre azt fogjuk megnézni, hogy ez hogyan működik számok esetén. A későbbi fejezetek +során még több szó is lesz az ennél komplexebb adatok mintáinak összehasonlításáról. Ígérem, +megéri várni rá!

+

A match szerkezet elvárja, hogy az összes eset le legyen kezelve.

+

Az adatok szétbontásával kombinált összehasonlítás a Rust egyik leggyakrabban előforduló +mintája.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_id.html b/beta_18_id.html new file mode 100644 index 000000000..1ee2fbb7b --- /dev/null +++ b/beta_18_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Kangen dengan switch statement? Rust mempunyai kata kunci yang sangat powerful untuk mencocokkan semua kemungkinan kondisi dari sebuah nilai dan mengksekusi code tersebut ketika kondisi cocok (dievaluasi sebagai true). Kita akan melihat bagaimana hal ini hal ini bekerja pada angka. Kita punya banyak hal yang akan disampaikan pada bab yang akan datang pada bab pencocokkan pola pada data struktur kompleks. Saya berjanji hal tersebut sangatlah layak untuk ditunggu.

+

match merupakan kata kunci yang bersifat menyeluruh, jadi semua kasus harus di tangani.

+

Match dikombinasikan dengan destructuring, sampai saat ini sangatlah umum dan kamu akan melihat hal tersebut disepanjang Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_ie.html b/beta_18_ie.html new file mode 100644 index 000000000..c52cd0668 --- /dev/null +++ b/beta_18_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Tui declaration 'switch' te manca? In Rust trova se un íncredibilmen util clave-parol por verificar li corespondentie de omni possibil conditiones de un valore e executer li code si on trova paritá. Lass nos vider qualmen it functiona por ciffres. In li capitules a sequer noi va parlar plu detalliatmen con data con plu complexitá, e yo promesse te que it va valer li pena atender un poc.

match es exhaustiv, significante que omni possibil casus mey esser inscrit.

Serchar coresponses poy destructurar les es un modelle quel es de long li max comun inter tis queles on va vider in Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_it.html b/beta_18_it.html new file mode 100644 index 000000000..ede4e588b --- /dev/null +++ b/beta_18_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Ti manca l'istruzione switch ? Rust ha una parola chiave incredibilmente utile per controllare tutti i possibili valori di un dato ed eseguire del codice se c'è corrispondenza. Vediamo come funziona per i numeri. Avremo più aspetti da sottolineare nei capitoli futuri sul "pattern matching" di dati complessi. Prometto che varrà la pena aspettare.

+

match è esaustivo, quindi tutti i casi devono essere gestiti.

+

Il Pattern Matching combinato con la destrutturazione è di gran lunga uno degli stili idiomatici che vedrai più utilizzato in Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_ja.html b/beta_18_ja.html new file mode 100644 index 000000000..bd29e944b --- /dev/null +++ b/beta_18_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

switch 文が足りない? +Rust には、値が取り得るすべての条件にマッチさせて、マッチが真であればコードパスを実行するための、とても便利なキーワードがあります。 +これが数値に対してどのように機能するか見てみましょう。 +より複雑なデータのパターンマッチングについては、後の章で詳しく説明します。 +待つだけの価値があることをお約束します。

+

match は網羅的なので、すべてのケースを処理しなければなりません。

+

マッチングと分解を組み合わせたパターンは、Rust の中で最も一般的なパターンの一つです。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_ko.html b/beta_18_ko.html new file mode 100644 index 000000000..d7bb47ccf --- /dev/null +++ b/beta_18_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

switch 구문이 그리우십니까? Rust는 모든 가능한 조건의 값들을 대조하고 +그 결과가 true인 경우 해당 코드 경로를 실행하는, 엄청나게 유용한 키워드를 갖고 있습니다. +앞으로의 장에서는 더 복잡한 데이터의 패턴을 대조하는 방법에 대해 얘기할 것입니다. +약속컨대, 기다린 보람이 있을겁니다.

+

match의 조건은 빠짐 없이 모든 케이스를 처리해야 합니다.

+

match와 분해의 조합은 현재까지 Rust에서 가장 흔하게 사용하는 패턴입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_pl.html b/beta_18_pl.html new file mode 100644 index 000000000..6ab29884f --- /dev/null +++ b/beta_18_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Tęsknisz za instrukcją switch z języka C? Rust oferuje dla niego niesamowicie przydatny zamiennik w postaci match.

+

match pozwala na przypasowywanie możliwych stanów danej wartości do konkretnych wyników, wykonując dany kod tylko w przypadku kiedy spełniony został warunek wskazany przez programistę.

+

Spójrzmy jak to wygląda w przypadku liczb.

+

W przyszłych rozdziałach dowiemy się o wiele więcej na temat bardziej skomplikowanych wzorów dopasowań na bardziej skomplikowanych typach danych. Wytrwałości!

+

Należy wspomnieć, że match musi zawsze wyczerpać wszystkie możliwe warunki, co oznacza że musimy stworzyć dopasowanie dla każdej możliwej wartości.

+

Dopasowanie, razem z destrukturyzacją, czyli rozkładaniem struktur na części pierwsze, stanowią jeden z najpowszechniejszych wzorów programistycznych w całym Ruscie. Im szybciej się do tego przyzwyczajsz tym łatwiej będzie Ci zrozumieć kod Rust!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_pt-br.html b/beta_18_pt-br.html new file mode 100644 index 000000000..4d8f9d44f --- /dev/null +++ b/beta_18_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Sentiu falta do operador switch? O Rust tem uma palavra-chave muito útil para comparar um valor com todas as condições possíveis e executar um bloco de código se a condição for verdadeira. Vejamos como isso funciona com números. Falaremos mais a respeito de padrões de correspondência com dados mais complexos em capítulos futuros. Prometo que a espera valerá a pena.

+

O match é exaustivo, então todos os casos devem ser avaliados.

+

Correspondências (matching) combinado com desestruturação é um dos padrões mais comuns que você verá no Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_ro.html b/beta_18_ro.html new file mode 100644 index 000000000..db9df4570 --- /dev/null +++ b/beta_18_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Vă lipsește switch-ul din C? Rust are un cuvânt cheie incredibil de folositor +pentru analiza tuturor valorilor posibile ale unei variabile și executarea unei bucăți de cod dacă o anumită +valoare corespunde condițiilor puse. Hai să vedem cum merge asta pentru numere. Avem de discutat mai multe +în capitolele viitoare despre potrivirea șabloanelor (pattern matching) pentru date mai complexe. Vă promit că +va merita așteptarea.

+

match este exhaustiv, deci toate cazurile +trebuie să fie abordate și implementate.

+

Matching, combinat cu destructurarea datelor, este de departe unul din +cele mai întâlnite șabloane de programare pe care le veți vedea în Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_ru.html b/beta_18_ru.html new file mode 100644 index 000000000..155f3fd80 --- /dev/null +++ b/beta_18_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Скучаете по оператору switch? Rust имеет невероятно полезное ключевое слово +match - оно позволяет выполнять сопоставление всех возможных условий значения с серией шаблонов, образцов и затем выполнять ветку кода в зависимости от того, какое значение совпало. Давайте посмотрим, +как это работает с числами. В следующих главах мы расскажем больше о сопоставлении с образцом для более сложных данных. +Я обещаю вам, что это стоит небольшого ожидания.

+

match является исчерпывающим, поэтому все случаи вариантов сопоставления должны быть обработаны.

+

Match(-инг) комбинированный с деструктуризацей значений является одним из самых распространенных паттернов в Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_th.html b/beta_18_th.html new file mode 100644 index 000000000..8d838d5ee --- /dev/null +++ b/beta_18_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

คิดถึง switch statement ของคุณไหมล่ะ? Rust มีคีย์เวิร์ดที่มีประโยชน์อย่างเหลือเชื่อ +สำหรับจับคู่เงื่อนไขที่เป็นไปได้ทั้งหมดของค่านั้น และ เรียกใช้โค้ดตามเส้นทางที่จับคู่ได้ว่าเป็นจริง +ลองดูจากวิธีที่มันทำงานกับตัวเลขนี้ดูก่อน แล้วเราค่อยมาคุยให้ละเอียดกว่านี้ในบทต่อๆไปภายหลัง +ในเรื่องการจับคู่รูปแบบที่ซับซ้อนกว่านี้ ฉันสัญญาว่าคุ้มค่ากับการรอคอยแน่ๆ

+

match จะตรวจสอบละเอียดมาก ดังนั้นจึงควรจัดการให้ครอบคลุมทุกกรณี

+

match มักจะใช้คู่กับการแยกโครงสร้าง ซึ่งเป็นรูปแบบที่จะพบได้บ่อยๆใน Rust

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_tr.html b/beta_18_tr.html new file mode 100644 index 000000000..95ee3a3da --- /dev/null +++ b/beta_18_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Aramızda "switch" ifadesini ne zaman değineceğimizi merak edenleriniz mutlaka vardır. Uzatmadan söyleyelim Rust'ta, bir değerin olası tüm koşullarını mantıksal bir değerle eşleştiren ve doğruluğun sağlandığı durum için bir kod bloğunu işleten, son derecede yararlı bir anahtar kelime vardır. +Bunun sayılar üzerinde nasıl çalıştığını gösteren basit örneğimize geçmeden önce, örüntü eşleme konusuna ilerleyen bölümlerde daha karmaşık veriler üzerinden değineceğimizi ve o bölümün beklenmeye değer olduğunu söylemek istiyorum.

+

match epey kapsamlı olduğundan, eşleşme olasılığı bulunan tüm durumlar ayrı ayrı değerlendirilmelidir.

+

Rust'ta göreceğiniz en yaygın eşleme modellerinden biri ise yıkım ile birleştirilen eşleme modelidir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_ua.html b/beta_18_ua.html new file mode 100644 index 000000000..fb0f75ebb --- /dev/null +++ b/beta_18_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Сумуєте за оператором switch? Rust має неймовірно корисне ключове слово match, яке ставить у відповідність усі можливі типи значень і виконує ту гілку, де співпадіння знайдено.

+

Давайте подивимось як це працює для чисел. Застосування для більш складних типів даних ми розглянемо в наступних розділах. Обіцяю, очікування того варте.

+

match являється вичерпним, тож усі випадки мають бути розглянуті.

+

Використання match'інгу з деструкторами є одним з найбільш поширених патернів в Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_vi.html b/beta_18_vi.html new file mode 100644 index 000000000..83790379c --- /dev/null +++ b/beta_18_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

Bạn nghĩ rằng tiếp theo sẽ là câu lệnh switch? Không không, Rust có một từ khóa cực kỳ tiện dụng. Nó giúp bạn để so khớp tất cả các điều kiện có thể có của một giá trị và thực thi một công việc nào đó nếu kết quả khớp là đúng. +Hãy xem làm thế nào nó hoạt động với những con số. Chúng ta sẽ có nhiều điều để nói trong các chương sau về mô hình khớp với dữ liệu phức tạp hơn. Tớ hứa với bạn là nó đáng để chờ đợi đấy.

+

match là toàn diện nên tất cả các trường hợp phải được xử lý.

+

Đối sánh kết hợp với hủy cấu trúc cho đến nay là một trong những mô hình phổ biến nhất mà bạn sẽ thấy trong Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_zh-cn.html b/beta_18_zh-cn.html new file mode 100644 index 000000000..65c064075 --- /dev/null +++ b/beta_18_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

想念你的 switch 语句吗?Rust 有一个非常有用的关键字,用于匹配值的所有可能条件, +并在匹配为真时执行相应代码。我们先来看看对数字的使用。在未来章节中,我们将有更多 +更复杂的数据模式匹配的说明,我向你保证,它将值得等待。

+

match 是穷尽的,意为所有可能的值都必须被考虑到。

+

匹配与解构相结合是迄今为止你在 Rust 中看到的最常见的模式之一。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_18_zh-tw.html b/beta_18_zh-tw.html new file mode 100644 index 000000000..910fe2f81 --- /dev/null +++ b/beta_18_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

match

+

懷念你的 switch 條件判斷式嗎?Rust 有一個神妙的關鍵字 (keyword) 可以匹配所有可能的條件結果, 一旦該結果為真就執行該區間的程式碼。 現在讓我們看看這些是怎麼在數字上運作。在後續章節我們會探討更多有關複雜資料的配對。我向你保證這是值得等待的。

+

match 會徹底的檢查,所以所有可能性都必需被掌控。

+

配對與解構 (destructuring) 一起使用,是你目前為止看到 Rust 最常使用的模式之一。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_al.html b/beta_19_al.html new file mode 100644 index 000000000..f856b92c2 --- /dev/null +++ b/beta_19_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kthimi i nje vlere nga loop-i

+

loop mund te ndaloje (break) qe te ktheje nje vlere.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_ar.html b/beta_19_ar.html new file mode 100644 index 000000000..7a7529e57 --- /dev/null +++ b/beta_19_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع قيم من الحلقات (loop)

+

الحلقة loop تستطيع أن تنقطع (break) وترجع قيمة، وذلك عند إضافة القيمة بعد الكلمة المفتاحية break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_de.html b/beta_19_de.html new file mode 100644 index 000000000..ea8d379b9 --- /dev/null +++ b/beta_19_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rückgabewerte aus loop

+

In einem loop kann durch das Schlüsselwort break ein Wert zurückgegeben werden.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_en.html b/beta_19_en.html new file mode 100644 index 000000000..acf30d3f4 --- /dev/null +++ b/beta_19_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From loop

+

loop can break to return a value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_es.html b/beta_19_es.html new file mode 100644 index 000000000..46cf7738d --- /dev/null +++ b/beta_19_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Devolviendo Valores en loop

+

Podemos devolver un valor en un loop cuando usamos break

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_fa.html b/beta_19_fa.html new file mode 100644 index 000000000..ddc42f475 --- /dev/null +++ b/beta_19_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From loop

+

loop can break to return a value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_fi.html b/beta_19_fi.html new file mode 100644 index 000000000..ae022c94d --- /dev/null +++ b/beta_19_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Paluuarvon palauttaminen loopista

+

loop:illa voidaan keskeyttää ja palauttaa arvo break-lauseella.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_fr.html b/beta_19_fr.html new file mode 100644 index 000000000..26767faaf --- /dev/null +++ b/beta_19_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retourner des valeurs avec loop

+

L'instruction loop peut s'arrêter pour retourner une valeur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_gr.html b/beta_19_gr.html new file mode 100644 index 000000000..f4be8708c --- /dev/null +++ b/beta_19_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Επιστροφή τιμών από βρόχους

+

Το loop μπορεί να διακοπεί ώστε να επιστρέψει μία τιμή.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_hu.html b/beta_19_hu.html new file mode 100644 index 000000000..bcd4e4f6d --- /dev/null +++ b/beta_19_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Értékkel való visszatérés ciklusokból

+

Lehetséges úgy kitörni egy loop-ból, hogy közben egy értékkel is visszatérünk.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_id.html b/beta_19_id.html new file mode 100644 index 000000000..85cb61b42 --- /dev/null +++ b/beta_19_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mengembalikan Nilai dari Loop

+

loop dapat menggukan break untuk mengembalikan nilai.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_ie.html b/beta_19_ie.html new file mode 100644 index 000000000..185280c57 --- /dev/null +++ b/beta_19_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornar valores de loop

+

loop posse exear (break) por retornar un valore.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_it.html b/beta_19_it.html new file mode 100644 index 000000000..de20a55e4 --- /dev/null +++ b/beta_19_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Restituire valori da un ciclo

+

loop può restituire un valore con break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_ja.html b/beta_19_ja.html new file mode 100644 index 000000000..77f99e755 --- /dev/null +++ b/beta_19_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop から値を返す

+

loopbreak で抜けて値を返すことができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_ko.html b/beta_19_ko.html new file mode 100644 index 000000000..5bfb75c05 --- /dev/null +++ b/beta_19_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop에서 값 리턴하기

+

loop에서 break과 동시에 값을 리턴할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_pl.html b/beta_19_pl.html new file mode 100644 index 000000000..cf0b9a0ec --- /dev/null +++ b/beta_19_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Wartości z Pętli

+

Pętle loop mogą zwracać wartości.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_pt-br.html b/beta_19_pt-br.html new file mode 100644 index 000000000..b42fd0deb --- /dev/null +++ b/beta_19_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando Valores de um loop

+

loop podem ser interrompidos para retornar um valor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_ro.html b/beta_19_ro.html new file mode 100644 index 000000000..26f1abfad --- /dev/null +++ b/beta_19_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea unor valori dintr-o buclă

+

loop poate fi oprit pentru a returna o valoare.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_ru.html b/beta_19_ru.html new file mode 100644 index 000000000..472435c69 --- /dev/null +++ b/beta_19_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возвращение значений из loop

+

Прерывая loop, вы можете также вернуть из него значение.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_th.html b/beta_19_th.html new file mode 100644 index 000000000..7ab8ac92c --- /dev/null +++ b/beta_19_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From loop

+

loop สามารถใช้ break เพื่อคืนค่าได้ด้วย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_tr.html b/beta_19_tr.html new file mode 100644 index 000000000..6b8b8f1ea --- /dev/null +++ b/beta_19_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

loop İçinden Değer Döndürmek

+

loop içinden değer döndürebilmek için, break anahtar kelimesinden yararlanabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_ua.html b/beta_19_ua.html new file mode 100644 index 000000000..f1c7955e1 --- /dev/null +++ b/beta_19_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Певернення значень з циклів

+

loop може бути перерваний для повернення значення.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_vi.html b/beta_19_vi.html new file mode 100644 index 000000000..9407c72c3 --- /dev/null +++ b/beta_19_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trả lại giá trị từ vòng lặp

+

vòng lặp có thể được ngắt để trả về giá trị.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_zh-cn.html b/beta_19_zh-cn.html new file mode 100644 index 000000000..1ac6b225f --- /dev/null +++ b/beta_19_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

从循环中返回值

+

loop 可以被中断以返回一个值。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_19_zh-tw.html b/beta_19_zh-tw.html new file mode 100644 index 000000000..3f9d180de --- /dev/null +++ b/beta_19_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從迴圈回傳數值

+

loop 可以用 break 來回傳數值。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_al.html b/beta_20_al.html new file mode 100644 index 000000000..355a16d3d --- /dev/null +++ b/beta_20_al.html @@ -0,0 +1,56 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kthimi i vlerave nga shprehjet e bllokut

+

if, match, funksionet dhe blloqet e fushëveprimit kanë të gjitha një mënyrë unike + kthimin e vlerave në Rust.

+

Nëse deklarata e fundit në një bllok "if", "match", funksion ose fushëveprimi është një + shprehje pa

+

;, Rust do ta kthejë atë si vlerë nga blloku. Kjo

+

është një mënyrë e shkëlqyer për të krijuar logjikë koncize që kthen një vlerë që mund të vendoset + në

+

një ndryshore te re.

+

Vini re se ai gjithashtu lejon që një deklaratë "if" të funksionojë si një konciz + shprehje treshe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_ar.html b/beta_20_ar.html new file mode 100644 index 000000000..65213f92c --- /dev/null +++ b/beta_20_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع قيم من كتلة التعبيرات (Block Expressions)

+

إذا (if)، مُطابقة (match)، الدوال (functions)، أو كتلة النطاق (scope block) كلهم يملكون طريقة واحدة لإرجاع القيم في رست (Rust)

+

وإذا كانت آخر عبارة (statement) في إذا (if)، مُطابقة (match)، الدوال (functions)، أو كتلة النطاق (scope block) هو تعبير (expression) بدون فاصلة منقوطة ;، فإن رست (Rust) سوف يرجعها كقيمة من الكتلة (block). وهذه طريقة رائعة لإنشاء منطق موجز يُرجع قيمة يمكن وضعها في متغير جديد.

+

لاحظ في المثال أن رست (Rust) يسمح لعبارة if بالعمل عندما تكتب على شكل تعبير ثلاثي موجز.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_de.html b/beta_20_de.html new file mode 100644 index 000000000..12e07e4b2 --- /dev/null +++ b/beta_20_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rückgabewerte aus Blockausdrücken

+

Als Block wird in Rust ein Codestück zwischen zwei geschweiften +Klammern bezeichnet ({ /* code block */ }).

+

Hier ist eine Besonderheit in Rust: Blockausdrücke, die in if, +Funktionen etc. zu finden sind, können Werte zurückgeben (return).

+

Noch etwas idiomatisches in Rust: wenn es sich bei der letzten Zeile in einem solchen Codeblock +um einen Ausdruck (expression) ohne ; am Ende handelt, interpretiert Rust dies +als den Rückgabewert.

+

Für Leute, die ein Fan von ternary Operatoren sind und das Fragezeichensymbol in Rust vermissen, +if Statements bieten dazu die Alternative.

"

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_en.html b/beta_20_en.html new file mode 100644 index 000000000..d3cd8c52c --- /dev/null +++ b/beta_20_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From Block Expressions

+

if, match, functions, and scope blocks all have a unique way of returning values in Rust.

+

If the last statement in an if, match, function, or scope block is an expression without +a ;, Rust will return it as a value from the block. This +is a great way to create concise logic that returns a value that can be put into +a new variable.

+

Notice that it also allows an if statement to operate like a concise ternary expression.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_es.html b/beta_20_es.html new file mode 100644 index 000000000..f7c45f53a --- /dev/null +++ b/beta_20_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Devolviendo Valores en Bloques de Expresiones

+

Las sentencias if,match, funciones y bloques de código presentan maneras únicas de devolver valores en Rust.

+

Si la última sentencia de un if, match, función o bloque de código es una expresión sin ;, Rust la devolverá como valor de retorno del bloque. Esta es una gran manera de crear una lógica concisa que devuelva un valor que pueda ser asignado a un nueva variable.

+

Ten en cuenta que también permite a una sentencia if operar como una expresión ternaria concisa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_fa.html b/beta_20_fa.html new file mode 100644 index 000000000..75b1f0259 --- /dev/null +++ b/beta_20_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Values From Block Expressions

+

if, match, functions, and scope blocks all have a unique way of returning values in Rust.

+

If the last statement in an if, match, function, or scope block is an expression without +a ;, Rust will return it as a value from the block. This +is a great way to create concise logic that returns a value that can be put into +a new variable.

+

Notice that it also allows an if statement to operate like a concise ternary expression.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_fi.html b/beta_20_fi.html new file mode 100644 index 000000000..2b9d10230 --- /dev/null +++ b/beta_20_fi.html @@ -0,0 +1,52 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Palautetaan Arvoja Blokkilausekkeesta

+

if, match, funktiot ja lohkokirjoitukset (scope blocks) kaikki tarjoavat oman tavan palauttaa arvoja Rustissa.

+

Jos viimeinen lauseke if, match, funktiossa tai lohkokomentorivistä on lauseke ilman +;, Rust palauttaa sen arvon lohkosta. Tämä +on loistava tapa luoda tiivis logiikka, joka palauttaa arvon, joka voidaan sijoittaa +uuteen muuttujaan.

+

Huomaa, että se mahdollistaa myös if-lauseen toimimisen tiiviinä ternäärisenä lausekkeena.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_fr.html b/beta_20_fr.html new file mode 100644 index 000000000..bf174f67c --- /dev/null +++ b/beta_20_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retourner des valeurs avec des blocs d'instructions

+

if,match, les fonctions et les blocs d'instructions ont tous +une manière unique de retourner des valeurs avec Rust.

+

Si la dernière instruction d'un if, d'un match, d'une fonction ou d'un bloc d'instructions +se termine sans ;, alors Rust retournera le résultat de l'exécution de cette dernière ligne +en tant que valeur. C'est un moyen élégant de créer une logique conçise qui retourne +une valeur qu'on pourra ensuite stocker dans une variable.

+

Note que cela permet également l'instruction if de se comporter comme une expression ternaire.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_gr.html b/beta_20_gr.html new file mode 100644 index 000000000..5cd5f61aa --- /dev/null +++ b/beta_20_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Επιστροφή τιμών από φραγμένες εκφράσεις

+

Το if, το match, οι συναρτήσεις, και τα φράγματα κώδικα έχουν όλα στη Rust ένα μοναδικό τρόπο να επιστρέφουν τιμές. Το if λοιπόν μπορεί να χρησιμοποιηθεί στη θέση αυτού που άλλες γλώσσες αποκαλούν «τριαδικό τελεστή».

+

Σημείωση: «Φράγμα» κώδικα θεωρείται οτιδήποτε οριοθετείται από άγκιστρα: {}, επειδή δεν αφήνει στον υπόλοιπο κώδικα να βλέπει τις μεταβλητές που ορίζονται εσωτερικά του. Γι' αυτόν το λόγο καλείται ενίοτε και «φράγμα ορατότητας».

+

Αν η τελευταία έκφραση ενός φράγματος if, match, συνάρτησης, ή σκέτου {} είναι μία έκφραση χωρίς ; στο τέλος, η Rust θα το επιστρέψει ως τιμή από το φράγμα αυτό. Αυτό είναι ένας θαυμάσιος τρόπος να δημιουργήσετε συνοπτική λογική που επιστρέφει μία τιμή που μπορεί να τοποθετηθεί σε μία νέα μεταβλητή.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_hu.html b/beta_20_hu.html new file mode 100644 index 000000000..6b55272ac --- /dev/null +++ b/beta_20_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Értékkel való visszatérés blokk kifejezésekből

+

Az if, a match, a függvények és a változók hatásköreit jelző blokkok mind képesek értékkel +visszatérni a Rust nyelvben.

+

Ha ezekben az utolsó utasítás egy nem ;-vel lezárt kifejezés, akkor a Rust automatikusan +visszatér ennek az értékével. Ez remek arra, hogy tömör logikai kifejezéseket írhassunk, melyek +ezután változókba kerülnek.

+

Figyeljük meg, hogy ennek segítségével az if utasítást használhatjuk úgy, mint más nyelvekben +a feltétel ? ha_igaz : ha_hamis operátort.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_id.html b/beta_20_id.html new file mode 100644 index 000000000..1f06c5109 --- /dev/null +++ b/beta_20_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mengembalikan Nilai dari Expresi Blok

+

if, match, fungsi, dan blok scope semua mempunyai sebuah hal unik untuk mengembalikan nilai di dalam Rust.

+

Jika statement terakhir di dalam if, match, fungsi, atau blok scope adalah tanpa menggunakan ;, maka Rust akan mengembalikan nilai tersebut dari blok. Ini merupakan cara yang bagus untuk membuat sebuah logika ringkas yang mengembalikan sebuat nilai yang dapat dimasukkan ke dalam sebuah variabel.

+

Perhatikan bahwa hal tersebut juga memperbolehkan kita menggunakan if statement layaknya expresi ternary.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_ie.html b/beta_20_ie.html new file mode 100644 index 000000000..75bfdb245 --- /dev/null +++ b/beta_20_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornar valores de bloc-expressiones

+

if,match, functiones, e cadre-blocs omni possede un maniere unic por retornar valores in Rust.

Si li ultim declaration in un bloc if, functiones, o cadre-bloc es un expression sin un ;, Rust va retornar it quam un valore ex li bloc. To-ci es un bonissim maniere de crear logic concis quel retorna un valore quem on posse plazzar in un nov variabile.

Ples notar que to possibilisa que un declaration if opera quam un expression ternari concis. +

+
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_it.html b/beta_20_it.html new file mode 100644 index 000000000..e52e50107 --- /dev/null +++ b/beta_20_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Restituire valori da un blocco espressione

+

in Rust le istruzioni if, match, le funzioni, e i blocchi di scope hanno la possibilità di restituire valori.

+

Se l'ultima istruzione in una if, match, funzione, o blocco è una espressione senza ;, Rust la ritornerà come risultato del blocco. Questo è un bel modo per creare costrutti logici concisi che ritornano un valore che a sua volta potrà essere messo in una nuova variabile.

+

Nota che questo permette all'istruzione if di funzionare come un'espressione ternaria.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_ja.html b/beta_20_ja.html new file mode 100644 index 000000000..f57d808fc --- /dev/null +++ b/beta_20_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ブロック式から値を返す

+

ifmatch、関数、ブロックは、単一の方法で値を返すことができます。

+

ifmatch、関数、ブロックの最後が ; のない式であれば、戻り値として使用されます。 +これは値を返すための簡潔なロジックを作成するのに最適な方法で、その値は新しい変数に入れることができます。

+

また、if 文を三項演算子のように使用できることにも注目してください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_ko.html b/beta_20_ko.html new file mode 100644 index 000000000..b2c6e7543 --- /dev/null +++ b/beta_20_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

블록 표현에서 값 리턴하기

+

Rust에서 if, match, 함수, 그리고 범위 블록은 모두 고유의 값 리턴 방식을 갖고 있습니다.

+

if, match, 함수, 또는 범위 블록의 마지막 구문에 ';'가 없다면 +Rust는 그 값을 블록의 리턴 값으로 간주합니다. +이는 새 변수에 할당할 값을 리턴하는 간단한 로직을 생성하는데 아주 좋은 방법입니다.

+

if 구문을 간단한 3항 연산자처럼 쓸 수도 있다는 점 눈여겨 보세요.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_pl.html b/beta_20_pl.html new file mode 100644 index 000000000..4d921e3af --- /dev/null +++ b/beta_20_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Wartości z Bloków Wyrażeniowych

+

Bloki if, match, funkcji oraz zakresów - w Ruscie wszystkie one mają swoje własne sposoby na zwracanie wartości.

+

Ostatnie wyrażenie bloku if, match czy bloku funkcji lub zakresu może być wyjątkowo niezakończone średnikiem ;. W takim wypadku Rust zinterpretuje to jako wyrażenie które zwraca wartość bloku.

+

Takie zwracanie wartości przez ominięcie średnika stanowi prosty sposób na zwiększenie czytelności kodu. Zwrócona przez blok wartość może zostać przypisana do nowej wartości.

+

Zauważ, że pozwala to również na stworzenie z pomocą if czegoś co przypomina zwięzłą wersję klasycznego wyrażenia trójskładnikowego (ternary expression).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_pt-br.html b/beta_20_pt-br.html new file mode 100644 index 000000000..d725ff10b --- /dev/null +++ b/beta_20_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando Valores de um Bloco de Códígo

+

if, match, funções e blocos de código têm maneiras únicas de retornar valores em Rust.

+

Se a última instrução de um if, match, função ou bloco de código for uma expressão sem ;, o Rust vai retorná-la como um valor do bloco.

+

Esta é uma ótima maneira de criar uma lógica concisa que retorna um valor que pode ser atribuída a uma nova variável.

+

Note isso também permite que o operador if funcione como uma expressão ternária concisa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_ro.html b/beta_20_ro.html new file mode 100644 index 000000000..df7450b46 --- /dev/null +++ b/beta_20_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea unor valori din expresii bloc

+

if-urile, match-urile, funcțiile și domeniile bloc au un mod unic de a returna valori în Rust.

+

Dacă ultima instrucțiune din interiorul unui/unei if, match, funcții sau domeniu bloc este o expresie fără +;, Rust o va returna sub forma unei valori din acel bloc. Acesta +este un mod foarte bun de a crea o logică concisă care returnează o valoare care poate fi pusă într-o +variabilă nouă.

+

Observăm cum acest lucru permite unui if să funcționeze ca o expresie ternară concisă.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_ru.html b/beta_20_ru.html new file mode 100644 index 000000000..70058557e --- /dev/null +++ b/beta_20_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возвращение значений из выражений блоков

+

if, match, функции и блоки видимости (scope blocks) - все имеют уникальный способ возвращать значение.

+

Если последняя инструкция в выражении if, match, функции или блоке видимости (scope block) не завершается символом ;, то Rust вернёт это значение +из данного блока. Это отличный способ создать краткую логику, которая +возвращает какое-то значение, не создавая новую функцию и сразу же присваивая +это значение новой переменной.

+

Примечание: если if имеет ветку else, его можно использовать как краткое тернарное выражение.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_th.html b/beta_20_th.html new file mode 100644 index 000000000..32c7edd95 --- /dev/null +++ b/beta_20_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การคืนค่าจาก Block Expressions

+

if, match, ฟังก์ชัน, และ กลุ่มคำสั่งในบล็อก ใน Rust ล้วนมีวิธีการคืนค่าที่ดูน่าสนใจ

+

หากว่าในคำสั่งสุดท้ายที่อยู่ในบล็อกของ if, match, ฟังก์ชัน หรือ กลุ่มคำสั่งในบล็อก เป็นคำสั่งที่ไม่มี ; +Rust จะส่งค่าในบรรทัดนั้นกลับไปเข้าตัวแปรได้เลย ซึ่งนี่มันทำให้ตรรกะที่เขียนดูกระชับและงดงามมาก

+

สังเกตดูจะพบว่า มันยอมให้ if เขียนอยู่ในรูปแบบ ternary expression ในบรรทัดเดียวได้ด้วย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_tr.html b/beta_20_tr.html new file mode 100644 index 000000000..5980f8066 --- /dev/null +++ b/beta_20_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Blok İfadelerinden Değer Döndürmek

+

if, match, işlevler veya kapsam bloklarının her biri, Rust'ta değer döndürmenin benzersiz bir yoludur.

+

if, match, işlev veya ifade bloklarının son satırlarında, satır sonunu belirtecinin ; kullanılmaması, bu satırların işletilmesine ve elde edilen değerin döndürülmesine yol açar. Bu pratik kestirme elde edilen değerleri, yeni bir işleve ihtiyaç duymaksızın değişkenlere atamanın hızlı ve mantıklı bir yoludur.

+

Bu kestirme yöntemine dikkat ettiğinizde, if deyiminin tıpkı bir üçlü ifadeymişcesine kullanılabilir hale geldiğini görüyorsunuz değil mi?

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_ua.html b/beta_20_ua.html new file mode 100644 index 000000000..aba74d6d0 --- /dev/null +++ b/beta_20_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення значень з блокових виразів

+

if, match, функції та блоки видимості (scope blocks) мають унікальний спосіб для повернення значень в Rust.

+

Якщо останній вираз в if, match, функцій чи блоків видимості без крапки з комою (;) - Rust поверне це значення з блоку.

+

Це чудовий спосіб створити короткий вираз для отримання значення, що може бути записаний в змінну.

+

Мусимо зазначити, що це також спосіб яким вираз if може бути використаний як тернарний оператор.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_vi.html b/beta_20_vi.html new file mode 100644 index 000000000..61c72f762 --- /dev/null +++ b/beta_20_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trả về giá trị từ những Block Expression

+

if, match, hàm, và các scope block(khối phạm vi) đều có một cách trả về giá trị duy nhất trong Rust.

+

Nếu lệnh cuối cùng trong if, match, hàm, hoặc scope block is là một lệnh không có ;, Rust sẽ trả về nó dưới dạng một giá trị từ khối. +Đây là một cách tuyệt vời để tạo ra một logic ngắn gọn trả về một giá trị có thể được đưa vào một biến mới.

+

Lưu ý rằng nó cũng cho phép một câu lệnh if hoạt động giống như một ternary expression(biểu thức bậc ba, biểu thức ba ngôi) ngắn gọn.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_zh-cn.html b/beta_20_zh-cn.html new file mode 100644 index 000000000..d5a8bc5da --- /dev/null +++ b/beta_20_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

从块表达式返回值

+

ifmatch,函数,以及作用域块都有一种返回值的独特方式。

+

如果 ifmatch、函数或作用域块中的最后一条语句是不带 ; 的表达式, +Rust 将把它作为一个值从块中返回。这是一种创建简洁逻辑的好方法,它返回一个 +可以放入新变量的值。

+

注意,它还允许 if 语句像简洁的三元表达式一样操作。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_20_zh-tw.html b/beta_20_zh-tw.html new file mode 100644 index 000000000..059d59662 --- /dev/null +++ b/beta_20_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從區塊表達式回傳數值

+

在 Rust 裡,ifmatch、functions 及區塊範疇 (scope blocks) 都有一個獨特的方式用來回傳數值。

+

如果在 ifmatch、function 或是區塊範疇裡的最後一個敘述是一個表達式,而且它並沒有 ; 結尾, 那 Rust 將會從該區塊回傳該數值。 這是一個很棒的方式用來產生一段簡結的邏輯,將回傳數值指定給一個新的變量。

+

要注意 Rust 同時也允許 if 敘述可以用來當作簡潔的三元運算。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_21_al.html b/beta_21_al.html new file mode 100644 index 000000000..8dbe92341 --- /dev/null +++ b/beta_21_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitull 2 - Konkluzion

+

Shpresoj se kam treguar një paraqitje të shkurtër të fuqisë së Rustit edhe në shumicën e rasteve

+

veçoritë themelore të gjuhës. Do të flasim për "for" dhe

+

'match' edhe më në thellësi pasi fitojmë më shumë njohuri për këtë

+

mund të shfrytëzojnë aftësitë e tyre. Herën tjetër do të futemi në themelet e Rust

+

strukturat e data-ve.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_ar.html b/beta_21_ar.html new file mode 100644 index 000000000..bc6ded016 --- /dev/null +++ b/beta_21_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 2 - الخلاصة

+

آمل أن أكون قد أعطيتكم لمحة عن قوة رست (Rust) حتى في ميزات اللغة بدائية جدا. سوف نتكلم على من أجل for و مُطابقة match بشكل معمق حتى نكتسب المعرفة التي تمكننا من الاستفادة من قدراتهما. في المرة القادمة سوف نتناول هياكل البيانات الأساسية لـ Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_de.html b/beta_21_de.html new file mode 100644 index 000000000..3fb87abd7 --- /dev/null +++ b/beta_21_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 2 Fazit

+

Was? Das war's schon?

+

Keine Bange, es gibt noch viel zu erforschen! +Insbesondere match wurde hier außer Acht gelassen, was viele mächtige Features beinhaltet, +dementsprechend aber auch etwas mehr Hintergrundwissen erfordert.

+

Im nächsten Kapitel werden wir uns dafür ein bisschen in die +Datenstrukturen (data structures) von Rust einarbeiten. Worauf warten wir noch?

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_en.html b/beta_21_en.html new file mode 100644 index 000000000..a8480080a --- /dev/null +++ b/beta_21_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Conclusion

+

Hopefully I've shown a glimpse of Rust's power even in the most +basic language features. We'll be talking about for and +match even more in depth as we gain more knowledge that +can utilize their capabilities. Next time we'll get into Rust's foundational data +structures.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_es.html b/beta_21_es.html new file mode 100644 index 000000000..5310d5516 --- /dev/null +++ b/beta_21_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Conclusión

+

Con esto ya hemos echado un vistazo a las características más básicas del lenguaje Rust. Hablaremos de for y match en más profundidad a medida que aumentemos nuestro conocimiento sobre cómo aplicar sus capacidades. Lo siguiente será adentrarnos en las estructuras de datos fundamentales de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_fa.html b/beta_21_fa.html new file mode 100644 index 000000000..ded5f0ba3 --- /dev/null +++ b/beta_21_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Conclusion

+

Hopefully I've shown a glimpse of Rust's power even in the most +basic language features. We'll be talking about for and +match even more in depth as we gain more knowledge that +can utilize their capabilities. Next time we'll get into Rust's foundational data +structures.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_fi.html b/beta_21_fi.html new file mode 100644 index 000000000..8d3946878 --- /dev/null +++ b/beta_21_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kappale 2 - Päätelmä

+

Toivottavasti olen osoittanut Rustin voiman jo +peruskielen ominaisuuksissa. Puhumme for:sta ja +match:sta vielä syvällisemmin, kun saamme lisää tietoa, joka +voi hyödyntää niiden ominaisuuksia. Seuraavaksi käsittelemme Rustin perustietorakenteita.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_fr.html b/beta_21_fr.html new file mode 100644 index 000000000..a38298965 --- /dev/null +++ b/beta_21_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Conclusion

+

J'espère avoir montré un aperçu des fonctionnalités basiques de Rust dont certaines +se montrent très pratiques. Nous verrons plus en détails les instructions for et +match à mesure que nos connaissances de Rust augmentent. Par la suite, nous verrons +les structures de données fondamentales de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_gr.html b/beta_21_gr.html new file mode 100644 index 000000000..8d1b3dece --- /dev/null +++ b/beta_21_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 2 - Κατάληξη

+

Ελπίζω να 'χουμε δείξει ένα τμήμα της δύναμης της Rust ακόμα και στα πιο βασικά γνωρίσματά της. Θα μιλήσουμε για το for και το match περισσότερο σε βάθος όπως αποκτούμε περισσότερη γνώση που μπορεί να χρησιμοποιήσει τις δυνατότητές τους. Αμέσως μετά θα μπούμε στις θεμελιώδεις δομές δεδομένων της Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_hu.html b/beta_21_hu.html new file mode 100644 index 000000000..6c2e21f61 --- /dev/null +++ b/beta_21_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2. Fejezet - Konklúzió

+

Remélhetőleg ezzel sikerült egy kis betekintést nyújtanom a Rust alapvető képességeibe és az +ezekben megbúvó erőbe. A későbbiekben még több szót is ejtünk a for-ról és a match-ről, +amint eleget tanultunk ahhoz, hogy az előzőleg átvetteknél bonyolultabb képességeiket is +hasznosítani tudjuk.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_id.html b/beta_21_id.html new file mode 100644 index 000000000..c80ca03e2 --- /dev/null +++ b/beta_21_id.html @@ -0,0 +1,45 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bab 2 - Kesimpulan

+

Saya berharap bahwa saya telah memperlihatkan sekilas kekuatan dari Rust bahkan pada fitur dasar dari bahasa pemprograman. Kita akan membicarakan tentang for dan match lebih lanjut secara mendalam sambil kita mendapatkan pengetahuan yang dapat memfaatkan kemampuan mereka. Selanjutkan kita akan masuk pada data struktur dasar pada Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_ie.html b/beta_21_ie.html new file mode 100644 index 000000000..f60b6a62c --- /dev/null +++ b/beta_21_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 2 - Conclusion

+

Vi li tot contenete til nu in li capitul! Yo espera har monstrat te un poc pri li potentie de Rust quel trova se mem in li declarationes max basic. Noi va parlar mem plu detalliatmen pri for e match durant que nor conossentie augmenta se pri qualmen utilisar lor capabilitás. Por li proxim vez, noi va conossentar nos pri li fundamental data-structuras de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_it.html b/beta_21_it.html new file mode 100644 index 000000000..87ca10c25 --- /dev/null +++ b/beta_21_it.html @@ -0,0 +1,46 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 2 - Conclusione

+

Spero di averti mostrato un pochino della potenza di Rust, già dalle sue caratteristiche basilari. Approfondiremo maggiormente for e match man mano che acquisiremo conoscenze che ci permetteranno di sfruttare le loro potenzialità. +Nel prossimo capitolo inizieremo a parlare delle strutture dati fondamentali di Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_ja.html b/beta_21_ja.html new file mode 100644 index 000000000..07daaedea --- /dev/null +++ b/beta_21_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 2 章 - まとめ

+

基本的な言語機能においても、Rust の力を垣間見ることができたでしょうか。 +今後は formatch について、その能力を活用できるように知識を深めながら、進めていきます。 +次回は Rust の基礎となるデータ構造に入ります。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_ko.html b/beta_21_ko.html new file mode 100644 index 000000000..780bc8799 --- /dev/null +++ b/beta_21_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2장 - 마무리

+

가장 기초적인 기능이었지만 Rust의 강력함을 맛보셨길 바랍니다. +formatch에 대해서는 이들을 활용할 지식을 더 얻게 됨에 따라 +훨씬 더 자세히 살펴보도록 하겠습니다. +다음 번에는 Rust의 기본 데이터 구조에 대해 배우겠습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_pl.html b/beta_21_pl.html new file mode 100644 index 000000000..b8f5cd7e9 --- /dev/null +++ b/beta_21_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 2 - Podsumowanie

+

Pomimo, że póki co nadal skupiamy się na podstawach mam nadzieję, że udało mi się przedstawić Tobie część wyjątkowych możliwości Rusta i jego silnych stron.

+

W miarę jak wejdziemy głębiej w arkana tego języka, będziemy powracać do przedstawionych w tym rozdziale wyrażeń for oraz match. Mają nam one bowiem znacznie więcej do zaoferowania niż zdążyliśmy sobie opowiedzieć do tej pory.

+

W następnym rozdziale przyjrzymy się podstawowym strukturom w Ruscie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_pt-br.html b/beta_21_pt-br.html new file mode 100644 index 000000000..6ec0a3dcb --- /dev/null +++ b/beta_21_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Conclusão

+

Espero ter mostrado um vislumbre do poder de Rust, mesmo nos recursos mais básicos de linguagem. Nós iremos falar do for e match com mais profundidade à medida que formos adquirindo mais conhecimento para aproveitar os seus recursos. A seguir entraremos nos fundamentos das estruturas de dados do Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_ro.html b/beta_21_ro.html new file mode 100644 index 000000000..3c8c976c7 --- /dev/null +++ b/beta_21_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 2 - Concluzie

+

Sper că v-am arătat o părticică din puterea Rust-ului chiar și prin cele mai +simple caracteristici ale unui limbaj de programare. Vom vorbi despre for și +match și mai mult pe măsură ce acumulăm mai multe cunoștințe care +ne pot ajuta să ne folosim de capabilitățile lor. În cele ce urmează o să aruncăm o privire peste structurile de date fundamentale +din Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_ru.html b/beta_21_ru.html new file mode 100644 index 000000000..71110d781 --- /dev/null +++ b/beta_21_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 2. Заключение

+

Надеюсь, я продемонстрировал силу Rust даже в самых базовых возможностях +языка. Мы будем говорить про for и match еще глубже, когда обретём больше +знаний, которые позволят применить больше возможностей языка. В следующий раз +мы перейдем к основополагающим структурам данных Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_th.html b/beta_21_th.html new file mode 100644 index 000000000..9287fc423 --- /dev/null +++ b/beta_21_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 2 - สรุป

+

หวังว่าฉันจะทำให้เห็นถึงความสามารถของ Rust ได้บ้าง แม้ว่าจะเป็นเพียงแค่เรื่องพื้นฐานที่สุด +และเราจะมาคุยเรื่อง for และ match กันให้ลึกกว่านี้ เมื่อเรามีความรู้มากพอที่จะ +ใช้มันได้เต็มความสามารถของมัน +ในตอนหน้า เราจะไปเรียนรู้ต่อในเรื่อง โครงสร้างข้อมูลพื้นฐานของ Rust กัน

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_tr.html b/beta_21_tr.html new file mode 100644 index 000000000..53e03bec3 --- /dev/null +++ b/beta_21_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 2 - Sonuç

+

En temel özelliklerine şöyle bir göz atmakla bile, Rust'ın ne kadar güçlü ve yetenekli olduğunu fark ettiğinizi umuyorum. Rust hakkında bildiklerimiz çoğaldıkça, for ve match ifadeleri hakkında edindiğimiz bilgilerin derinleşeceğini söylemek istiyorum.

+

Sonraki bölümde Rust'ın temel veri yapılarını konuşacağız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_ua.html b/beta_21_ua.html new file mode 100644 index 000000000..56c365b4d --- /dev/null +++ b/beta_21_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 2 - Висновки

+

Маємо надію, що ми змогли показати вам силу Rust навіть в базових можливостях мови.

+

Ми ще розглянемо for та match в більш детально, як тільки отримаємо більше знань для розуміння їх можливостей.

+

В наступному розділі ми поговоримо про основні структури даних в Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_vi.html b/beta_21_vi.html new file mode 100644 index 000000000..8a8cf20de --- /dev/null +++ b/beta_21_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Tổng kết

+

Hy vọng rằng tớ đã cho bạn thấy một cái nhìn sơ lược về sức mạnh của Rust ngay cả trong các tính năng ngôn ngữ cơ bản nhất. +Chúng ta sẽ nói sâu hơn về formatch khi chúng ta có thêm kiến thức để có thể sử dụng khả năng của của các lệnh này. +Lần tới chúng ta sẽ đi sâu vào cấu trúc dữ liệu cơ bản của Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_zh-cn.html b/beta_21_zh-cn.html new file mode 100644 index 000000000..a7312bec2 --- /dev/null +++ b/beta_21_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章总结

+

希望即便是在最基本的语言特性中,我也已经向你展示了 Rust 的强大功能。 +我们将在后续章节更深入地讨论 formatch,因为我们将获得更多可以 +利用它们能力的知识。接下来,我们将讨论 Rust 的基本数据结构。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_21_zh-tw.html b/beta_21_zh-tw.html new file mode 100644 index 000000000..a38efb95c --- /dev/null +++ b/beta_21_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 總結

+

希望即使是最基本的語言特性,我也讓你一瞥 Rust 的力量。 我們將會更深入的探討 formatch,以取得更多相關知識進而利用它們的能力。 下一章節我們會進入 Rust 的基本資料結構 (data structures)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_23_al.html b/beta_23_al.html new file mode 100644 index 000000000..e65babbe3 --- /dev/null +++ b/beta_23_al.html @@ -0,0 +1,51 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Strukturat

+

Një "struktur" është një koleksion fushash.

+

Një fushë është thjesht një vlerë e të dhënave e lidhur me një strukturë të dhënash. Vlera e saj + mund të jetë i një lloji primitiv ose një strukturë të dhënash.

+

Përkufizimi i saj është si një plan për një përpilues se si të vendoset + fusha në kujtesë pranë njëra-tjetrës.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_ar.html b/beta_23_ar.html new file mode 100644 index 000000000..83b34dce3 --- /dev/null +++ b/beta_23_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الهياكل (Structures)

+

الهيكل (struct) هو مجموعة من الحقول (fields).

+

الحقل (field) هو بكل بساطة قيمة بيانات مرتبطة بهيكل البيانات (data structure). ويمكن أن تكون قيمة هذه البيانات من النوع البدائي (primitive type) أو هيكل بيانات (data structure).

+

يمكن تعريفه كمخطط (blueprint) من أجل المترجم (compiler) يوضح له كيفية تَرتِيب وتنظيم الحقول في الذاكرة بالقرب من بعضها البعض.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_de.html b/beta_23_de.html new file mode 100644 index 000000000..b2aad94a8 --- /dev/null +++ b/beta_23_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Strukturen

+

Ein struct (dt. "Struktur") ist eine Ansammlung von fields (dt. Feldern).

+

Ein field ist ein Wert, der mit einer Datenstruktur assoziiert wird. Dies kann ein primitiver Datentyp oder ein weiteres struct sein.

+

Die Definition eines structs ist wie ein Entwurf für den Compiler, der ihm besagt, welche Felder im Speicher zueinander gehören.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_en.html b/beta_23_en.html new file mode 100644 index 000000000..2bd43f82d --- /dev/null +++ b/beta_23_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures

+

A struct is a collection of fields.

+

A field is simply a data value associated with a data structure. Its value can be of a primitive type or a data structure.

+

Its definition is like a blueprint for a compiler on how to layout the fields in memory nearby each other.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_es.html b/beta_23_es.html new file mode 100644 index 000000000..f241cbcac --- /dev/null +++ b/beta_23_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estructuras

+

Una estructura struct es una colección de campos.

+

Un campo es simplemente un valor de datos asociado a una estructura de datos. Su valor puede ser de tipo primitivo o una estructura de datos.

+

Su definición es como una plantilla para el compilador sobre cómo disponer los campos en memoria cerca unos de otros.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_fa.html b/beta_23_fa.html new file mode 100644 index 000000000..6004f662e --- /dev/null +++ b/beta_23_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures

+

A struct is a collection of fields.

+

A field is simply a data value associated with a data structure. Its value can be of a primitive type or a data structure.

+

Its definition is like a blueprint for a compiler on how to layout the fields in memory nearby each other.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_fr.html b/beta_23_fr.html new file mode 100644 index 000000000..8337bef0f --- /dev/null +++ b/beta_23_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures

+

Une structure est une collection de champs. On crée une structure avec le mot clé struct.

+

Un champs est simplement un élément contenant une valeur et qui est associé à une structure de données. +Sa valeur peut être un type primitif ou une autre structure de données.

+

Sa définition est comme un plan pour le compilateur sur l'agencement des données en mémoire. +Celles-ci seront placées à proximité les unes des autres.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_gr.html b/beta_23_gr.html new file mode 100644 index 000000000..eb56239e1 --- /dev/null +++ b/beta_23_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Δομές

+

Μία δομή (struct) είναι μία συλλογή από πεδία.

+

Ένα πεδίο είναι απλώς μία τιμή δεδομένων συσχετισμένη με μία δομή δεδομένων. Η τιμή της μπορεί να είναι είτε κάποιος θεμελιώδης τύπος είτε μία άλλη δομή δεδομένων.

+

Ο ορισμός μίας δομής είναι σαν ένα σχεδιάγραμμα για το μεταφραστή για το πώς να κατανείμει τα πεδία της το ένα δίπλα στο άλλο.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_hu.html b/beta_23_hu.html new file mode 100644 index 000000000..7b52777dc --- /dev/null +++ b/beta_23_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktúrák

+

A struct egy mezőkból álló gyűjtemény.

+

Egy mező pedig szimplán egy érték, ami az adatstruktúrához van rendelve. Ez lehet egy primitív +tipus vagy egy másik adatszerkezet.

+

Olyasmi módon érdemes gondolni rá, mint egy "tervrajz" a fordító számára, aminek segítségével +képes a különböző mezőket elhelyezni a memóriában.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_ie.html b/beta_23_ie.html new file mode 100644 index 000000000..77a52c77e --- /dev/null +++ b/beta_23_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuras

+

Un struct es un colection de fields (campes).

+

Un field es simplicmen un valore de data asociat a un data-structura. Su valore posse esser un tip primitiv o un data-structura.

+

Su definition es simil a un plan por li compilator pri qualmen plazzar li campes in memorie proxim unaltru.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_it.html b/beta_23_it.html new file mode 100644 index 000000000..036414f07 --- /dev/null +++ b/beta_23_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Le Struct

+

Un tipo di dato struct è un insieme di campi.

+

Un campo è semplicemente un dato contenuto nella struttura. Il suo valore può essere di un tipo dati primitivo oppure a sua volta di un'altra struttura.

+

La definizione di una struct è come un modello per il compilatore, da seguire per stabilire come i campi sono posizionati in memoria l'uno rispetto all'altro.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_ja.html b/beta_23_ja.html new file mode 100644 index 000000000..39b7e3bb5 --- /dev/null +++ b/beta_23_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

構造体

+

一つの struct はフィールドの集合です。

+

フィールド とはデータ構造とキーワードを紐付ける値です。その値はプリミティブ型かデータ構造を指定可能です。

+

その定義はメモリ上で隣合うデータの配置をコンパイラに伝える設計図の様なものです。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_ko.html b/beta_23_ko.html new file mode 100644 index 000000000..14857e25b --- /dev/null +++ b/beta_23_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

구조체

+

struct는 필드(field)들의 collection입니다.

+

field는 간단하게 데이터 구조에 연관된 데이터 값입니다. 이 값은 기본 자료형이나 데이터 구조일 수 있습니다.

+

이 정의는 메모리 상에 field들을 어떻게 배치할지에 대한 컴파일러의 청사진과도 같습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_pl.html b/beta_23_pl.html new file mode 100644 index 000000000..778cff52f --- /dev/null +++ b/beta_23_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktury

+

Struktura oznaczona jako struct to zbiór pól.

+

Pole to zwyczajnie pewna wartość reprezentująca pewną strukturę danych. Wartość takiego pola może przyjmować postać prymitywnego typu wbudowanego lub innej struktury.

+

Definicja struktur pozwala nam stworzyć pewnego rodzaju plan budowy który zostanie później użyty przez kompilator w celu odpowiedniego ułożenia naszych struktur i ich pól w pamięci w wydajny sposób.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_pt-br.html b/beta_23_pt-br.html new file mode 100644 index 000000000..0c6fa2966 --- /dev/null +++ b/beta_23_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estruturas

+

Uma estrutura struct é uma coleção de campos.

+

Um campo é simplesmente um valor de dado associado a uma estrutura de dados. Seu valor pode ser um tipo primitivo ou uma estrutura de dados.

+

Sua definição é como um modelo para o compilador sobre como organizar os campos na memória próximos uns dos outros.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_ro.html b/beta_23_ro.html new file mode 100644 index 000000000..ef166e723 --- /dev/null +++ b/beta_23_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuri

+

Un struct este o colecție de câmpuri (field-uri).

+

Câmpurile sunt pe scurt date asociate unei structuri. Valorile lor pot fi de tip primar sau o structură de date.

+

Definiția structurii este ca o matriță pentru compilator pentru a ști cum să aranjeze câmpurile în memorie într-un mod compact.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_ru.html b/beta_23_ru.html new file mode 100644 index 000000000..1a631e5ab --- /dev/null +++ b/beta_23_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Структуры (Structures)

+

struct - это колекция полей.

+

field (поле) - это просто значение данных, которое содержится в структуре. Значение поля может быть примитивным типом или другой структурой данных. Первым идет указание имени поля, тип поля указывается через двоеточие, после объявления поля ставится запятая.

+

Определение структуры - это как чертеж для компилятора, который указывает компилятору на то, как поля должны быть расположены в памяти. Поля в структуре расположены в памяти один за другим (компилятор может менять их местами для оптимизаций).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_th.html b/beta_23_th.html new file mode 100644 index 000000000..9774d072f --- /dev/null +++ b/beta_23_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures

+

struct คือกลุ่มของฟิลด์

+

ฟิลด์ ก็คือข้อมูลธรรมดานี่แหล่ะ ที่รวมอยู่ในโครงสร้าง ซึ่งมันเป็นได้ตั้งแต่ ชนิดตัวแปรขั้นพื้นฐานที่สุด +หรืออาจจะเป็นโครงสร้างอีกตัวซ้อนกันก็ได้

+

การนิยามสิ่งนี้ ก็เหมือนกับพิมพ์เขียวให้คอมไฟเลอร์รู้ว่าฟิล์ดพวกนี้จะวางอยู่ติดกันในหน่วยความจำ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_tr.html b/beta_23_tr.html new file mode 100644 index 000000000..e449aad18 --- /dev/null +++ b/beta_23_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yapılar

+

Dilimize yapı olarak çevirebileceğimiz struct veri alanlarından oluşan bir koleksiyondur.

+

Yapının veri alanlarına gelince onlar, bir veri türü ile ilişkilendirilmiş değerlerden oluşabildiği gibi, temel türler, enum türleri yahut başka türleri temsil eden yapılardan da oluşabilir.

+

Derleyiciye açısından yapı tanımı ise, bellekteki alanların birbirine ne kadar yakın yerleştirileceğini belirten bir şemaya benzetilebilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_ua.html b/beta_23_ua.html new file mode 100644 index 000000000..e43571f3a --- /dev/null +++ b/beta_23_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Структури

+

struct (структура) - це колекція полів.

+

field (поле) - це просто значення даних проасоційовані з структурою даних. Його значення може бути примітивом, чи структурою даних. Їх значення як креслення для компілятора, за яким той зможе зрозуміти як поля мають бути розміщені в памяті. Зазвичай вони розташовані одне за одним, але для оптимізації їх послідовність може бути змінена.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_vi.html b/beta_23_vi.html new file mode 100644 index 000000000..500c17cf5 --- /dev/null +++ b/beta_23_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kiểu cấu trúc

+

Một Struct là một tập hợp các thuộc tính(field, hoặc có thể gọi là các trường).

+

Một field chỉ đơn giản là một giá trị dữ liệu được liên kết với một cấu trúc dữ liệu. Giá trị của nó có thể là một kiểu nguyên thủy hoặc cũng là một cấu trúc dữ liệu.

+

Định nghĩa của nó giống như một bản thiết kế cho một trình biên dịch về cách bố trí các trường trong bộ nhớ gần nhau.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_zh-cn.html b/beta_23_zh-cn.html new file mode 100644 index 000000000..1aaa61f1a --- /dev/null +++ b/beta_23_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

结构体

+

一个 struct 就是一些字段的集合。

+

字段是一个与数据结构相关联的数据值。它的值可以是基本类型或结构体类型。

+

它的定义就像给编译器的蓝图,告诉编译器如何在内存中布局彼此相邻的字段。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_23_zh-tw.html b/beta_23_zh-tw.html new file mode 100644 index 000000000..fe83e1da7 --- /dev/null +++ b/beta_23_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

結構 (structures)

+

一個 struct 是一群欄位 (field) 的集合。

+

一個欄位 (field) 就只是一個在結構裡的數值。它的數值可以是最原始的型別,也可以是另一種資料結構。

+

它的定義就像是一張藍圖一樣,讓編譯器 (compiler) 可以在記憶體裡畫出欄位之間如何擺放。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_al.html b/beta_24_al.html new file mode 100644 index 000000000..827443358 --- /dev/null +++ b/beta_24_al.html @@ -0,0 +1,53 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metodat e thirrjes

+

Ndryshe nga funksionet, metodat janë funksione të lidhura me një të dhënë specifike + lloji.

+

metodat statike — metodat që i përkasin një lloji vetvete thirren duke përdorur + operatorin ::.

+

metodat e shembullit — metodat që i përkasin një shembulli të një lloji + thirren duke përdorur operatorin ..

+

Ne do të flasim më shumë për krijimin e metodave tuaja në kapitujt e ardhshëm.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_ar.html b/beta_24_ar.html new file mode 100644 index 000000000..47a1d1cb6 --- /dev/null +++ b/beta_24_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إستدعاء التوابع (Methods)

+

على عكس الدوال (functions)، فإن التوابع (methods) هي دوال مرتبطة بنوع بيانات محدد.

+

التوابع الساكنة static methods — وهي توابع (methods) تنتمي الى النوع نفسه ويتم استدعاؤها باستخدام العامل ::.

+

توابع المثيل instance methods — وهي توابع (methods) تنتمي الى مثيل النوع (instance of a type) ويتم استدعاؤها باستخدام العامل ..

+

سنتحدث أكثر عن طريقة بناء توابع (methods) خاصة بناء في الفصول القادمة.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_de.html b/beta_24_de.html new file mode 100644 index 000000000..66dc8ae31 --- /dev/null +++ b/beta_24_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Methoden aufrufen

+

Einen feinen Unterschied zu Funktionen bilden Methoden. Methoden sind Erweiterungen zu Datentypen, +bzw. Funktionen die auf Datentypen anzuwenden sind.

+

statische Methoden - Methoden, die zum Datentyp selber assoziiert sind. Werden mit dem :: Operator aufgerufen.

+

instanz Methoden (instance methods) - Methoden, die bei einer Instanz (oder Objekt) mit dem . Operator aufgerufen werden können.

+

Wir werden im späteren Verlauf sehen, wie wir selber Methoden erstellen können.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_en.html b/beta_24_en.html new file mode 100644 index 000000000..4d285e60e --- /dev/null +++ b/beta_24_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Calling Methods

+

Unlike functions, methods are functions associated with a specific data type.

+

static methods — methods that belong to a type itself are called using the :: operator.

+

instance methods — methods that belong to an instance of a type are called using the . operator.

+

We will talk more on making your own methods in future chapters.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_es.html b/beta_24_es.html new file mode 100644 index 000000000..8ad6d415f --- /dev/null +++ b/beta_24_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Llamadas a Métodos

+

A diferencia de las funciones, los métodos son funciones asociadas con un tipo de datos específico.

+

Métodos estáticos — los métodos que pertenecen a un tipo determinado se llaman usando el operador ::.

+

Métodos de instancia — los métodos que pertenecen a una instancia de un tipo se llaman usando el operador ..

+

Hablaremos de cómo hacer tus propios métodos en próximos capítulos.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_fa.html b/beta_24_fa.html new file mode 100644 index 000000000..f59cd7307 --- /dev/null +++ b/beta_24_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Calling Methods

+

Unlike functions, methods are functions associated with a specific data type.

+

static methods — methods that belong to a type itself are called using the :: operator.

+

instance methods — methods that belong to an instance of a type are called using the . operator.

+

We will talk more on making your own methods in future chapters.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_fr.html b/beta_24_fr.html new file mode 100644 index 000000000..12a8fc5e2 --- /dev/null +++ b/beta_24_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Appel de méthodes

+

A la différence des fonctions que nous avons vu précédemment, les méthodes sont +des fonctions associées à un type de donnée spécifique.

+

méthodes statiques — méthodes qui appartiennent au type même et sont appelées avec l'opérateur ::

+

méthodes d'instance — méthodes qui appartiennent à l'instance d'un type et sont appelées avec l'opérateur .

+

Nous verrons comment créer tes propres méthodes dans de futurs chapitres.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_gr.html b/beta_24_gr.html new file mode 100644 index 000000000..6cc96bd1e --- /dev/null +++ b/beta_24_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κλήση μεθόδων

+

Σε αντίθεση με τις απλές συναρτήσεις, οι μέθοδοι είναι συναρτήσεις συσχετισμένες με έναν συγκεκριμένο τύπο δεδομένων.

+

Οι στατικές μέθοδοι είναι αυτές που ανήκουν στον τύπο καθ' αυτό, και καλούνται με τον τελεστή ::.

+

Οι μέθοδοι μεταβλητών είναι αυτές που ανήκουν σε μία συγκεκριμένη μεταβλητή αυτού του τύπου, και καλούνται με τον τελεστή ..

+

Σε μετέπειτα κεφάλαια θα μιλήσουμε για το πώς φτιάχνουμε δικές μας μεθόδους.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_hu.html b/beta_24_hu.html new file mode 100644 index 000000000..16f8cc114 --- /dev/null +++ b/beta_24_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metódusok hívása

+

A sima függvényekkel ellentétben a metódusok olyan függvények, amik egy bizonyos adattípushoz +vannak rendelve.

+

statikus metódusok - Olyan metódusok, amik magához a típushoz vannak rendelve és a :: +operátorral érhetőek el.

+

példány metódusok - Olyan metódusok, amik egy típus egy-egy létrehozott példányához +tartoznak. Ezeket a . operátorral lehet elérni.

+

A metódusok létrehozásáról később lesz szó.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_ie.html b/beta_24_ie.html new file mode 100644 index 000000000..3c0821567 --- /dev/null +++ b/beta_24_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Calling Methods

+

Need translation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_it.html b/beta_24_it.html new file mode 100644 index 000000000..ad1b71697 --- /dev/null +++ b/beta_24_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Invocare i Metodi

+

I metodi non sono normali funzioni, ma sono funzioni associate con un tipo dati specifico. Possiamo dividerli in:

+

metodi static — metodi che appartengono al tipo stesso (in altri linguaggi si chiamerebbero metodi di Classe) e vanno chiamati con l'operatore :: .

+

metodi instanza — metodi che appartengono all'instanza del tipo e sono chiamati con l'operatore .

+

Parleremo di come creare i propri metodi nei prossimi capitoli.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_ja.html b/beta_24_ja.html new file mode 100644 index 000000000..973104523 --- /dev/null +++ b/beta_24_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メソッドの定義

+

関数(function)と違って、メソッド(method)は特定のデータ型と紐づく関数のことです。

+

スタティックメソッド - ある型そのものに紐付き、演算子 :: で呼び出せます。

+

インスタンスメソッド - ある型のインスタンスに紐付き、演算子 . で呼び出せます。

+

以降の章でまたメソッドの作り方について話します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_ko.html b/beta_24_ko.html new file mode 100644 index 000000000..4f60d183f --- /dev/null +++ b/beta_24_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메소드 호출하기

+

함수와 달리, 메소드는 특정 데이터 자료형과 연관된 함수입니다.

+

스태틱 메소드(static methods) - 자료형 그 자체에 속하는 메소드로서, :: 연산자를 이용하여 호출함.

+

인스턴스 메소드(instance methods) - 자료형의 인스턴스에 속하는 메소드로서, . 연산자를 이용하여 호출함.

+

다가올 장에서 여러분만의 메소드를 만드는 법에 대해 살펴보겠습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_pl.html b/beta_24_pl.html new file mode 100644 index 000000000..1ff38426a --- /dev/null +++ b/beta_24_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wywoływanie Metod

+

Metody to specjalny rodzaj funkcji, mianowicie takich które są przypisane do konkretnego typu.

+

metody statyczne — metody które należą do samego typu wywołujemy używając operatora podwójnego dwukropka ::.

+

metody instancji — metody przynależące to konkretnej instancji danego typu wywołujemy za pomocą operatora kropki ..

+

Więcej na temat tworzenia własnych metod powiemy w przyszłym rozdziale.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_pt-br.html b/beta_24_pt-br.html new file mode 100644 index 000000000..4ba19996c --- /dev/null +++ b/beta_24_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chamando Métodos

+

Diferentemente das funções, os métodos são uma função associada a um tipo de dados específico.

+

Métodos estáticos — os métodos que pertencem a um tipo determinado são chamados usando o operador ::.

+

Métodos de instância — os métodos que pertencem a uma instância de um tipo são chamados usando o operador ..

+

Falaremos mais sobre como criar seus próprios métodos nos próximos capítulos.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_ro.html b/beta_24_ro.html new file mode 100644 index 000000000..c346b784b --- /dev/null +++ b/beta_24_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Apelarea metodelor

+

Spre deosebire de funcții, metodele sunt funcții asociate unui tip specific de date.

+

metode statice — metode care aparțin unui tip de date și sunt apelate folosind operatorul ::.

+

metode ale instanței — metode care aparțin unei instanțe a unui tip de date și sunt apelate folosind operatorul ..

+

Vom dezvolta acest concept, cu implementarea propriilor metode, în capitolele următoare.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_ru.html b/beta_24_ru.html new file mode 100644 index 000000000..59685bb12 --- /dev/null +++ b/beta_24_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Вызов методов

+

В отличие от функций, методы являются функциями, ассоциированные с определенным типом данных.

+

статические методы - это методы принадлежащие самому типу и вызываются с помощью оператора ::.

+

методы экземпляра — это методы, принадлежащие экземпляру объекта данного типа, вызываемые у экземпляра объекта через оператор ..

+

Мы поговорим о том, как создавать свои собственные методы в следующих главах.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_th.html b/beta_24_th.html new file mode 100644 index 000000000..f4e89ffa1 --- /dev/null +++ b/beta_24_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การเรียกเมธอด

+

ข้อที่แตกต่างจากฟังก์ชันก็คือ เมธอดนั้นเป็นฟังก์ชันที่ เป็นส่วนหนึ่งของ ชนิดตัวแปรสักตัวแบบเฉพาะเจาะจง

+

static methods — คือเมธอดที่เป็นของชนิดตัวแปรเองเลย เรียกใช้ด้วยตัวดำเนินการ ::

+

instance methods — คือเมธอดที่เป็นของตัวแปร เรียกใช้ด้วยตัวดำเนินการ .

+

แล้วเราจะมาพูดเรื่องการสร้างเมธอดด้วยตัวเองกันอีกครั้งเร็วๆนี้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_tr.html b/beta_24_tr.html new file mode 100644 index 000000000..797d0f6b3 --- /dev/null +++ b/beta_24_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çağrı Yöntemleri

+

Belirli bir veri türüyle ilişkilendirdiğimiz işlevlere yöntem adı veririz. Rust yöntemleri çağrılma şekillerine göre iki şekilde adlandırılır:

+

Statik yöntemler — Türün kendisine ait olan ve :: işleciyle çağrılan yöntemlerdir.

+

Örnek yöntemleri - Halihazırda oluşturulmuş bir tür örneğine ait olan ve . işleciyle çağrılan yöntemlerdir.

+

Kendi yöntemlerinizi nasıl oluşturacağımızı ilerleyen bölümlerde öğreneceğiz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_ua.html b/beta_24_ua.html new file mode 100644 index 000000000..dfda01ca0 --- /dev/null +++ b/beta_24_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Виклик методів

+

На відміну від функцій, методи асоційовані з певним типом даних.

+
    +
  • статичні методи (static methods) - методи, які належать безпосередньо типу і можуть бути викликані через оператор ::.
  • +
  • методи екземплярів (instance methods) - методи, що належать екземпляру типа і викликаються через оператор ..
  • +
+

Про створення власних методів ми поговоримо в наступних розділах.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_vi.html b/beta_24_vi.html new file mode 100644 index 000000000..69071149b --- /dev/null +++ b/beta_24_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gọi phương thức(Method)

+

Không giống như các hàm, các phương thức là các hàm được liên kết với một kiểu dữ liệu cụ thể.

+

static method - các phương thức thuộc về một kiểu được gọi bằng cách sử dụng toán tử ::.

+

instance methods - các phương thức thuộc về một thể hiện(instance) của một kiểu được gọi bằng cách sử dụng toán tử ..

+

Chúng ta sẽ nói nhiều hơn về việc tạo ra các phương thức của riêng bạn trong các chương sau.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_zh-cn.html b/beta_24_zh-cn.html new file mode 100644 index 000000000..802303019 --- /dev/null +++ b/beta_24_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

方法调用

+

与函数(function)不同,方法(method)是与特定数据类型关联的函数。

+

静态方法 — 属于某个类型,调用时使用 :: 运算符。

+

实例方法 — 属于某个类型的实例,调用时使用 . 运算符。

+

我们将在后续章节中更多地讨论如何创建自己的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_24_zh-tw.html b/beta_24_zh-tw.html new file mode 100644 index 000000000..16d89acd2 --- /dev/null +++ b/beta_24_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

呼叫方法 (method)

+

不同於函數 (function),方法 (method) 是有著特定資料型別的函數。

+

靜態方法 (static method):屬於型別自己本身的方法,使用 :: 來呼叫。

+

實體方法 (instance method):屬於某種型別的實體方法,使用 . 來呼叫。

+

後續章節我們將會探討更多關於如何產生你自己的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_25_al.html b/beta_25_al.html new file mode 100644 index 000000000..374e6dee3 --- /dev/null +++ b/beta_25_al.html @@ -0,0 +1,64 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memorja

+

Programet Rust kanë 3 rajone memorie ku ruhen të dhënat:

+
    +
  • memoria e të dhënave - Për të dhënat që janë të fiksuara në madhësi dhe statike (d.m.th. +gjithmonë i disponueshëm gjatë gjithë jetës së programit). +Merrni parasysh tekstin në programin tuaj (p.sh. "Hello World!"): Bajtet e këtij teksti lexohen vetëm nga një vend +dhe për këtë arsye mund të ruhet në këtë rajon. Përpiluesit bëjnë shumë optimizime +me këtë lloj të dhënash, dhe ato përgjithësisht konsiderohen shumë të shpejta për t'u përdorur që nga ajo kohë +vendndodhjet janë të njohura dhe të fiksuara.
  • +
  • stack memorie - Për të dhënat që deklarohen si variabla brenda +funksionit. +Vendndodhja e kësaj memorie nuk ndryshon kurrë gjatë kohëzgjatjes së një thirrjeje funksioni; për shkak të këtij përpiluesit +mund të optimizojë kodin në mënyrë që të dhënat e grumbullimit të jenë shumë të shpejta për t'u aksesuar.
  • +
  • **Memorie grumbull ** - Për të dhënat që krijohen ndërsa aplikacioni është +ne vrapim. +Të dhënat në këtë rajon mund të shtohen, zhvendosen, hiqen, ndryshohen përmasat, etj. Për shkak të +natyres se tij dinamike përgjithësisht konsiderohet më e ngadaltë për t'u përdorur, por e lejon +për perdorime shumë më kreative të kujtesës. Kur të dhënat shtohen në këtë rajon ne +quajme atë një alokim. Kur të dhënat hiqen nga ky seksion, ne e quajmë atë a +shpërndarja/dealokim.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_ar.html b/beta_25_ar.html new file mode 100644 index 000000000..6c9f63d55 --- /dev/null +++ b/beta_25_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الذاكرة (Memory)

+

تملك برامج رست (Rust) ثلاث مناطق ذاكرة أين يتم تخزين البيانات فيها:

+
    +
  • ذاكرة البيانات (data memory) - من أجل البيانات ثابتة الحجم و ساكنة (static) - على سبيل المثال: البيانات المتوفرة دائمًا طوال عمر البرنامج -. نأخذ مثلا النص الموجود في برنامجك مرحبا بالعالم ("Hello World!"): فبايتات (bytes) هذا النص يتم قراءتها إلا من مكان واحد وبالتالي يمكن تخزينها في هذه المنطقة. ويقوم مترجمو اللغة (Compilers) بالعديد من التحسينات على هذا النوع من البيانات وعلى العموم فالوصول الى هذه البيانات يعتبر سريعا جدا بإعتبار الموقع معلوم وثابت.
  • +
  • ذاكرة المكدس (stack memory) - وهي للبيانات التي تم التصريح عليها كمتغيرات ضمن دالة (function). وموقع هذه الذاكرة لا يتغير أبدا طوال مدة إستدعاء الدالة؛ ونظرا لهذا فإن مترجمي اللغة (Compilers) يستطيعون القيام بتحسين على الشيفرة البرمجية (code) . إذا حتى الوصول إلى البيانات في المكدس (stack) يكون سريع جدا. وترتب البيانات في المكدس (stack) على شكل قائمة خطية من العناصر.
  • +
  • ذاكرة الكومة (heap memory) - وهي للبيانات التي تم إنشاؤها خلال تشغيل التطبيق. يمكن إضافة (add) البيانات في هذه المنطقة، أو نقلها (moved)، أو إزالتها (removed)، أو تغيير حجمها (resized)، وما إلى ذلك. ونظرًا لطبيعتها الديناميكية، فإن الوصول اليها بشكل عام بطيء عند الاستخدام، ولكنها تسمح باستخدامات أكثر إبداعًا للذاكرة. عند إضافة البيانات إلى هذه المنطقة، فإننا نسميها تخصيصا (allocation). وعندما تتم إزالة البيانات من هذا القسم، فإننا نسميها إلغاء تخصيص (deallocation). وترتب البيانات في الكومة (heap) على شكل بنية شجرية.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_de.html b/beta_25_de.html new file mode 100644 index 000000000..c24583b5c --- /dev/null +++ b/beta_25_de.html @@ -0,0 +1,60 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Speicher

+

In Rust gibt es 3 unterschiedliche Speicher-Regionen:

+
    +
  • data memory (Datenspeicher) - Für Daten mit fester Größe und die statisch sind (zur Gesamtlebenszeit +eines Programms verfügbar). Nehmen wir beispielsweise festen Text her (z.B. "Hallo Welt"). Die Bytes in +diesem Schnipsel werden nur gelesen und sind bereits zur Kompilierzeit bekannt, daher kommen sie in den +Datenspeicher. Compiler können dementsprechend den Code optimieren und sind in der Laufzeit am schnellsten +"auszuwerten."
  • +
  • stack memory (Stackspeicher) - Variablen, die innerhalb einer Funktion deklariert werden. Während eines +Funktionsaufrufs ändert sich der Standort nicht. Wird eine weitere Funktion aufgerufen, werden die von der +Unterfunktion benötigen Variablen weiter auf den Stack gelegt. Erreicht man das Ende der Funktion, werden die +entsprechenden Variablen wieder vom Stack runtergenommen.
  • +
  • heap memory (Heapspeicher) - Speicher, der zur Laufzeit für Daten reserviert wird. In dieser Region kann +Speicher reserviert, bewegt, vergrößert, verkleinert und freigegeben werden. Dieses dynamische +Speichermanagement kann etwas mehr Zeit in Anspruch nehmen. Beim Reservieren spricht man von memory allocationt +(allozieren), beim Freigeben von memory deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_en.html b/beta_25_en.html new file mode 100644 index 000000000..733d65603 --- /dev/null +++ b/beta_25_en.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memory

+

Rust programs have 3 memory regions where data is stored:

+
    +
  • data memory - For data that is fixed in size and static (i.e. always available through life of program). +Consider the text in your program (e.g. "Hello World!"): This text's bytes are only ever read from one place +and therefore can be stored in this region. Compilers make lots of optimizations +with this kind of data, and they are generally considered very fast to use since +locations are known and fixed.
  • +
  • stack memory - For data that is declared as variables within a function. +The location of this memory never changes for the duration of a function call; because of this compilers +can optimize code so stack data is very fast to access.
  • +
  • heap memory - For data that is created while the application is running. +Data in this region may be added, moved, removed, resized, etc. Because of +its dynamic nature it's generally considered slower to use, but it allows +for much more creative usages of memory. When data is added to this region we +call it an allocation. When data is removed from this section we call it a +deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_es.html b/beta_25_es.html new file mode 100644 index 000000000..51fc5033a --- /dev/null +++ b/beta_25_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memoria

+

Los programas Rust tienen 3 regiones de memoria donde almacenar los datos:

+
    +
  • Data memory (o memoria de datos) - Para datos de tamaño fijo y estáticos (es decir, siempre disponibles a lo largo +de la vida del programa). Considera el texto del programa (por ejemplo, "¡Hola, Mundo!"), los bytes de este texto son de sólo +lectura, por lo tanto se almacenan en esta región. Los compiladores hacen muchas optimizaciones +con este tipo de datos, generalmente se consideran muy rápidos de usar ya que +las ubicaciones son conocidas y fijas.
  • +
  • stack memory (o memoria de pila) - Para los datos que se declaran como variables dentro de +una función. La ubicación de esta memoria nunca cambia durante la duración de la llamada a la función, debido a esto los +compiladores pueden optimizar el código para que los datos de la pila sean rápidos de usar.
  • +
  • heap memory (memoria de montículo o dinámica) - Para los datos que se crean mientras la aplicación se está ejecutando. +Los datos de esta región pueden ser añadidos, movidos, eliminados, redimensionados, etc. +Debido a su naturaleza dinámica, se considera generalmente más lento de usar, pero permite +usos mucho más creativos de la memoria. Cuando se añaden datos a esta región, lo llamamos +asignación. Cuando los datos se eliminan de esta sección lo llamamos desasignación.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_fa.html b/beta_25_fa.html new file mode 100644 index 000000000..2b3a21666 --- /dev/null +++ b/beta_25_fa.html @@ -0,0 +1,61 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memory

+

Rust programs have 3 memory regions where data is stored:

+
    +
  • data memory - For data that is fixed in size and static (i.e. always available through life of program). +Consider the text in your program (e.g. "Hello World!"): This text's bytes are only ever read from one place +and therefore can be stored in this region. Compilers make lots of optimizations +with this kind of data, and they are generally considered very fast to use since +locations are known and fixed.
  • +
  • stack memory - For data that is declared as variables within a function. +The location of this memory never changes for the duration of a function call; because of this compilers +can optimize code so stack data is very fast to access.
  • +
  • heap memory - For data that is created while the application is running. +Data in this region may be added, moved, removed, resized, etc. Because of +its dynamic nature it's generally considered slower to use, but it allows +for much more creative usages of memory. When data is added to this region we +call it an allocation. When data is removed from this section we call it a +deallocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_fr.html b/beta_25_fr.html new file mode 100644 index 000000000..c902f1733 --- /dev/null +++ b/beta_25_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mémoire

+

Un programme Rust possède 3 régions de mémoire où les données sont stockées:

+
    +
  • data memory (le segment de données) - Pour les données de taille fixe et statiques (i.e toujours +disponible pendant la vie du programme). Par exemple, considère le texte "Hello World!" +de ton tout premier programme Rust, les bytes représentant ce texte sont lu à un seul endroit +et par conséquent ils sont placés dans cette région. Le compilateur utilise de +nombreuses optimisations pour ce type de données, elles sont généralement +considérées très rapide d'utilisation car leur position en mémoire est connue +et fixe.
  • +
  • stack memory (la pile) - Pour les données qui sont déclarées comme variables dans une fonction. +La position de cette mémoire ne change jamais pendant la durée d'appel de cette fonction, +par conséquent les compilateurs peuvent optimiser le code pour rendre l'accès des données +sur la pile très rapide.
  • +
  • heap memory (le tas) - Pour les données qui sont créées lorsque l'application est en train de s'exécuter. +Les données dans cette région peuvent être ajoutées, déplacées, supprimées, redimensionnées, etc. +À cause de sa nature dynamique, c'est généralement considéré plus lent d'utilisation que la pile, mais +donne plus de contrôle sur l'utilisation de la mémoire. +On appelle allocation le fait d'ajouter des données à cette région et +désallocation le fait de les supprimer.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_gr.html b/beta_25_gr.html new file mode 100644 index 000000000..cad9375cf --- /dev/null +++ b/beta_25_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μνήμη

+

Τα προγράμματα στη Rust έχουν 3 περιοχές μνήμης στις οποίες μπορεί να έχουν αποθηκευτεί δεδομένα:

+
    +
  • Μνήμη δεδομένων - Για δεδομένα που είναι πάγια σε μέγεθος και στατικά, ήτοι διεθέσιμα σε όλον το βίο του προγράμματος. Θεωρήστε το κείμενο στο πρόγραμμά σας, πχ «Γεια σου κόσμε!». Τα byte αυτού του κειμένου αναγιγνώσκονται μόνο από ένα μέρος, και άρα μπορούν ν' αποθηκευτούν στην περιοχή αυτή. Οι μεταφραστές κάνουν διάφορες βελτιστοποιήσεις με αυτού του τύπου τα δεδομένα, και γενικότερα θεωρούνται τάχιστα στη χρήση καθώς οι περιοχές τους είναι γνωστές και πάγιες.
  • +
  • Μνήμη στοίβας - Για δεδομένα που ορίζονται ως μεταβλητές μέσα σε μία συνάρτηση. Η τοποθεσία των δεδομένων αυτών στη μνήμη δεν αλλάζει ποτέ για τη διάρκεια της κλήσης μίας συνάρτησης· λόγω αυτού, οι μεταφραστές μπορούν να βελτιστοποιήσουν κώδικα ώστε τα δεδομένα στοίβας να είναι πολύ γρήγορα στην προσπέλαση.
  • +
  • Μνήμη σωρού - Για δεδομένα που δημιουργούνται ενώ η εφαρμογή τρέχει. Τα δεδομένα σ' αυτήν την περιοχή μπορούν να προσθαφαιρεθούν, να μετακινηθούν, να αυξομειωθούν σε μέγεθος κτλ. Λόγω της δυναμικής τους φύσης θεωρούνται γενικότερα πιο αργά στη χρήση, αλλά επιτρέπουν πολύ πιο δημιουργικές χρήσης της μνήμης. Όταν τα δεδομένα προστίθενται σ' αυτην την περιοχή θα το αποκαλούμε ανάθεση, ενώ όταν αφαιρούνται θα το αποκαλούμε αποδέσμευση.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_hu.html b/beta_25_hu.html new file mode 100644 index 000000000..798cc3a25 --- /dev/null +++ b/beta_25_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memória

+

A Rust-ban írt programok háromféle memóriarégióban tárolják az adatokat:

+
    +
  • adat memória - A meghatározott mérettel rendelkező statikus (vagyis a program teljes +futási ideje alatt elérhető) adatai vannak itt tárolva. Ilyenek például a programodban +használt szövegek ("Helló Világ!"): A szöveg bájtjai csupán egy helyről vannak kiolvasva, +emiatt eltárolhatóak ebben a régióban. A fordítók sokféle optimalizációra képesek az itt +tárolt adatokkal, melyek emellé nagyon gyorsak is, hisz a helyük és méretük már a +fordításkor ismert és megváltoztathatatlan.
  • +
  • veremmemória - Ide kerülnek a függvényekben deklarált változók. Az itt tárolt adatok helye +nem változik a memóriában, így a fordító optimalizálhatja őket, emiatt nagyon gyors az +elérésük.
  • +
  • kupacmemória - Az alkalmazás futása közben létrejövő adatok helye. Az itt eltárolt +adatokhoz hozzá lehet adni, el lehet venni, mozgatni lehet, törölni, átméretezni, stb. Mivel +ennyire dinamikus, a használata lasabb mint az előző kettőé, cserébe sokkal kreatívabb +lehetőségeket biztosít a memória felhasználására. A kupachoz való hozzáadást +allokálásnak vagy foglalásnak, az eltávolítást pedig deallokálásnak vagy +felszabadításnak nevezzük.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_ie.html b/beta_25_ie.html new file mode 100644 index 000000000..6cfca4871 --- /dev/null +++ b/beta_25_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memorie

+

Programmas in Rust have 3 regiones de memorie ú es plazzat li data:

+
    +
  • data-memorie - Por data con un grandore fix e static (a saver, sempre disponibil durant li vive del programma). +Ples considerar li textu in tui programma (p.ex. "Salute Munde!"); li bytes de ti-ci textu es solmen leet e pro to +on plazza les in ti-ci loc. Li compilatores sovente optimisa ti tip data, on considera les rapidissim a usar pro que +lor locs es conosset e fix.
  • +
  • stack memory (cumul-memorie) - Por data declarat quam variabiles intra un function. Li loc de ti-ci memorie +ne changea se durant li duration del vocation de un function, e pro to li compilatores posse optimisar li code +por far data in li cumul rapid a utilisar.
  • +
  • heap memory (amasse-memorie) - Por data creat durant que li aplication execute se. Li data in ti-ci loc posse esser +adjuntet, movet, removet, mesurat, etc. Pro su natura dinamic on considera it plu lent a utilisar, ma it possibilisa +plu creativ usationes de memorie. Quande on adjunte data a ti-ci region on nomina it un alocation. Quande on remove data +de it on nomina it un dealocation.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_it.html b/beta_25_it.html new file mode 100644 index 000000000..6c4ebeb48 --- /dev/null +++ b/beta_25_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

La Memoria

+

I programmi Rust hanno 3 zone di memoria che possono contenere dati:

+
    +
  • memoria programma - Per i dati che hanno dimensione fissa e statici (cioè sempre accessibile per tutta la vita del programma). +Considera il testo nel programma (es. "Hello World!"): i byte di questo testo sono letti da un solo posto e quindi possono essere memorizzati in questo spazio. I compilatori eseguono molte ottimizzazioni su questi dati, e sono anche molto veloci da usare perchè la posizione è conosciuta e fissa.
  • +
  • memoria stack - Per i dati che sono dichiarati come variabili dentro una funzione. +L'indirizzo di questa zona di memoria non cambia mai per la durata della funzione; grazie a questa proprietà, il compilatore può ottimizzare il codice e quindi accedere più velocemente ai dati sullo stack.
  • +
  • memoria heap - Per i dati che vengono creati mentre l'applicazione sta girando. +In questa zona è possibile ingrandire, rimpicciolire, spostare, aggiungere o togliere dati; per via di questa natura dinamica è generalmente considerata più lenta nell'utilizzo, ma permette una enorme flessibilità nell'uso della memoria. Quando inseriamo dati in questa regione, parliamo di allocazione, mentre quando rimuoviamo dati avviene una deallocazione.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_ja.html b/beta_25_ja.html new file mode 100644 index 000000000..327a86e4f --- /dev/null +++ b/beta_25_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メモリ

+

Rust のプログラムでは、データを保持するために次の3種類のメモリ空間を持っています。

+
    +
  • データメモリ - 固定長もしくは スタティック (例: プログラムのライフサイクルで常に存在するもの)なデータ。 +プログラム内の文字列(例: ‘Hello World’)、 この文字列のキャラクタは読み取りにしか使えないため、この領域に入ります。 +コンパイラはこういったデータに対してチューニングをしており、メモリ上の位置はすでに知られていてかつ固定であるため、非常に速く使うことができます。
  • +
  • スタックメモリ - 関数内で宣言された変数。 +関数が呼び出されている間は、メモリ上の位置は変更されることがないため、コンパイラからするとチューニングができるので、スタックメモリも非常に速くデータにアクセスできます。
  • +
  • ヒープメモリ - プログラムの実行時に作られるデータ。 +このメモリにあるデータは追加、移動、削除、サイズの調節などの操作が許されています。動的であるため、遅いと思われがちですが、 +これによりメモリの使い方に柔軟性を生み出すことができます。データをヒープメモリに入れることをアロケーション(allocation)といい、データをヒープメモリから削除することはディアロケーション(deallocation)と言います。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_ko.html b/beta_25_ko.html new file mode 100644 index 000000000..8708311ca --- /dev/null +++ b/beta_25_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메모리

+

Rust 프로그램에는 데이터가 저장되는 세 가지의 메모리 영역이 있습니다:

+
    +
  • 데이터 메모리(data memory) - 크기가 고정 되었으며 static (i.e. 프로그램이 실행되는 동안 항상 사용 가능)한 데이터용. +프로그램의 텍스트를 생각해봅시다(예: "Hello World!"): 이 텍스트의 바이트들은 오직 한 곳에서만 읽히므로 +이 영역에 저장될 수 있습니다. 이런 종류의 데이터는 컴파일러가 많은 최적화를 하며, +위치가 알려져 있고 고정되어 있기 때문에 일반적으로 사용하기에 매우 빠르다고 여깁니다.
  • +
  • 스택 메모리(stack memory) - 함수 내에서 변수로 선언되는 데이터용. +이 메모리의 위치는 함수 호출 동안에는 절대 변하지 않기 때문에 컴파일러가 +코드를 최적화할 수 있으며, 이로 인해 접근하기에 매우 빠릅니다.
  • +
  • 힙 메모리(heap memory) - 애플리케이션이 실행되는 동안 생성되는 데이터용. +이 영역의 데이터는 추가하거나, 이동하거나, 제거하거나, 크기를 바꾸거나, 등을 +할 수 있습니다. 이런 동적 속성 때문에 일반적으로 사용하기에 느리다고 여기지만, +훨씬 더 창의적인 메모리 사용이 가능합니다. 데이터가 이 영역에 추가되면 +할당(allocation)이라고 부릅니다. 데이터가 이 영역에서 제거되면 해제(deallocation)라고 부릅니다.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_pl.html b/beta_25_pl.html new file mode 100644 index 000000000..253f03976 --- /dev/null +++ b/beta_25_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pamięć

+

Programy pisane w Ruscie mają do dyspozycji 3 rodzaje pamięci:

+
    +
  • dane - Jest to pamięć przeznaczona dla danych statycznych, tj. takich które nie podlegają zmianom w trakcie trwania programu. +Wyobraź sobie tekst zadeklarowany w ramach prostego programu "Hello World!". +Bajty użyte do przechowania prostego tekstu nie będą podlegać zmianom podczas trwania +programu, mogą więc być odczytywane wielokrotnie z jednego regionu pamięci. +Właśnie ze względu na ich statyczny charakter, kompilator jest w stanie silnie +zoptymalizować dostęp do tego typu danych.
  • +
  • stos - Pamięć gdzie przechowywane są zmienne wewnątrz funkcji. +Lokalizacja pamięci używanej przez stos pozostaje niezmieniona podczas całego czasu +trwania wywołania funkcji. Oznacza to, że kompilator może dokonać pewnych optymalizacji +przyspieszających korzystanie z tej pamięci.
  • +
  • sterta - Pamięć tworzona na potrzeby programu podczas jego trwania. +W tym regionie pamięci dane mogą być na bieżąco dodawane, przenoszone, usuwane, +przeskalowywane, itp. Ze względu na swoją dynamiczną naturę, sterta jest zwykle +wolniejsza od stosu, ale zamiast tego pozwala na bardziej kreatywne wykorzystanie +dostępnej pamięci. Kiedy dodajemy dane na stertę, taką operację nazywamy alokacją, +natomiast kiedy dane usuwamy, wówczas mówimy o dealokacji.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_pt-br.html b/beta_25_pt-br.html new file mode 100644 index 000000000..308bad196 --- /dev/null +++ b/beta_25_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memória

+

Os programas em Rust têm 3 regiões de memória onde os dados são armazenados:

+
    +
  • data memory (memória de dados) - Para dados com tamanho fixo e estático (ou seja, sempre disponíveis durante a vida útil do programa). Considere um texto em seu programa (por exemplo, "Olá, mundo!"), os bytes desse texto são somente lidos, então eles são colocados nesta região. Compiladores fazem muitas otimizações esse tipo de dados, eles geralmente são considerados muito rápidos de usar pois onde estão armazenados são conhecidos e fixos.
  • +
  • stack memory (memória de pilha) - Para dados declarados como variáveis dentro de uma função. O local dessa memória nunca muda durante a duração de uma chamada de função, assim os compiladores podem otimizar o código e por isso a pilha de dados é muito rápida de acessar.
  • +
  • heap memory - Para dados criados enquanto o aplicativo está em execução. Os dados nessa região podem ser adicionados, movidos, removidos, redimensionados etc. Por causa da sua natureza dinâmica geralmente é considerado mais lenta, mas permite usos de memória muito mais criativas. Quando dados são adicionados a essa região, chamamos de alocação. Quando os dados são removidos desta seção, chamamos de desalocação.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_ro.html b/beta_25_ro.html new file mode 100644 index 000000000..1cf9ea73f --- /dev/null +++ b/beta_25_ro.html @@ -0,0 +1,61 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memorie

+

Aplicațiile scrise în Rust au 3 zone de memorie unde este stocată informație:

+
    +
  • memoria pentru date - pentru date care sunt de dimensiune fixă și sunt statice (adică mereu disponibile pe toată durata rulării aplicației). +Considerați textul din programul dumneavoastră (ex: "Hello World!"): memoria ocupată (bytes) de acest text este citită dintr-un singur loc în cod +deci poate fi stocat în această zonă de memorie. Compilatoarele fac foarte multe optimizări +pentru acest tip de date și folosirea lor în general este considerată foarte rapidă, pentru că +locația lor este cunoscută și fixă.
  • +
  • memoria pentru stivă (stack) - pentru date declarate ca variabile în interiorul unei funcții (variabile locale). +Locația în memorie a acestor date nu se schimbă pe durata apelului funcției; datorită acestui lucru compilatoarele +pot optimiza codul astfel încât datele din stivă se accesează foarte rapid.
  • +
  • memoria pentru alocare dinamică (heap) - pentru date care sunt create în timpul rulării aplicației. +Datele în această zonă de memorie pot fi adăugate, mutate, șterse, redimensionate, etc. Din cauza +naturii sale dinamice, este în general considerată mai lentă, dar această zonă permite +utilizări mult mai creative ale memoriei. Când adăugăm date în această zonă de memorie, +numim această operație alocare (de memorie). Când ștergem date din această zonă de memorie, numim această operație +dealocare (de memorie).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_ru.html b/beta_25_ru.html new file mode 100644 index 000000000..8b7d637f8 --- /dev/null +++ b/beta_25_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Память (Memory)

+

Программы на Rust имеют 3 региона памяти в которых хранятся данные:

+
    +
  • data memory (память данных) - для данных фиксированного размера и статических данных (доступные в любой момент времени выполнения программы). +Рассмотрим текст в вашей программе (пример строка "Hello World!"). Эта строка является +набором байт, которые нельзя изменить и можно только считать, поэтому они могут сохраняться в данном регионе. Компиляторы +делают очень много оптимизаций с таким видом данных. Этот регион памяти считается очень быстрым, так как +местоположение данных известно и фиксировано заранее.
  • +
  • stack memory (стек) - для данных, которые объявлены как переменные внутри тела функции. +Местоположение этого типа памяти никогда не меняется на протяжении вызова функции, из-за этого компиляторы +могут оптимизировать код, поэтому взаимодействие со стековой памятью очень быстро работает.
  • +
  • heap memory (куча) - для данных, которые создаются во время работы приложения. +Данные в этом регионе могут быть добавлены, перемещены, удалены, изменены в размере, и т.д. Из-за своей +динамической природы, считается что этот регион медленней остальных, но он позволяет более творческое использование +памяти. Когда данные добавляются в этот регион, это называется allocation (выделение памяти). Когда данные +удаляются из данного региона, мы называем это deallocation (освобождение памяти).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_th.html b/beta_25_th.html new file mode 100644 index 000000000..c93ffb17d --- /dev/null +++ b/beta_25_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

หน่วยความจำ

+

โปรแกรมที่เขียนจาก Rust จะมีหน่วยความจำที่ใช้งานอยู่ 3 ส่วน:

+
    +
  • data memory - สำหรับเก็บข้อมูลที่ถูกกำหนดไว้ชัดเจน ทั้งในแง่ ขนาด และค่าคงที่ (เช่นอะไรก็ตามที่ใช้ได้ตลอดเวลาที่รันโปรแกรม) +ยกตัวอย่างข้อความในโปรแกรมของคุณ (เช่น "Hello World!"): ข้อมูลไบต์ของข้อความนี้ ถูกอ่านมาใช้แค่ครั้งเดียวเท่านั้น +ดังนั้นมันจึงถูกเก็บไว้ที่นี่ ซึ่งคอมไพเลอร์จะพยายามอย่างหนักเพื่อเพิ่มประสิทธิภาพให้ข้อมูลจำพวกนี้ +ทำให้มันถูกนำมาใช้งานได้เร็วมาก เพราะตำแหน่งที่มันอยู่จะแน่นอนและรู้โดยทั่วกัน
  • +
  • stack memory - สำหรับเก็บข้อมูลตัวแปรที่ประกาศไว้ในฟังก์ชัน +โดยตำแหน่งของข้อมูลนี้จะไม่เปลี่ยนแปลงเลยตลอดการทำงานของฟังก์ชัน; +และด้วยความสามารถของคอมไพเลอร์ จึงสามารถเพิ่มประสิทธิภาพให้การเข้าถึง stack นี้ทำได้เร็วมาก
  • +
  • heap memory - สำหรับข้อมูลที่สร้างขึ้นในขณะที่แอปพลิเคชันกำลังทำงาน +ข้อมูลในส่วนนี้อาจถูกเพิ่มย้ายลบปรับขนาด ฯลฯ ได้ตลอดเวลา +เนื่องจากโดยธรรมชาติข้อมูลส่วนนี้จะมีความยืดหยุ่นในการทำงาน ซึ่งก็รับรู้กันว่าต้องแลกมาด้วย +การทำงานที่ช้าลง แต่ก็นั่นแหล่ะ มันทำให้การทำงานมีความแพรวพราวเพิ่มขึ้นด้วย +เมื่อใดที่มีการเพิ่มข้อมูลลงมาในส่วนนี้ เราเรียกว่าการ allocation +และ เมื่อใดที่มีการลบข้อมูลออกไปจากส่วนนี้ เราจะเรียกมันว่า deallocation
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_tr.html b/beta_25_tr.html new file mode 100644 index 000000000..565164560 --- /dev/null +++ b/beta_25_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bellek

+

Rust programlarında veriler belleğin üç ayrı bölgesinde depolanırlar:

+
    +
  • Data memory - Belleğin Veri Bölgesi olarak telaffuz edebileceğimiz bu bölüm, program işletildiği müddetçe değerlendirilecek +sabit uzunluktaki statik verileri saklamak için kullanılır. İlk rust programımızda ekrana yazdırdığımız "Merhaba Dünya!" cümlesi, +aslında değiştirilemeyen ve sadece tek noktadan okunabilen bir byte koleksiyonu olduğundan bu bölgeye yerleştirilir. Belirgin +konumları ve sabit uzunlukları ile derleyicilerin pek çok iyileştirme yapabildiği bu verilerin saklandığı veri bölümü* çok hızlı +olarak kabul edilmektedir.

  • +
  • Stack memory - Belleğin Yığın Bölgesi olarak telaffuz edebileceğimiz bu bölüm, bir işlev içinde değişken olarak bildirilen verilerin +tutulduğu bölgedir. Belleğin bu konumu işlev çağrısı süresince hiçbir zaman değişmediğinden, veri erişim hızı derleyici iyileştirmeleri +sayesinde epeyce arttırılır.

  • +
  • Heap memory - Belleğin Öbek Bölgesi şeklinde telaffuz edebileceğimiz bu bölüm, programın işletilmesi sırasında yani çalışma zamanında +oluşturulan veriler için kullanılır. Bu bölgedeki veriler eklenebilir, taşınabilir, silinebilir, ve hatta yeniden boyutlandırılabilir haldedir. +Bu bölge dinamik yapıda olduğundan, her ne kadar hız bakımından yığından bellek bölgesinden geri kalıyor görünse de, belleğin yaratıcı biçimde +kullanılmasına izin verir. Bu bölgeye veri ekleme işlemine bellek ayırma, bu bölümden veri silme işlemine de belleği iade etme adı verilmektedir.

  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_ua.html b/beta_25_ua.html new file mode 100644 index 000000000..c5bfaaec0 --- /dev/null +++ b/beta_25_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Пам'ять

+

Програми на Rust мають три регіони пам'яті для збереження даних:

+
    +
  • пам'ять даних (data memory) - для даних фіксованого розміру та static (статичних) даних (таких, які будуть доступні на протязі всього життєвого циклу програми) +Розглянемо текст програми наприклад, т.з. "Hello World!": Байти цього рядка ніколи не зміняться і будуть тільки прочитані, тому можуть бути збережені в цьому регіоні. +Компілятори роблять достатньо багато оптимізацій щодо даних цього типу. До даних з цього регіону здійснюється швидкий доступ, оскільки їх положення й розмір відомі.

  • +
  • стек (stack memory) - дані, що були оголошені як змінні всередині функції. Положення даних в цьому регіоні ніколи не змінюється протягом виклику функції, +тому компілятор має змогу оптимізувати код задля швидкого доступу до цих даних.

  • +
  • пам'ять кучі (heap memory) - дані, що створені під час виконання програми. Дані цього регіону можуть бути додані, переміщені, видалені, їх розмір може бути змінений тощо. +Через динамічну природу їх можна розглядать як дані з менш швидким доступом, але з ширшими можливостями щодо креативу. +Розміщення даних в цьому регіоні називається алокацією (allocation). Видалення даних з цього регіону називається деалокацією (deallocation).

  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_vi.html b/beta_25_vi.html new file mode 100644 index 000000000..1147e31db --- /dev/null +++ b/beta_25_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bộ nhớ(Memory)

+

Các chương trình Rust có 3 vùng bộ nhớ nơi dữ liệu được lưu trữ:

+
    +
  • data memory(bộ nhớ dữ liệu) - Dành cho dữ liệu có kích thước cố định và tĩnh (tức là luôn có sẵn trong suốt vòng đời của chương trình). +Ví dụ như một đoạn text trong chương trình của bạn (ví dụ: "Hello World!"): +Các byte của đoạn text này chỉ được đọc từ một vị trí và do đó +có thể được lưu trữ trong khu vực này. Các trình biên dịch thực hiện +rất nhiều sự tối ưu hóa với loại dữ liệu này và +chúng thường được coi là sử dụng rất nhanh vì các vị trí đã được xác định và cố định.
  • +
  • stack memory(bộ nhớ ngăn xếp) - Đối với dữ liệu được khai báo dưới dạng các biến trong một hàm. +Vị trí của bộ nhớ này không bao giờ thay đổi trong suốt thời gian của một lệnh gọi hàm; bởi vì +trình biên dịch này có thể tối ưu hóa phần code nên dữ liệu ngăn xếp được truy cập rất nhanh.
  • +
  • heap memory(bộ nhớ heap) - Đối với dữ liệu được tạo trong khi ứng dụng đang chạy. +Dữ liệu trong khu vực này có thể được thêm, di chuyển, xóa, thay đổi kích thước, v.v. +Do tính chất động của nó, nó thường được coi là sử dụng chậm hơn, +nhưng nó cho phép sử dụng bộ nhớ sáng tạo hơn nhiều. Khi dữ liệu được thêm vào vùng này, chúng tôi +gọi nó là phân bổ(allocation). Khi dữ liệu bị xóa khỏi phần này, +chúng tôi gọi nó là thu hồi(deallocation).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_zh-cn.html b/beta_25_zh-cn.html new file mode 100644 index 000000000..dcf96a60c --- /dev/null +++ b/beta_25_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

内存

+

Rust 程序有 3 个存放数据的内存区域:

+
    +
  • 数据内存 - 对于固定大小和静态(即在整个程序生命周期中都存在)的数据。 +考虑一下程序中的文本(例如 “Hello World”),该文本的字节只能读取,因此它们位于该区域中。 +编译器对这类数据做了很多优化,由于位置已知且固定,因此通常认为编译器使用起来非常快。
  • +
  • 栈内存 - 对于在函数中声明为变量的数据。 +在函数调用期间,内存的位置不会改变,因为编译器可以优化代码,所以栈数据使用起来比较快。
  • +
  • 堆内存 - 对于在程序运行时创建的数据。 +此区域中的数据可以添加、移动、删除、调整大小等。由于它的动态特性,通常认为它使用起来比较慢, +但是它允许更多创造性的内存使用。当数据添加到该区域时,我们称其为分配。 从本区域中删除 +数据后,我们将其称为释放
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_25_zh-tw.html b/beta_25_zh-tw.html new file mode 100644 index 000000000..cc5ee88f5 --- /dev/null +++ b/beta_25_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

記憶體 (memory)

+

Rust 程式裡有三塊記憶體區塊用來儲存資料:

+
    +
  • 資料記憶體 (data memory):有著固定大小且是靜態 (即整個程式的生週期裡都可以存取) 的資料。 +例如你程式裡的一段文字 (例如:"Hello World!"):這段文字的位元組 (bytes) 只會從一個固定的地方被讀取,因此它可以被儲存在這個區塊。 +編譯器在這類型的資料上做了許多優化,因為它們的位址是已知且固定,所以通常可以很快速的取得。
  • +
  • 堆疊記憶體 (stack memory):在函數裡宣告為變量的資料。 +在一個函數呼叫裡,這類記憶體的位址永遠不會變動,因此編譯器可以對此做優化,使得堆疊資料可以快速被存取。
  • +
  • 堆記憶體 (heap memory):當應用程式正在運行時所創建的資料。 +在此區塊的資料可能會新增、移動、移除、更改大小…等等。因為它的動態特性,使得它們一般被認為在使用上是比較慢的。 +但是也讓使用者可以有更多有創意的方式使用記憶體。 +當資料被新增到此區塊,我們稱之為分配 (allocation)。當資料從此區塊被移除,我們稱之為回收 (deallocation)。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_26_al.html b/beta_26_al.html new file mode 100644 index 000000000..969897eec --- /dev/null +++ b/beta_26_al.html @@ -0,0 +1,71 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Krijimi i të dhënave në memorie

+

Kur ne instantojmë një struktur në kodin tonë programi ynë krijon + të dhënat e fushës shoqëruese krah për krah në memorie.

+

Ne instantojmë duke specifikuar të gjitha vlerat e fushës brenda

+

Emri i strukturës { ... }.

+

Fushat e strukturës aksesohen duke përdorur një operator me pika ..

+

Detajet e kujtesës të shembullit tonë:

+
    +
  • Teksti brenda thonjëzave është vetëm të dhëna për lexim (p.sh. "Ferris"), prandaj +është +vendosur në regjionin e memories së të dhënave.
  • +
  • Thirrja e funksionit String::from krijon një strukturë String që vendoset +anësor +krah për krah me fushat e SeaCreature në stack. Një varg paraqet tekst që mund të ndryshohet +dhe e bën këtë duke:
  • +
+
    +
  1. Krijimi i memories në grumbull për tekstin ku mund të modifikohet
  2. +
  3. Ruajtja e një referimi në atë vendndodhje memorie në grumbull dhe ruajtja e saj në String +struct (Më shumë për këtë në mësimet e ardhshme)
  4. +
+
    +
  • Më në fund dy miqtë tanë Ferris dhe Sara kanë struktura të dhënash që +do të ketë gjithmonë +vendndodhje fikse në programin tonë, kështu që ato vendosen në stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ar.html b/beta_26_ar.html new file mode 100644 index 000000000..4dfb0da0d --- /dev/null +++ b/beta_26_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إنشاء البيانات في الذاكرة

+

عندما نقوم بـ تمثيل (instantiate) لـ هيكل (struct) في شيفرتنا البرمجية فإن البرنامج ينشئ بيانات الحقول المرتبطة به جنبا إلى جنب في الذاكرة.

+

نقوم بإنشاء مثيل عن طريق تحديد جميع قيم الحقول داخل الهيكل، مثال StructName { ... }.

+

يمكن الوصول الى حقول الهيكل (Struct fields) عن طريق العامل نقطة ..

+

تفاصيل الذاكرة لمثالنا:

+
    +
  • النص الموجود داخل علامتي الاقتباس هو بيانات للقراءة فقط (على سبيل المثال "Ferris")، وبالتالي يتم وضعه في منطقة ذاكرة البيانات (data memory region)
  • +
  • استدعاء الدالة String::from ينشئ هيكل (struct) اسمه String ويوضع جنبا إلى جنب مع حقول الهيكل SeaCreature في المكدس (stack). تمثل السلسلة النصية (String) نصًا يمكن تغييره وإليك ما يحدث:
      +
    1. إنشاء ذاكرة في الكومة (heap) لذلك النص بحيث يمكن تعديله
    2. +
    3. تخزين مرجع موقع هذه الذاكرة الموجودة في الكومة (heap) وتخزينه في الهيكل String (المزيد حول هذا في الدروس القادمة)
    4. +
    5. وأخيرًا، لدى صديقينا Ferris و Sarah هياكل بيانات ذات مواقع دائمًا ثابتة في برنامجنا، لذلك يتم وضعها في المكدس (stack).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_de.html b/beta_26_de.html new file mode 100644 index 000000000..b1c025277 --- /dev/null +++ b/beta_26_de.html @@ -0,0 +1,66 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structs initialisieren

+

Wenn ein struct instanziiert wird, legt das Programm die Felder des structs Seite an Seite im Speicher an.

+

Die Initialisierung erfolgt mit folgendem Syntax:

+

StructName { feld1, feld2, ... }.

+

Auf die Felder des structs werden mit einem . zugegriffen.

+

In unserem Beispiel bedeutet das:

+
    +
  • Text innerhalb der Anführungszeichen sind read-only Daten (z.B. "ferris"), daher sind sie +in data memory
  • +
  • Der Funktionsaufruf String::from erstellt ein struct String das Seite an Seite der anderen +Felder in SeaCreature auf den stack gelegt wird. Ein String repräsentiert (veränderbaren) Text, +der…
  • +
+
    +
  1. … im heap angelegt wird und daher dort verändert werden kann,
  2. +
  3. … die Adresse (Referenz) zum Speicherstück im heap im String struct speichert
  4. +
+
    +
  • Nachdem unsere Freunde Ferris und Sarah Datenstrukturen sind, die in der main-Funktion +erstellt wurden, werden diese auf den stack platziert.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_en.html b/beta_26_en.html new file mode 100644 index 000000000..06ce82dc9 --- /dev/null +++ b/beta_26_en.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Data In Memory

+

When we instantiate a struct in our code our program creates the associated field data side by side in memory.

+

We instantiate by specifying all field values within

+

StructName { ... }.

+

Struct fields are accessed using a dot operator ..

+

Memory details of our example:

+
    +
  • The text inside the quotes is read only data (e.g. "Ferris"), therefore it is +placed in the data memory region.
  • +
  • The function call String::from creates a struct String that is placed side +by side with the fields of SeaCreature in the stack. A String represents text that can be changed +and does this by:
  • +
+
    +
  1. Creating memory on the heap for the text where it can be modified
  2. +
  3. Storing a reference to that memory location on the heap and storing it in String +struct (More on this in future lessons)
  4. +
+
    +
  • Finally our two friends Ferris and Sarah have data structures that will always have +fixed locations in our program, so they are placed on the stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_es.html b/beta_26_es.html new file mode 100644 index 000000000..70378b88a --- /dev/null +++ b/beta_26_es.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creación de Datos en Memoria

+

Cuando instanciamos una estructura struct en nuestro código, nuestro programa crea los datos asociados a cada campo uno al lado del otro en memoria.

+

Para instanciar una estructura, especificaremos todos los valores de los campos dentro de

+

StructName { ... }.

+

Los campos de una estructura se acceden mediante el operador de punto ..

+

Detalles de memoria de nuestro ejemplo:

+
    +
  • El texto dentro de las comillas es de sólo lectura de datos (por ejemplo, "ferris"), por lo tanto se +coloca en la región de memoria de datos.
  • +
  • La llamada a la función String::from crea una estructura String que se coloca al lado de los campos +de SeaCreature en la pila. Un string representa un texto que se puede modificar y lo hace de la siguiente manera:
  • +
+
    +
  1. Crea memoria en el montículo para el texto, donde se puede modificar.
  2. +
  3. Guarda una referencia a esa ubicación de memoria en el montículo y lo almacena en la estructura String +(Nos centraremos en esto en futuras lecciones).
  4. +
+
    +
  • Finalmente nuestros amigos Ferris y Sarah tienen estructuras de datos que siempre tendrán +ubicaciones fijas en nuestro programa, así que se colocan en la pila.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_fa.html b/beta_26_fa.html new file mode 100644 index 000000000..f6e603cbc --- /dev/null +++ b/beta_26_fa.html @@ -0,0 +1,67 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating Data In Memory

+

When we instantiate a struct in our code our program creates the associated field data side by side in memory.

+

We instantiate by specifying all field values within

+

StructName { ... }.

+

Struct fields are accessed using a dot operator ..

+

Memory details of our example:

+
    +
  • The text inside the quotes is read only data (e.g. "ferris"), therefore it is +placed in the data memory region.
  • +
  • The function call String::from creates a struct String that is placed side +by side with the fields of SeaCreature in the stack. A String represents text that can be changed +and does this by:
  • +
+
    +
  1. Creating memory on the heap for the text where it can be modified
  2. +
  3. Storing a reference to that memory location on the heap and storing it in String +struct (More on this in future lessons)
  4. +
+
    +
  • Finally our two friends Ferris and Sarah have data structures that will always have +fixed locations in our program, so they are placed on the stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_fr.html b/beta_26_fr.html new file mode 100644 index 000000000..3ebce10aa --- /dev/null +++ b/beta_26_fr.html @@ -0,0 +1,69 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Création de donnée en mémoire

+

Lorsqu'on instancie une structure dans notre code, le programme +crée les champs de données associés côte à côte en mémoire.

+

On instancie une structure en spécifiant les champs dans des accolades.

+

StructName { ... }.

+

On accède aux champs de la structure avec l'opérateur ..

+

Détail de la mémoire pour notre exemple:

+
    +
  • Le texte à l'intérieur des guillemets est une donnée de lecture uniquement (e.g. "ferris"), +celui-ci est donc placé dans la région data memory.
  • +
  • L'appel à la fonction String::from crée une structure String qui est placée en mémoire à côté +des champs de la structure SeaCreature sur la pile. Un élément String représente un texte +qui peut changer et cela est rendu possible en:
  • +
+
    +
  1. Créant un emplacement sur le tas pour le texte où il pourra être modifié
  2. +
  3. Stockant une référence vers cet emplacement de mémoire (sur le tas) et +en stockant cette référence dans une structure String (sur la pile). Nous reparlerons +de cela dans de futures leçons.
  4. +
+
    +
  • Finalement nos deux amis Ferris et Sarah ont des structures de données qui auront +toujours une position fixe en mémoire et sont donc placés sur la pile.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_gr.html b/beta_26_gr.html new file mode 100644 index 000000000..495129b81 --- /dev/null +++ b/beta_26_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Δημιουργία δεδομένων στη μνήμη

+

Όταν αρχικοποιούμε μία δομή στον κώδικά μας, το πρόγραμμα δημιουργεί τα αντίστοιχα πεδία δεδομένων δίπλα-δίπλα στη μνήμη.

+

Αρχικοποιούμε ορίζοντας όλες τις τιμές των πεδίων μέσα.

+

ΌνομαΠεδίου { ... }.

+

Τα πεδία των δομών προσπελαύνονται με τον τελεστή τελείας ..

+

Λεπτομέρειες μνήμης για το παράδειγμά μας:

+
    +
  • Το κείμενο μέσα στα εισαγωγικά είναι δεδομένα που μόνο αναγιγνώσκονται (π.χ. "Ferris"), και άρα τοποθετείται στην περιοχή μνήμης δεδομένων.
  • +
  • Η κλήση της συνάρτησης String::from δημιουργεί μία δομή String που τοποθετείται πλάι-πλάι με τα πεδία του SeaCreature στη στοίβα. Τα περιεχόμενα του κειμένου της String, όμως, δεν τοποθετούνται στη στοίβα αλλά στο σωρό, και λόγω αυτού μπορούν ν' αλλάξουν. Η ακριβής διαδικασία έχει ως εξής:
      +
    1. Δεσμεύεται μνήμη στο σωρό για το κείμενο, όπου και μπορεί να αλλαχθεί
    2. +
    3. Μία αναφορά στην εν λόγω περιοχή μνήμης του σωρού διατηρείται και αποθηκεύεται στη δομή String που βρίσκεται ήδη στη στοίβα (περισσότερες λεπτομέρειες σε μετέπειτα μαθήματα)
  • +
  • Τέλος οι δύο φίλοι μας ο Ferris κι η Sarah έχουν δομές δεδομένων που θα έχουν πάντοτε πάγιες τοποθεσίες στο πρόγραμμά μας, οπότε τοποθετούνται στη στοίβα.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_hu.html b/beta_26_hu.html new file mode 100644 index 000000000..5cd9777de --- /dev/null +++ b/beta_26_hu.html @@ -0,0 +1,69 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Adatok létrehozása a memóriában

+

Amikor példányosítunk egy struct-ot a kódunkban, a program létrehozza a hozzá tartozó +mezőket a memóriában.

+

A példányosítás úgy történik, hogy a StructName { ... }-ben található összes mezőnek értéket +adunk.

+

A struct-ok mezőit a . operátorral érjük el.

+

Hogyan is történnek a dolgok a memóriában ebben a példában:

+
    +
  • Az idézőjelek közötti szöveg csak olvasható adat ("ferris"), így ez az +adat memóriában van eltárolva.
  • +
  • A String::from funkció meghívása létrehoz egy String struct-ot, ami a SeaCreature mezőibe +kerül a veremben. A String olyan szöveget tartalmaz, ami megváltoztatható. Ezt úgy éri el, +hogy:
  • +
+
    +
  1. A kupacon allokál helyet a szövegnek, ami így szabadon változtatható.
  2. +
  3. Majd ennek a szövegnek a helyét szintén egy a kupacon allokált referenciában tárolja +el, ami végül a String struct-ban fog megjelenni. (Erről a későbbi fejezetekben lesz még +szó.)
  4. +
+
    +
  • Végül pedig ott van Ferris és Sarah, akik mivel meghatározott helyen lévő adatstruktúrák, +így a veremben kerülnek eltárolásra.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ie.html b/beta_26_ie.html new file mode 100644 index 000000000..6360ed2ae --- /dev/null +++ b/beta_26_ie.html @@ -0,0 +1,66 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creation de Data in Memorie

+

Quande on instantia un struct in nor code, li programma crea li data por li camp relatet con it ye láteres in li memorie.

+

Noi instantia per specificar omni camp-valores intra

+

StructNómine { ... } .

+

Accesse es dat al campes de un struct con li punctu-operator ..

+

Detallies pri memorie in nor exemple:

+
    +
  • Li textu intra li signes de citation es data quel es solmen leet (p.ex. "ferris"), e pro to es plazzat in li +region por data-memorie
  • +
  • Li function-vocation String::from crea li struct String quel es plazzat lateralmen con li campes de CreaturaMarit +sur li stack. Un String representa textu changeabil, fante it possibil quam seque:
  • +
+
    +
  1. Per crear memorie sur li heap por li textu ú it posse esser modificat
  2. +
  3. Per aprovisionar un referentie a ti loc de memorie sur li heap e aprovisionar it in li struct String +(plu detallies pri to in lectiones a sequer)
  4. +
+
    +
  • In fine, nor amics Ferris e Sarah possede data-structuras queles sempre va haver locs fix in nor programma, +e pro to es plazzat sur li stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_it.html b/beta_26_it.html new file mode 100644 index 000000000..cf686c42d --- /dev/null +++ b/beta_26_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creare dati in memoria

+

Quando instanziamo una struct nel nostro codice, il nostro programma crea i rispettivi campi in memoria.

+

Instanziamo specificando il valore di tutti i campi con

+

StructName { ... }.

+

I campi nella struct sono accessibili usando l'operatore punto ..

+

Vediamo il dettaglio dell'uso di memoria nell'esempio:

+
    +
  • Il testo tra virgolette sono dati in sola lettura ("Ferris"), quindi verrà collocato in memoria dati programma. * La chiamata funzione String::from crea una struttura String che viene posta, vicino ai campi della struttura SeaCreature, nello stack. Una String rappresenta testo che può essere modificato e funziona in questo modo:
  • +
+
    +
  1. Alloca memoria nello heap per il testo, dove potrà essere modificato
  2. +
  3. Memorizza l'indirizzo di quella locazione di memoria nella struct String, insieme ad altri dati della stringa (su questo approfondiremo nelle prossime lezioni)
  4. +
+
    +
  • I nostri due amici Ferris and Sarah hanno campi con una locazione di memoria fissa nel programma, e quindi saranno strutture dati che vivranno nello stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ja.html b/beta_26_ja.html new file mode 100644 index 000000000..bb7cf5984 --- /dev/null +++ b/beta_26_ja.html @@ -0,0 +1,63 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メモリの中でデータを作成する

+

コードの中で 構造体インスタンス化 する際に、プログラムはフィールドデータをメモリ上で隣り合うように作成します。

+

全てのフィールドの値を指定してインスタンス化をする際:

+

構造体名 {...}.

+

構造体のフィールドは演算子 . で取り出すことができます。

+

例に示したコードのメモリ状況について:

+
    +
  • ダブルクオートに囲まれたテキスト(例: "Ferris")は読み取り専用データであるため、 データメモリ に入ります。
  • +
  • 関数の呼び出し String::from では構造体 String を作成し、この構造体と SeaCreature のフィールドを隣り合う形で スタック に入れられます。 + フィールドの値は変更可能であり、メモリ上では以下の様に変更されます。
  • +
+
    +
  1. ヒープ に変更可能なメモリを作り、テキストを入れます。
  2. +
  3. 1.で作成した参照アドレスを ヒープ に保存し、それを String に保存します(後の章でまた詳しく紹介します。)。
  4. +
+
    +
  • 最後に、我々の友である FerrisSarah はプログラムの中では固定な位置であるため、スタック に入ります。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ko.html b/beta_26_ko.html new file mode 100644 index 000000000..139cfc807 --- /dev/null +++ b/beta_26_ko.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메모리에 데이터 생성하기

+

코드에서 struct인스턴스화(instantiate) 하면 프로그램은 연관된 field 데이터들을 메모리 상에 나란히 생성합니다.

+

StructName { ... }.

+

와 같이 안에 모든 field 값을 지정함으로써 instantiate 합니다.

+

struct의 field 값들은 . 연산자를 통해 접근합니다.

+

이 예제의 메모리 상세:

+
    +
  • 큰따옴표 안의 텍스트는 읽기 전용 데이터이므로 (예: "ferris"), data memory 영역에 +위치합니다.
  • +
  • String::from 함수 호출은 String struct를 생성하며 stack에 SeaCreature의 field들과 나란히 위치시킵니다. +String은 변경될 수 있는 텍스트를 의미하며 이는 다음에 의해 이루어집니다:
  • +
+
    +
  1. 텍스트가 수정될 수 있도록 heap에 메모리를 생성
  2. +
  3. 해당 메모리 위치에 대한 참조를 heap에 저장하고 이를 String struct에 저장 +(앞으로 강의에서 더 자세히)
  4. +
+
    +
  • 마지막으로 우리의 두 친구 FerrisSarah는 우리 프로그램에서 언제나 고정된 위치를 가지는 +자료 구조를 가지게 되었고, 따라서 stack에 위치하게 되었습니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_pl.html b/beta_26_pl.html new file mode 100644 index 000000000..75e14e08e --- /dev/null +++ b/beta_26_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tworzenie Danych w Pamięci

+

Kiedy tworzymy nową instancję pewnej struktury w naszym kodzie, nasz program inicjalizuje dla niej miejsce w pamięci komputera, układając dane kolejnych pól struktury w jednym ciągu, jedno obok drugiego.

+

Nową instancję tworzymy wpisując nazwę struktury i dopisując jej elementy wewnątrz nawiasów klamrowych: StructName { ... }. +Aby dostać się do pól istniejącej instancji struktury używamy operatora kropki ..

+

Kilka ciekawostek dotyczących rozkładu struktur w pamięci:

+
    +
  • Tekst wewnątrz cudzysłowu jest rozumiany jako dane tylko do odczytu, przez co odpowiednio ląduje w regionie pamięci przeznaczonym dla danych statycznych
  • +
  • Wywołanie funkcji String::from tworzy strukturę String która zostaje umieszczona obok innych pól obiektu SeaCreature na stosie. String reprezentuje tekst który może być zmieniony w trakcie trwania programu, co oznacza, że:
      +
    • Stworzony zostaje obszar pamięci na stercie dla przechowania danych +reprezentujących modyfikowalny ciąg znaków
    • +
    • Przechowuje się na stosie referencję do miejsca na stercie gdzie przechowywane są te dane
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_pt-br.html b/beta_26_pt-br.html new file mode 100644 index 000000000..65207433d --- /dev/null +++ b/beta_26_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Criando Dados na Memória

+

Quando nós instanciamos uma struct no nosso código o programa cria os campos associados lado-a-lado na memória.

+

Nós instanciamos uma estrutura especificando todos os valores dos campos dentro de

+

StructName { ... }.

+

Os campos são acessados usando o operador de ponto ..

+

Detalhes da memória do nosso exemplo:

+
    +
  • O texto dentro das aspas é somente leitura (por exemplo, "Ferris"), portanto é colocado na região da memória de dados.
  • +
  • A chamada da função String::from cria uma struct String que é colocada lado-a-lado com os campos de SeaCreature na pilha. Uma String representa um texto que pode ser alterado e faz assim:
  • +
+
    +
  1. Criando memória no heap para o texto onde ele pode ser modificado.

  2. +
  3. Armazenando uma referência a esse local de memória no heap e armazenando-o no struct String (mais a respeito em lições futuras).

  4. +
+
    +
  • Finalmente, nossos dois amigos Ferris e Sarah têm estruturas de dados que sempre terão locais fixos em nosso programa, portanto, eles são colocados na pilha.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ro.html b/beta_26_ro.html new file mode 100644 index 000000000..054c061d1 --- /dev/null +++ b/beta_26_ro.html @@ -0,0 +1,66 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crearea datelor în memorie

+

Când instanțiem o structură în codul nostru, aplicația creează câmpurile de date unul lângă altul în memorie.

+

Instanțiem o structură specificând toate valorile câmpurilor în interiorul

+

NumeleStructurii { ... }.

+

Câmpurile unei structuri sunt accesate folosind operatorul ..

+

Detalii despre memorie în exemplul nostru:

+
    +
  • Textul din interiorul ghilimelelor este o dată care poate fi numai citită (ex: "Ferris"), deci acesta este +pus în zona memoriei pentru date.
  • +
  • Apelul funcției String::from creează o structură de tip String ale cărei câmpuri sunt depuse, unul lângă altul, lângă câmpurile structurii, pe stivă. Un String reprezintă text care poate fi modificat +în următoarele moduri:
  • +
+
    +
  1. Se alocă memorie pe heap pentru text și acolo va putea fi modificat
  2. +
  3. Stochează o referință la acea locație de pe heap în structura String +(Mai multe despre acest concept în următoarele lecții)
  4. +
+
    +
  • Așadar, cei doi prieteni ai noștri, Ferris și Sarah, sunt structuri de date care vor avea mereu +locații fixe în aplicația noastră, deci vor fi puși în stivă.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ru.html b/beta_26_ru.html new file mode 100644 index 000000000..88a91f841 --- /dev/null +++ b/beta_26_ru.html @@ -0,0 +1,66 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Создание структур в памяти

+

Когда мы создаём экземпляр структуры в коде, программа выделяется память для всех полей структуры друг за другом.

+

Мы создаем экземпляр структуры указывая значения всех полей внутри:

+

StructName { ... }

+

Доступ к полям структуры происходит через оператор точку ..

+

Детали для запоминания по примеру:

+
    +
  • Текст внутри двойных кавычек - это данные только для чтения (пример "ferris"), следовательно +он размещается в регионе data memory
  • +
  • Вызов функции String::from создает структуру String из стандартной библиотеки типов, которая размещается рядом с другими полями +структуры SeaCreature в стеке. String (строка) представляет текст, который может быть +изменен и создается по шагам так:
  • +
+
    +
  1. Выделяет память в куче (heap memory) для текста (размер выделенной памяти в куче может увеличиваться и уменьшаться)
  2. +
  3. Сохраняет ссылку на выделенную память из кучи в структуре String (подробнее в следующих занятиях)
  4. +
+
    +
  • В итоге наши два друга Феррис и Сара имеют структуры данных, которые всегда будут иметь фиксированные +местоположения в нашей программе, так как они расположены на стеке.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_th.html b/beta_26_th.html new file mode 100644 index 000000000..05daff7d7 --- /dev/null +++ b/beta_26_th.html @@ -0,0 +1,66 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การสร้างข้อมูลในหน่วยความจำ

+

เมื่อเราสร้าง อินสแตนซ์ จาก struct สักตัวในโค้ดของเรา โปรแกรมของเราจะสร้าง ข้อมูลจากโครงสร้างฟิลด์ไว้เคียงข้างกันในหน่วยความจำ

+

เราสร้างอินสแตนซ์จากฟิลด์ทั้งหมดภายใน

+

StructName { ... }.

+

การเข้าถึงฟิลด์ใน Struct ทำได้ด้วยการใช้ตัวดำเนินการ .

+

รายละเอียดหน่วยความจำจากตัวอย่างนี้:

+
    +
  • ข้อความในเครื่องหมายคำพูด เป็นข้อมูลที่ใช้อ่านอย่างเดียว (เช่น "Ferris"), +พวกนี้จะไปอยู่ใน data memory region
  • +
  • มีการเรียกฟังก์ชัน String::from เพื่อสร้าง struct ของ String เพื่อนำไปวางเคียงข้างกัน +กับฟิลด์ใน SeaCreature ใน stack โดยที่ String คือข้อความที่สามารถเปลี่ยนได้และทำได้โดย:
  • +
+
    +
  1. ไปสร้างหน่วยความจำใน heap สำหรับข้อความที่ต้องการแก้ไข
  2. +
  3. จัดเก็บสิ่งที่จะอ้างถึงหน่วยความจำนั้นไว้ใน heap แล้วค่อยเอาสิ่งนี้ ไปไว้ใน struct ของ String +(มีเพิ่มเติมเรื่องนี้ในบทเรียนต่อๆไป)
  4. +
+
    +
  • ในที่สุดเพื่อนของเราทั้งสอง Ferris และ Sarah จึงมีโครงสร้างข้อมูลของตัวเอง แถมยังมีตำแหน่งที่ชัดเจน +และคงที่ด้วย อยู่ในโปรแกรมของเรา และแน่นอนว่านั่นอยู่ใน stack
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_tr.html b/beta_26_tr.html new file mode 100644 index 000000000..138f09c57 --- /dev/null +++ b/beta_26_tr.html @@ -0,0 +1,64 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bellekte Veri Oluşturmak

+

Bir yapıyı örneklediğimizde programımız tarafından o yapının birbiriyle ilişkili alanları, bellekte yan yana gelecek şekilde yerleştirilir.

+

Bir yapının örneğini, bildirdiği tüm alan değerlerini belirleyerek oluştururuz:

+

YapininAdi {alan1, alan2, ...}.

+

Yapı alanlarına ise . nokta işlecini kullanarak erişebiliyoruz.

+

Örneğimiz için bellek aşağıdaki gibi şekillenecektir:

+
    +
  • Örneğimizdeki "Ferris" benzeri tırnak içindeki metinler, salt okunur veriler olduğundan Belleğin Veri Bölgesine yerleştirilir.
  • +
  • String::from işlevine yapılan çağrı, yığındaki DenizCanlisi alanlarıyla yan yana yerleştirilen bir String yapısı oluşturur. +String yani dilimizdeki karşılığıyla dizgi, değiştirilebilir metni temsil eder ve bu değişim şu şekilde mümkün olur:
  • +
+
    +
  1. Öbek Bölgesi üzerinde ayrılan belleğin boyutu değişebilir olduğundan, metin için gereken düzenlenebilir alan belleğin bu bölgesinde oluşturulur.

  2. +
  3. Öbek üzerinde ayrılmış bulunan bu bellek konumuna bir başvuru oluşturulur ve bu başvuru daha sonra değineceğimiz bir String yapısında depolanır.

  4. +
+
    +
  • Nihayetinde, Ferris ve Sarah adlı bu arkadaşlarımız, bellekte daima sabit biçimde konumlandırılacaklarından, stack memory +yani yığın bölümüne yerleştirilecek veri yapılarına sahip olacaklardır.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_ua.html b/beta_26_ua.html new file mode 100644 index 000000000..3e4560bd1 --- /dev/null +++ b/beta_26_ua.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Створення даних у пам'яті

+

Коли ми інстанціюємо (instantiate) структуру (struct) в нашому коді - програма створює в пам'яті стуктуру з полями, розташованими одне за одним.

+

Інстанціювання структури відбувається за допомогою вказування значень полів:

+

StructName { ... }.

+

Доступ до полів забезпечується оператором ..

+

Деталі роботи за пам'яттю для нашого прикладу:

+
    +
  • Текст в лапках - дані лише для читання, наприклад "Ferris", таким чином вони розташовані в data memory регіоні.
  • +
  • Виклик функції String::from створює структуру String (рядок), поля якої розташовані одразу за полями SeaCreature в стеку (stack). Рядки представляють в пам'яті текст, що може бути змінений, а отже:
  • +
+
    +
  1. Пам'ять буде виділена в кучі (heap), де може бути модифікована.
  2. +
  3. Зберігання посилання на цю область пам'яті в кучі і збереження її в структурі String (рядок). Більше про це в наступних уроках.
  4. +
+
    +
  • І нарешті наші два друга Ferris та Sarah належать до структури даних, що мають фіксоване положення в нашій програмі, оскільки розміщені в стеку (stack).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_vi.html b/beta_26_vi.html new file mode 100644 index 000000000..023a142ee --- /dev/null +++ b/beta_26_vi.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tạo dữ liệu trong bộ nhớ

+

Khi chúng ta khởi tạo một struct, chương trình của chúng ta sẽ tạo dữ liệu trường liên kết cạnh nhau trong bộ nhớ.

+

Chúng ta khởi tạo bằng cách chỉ định tất cả các giá trị trường bên trong

+

StructName { ... }.

+

Các trường cấu trúc được truy cập bằng toán tử dấu chấm ..

+

Chi tiết về bộ nhớ trong phần ví dụ:

+
    +
  • Văn bản bên trong dấu ngoặc kép là dữ liệu chỉ đọc (ví dụ: "Ferris"), +do đó nó được đặt trong vùng bộ nhớ dữ liệu(data memory region).
  • +
  • Lệnh gọi hàm String :: from tạo ra một struct String +được đặt cạnh nhau với các trường của SeaCreature trong stack. +Một String đại diện cho đoạn text có thể được thay đổi và thực hiện điều này bằng cách:
  • +
+
    +
  1. Tạo bộ nhớ trên heap cho đoạn text nơi nó có thể được sửa đổi
  2. +
  3. Lưu trữ một tham chiếu đến vị trí bộ nhớ đó trên heap và lưu trữ nó trong struct String +(Điều này sẽ được làm rõ hơn trong những phần sau)
  4. +
+
    +
  • Cuối cùng thì hai người bạn FerrisSarah của chúng ta +có cấu trúc dữ liệu mà sẽ luôn có vị trí cố định +trong chương trình, vì vậy chúng được đặt trên stack.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_zh-cn.html b/beta_26_zh-cn.html new file mode 100644 index 000000000..c74505c1b --- /dev/null +++ b/beta_26_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

在内存中创建数据

+

当我们在代码中实例化一个结构体时,我们的程序会在内存中并排创建关联的字段数据。

+

当我们通过制定所有字段值的方式来实例化时:

+

结构体名 { ... }.

+

结构体字段可以通过 . 运算符来获取。

+

我们例子的内存详情:

+
    +
  • 引号内的文本是只读数据(例如“ferris”),因此它位于数据内存区
  • +
  • 函数调用 String::from 创建一个结构体 String,该结构体与 SeaCreature 的字段并排放置在中。 +字符串容器通过如下步骤表示可更改的文本:
      +
    1. 上创建可修改文本的内存。
    2. +
    3. 中存储对象的内存位置的引用存储在 String 结构体中(在以后的课程中会详细介绍)。
  • +
  • 最后,我们的两个朋友 FerrisSarah 有在程序中总是固定的位置的数据结构,所以它们被放在上。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_26_zh-tw.html b/beta_26_zh-tw.html new file mode 100644 index 000000000..e2b92d09f --- /dev/null +++ b/beta_26_zh-tw.html @@ -0,0 +1,63 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

在記憶體裡創建資料

+

當我們在程式碼裡實體化 (instantiate) 一個結構 (struct) 時,我們的程式將在記憶體裡產生相鄰的欄位資料。

+

我們透過指定所有欄位數值來實體化

+

StructName { ... }.

+

結構裡的欄位可以透過 . 被存取。

+

以下說明範例的細節:

+
    +
  • 在雙引號內的文字是唯讀資料 (例如 "Ferris"),因此它被放在資料記憶體區塊 (data memory region) 裡。
  • +
  • 呼叫 String::from 函數將產生一個 String 結構,它跟其他 SeaCreature 的欄位相鄰擺在一起,並放在堆疊 (stack)。 +一個字串表示一段文字,而且透過以下方式被更改:
  • +
+
    +
  1. (heap) 上產生記憶體給文字使用,而且可以被更改
  2. +
  3. 的記憶體位址存在參考 (reference) 裡,並且儲存在 String 結構裡 (後續章節會更詳細說明)
  4. +
+
    +
  • 最後,我們的兩個朋友 FerrisSarah 在我們的程式裡都擁有固定位置的資料結構,所以它們被擺在堆疊 (stack) 裡。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_al.html b/beta_27_al.html new file mode 100644 index 000000000..02451808a --- /dev/null +++ b/beta_27_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktura të ngjashme me tufë

+

Për koncizitet, mund të krijoni struktura që përdoren si një tufë.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_ar.html b/beta_27_ar.html new file mode 100644 index 000000000..b4b99e156 --- /dev/null +++ b/beta_27_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الهياكل المشابهة للصف (Tuple-like Structs)

+

من أجل الإختصار، يمكنك إنشاء هيكل (Struct) يتم استخدامه مثل الصف (Tuple).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_de.html b/beta_27_de.html new file mode 100644 index 000000000..80ab446ef --- /dev/null +++ b/beta_27_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-Structs

+

Eine verkürzte Schreibweiße bietet das Instanziieren von structs mittels von Tupeln.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_en.html b/beta_27_en.html new file mode 100644 index 000000000..3a906f5ad --- /dev/null +++ b/beta_27_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-like Structs

+

For conciseness, you can create structs that are used like a tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_es.html b/beta_27_es.html new file mode 100644 index 000000000..2436aa7f8 --- /dev/null +++ b/beta_27_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estructuras en Forma de Tupla

+

Para ser concisos, puedes crear estructuras que se usan como una tupla.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_fa.html b/beta_27_fa.html new file mode 100644 index 000000000..ef61c2a77 --- /dev/null +++ b/beta_27_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-like Structs

+

For conciseness, you can create structs that are used like a tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_fr.html b/beta_27_fr.html new file mode 100644 index 000000000..0f98ce177 --- /dev/null +++ b/beta_27_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures sous forme de n-uplet

+

Pour être concis, tu peux créer des structures qui s'utilisent comme des n-uplets (en anglais tuples).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_gr.html b/beta_27_gr.html new file mode 100644 index 000000000..a6110ef6d --- /dev/null +++ b/beta_27_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Πολλαπλοτητοειδείς δομές

+

Για συντομία στον κώδικα, μπορεί κανείς να ορίσει δομές που χρησιμοποιούνται ως πολλαπλότητες.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_hu.html b/beta_27_hu.html new file mode 100644 index 000000000..3ffb2192e --- /dev/null +++ b/beta_27_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-szerű Struct-ok

+

A tömörség kedvéért létrehozhatsz olyan struct-okat, amiket tuple-szerűen lehet használni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_ie.html b/beta_27_ie.html new file mode 100644 index 000000000..95ad48be8 --- /dev/null +++ b/beta_27_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuplic Structs

+

Por esser concis, on posse crear structs queles on usa quam un tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_it.html b/beta_27_it.html new file mode 100644 index 000000000..38c8d5c25 --- /dev/null +++ b/beta_27_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-like Struct

+

Come scorciatoia, puoi anche creare struct e poi usarle come Tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_ja.html b/beta_27_ja.html new file mode 100644 index 000000000..e2603681e --- /dev/null +++ b/beta_27_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

タプルライクな構造体

+

Rust ではタプルの様な構造体を利用できます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_ko.html b/beta_27_ko.html new file mode 100644 index 000000000..4a1e38502 --- /dev/null +++ b/beta_27_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple 같은 구조체

+

간결함을 위해, tuple처럼 사용되는 struct를 생성할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_pl.html b/beta_27_pl.html new file mode 100644 index 000000000..4c0ecf9f6 --- /dev/null +++ b/beta_27_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktury Krotkowe

+

W celu zachowania zwięzłości, możemy tworzyć struktury przypominające w wyglądzie i użytkowaniu krotki.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_pt-br.html b/beta_27_pt-br.html new file mode 100644 index 000000000..65b3fe5c1 --- /dev/null +++ b/beta_27_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estruturas em Tuplas

+

Para sermos concisos, você pode criar estruturas que são usadas em tupla.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_ro.html b/beta_27_ro.html new file mode 100644 index 000000000..d3f38e7c8 --- /dev/null +++ b/beta_27_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuri de tip tuplu

+

Pentru a fi conciși, puteți crea structuri care sunt folosite ca un tuplu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_ru.html b/beta_27_ru.html new file mode 100644 index 000000000..00120baf9 --- /dev/null +++ b/beta_27_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Кортежи-структуры (Tuple-like Structs)

+

Для краткости, вы можете создавать структуры, которые используются точно так же как кортежи (tuple).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_th.html b/beta_27_th.html new file mode 100644 index 000000000..8df1d6fb4 --- /dev/null +++ b/beta_27_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tuple-like Structs

+

เพื่อความสะดวกคุณสามารถสร้างโครงสร้างที่หน้าตาเหมือนทูเพิลได้เลยด้วย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_tr.html b/beta_27_tr.html new file mode 100644 index 000000000..738a2b7cb --- /dev/null +++ b/beta_27_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çokuzlu Benzeri Yapılar

+

Daha kısa ve pratik olmak isterseniz çokuzlu benzeri yapılar kullanabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_ua.html b/beta_27_ua.html new file mode 100644 index 000000000..8bae9cf23 --- /dev/null +++ b/beta_27_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Кортежні структури (Tuple-like Structs)

+

Для стислості, ви можете створити структури, що використовуються точно як кортежі.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_vi.html b/beta_27_vi.html new file mode 100644 index 000000000..72c26c9d8 --- /dev/null +++ b/beta_27_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cấu trúc giống như là Tuple

+

Ngắn gọn thì là, bạn có thể tự tạo các cấu trúc được sử dụng giống như là một tuple.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_zh-cn.html b/beta_27_zh-cn.html new file mode 100644 index 000000000..7a1ba4d12 --- /dev/null +++ b/beta_27_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

类元组结构体

+

简洁起见,你可以创建像元组一样被使用的结构体。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_27_zh-tw.html b/beta_27_zh-tw.html new file mode 100644 index 000000000..3c9fe582c --- /dev/null +++ b/beta_27_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

數組型結構 (tuple-like)

+

更簡潔的說,你可以產生用起來像數組 (tuple) 的結構。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_al.html b/beta_28_al.html new file mode 100644 index 000000000..d3ba585fa --- /dev/null +++ b/beta_28_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Struktura të ngjashme me njësinë

+

Strukturat edhe nuk duhet të kenë fare fusha.

+

Siç u përmend në Kapitullin 1, një njësi është një fjalë tjetër për një tuple bosh (). + Kjo është arsyeja pse ky lloj strukture quhet Unit-like.

+

Ky lloj strukture përdoret rrallë.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_ar.html b/beta_28_ar.html new file mode 100644 index 000000000..e5b2a112d --- /dev/null +++ b/beta_28_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الهياكل المشابهة للوحدة (Unit-like Structs)

+

ليس بالضرورة أن تحتوي الهياكل (Structs) على حقول.

+

كما ذكرنا في الفصل الأول، فإن الوحدة (unit) هي كلمة أخرى تشير إلى صف (tuple) فارغ (). ولهذا السبب يُطلق على هذا النوع من الهياكل اسم مشابه للوحدة (Unit-like).

+

وهذا النوع من الهياكل نادرا ما يستخدم.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_de.html b/beta_28_de.html new file mode 100644 index 000000000..02ef372be --- /dev/null +++ b/beta_28_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-Structs

+

Structs müssen keine Felder enthalten.

+

Wie in Kapitel 1 ist ein unit ein anderes Wort für ein leeres Tupel (). Daher werden diese structs auch unit-like (unit-ähnlich) genannt.

+

Sowas wird allerdings nur selten verwendet.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_en.html b/beta_28_en.html new file mode 100644 index 000000000..18b7ba539 --- /dev/null +++ b/beta_28_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-like Structs

+

Structs do not have to have any fields at all.

+

As mentioned in Chapter 1 a unit is another word for an empty tuple (). This is why this kind of struct is called Unit-like.

+

This type of struct is rarely used.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_es.html b/beta_28_es.html new file mode 100644 index 000000000..542d2c0a8 --- /dev/null +++ b/beta_28_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estructuras Tipo-Unitario

+

No es necesario que las estructuras tengan campos.

+

Como ya se mencionó en el capítulo 1, una unidad (unit) es otra palabra para una tupla vacía (). Es por eso que este tipo de estructura se llama de Tipo-Unitario.

+

Este tipo de estructura no es muy común.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_fa.html b/beta_28_fa.html new file mode 100644 index 000000000..ab2d7f0ca --- /dev/null +++ b/beta_28_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-like Structs

+

Structs do not have to have any fields at all.

+

As mentioned in Chapter 1 a unit is another word for an empty tuple (). This is why this kind of struct is called Unit-like.

+

This type of struct is rarely used.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_fr.html b/beta_28_fr.html new file mode 100644 index 000000000..1c95001f8 --- /dev/null +++ b/beta_28_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures de type unitaire

+

Il n'est pas nécessaire que les structures possèdent des champs.

+

Comme mentionné au Chapitre 1, une unité est une autre appellation pour un n-uplet vide (). +C'est pourquoi ce type de structure est dit de type unitaire (en anglais unit-like).

+

Ce type de structure est rarement utilisé.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_gr.html b/beta_28_gr.html new file mode 100644 index 000000000..5c85e04e6 --- /dev/null +++ b/beta_28_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μοναδοειδείς δομές

+

Οι δομές δεν υποχρεούνται να έχουν καθόλου πεδία.

+

Όπως αναφέρθηκε στο κεφάλαιο 1, μία μονάδα είναι άλλο όνομα για την άδεια πολλαπλότητα (). Γι' αυτό τις ονομάσαμε μοναδοειδείς αυτές τις δομές.

+

Αυτός ο τύπος δομών χρησιμοποιείται σπάνια.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_hu.html b/beta_28_hu.html new file mode 100644 index 000000000..b22bc1bd3 --- /dev/null +++ b/beta_28_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-szerű struct-ok

+

Az ilyen struct-oknak egyáltalán nincsenek mezőik.

+

Amint azt az első fejezetben már átbeszéltük, a unit ugyanazt jelenti, mint egy üres tuple, +vagyis (). Emiatt a mezők nélküli struct-okat unit-szerűnek nevezzük.

+

Az ilyen fajta struct-ok elég ritkán vannak használva.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_ie.html b/beta_28_ie.html new file mode 100644 index 000000000..0fa94d1e6 --- /dev/null +++ b/beta_28_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unitic Structs

+

Structs in fact ne besona quelcunc campes in ili. +Quam mentionat in Capitul 1 un unit es un altri metode por dir vacui tuple (). Pro to on nomina un tal struct Unit-like (unitic, unitesc). +Tal structs es rarmen usat.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_it.html b/beta_28_it.html new file mode 100644 index 000000000..d867c1e85 --- /dev/null +++ b/beta_28_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-like Struct

+

Una Struct può anche essere vuota, ovvero non avere campi. +Come accennato nel Capitolo 1, una unit è un sinonimo per una tupla vuota (). Questo è il motivo per cui questo tipo di strutture viene chiamato Unit-like.

+

Questo tipo di strutture è usato raramente.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_ja.html b/beta_28_ja.html new file mode 100644 index 000000000..34fac499c --- /dev/null +++ b/beta_28_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ユニットライクな構造体

+

Rust ではフィールドを持たない構造体を宣言できます。

+

第 1 章で述べた様に、unit は空ユニット () の別名称です。こういった構造体が ユニットライク と言われる理由でもあります。

+

この構造体はあまり使われません。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_ko.html b/beta_28_ko.html new file mode 100644 index 000000000..de7ef555b --- /dev/null +++ b/beta_28_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit 같은 구조체

+

struct에는 아무 field도 없어도 됩니다.

+

1장에서 얘기 했듯이 unit은 빈 tuple인 ()의 또 다른 이름입니다. 이 때문에 이런 종류의 struct를 Unit 같은 이라고 부릅니다.

+

이런 유형의 struct는 거의 쓰이지 않습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_pl.html b/beta_28_pl.html new file mode 100644 index 000000000..461c58655 --- /dev/null +++ b/beta_28_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Puste Struktury

+

Nie ma żadnego powodu dla którego nie moglibyśmy stworzyć pustej struktury.

+

Jak zaznaczyłem w Rozdziale 1, w Ruscie istnieje szeroko używany koncept pustej krotki (). Pusta struktura przypomina w praktyce właśnie pustą krotkę.

+

Puste struktury nie są częstym widokiem w kodzie Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_pt-br.html b/beta_28_pt-br.html new file mode 100644 index 000000000..e448c6f07 --- /dev/null +++ b/beta_28_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Estruturas Tipo Unit

+

As estruturas não precisam ter nenhum campo.

+

Como mencionado no capítulo 1, a unit é outra palavra para uma tupla vazia ().

+

É por isso que esse tipo de estrutura é chamado de Unit-like.

+

Este tipo de estrutura raramente é usado.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_ro.html b/beta_28_ro.html new file mode 100644 index 000000000..da329c078 --- /dev/null +++ b/beta_28_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuri de tip unitate

+

Structurile nu trebuie neapărat să aibă câmpuri.

+

După cum am menționat în Capitolul 1, unitate este o altă denumire pentru un tuplu gol, (). De aceea, acest tip de structuri se numește Unit-like.

+

Acest tip de structuri este folosit rar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_ru.html b/beta_28_ru.html new file mode 100644 index 000000000..7370bd837 --- /dev/null +++ b/beta_28_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Юнит-структуры (Unit-like Structs)

+

Структуры могут совсем не иметь ни одного поля.

+

Как было упомянуто в Главе 1, юнит (unit) другое название для пустого кортежа (). Вот почему этот вид структур называют юнит-структуры.

+

Этот тип не так распространен как остальные.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_th.html b/beta_28_th.html new file mode 100644 index 000000000..eec47e13a --- /dev/null +++ b/beta_28_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unit-like Structs

+

Structs ที่ไม่มีฟิลด์อะไรเลยข้างใน

+

ที่เคยกล่าวไว้ในบทที่ 1 ว่า unit ก็คือชื่อเล่นของ ทูเพิลที่ว่างเปล่า () และนี่ก็คือเหตุผลที่เราเรียกเจ้า struct แบบนี้ว่า Unit-like

+

struct แบบนี้ถูกใช้น้อยมากๆเลย ขอบอก

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_tr.html b/beta_28_tr.html new file mode 100644 index 000000000..34253f347 --- /dev/null +++ b/beta_28_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Birim Benzeri Yapılar

+

Herhangi bir üyeye sahip olmayan bu yapı türü boş bir çokuzluya benzer.

+

Bölüm 1'de bahsedildiği gibi birim aslında boş bir çokuzlunun () diğer adı olduğundan bu tür yapılara Birim benzeri yapılar adı verilir.

+

Bu tür yapılar nadiren kullanılmakla beraber, içlerinde veri tutmadıklarından, uygulamalara özellik eklerken faydalıdırlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_ua.html b/beta_28_ua.html new file mode 100644 index 000000000..f4369368a --- /dev/null +++ b/beta_28_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Юніт-структури (Unit-like Structs)

+

Структури не зобов'язані взагалі мати поля. +Як вже було згадано в розділі 1, юніт (unit) - це просто інше слово для пустого кортежа (). Ось чому ці структури називаются юніт-структурами (unit-like structures). +Цей тип структур застосовується доволі рідко.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_vi.html b/beta_28_vi.html new file mode 100644 index 000000000..ada6278dc --- /dev/null +++ b/beta_28_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cấu trúc giống như là Unit

+

Cấu trúc không nhất thiết phải có bất kỳ trường nào.

+

Như đã đề cập trong Chương 1, a unit là một từ khác để chỉ bộ giá trị rỗng (). Đây là lý do tại sao loại cấu trúc này được gọi là Unit-like(Như là một unit).

+

Cái này hiếm khi được dùng.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_zh-cn.html b/beta_28_zh-cn.html new file mode 100644 index 000000000..a3520ebe5 --- /dev/null +++ b/beta_28_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

类单元结构体

+

结构体也可以没有任何字段。

+

就像第一章提到的,一个 unit 是空元组 () 的别称。这就是为什么,此类结构体被称为 类单元

+

这种类型的结构体很少用到。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_28_zh-tw.html b/beta_28_zh-tw.html new file mode 100644 index 000000000..27fcb221d --- /dev/null +++ b/beta_28_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

單組型結構 (unit-like)

+

沒有任何欄位的結構即是單組 (unit)。

+

如同在第一章所提到的,一個單組 (unit) 即是空數組 () 的另一種說法。 這也是為什麼這類型的結構稱之為單組型 (unit-like)。

+

這類型的結構甚少使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_al.html b/beta_29_al.html new file mode 100644 index 000000000..ebf96f885 --- /dev/null +++ b/beta_29_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumeracionet

+

Enumerimet ju lejojnë të krijoni një lloj të ri që mund të ketë një vlerë prej disa + elementë te etiketuar duke përdorur fjalën kyçe "enum".

+

"match" ndihmon në sigurimin e trajtimit shterues të të gjitha bërjes së vlerave të mundshme të numrit + është një mjet i fuqishëm për të siguruar kod cilësor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_ar.html b/beta_29_ar.html new file mode 100644 index 000000000..df456f7c4 --- /dev/null +++ b/beta_29_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المعدودات (Enumerations)

+

المعدودات تسمح لك بإنشاء نوع جديد يمكن أن يحمل العديد من العناصر الموسومة وذلك باستخدام الكلمة المفتاحية مَعْدُودَة (enum).

+

تساعد مُطابقة (match) على ضمان تداول كلي لكل القيم المحتملة للمَعْدُودَة (enum)، مما يجعلها أداة قوية لضمان جودة الشيفرة البرمجية.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_de.html b/beta_29_de.html new file mode 100644 index 000000000..e3f1c130c --- /dev/null +++ b/beta_29_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Aufzählungen (enumerations) erlauben das Erzeugen eines neuen Typs, die nur eine fixe Liste an Werten zulassen. +Die gültigen Werte werden mit dem enum Schlüsselwort eingeleitet.

+

enum ist besonders im Zusammenhang mit match nützlich: da match exhaustive ist, versucht es den Programmierer darüber zu +informieren, falls nicht alle möglichen Testfälle durchgegangen wurden.

+

Versuche unser Beispielcode zum Laufen zu bringen. Welcher Fall wurde in match nicht berücksichtigt? Kannst du diesen noch einfügen?

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_en.html b/beta_29_en.html new file mode 100644 index 000000000..43be08f37 --- /dev/null +++ b/beta_29_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Enumerations allow you to create a new type that can have a value of several tagged elements using the enum keyword.

+

match helps ensure exhaustive handling of all possible enum values making it a powerful tool in ensuring quality code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_es.html b/beta_29_es.html new file mode 100644 index 000000000..7fdd80e30 --- /dev/null +++ b/beta_29_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumeraciones

+

Las enumeraciones permiten crear un nuevo tipo que puede tener un valor entre varios elementos etiquetados utilizando +la palabra reservada enum.

+

match ayuda a asegurar un manejo exhaustivo de todos los posibles valores del enumerado, convirtiéndolo en una +herramienta muy útil para asegurar un código de calidad.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_fa.html b/beta_29_fa.html new file mode 100644 index 000000000..5db5421f5 --- /dev/null +++ b/beta_29_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Enumerations allow you to create a new type that can have a value of several tagged elements using the enum keyword.

+

match helps ensure exhaustive handling of all possible enum values making it a powerful tool in ensuring quality code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_fr.html b/beta_29_fr.html new file mode 100644 index 000000000..20f4003a2 --- /dev/null +++ b/beta_29_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Les énumerations permettent de créer un nouveau type dont la valeur +ne peut prendre uniquement celle d'un ensemble de valeurs constantes. +On crée une énumération avec le mot clé enum.

+

match aide à s'assurer que l'on a traité tous les cas d'une énumération, +ce qui en fait un outil puissant pour assurer le maintien de la qualité de code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_gr.html b/beta_29_gr.html new file mode 100644 index 000000000..49ce370a6 --- /dev/null +++ b/beta_29_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Απαριθμήσεις

+

Οι απαριθμήσεις μάς επιτρέπουν να δημιουργούμε νέους τύπους που μπορούν να έχουν μία τιμή από ένα πεπερασμένο πλήθος δυνατών τιμών, με τη χρήση της λέξης-κλειδί enum.

+

Το match μας εγγυάται εξαντλητικό χειρισμό κάθε πιθανής τιμής μιας απαρίθμησης, κάνοντάς το έτσι ένα δυνατό εργαλείο στη διασφάλιση ποιοτικού κώδικα.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_hu.html b/beta_29_hu.html new file mode 100644 index 000000000..2b24167f4 --- /dev/null +++ b/beta_29_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerációk (felsorolások)

+

Az enumerációkkal olyan új típust hozhatsz létre, aminek értéke előre meghatározott változatok +közül vesz fel egyet. Ehhez az enum kulcsszót használhatod.

+

értéke előre meghatározott változatok közül vesz fel egyet. Ehhez az enum kulcsszót +használhatod.

+

A match segítségével biztos lehetsz benne, hogy az enum összes lehetséges értéke le van fedve, +ami nagyon hasznos jó minőségű kód írásakor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_ie.html b/beta_29_ie.html new file mode 100644 index 000000000..a2f4cbd7d --- /dev/null +++ b/beta_29_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerationes

+

Enumerationes possibilisa li creation de un nov tip quel usa li clave-parol enum e quel posse posseder li valore +de pluri marcat elementes.

+

Con match on es assecurat tractar se con omni possibil valores del enum, fante it un potent utensile in li creation +de code de alt qualitá.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_it.html b/beta_29_it.html new file mode 100644 index 000000000..dca2e4f98 --- /dev/null +++ b/beta_29_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerazioni

+

La parola chiave enum ti permette di creare un nuovo tipo che può assumere uno tra i valori predefiniti.

+

il costrutto match è un potente strumento per gestire in maniera esaustiva tutti i possibili valori di una enumerazione, contribuendo a migliorare la qualità del codice.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_ja.html b/beta_29_ja.html new file mode 100644 index 000000000..200dec434 --- /dev/null +++ b/beta_29_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

列挙型

+

列挙型はキーワード enum で新しい型を生成することができ、この型はいくつかのタグ付された値を持つことができます。

+

match は保有する全ての列挙値を処理する手助けすることができ、コードの品質を維持することもできます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_ko.html b/beta_29_ko.html new file mode 100644 index 000000000..e77ddd5eb --- /dev/null +++ b/beta_29_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

열거형

+

열거형(enumeration)은 enum 키워드를 통해 몇 가지 태그된 원소의 값을 가질 수 있는 새로운 자료형을 생성할 수 있습니다.

+

match는 모든 가능한 enum 값을 빠짐없이 처리할 수 있도록 하여 퀄리티 있는 코드를 만드는데 강력한 도구가 되어줄 것입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_pl.html b/beta_29_pl.html new file mode 100644 index 000000000..8981dc594 --- /dev/null +++ b/beta_29_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wyliczenia

+

Wyliczenia tworzone z użyciem słowa kluczowego enum pozwalają na tworzenie nowych typów których wartość może być równa jednemu z określonych w ramach takiego typu elementów.

+

Wyrażenie match pozwala nam na wyczerpujące dopasowanie każdego możliwego wariantu wyliczenia. Kombinacja wyliczeń i wyrażenia match to jedna z kluczowych metod tworzenia wysokiej jakości kodu w języku Rust.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_pt-br.html b/beta_29_pt-br.html new file mode 100644 index 000000000..a37be4629 --- /dev/null +++ b/beta_29_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerações

+

As enumerações permitem criar um novo tipo que pode conter o valor de vários elementos etiquetados usando a palavra-chave enum.

+

O match ajuda a garantir o tratamento exaustivo de todos os valores possíveis de enum, tornando-o uma ferramenta poderosa para garantir um código de qualidade.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_ro.html b/beta_29_ro.html new file mode 100644 index 000000000..b588f7f9f --- /dev/null +++ b/beta_29_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerări

+

Enumerările vă permit să creați un tip nou de date care poate avea o valoare dintr-o mulțime de elemente prestabilite folosind cuvântul cheie enum.

+

match ne ajută să abordăm toate valorile posibile ale unei enumerări, făcând din acest tip un instrument puternic pentru asigurarea calității codului.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_ru.html b/beta_29_ru.html new file mode 100644 index 000000000..b3e125e02 --- /dev/null +++ b/beta_29_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Перечисления (Enumerations)

+

Перечисления позволяют создавать новый тип, который может иметь одно значение из нескольких вариантов теговых элементов, используя ключевое слово enum. +Сопоставление match помогает обеспечить исчерпывающую обработку всех возможных значений перечисления, что делает его мощным инструментом для обеспечения качества кода.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_th.html b/beta_29_th.html new file mode 100644 index 000000000..4d345ed5a --- /dev/null +++ b/beta_29_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations

+

Enumerations ช่วยให้คุณสามารถสร้าง type ใหม่ ที่สามารถมีค่าขององค์ประกอบที่ติดแท็กหลายรายการโดยใช้คีย์เวิร์ด enum

+

match จะเป็นตัวช่วยให้มั่นใจได้ว่าจะจัดการ enum ทุกตัวได้ครบ ว้าว สุดยอดเครื่องมือ ที่ทำให้เราได้โค้ดที่มีคุณภาพ เยี่ยมไปเลย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_tr.html b/beta_29_tr.html new file mode 100644 index 000000000..e12c5e426 --- /dev/null +++ b/beta_29_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Numaralandırmalar

+

enum anahtar sözcüğüyle tanımlanan ve kapsamındaki olası değerler listesinden, değerleri belirgin yeni bir tür oluşumuna izin veren yapılardır.

+

Örüntü eşlemede kullandığımız match sözcüğü, tüm olası enum değerlerini etraflıca işlemeye yardımcı olduğundan, numaralandırmalar kaliteli kod üretiminde güçlü birer araçtır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_ua.html b/beta_29_ua.html new file mode 100644 index 000000000..a5e280387 --- /dev/null +++ b/beta_29_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Переліки (Enumerations)

+

Переліки дозволяють створювати новий тип, який може мати одне або декілька значень тегованих елементів, використовуючи ключове слово enum.

+

match допомагає переконатися в вичерпності всіх можливих значень переліку, створюючи тим самим потужний інструмент для перевірки якості коду.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_vi.html b/beta_29_vi.html new file mode 100644 index 000000000..bc28a3f0c --- /dev/null +++ b/beta_29_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kiểu dữ liệu liệt kê(Enumerations)

+

Phép liệt kê cho phép bạn tạo một kiểu mới có thể có giá trị của một số phần tử được gắn thẻ bằng cách sử dụng từ khóa enum.

+

match giúp đảm bảo xử lý toàn diện tất cả các giá trị enum có thể làm cho nó trở thành một công cụ mạnh mẽ trong việc đảm bảo chất lượng của code.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_zh-cn.html b/beta_29_zh-cn.html new file mode 100644 index 000000000..917c01350 --- /dev/null +++ b/beta_29_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

枚举

+

枚举允许你使用 enum 关键字创建一个新类型,该类型的值可以包含几个带标记的元素。

+

match 有助于确保对所有可能的枚举值进行彻底的处理,使其成为确保高质量代码的强大工具。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_29_zh-tw.html b/beta_29_zh-tw.html new file mode 100644 index 000000000..1549b73d9 --- /dev/null +++ b/beta_29_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

列舉 (enumerations)

+

列舉允許你產生新的型別,此型別可以有多個被標記的元素,而這些元素使用 enum 關鍵字宣告。

+

match 徹底的保證所有可能的列舉數值都會被掌控,這使得它成為一個強大的工具用來保證有品質的程式碼。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_al.html b/beta_30_al.html new file mode 100644 index 000000000..da5007fdf --- /dev/null +++ b/beta_30_al.html @@ -0,0 +1,61 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations With Data

+

Elementet "enum" mund të kenë gjithashtu një ose më shumë lloje të dhënash që i lejojnë ata të sillen + si union nga C.

+

Kur një model "enum" përputhet duke përdorur "match", ju mund të lidhni një ndryshore + emër për secilën vlerë të të dhënave.

+

Detajet e memories së enum:

+
    +
  • Një vlerë e të dhënave enum do të ketë një madhësi memorie të barabartë me elementin e saj më të madh. +Kjo lejon që të gjitha vlerat potenciale të përshtaten në të njëjtën hapësirë të memories.

  • +
  • Përveç llojeve të të dhënave të elementit (nëse ka), çdo element ka gjithashtu një +vlerë numerike që përfaqëson se cili etiketë është.

    +

    Detaje të tjera:

  • +
  • 'Enum' i Rust është diçka e njohur gjithashtu si një bashkim etiketuar.

  • +
  • Kombinimi i llojeve për të krijuar një lloj të ri është ajo që njerëzit nënkuptojnë kur ata +Ndryshku ka lloje algjebrike.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ar.html b/beta_30_ar.html new file mode 100644 index 000000000..6602c8478 --- /dev/null +++ b/beta_30_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المعدودات ببيانات (Enumerations With Data)

+

يمكن لعناصر المَعْدُودَة (enum) أن تملك نوع بيانات واحد أو أكثر مما يسمح لها بالتصرف مثل union في لغة C.

+

عندما تكون المَعْدُودَة (enum) نمط مطابقة باستخدام مُطابقة (match)، فإنه يمكنك ربط اسم متغير لكل قيمة بيانات في المَعْدُودَة.

+

تفاصيل الذاكرة للمَعْدُودَة (enum):

+
    +
  • حجم الذاكرة لقيمة بيانات المَعْدُودَة (enum) يكون مساوي لأكبر عنصر فيها. هذا مما يسمح لكافة القيم المحتملة أن تتناسب مع نفس المساحة من الذاكرة.
  • +
  • بالإضافة إلى أنواع بيانات العناصر (إن وجدت)، يحتوي كل عنصر أيضًا على قيمة رقمية تمثل أي وسم هو.
  • +
+

تفاصيل أخرى:

+
    +
  • المَعْدُودَة (enum) في رست (Rust) تعرف أيضا مضمنة موسومة (tagged union)
  • +
  • الجمع بين الأنواع لإنشاء نوع جديد هو ما يقصده الناس عندما يقولون أن رست (Rust) يحتوي على أنواع جبرية (algebraic types).
  • +
+

المزيد من الموارد حول تفاصيل الذاكرة للمَعْدُودَة (enum):

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_de.html b/beta_30_de.html new file mode 100644 index 000000000..b86fc2057 --- /dev/null +++ b/beta_30_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations mit Daten

+

enum Elemente können auch Daten (oder Felder) beinhalten, vergleichbar mit unions aus C (nicht der Arbeitergewerkschaft haha).

+

Wenn ein enum in einem Fall im match übereinstimmt, können die Werte aus dem struct direkt an Variablen gebunden werden +(im Beispiel in Zeile 32 zu sehen).

+

Weitere Details zu enum:

+
    +
  • Der Speicherbedarf eines enums entspricht dem des größten Elements (hier wäre Claw das größte Element).
  • +
  • Neben den Datentypen (sollte es welche geben) kann jedes Element mittels einer Zahl erreicht werden.
  • +
+

Mehr Details!

+
    +
  • enum ist in Rust auch bekannt als tagged-union.
  • +
  • Das Kombinieren von verschiedenen Typen wird in Rust auch als algebraischer Typ bezeichnet (eng. algebraic type).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_en.html b/beta_30_en.html new file mode 100644 index 000000000..5089a75b2 --- /dev/null +++ b/beta_30_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations With Data

+

enum elements can also have one or more data types allowing them to behave like union from C.

+

When an enum is pattern matched using match, you can bind a variable name to each data value.

+

Memory details of enum:

+
    +
  • An enum data value will have a memory size equal to its largest element. This allows for all potential values to fit in the same space of memory.
  • +
  • In addition to element data types (if any), each element also has a numeric value that represents which tag it is.
  • +
+

Other details:

+
    +
  • Rust's enum is something also known as a tagged union.
  • +
  • The combining of types to make a new type is what people mean when they say Rust has algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_es.html b/beta_30_es.html new file mode 100644 index 000000000..db66aa752 --- /dev/null +++ b/beta_30_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumeraciones con Datos

+

Los elementos de un enum también pueden tener uno o más tipos de datos que les permitan comportarse como union en C.

+

Cuando un elemento enum se empareja con un patrón usando match, se puede vincular un nombre de variable a cada valor de datos.

+

Detalles de memoria para enum:

+
    +
  • Un valor de datos enum tendrá un tamaño de memoria igual a su elemento más grande. Esto permite que todos +los potenciales valores quepan en el mismo espacio de memoria.
  • +
  • Además de los tipos de datos de los elementos (si los hay), cada elemento tiene también un valor numérico +que representa qué etiqueta es.
  • +
+

Otros detalles:

+
    +
  • El enum de Rust también se conoce como unión etiquetada (tagged-union).
  • +
  • La combinación de tipos para hacer otros nuevos es a lo que nos referimos al decir que Rust tiene tipos algebraicos.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_fa.html b/beta_30_fa.html new file mode 100644 index 000000000..c6197697c --- /dev/null +++ b/beta_30_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations With Data

+

enum elements can also have one or more data types allowing them to behave like union from C.

+

When an enum is pattern matched using match, you can bind a variable name to each data value.

+

Memory details of enum:

+
    +
  • An enum data value will have a memory size equal to its largest element. This allows for all potential values to fit in the same space of memory.
  • +
  • In addition to element data types (if any), each element also has a numeric value that represents which tag it is.
  • +
+

Other details:

+
    +
  • Rust's enum is something also known as a tagged union.
  • +
  • The combining of types to make a new type is what people mean when they say Rust has algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_fr.html b/beta_30_fr.html new file mode 100644 index 000000000..05ee93b20 --- /dev/null +++ b/beta_30_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations avec des données

+

Les éléments enum peuvent également avoir un ou plusieurs type de données +ce qui les rend similaire au type union du language C.

+

Lorsqu'une énumération est utilisée avec match, on peut lier un nom de variable à chaque valeur.

+

Représentation des énumérations en mémoire:

+
    +
  • La place mémoire qu'occupe un élément d'une énumération est égale à la taille de l'élément +de l'énumération qui occupe le plus de place mémoire. Ce qui permet de remplacer un élément +en mémoire par un autre sans avoir à redimensionner l'espace mémoire.
  • +
  • En plus du type de donnée de l'élément (s'il en a un), chaque élément possède une valeur +numérique permettant d'identifier celui-ci.
  • +
+

Autres détails:

+
    +
  • Les énumérations de Rust sont également appelées unions étiquetés (en anglais tagged-unions).
  • +
  • La combinaison de types pour en créer un nouveau est ce à quoi quelqu'un fait référence +lorsqu'il dit: Rust possède des types algébriques.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_gr.html b/beta_30_gr.html new file mode 100644 index 000000000..db01074db --- /dev/null +++ b/beta_30_gr.html @@ -0,0 +1,58 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Απαριθμήσεις με δεδομένα

+

Τα στοιχία ενός enum μπορούν να «κουβαλάνε» έναν ή περισσότερους τύπους δεδομένων, επιτρέποντάς τους να συμπεριφέρονται όπως τα union στη C.

+

Όταν ένα enum «ταιριάζεται» με τη χρήση του match, μπορούμε να προσδέσουμε ένα όνομα μεταβλητής σε κάθε τιμή δεδομένων.

+

Λεπτομέρειες μνήμης των enum:

+
    +
  • Η τιμή δεδομένων ενός enum θα έχει μέγεθος μνήμης ίσο με το μεγαλύτερό του στοιχείο. Αυτό επιτρέπει σε κάθε πιθανή τιμή να χωράει στον ίδιο χώρο στη μνήμη.
  • +
  • Εκτός από τους τύπους δεδομένων των στοιχείων (εφόσον αυτά υπάρχουν), κάθε στοιχείο έχει επίσης μία αριθμητική τιμή που αντιπροσωπεύει το ποια ακριβώς περίπτωση του union εξετάζουμε.
  • +
+

Άλλες λεπτομέρειες:

+
    +
  • Τα enum στη Rust είναι κάτι γνωστό επίσης και ως περιγεγραμμένη συνένωση (tagged union).
  • +
  • Ο συνδυασμός τύπων για τη δημιουργία νέων τύπων είναι αυτό που εννοούν όσοι λένε ότι η Rust έχει αλγεβρικούς τύπους δεδομένων.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_hu.html b/beta_30_hu.html new file mode 100644 index 000000000..74e2cc555 --- /dev/null +++ b/beta_30_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Adatokat tartalmazó Enumerációk

+

Az enum-oknál lehetőség nyílik arra is, hogy egy vagy több változat adatokat is +tartalmazhasson, így képesek a C nyelv union-ját utánozni.

+

Amikor az ilyen enum-on hajtunk végre mintaillesztést a match kulcsszóval, ha a +változat adatot is tartalmaz, lehetőségünk van ezt (ezeket) változóhoz rendelni.

+

Az enum reprezentációja a memóriában:

+
    +
  • Az enum-ok a legnagyobb lehetséges változatuk méretét veszik fel. Így minden lehetséges +változat ugyanakkora méretű memóriában fér el.
  • +
  • Minden elemnek, akár tartozik hozzá adat, akár nem, van egy számértéke is, ami azt mutatja meg +melyik változatról is van szó.
  • +
+

Egyéb megjegyzések:

+
    +
  • A Rust-ban található enum ismert még tagged union néven is.
  • +
  • Mivel az enum-ok lehetővé teszik típusok új típusokká kombinálását, ezért azt mondjuk, hogy +a Rust algebrai típusokkal rendelkezik.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ie.html b/beta_30_ie.html new file mode 100644 index 000000000..9a2c6996f --- /dev/null +++ b/beta_30_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerationes con Data

+

Li elementes de enum posse haver un o plu data-tipes, quel es un poc simil a union in C.

+

Quande on fa un pattern match (filtrage de mustres) con match, on posse ligar un nómine de variabile a chascun data-valore.

+

Detallies pri enum in memorie:

+
    +
  • Un data-valore por un enum va posseder un grandore egal a su max grand element. Con to, omni possibil valores +va posser intrar li sam loc de memorie.
  • +
  • Ultra le data-tipes de elementes (si ili trova se), chascun element have un valore numeric +quel representa su tag (marcation).
  • +
+

Altri detallies:

+
    +
  • enum in Rust es anc conosset quam un tagged-union (marcat union)
  • +
  • Li combination de tipes por crear un nov tip es li cose pri quel li gente parla quande ili di que Rust +possede algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_it.html b/beta_30_it.html new file mode 100644 index 000000000..36600674e --- /dev/null +++ b/beta_30_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerazioni con dati

+

ogni elemento di una enum può avere uno o più dati associati, che si comportano come le union del C.

+

Quando facciamo pattern matching tramite match di una enum, possiamo associare un nome di variabile ad ogni valore.

+

Un dettaglio nell'uso di memoria di enum:

+
    +
  • Ogni valore di un determinato enum occuperà una dimensione di memoria pari a quella dell'elemento più grande. Questo permette a tutti i potenziali valori di essere contenuti nello stesso spazio di memoria.
  • +
  • Oltre al tipo di dati dell'elemento (se specificato), ogni componente ha anche un codice numerico che rappresenta quale dei possibili valori assume.
  • +
+

Altri dettagli:

+
    +
  • enum di Rust è qualcosa che in altri linguaggi è conosciuto come tagged union.
  • +
  • La combinazione di tipi per creare un nuovo tipo è una caratteristica per la quale possiamo dire che Rust ha i tipi algebrici, ovvero algebraic types.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ja.html b/beta_30_ja.html new file mode 100644 index 000000000..fc49dbd4a --- /dev/null +++ b/beta_30_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

データを持つ列挙型

+

enum は一個もしくは複数な型のデータを持つことができ、C言語の union の様な表現ができます。

+

match を用いて列挙値に対するパターンマッチングを行う際、各データを変数名に束縛することができます。

+

列挙 のメモリ事情:

+
    +
  • 列挙型のメモリサイズはそれが持つ最大要素のサイズと等しい。これにより全ての代入可能な値が同じサイズのメモリ空間を利用することを可能にします。
  • +
  • 要素の型以外に、各要素には数字値がついており、どのタグであるかについて示しています。
  • +
+

その他の事情:

+
    +
  • Rust の 列挙tagged-union とも言われています。
  • +
  • 複数の型を組み合わせて新しい型を作ることができます。 これが Rust には algebraic types を持つと言われる理由です。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ko.html b/beta_30_ko.html new file mode 100644 index 000000000..47edff7c2 --- /dev/null +++ b/beta_30_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

열거형과 데이터

+

enum의 원소들은 C의 union처럼 동작할 수 있도록 한 개 이상의 자료형을 가질 수 있습니다.

+

enummatch를 통해 패턴 일치될 때, 각각의 데이터 값에 변수명을 붙일 수 있습니다.

+

enum의 메모리 상세:

+
    +
  • enum 데이터 값은 가장 큰 원소의 메모리 크기와 같은 메모리 크기를 가집니다. 이는 가능한 모든 값이 동일한 메모리 공간에 들어갈 수 있게 해줍니다.
  • +
  • 원소의 자료형(있는 경우)에 더하여, 각 원소는 무슨 태그에 해당하는지 나타내는 숫자값도 갖습니다.
  • +
+

다른 상세 정보:

+
    +
  • Rust의 enumtagged union으로도 알려져 있습니다.
  • +
  • Rust가 대수적 자료형(algebraic types)을 갖고 있다고 할 때 이는 자료형을 조합하여 새 자료형을 만드는 것을 의미합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_pl.html b/beta_30_pl.html new file mode 100644 index 000000000..4dc341dc8 --- /dev/null +++ b/beta_30_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wyliczenia Zawierające Dane

+

Wyliczenia enum mogą w ramach swoich elementów zawierać inne typy danych. Przypomina to typ unii (ang. union) znany z języka C.

+

Podczas stosowania wyrażenia match na wyliczeniu enum, dostajemy możliwość przypisania wartości przechowywanych wewnątrz wyliczenia do tymczasowych zmiennych.

+

Kilka rzeczy na które warto zwrócić uwagę jeżeli chodzi o reprezentację wyliczeń w pamięci komputera:

+
    +
  • Wielkość danej typu wyliczenie enum w pamięci będzie wynosić tyle co największy zdefiniowany element tego wyliczenia. To pozwala na zmieszczenie wszystkich potencjalnych wartości wyliczenia w jednym obszarze pamięci o pewnej konkretnej wielkości
  • +
  • Oprócz widocznego dla programisty samego elementu z potencjalnymi przypisanymi typami danych, każdy element wyliczenia określa również typ liczbowy pozwalający na identyfikację danego elementu w ramach wyliczenia
  • +
+

Dodatkowo:

+
    +
  • Wyliczenia enum w Ruscie są czasem nazywane tagowanymi uniami (ang. tagged unions), ze względu na wspomnianą już unikalną charakterystykę pozwalającą na trzymanie danych wewnątrz elementów
  • +
  • Mówi się, że Rust posiada typy algebraiczne (ang. algebraic types). Oznacza to mniej więcej tyle, że możliwe jest kombinowanie typów w celu stworzenia z nich pewnego nowego typu.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_pt-br.html b/beta_30_pt-br.html new file mode 100644 index 000000000..7c085e493 --- /dev/null +++ b/beta_30_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerações com Dados

+

Os elementos enum também podem ter um ou mais tipos de dados permitindo que eles se comportem como o union da linguagem C.

+

Quando um enum corresponde ao padrão usando match, você pode vincular um nome de variável para cada valor de dados.

+

Detalhes de memória do enum:

+
    +
  • Um valor de dados enum terá um tamanho de memória igual ao seu maior elemento. Isso permite que todos os valores possíveis caibam no mesmo espaço de memória.
  • +
  • Além dos tipos de dados do elemento (se houver), cada elemento também possui um valor numérico que representa qual etiqueta (tag) ele é.
  • +
+

Outros detalhes:

+
    +
  • O enum do Rust também é conhecido como tagged-union
  • +
  • A combinação de tipos para criar um novo tipo é a o que nos referimos quando dizemos que Rust tem tipos algébricos.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ro.html b/beta_30_ro.html new file mode 100644 index 000000000..32e39a681 --- /dev/null +++ b/beta_30_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerările care conțin tipuri de date

+

Elementele unui enum pot avea de asemenea unul sau mai multe tipuri de date, permițându-i acestuia să se comporte ca un union din limbajul C.

+

Atunci când un enum este utilizat într-un match, puteți atașa un nume de variabilă fiecărei valori din enum.

+

Detalii despre memorie pentru un enum:

+
    +
  • Spațiul de memorie alocat unei variabile de tip enumerare va fi egal cu spațiul de memorie necesar pentru stocarea celui mai mare element al enumerării. Acest lucru asigură faptul că orice valoare posibilă a enumerării va încăpea în același spațiu din memorie.
  • +
  • Pe lângă tipul de date al unui element (dacă acesta are un tip), fiecare element are de asemenea asociată o valoare numerică care reprezintă indexul acestuia în enumerare.
  • +
+

Alte detalii:

+
    +
  • enum-ul din Rust este cunoscut și ca uniune etichetată (tagged union).
  • +
  • Combinarea mai multor tipuri de date pentru a crea unul nou este ceea ce îi face pe oameni să afirme faptul că Rust are tipuri algebrice.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ru.html b/beta_30_ru.html new file mode 100644 index 000000000..d74bb26a6 --- /dev/null +++ b/beta_30_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Перечисления с данными

+

Элементы enum также могут иметь один и больше типов данных, позволяя им вести себя как union из языка Cи.

+

Когда enum сопоставляется с серией шаблонов используя match (или матчится, англ. is pattern matched), вы можете связать имя переменной с каждым значением или полем структуры.

+

Детали для запоминания по enum:

+
    +
  • Перечисление будет иметь размер в памяти, равный наибольшей величине для наибольшего его элемента. Это позволяет всем потенциальным значениям вместиться в одну и ту же область памяти (без дополнительных выделений памяти).
  • +
  • Элементы перечисления имеют невидимый числовой тэг в дополнение к типу данных, который этот элемент и так имеет.
  • +
+

Еще немного информации:

+
    +
  • enum Rust(а) иногда называют типом-сумой (tagged-union)
  • +
  • Комбинирование разных типов для создания нового типа - это то, что люди имеют ввиду, когда говорят, что Rust имеет алгебраические типы
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_th.html b/beta_30_th.html new file mode 100644 index 000000000..7160fc6fd --- /dev/null +++ b/beta_30_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Enumerations With Data

+

ในองค์ประกอบ enum ยังอนุญาตให้สามารถมีประเภทข้อมูล ได้อย่างน้อยหนึ่งชนิดอีกด้วย ซึ่งจะมีพฤติกรรมคล้ายกับ union ในภาษาซี

+

เมื่อใช้ match มาจับคู่ของใน enum คุณสามารถผูกชื่อตัวแปรให้แต่ละค่านั้นได้เลย

+

รายละเอียดหน่วยความจำของ enum:

+
    +
  • ค่าข้อมูลของ enum จะมีขนาดในหน่วยความจำ เท่ากับขนาดขององค์ประกอบสมาชิกตัวที่ใหญ่ที่สุด นั่นทำให้ไม่ว่าจะเป็นค่าใดก็จะสามารถวางลงบนพื้นที่ในหน่วยความจำได้แน่นอน
  • +
  • นอกจากนี้แล้ว ประเภทข้อมูลของสมาชิก (ถ้ามี) แต่ละตัวจะมีเลขประจำตัวแทนแต่ละแท็กด้วย
  • +
+

รายละเอียดอื่นๆ:

+
    +
  • enum ใน Rust ก็คือสิ่งที่หลายๆคนรู้จักกันในชื่อ tagged union
  • +
  • เวลาที่ใครๆพูดกันว่า Rust มี algebraic types เขากำลังหมายถึงการเอา type หลายๆตัวมารวมกันสร้างเป็น type ใหม่นั่นเอง
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_tr.html b/beta_30_tr.html new file mode 100644 index 000000000..4795a0d13 --- /dev/null +++ b/beta_30_tr.html @@ -0,0 +1,58 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Veriler ve Numaralandırmalar

+

enum öğeleri C'deki birlikler gibi davranmalarına izin veren bir veya daha fazla veri türüne sahip olabilir.

+

Bir enum örüntü eşleme modelindeki match yardımıyla eşleştirildiğinde, eşleşen her alan veya değeri bir değişken adıyla bağlayabilirsiniz.

+

Bellek ayrıntıları:

+
    +
  • Bellek gereksinimi, en büyük öğesinin bellek boyutu kadardır. Bu şekilde, tüm olası değerlerin aynı bellek alanına sığması sağlanır.
  • +
  • Öğelerin veri türlerine ek olarak, etiket türlerini gösteren sayısal değerleri de bulunur.
  • +
+

Ek olarak:

+
    +
  • Rust'ın enumları, tagged union olarak bilinen etiketli birliklerdir.
  • +
  • Rust cebirsel türlere sahiptir denildiğinde anlatılmak istenen; türlerin, yeni bir tür oluşturmak amacıyla birleştirilmesinden başka bir şey değildir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_ua.html b/beta_30_ua.html new file mode 100644 index 000000000..7d6eb921c --- /dev/null +++ b/beta_30_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Переліки з даними

+

Елементи enum можуть мати один або більше типів даних, тобто мають ту ж саму поведінку, що й union з мови С. +Коли enum ставиться у відповідність за допомогою match, можна прив'язати змінну до кожного значення даних. +Деталі збереження переліків в пам'яті:

+
    +
  • Значення даних переліку буде займати в пам'яті стільки місця, скільки займає її найбільший елемент. +Це дозволяє усім потенційним значенням займати однакову кількість пам'яті.

  • +
  • На додачу до типу даних, кожен елемент переліку має числове значення, яке являє собою тег.

  • +
+

Інші деталі:

+
    +
  • Переліки в Rust також відомі як теговані об'єднання (tagged union)
  • +
  • Комбінування типів для створення нового типу - це те, що люди мають на увазі, коли кажуть, що Rust має алгебраїчні типи (algebraic types)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_vi.html b/beta_30_vi.html new file mode 100644 index 000000000..836267d49 --- /dev/null +++ b/beta_30_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Liệt kê với dữ liệu

+

Các phần tử enum cũng có thể có một hoặc nhiều kiểu dữ liệu cho phép chúng hoạt động giống như union từ C.

+

Khi một mẫu enum được so khớp bằng cách sử dụng match, bạn có thể liên kết một tên biến với mỗi giá trị dữ liệu.

+

Chi tiết bộ nhớ của enum:

+
    +
  • Một giá trị dữ liệu enum sẽ có kích thước bộ nhớ bằng phần tử lớn nhất của nó. Điều này cho phép tất cả các giá trị tiềm năng nằm trong cùng một không gian bộ nhớ.
  • +
  • Ngoài các kiểu dữ liệu phần tử (nếu có), mỗi phần tử còn có một giá trị số thể hiện đó là thẻ nào.
  • +
+

Những chi tiết khác:

+
    +
  • Enum của Rust là một thứ còn được gọi là tagged union.
  • +
  • Khi nói rằng Rust có algebraic types(các kiểu đại số), đó là việc kết hợp các kiểu để tạo ra một kiểu mới.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_zh-cn.html b/beta_30_zh-cn.html new file mode 100644 index 000000000..e3df52b5e --- /dev/null +++ b/beta_30_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

带数据的枚举

+

enum 的元素可以有一个或多个数据类型,从而使其表现得像 C 语言中的联合

+

当使用 match 对一个 enum 进行模式匹配时,可以将变量名称绑定到每个数据值。

+

enum 的内存细节:

+
    +
  • 枚举数据的内存大小等于它最大元素的大小。此举是为了让所有可能的值都能存入相同的内存空间。
  • +
  • 除了元素数据类型(如果有)之外,每个元素还有一个数字值,用于表示它是哪个标签。
  • +
+

其他细节:

+
    +
  • Rust 的 enum 也被称为标签联合 (tagged-union)
  • +
  • 把类型组合成一种新的类型,这就是人们所说的 Rust 具有 代数类型 的含义。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_30_zh-tw.html b/beta_30_zh-tw.html new file mode 100644 index 000000000..fcf641649 --- /dev/null +++ b/beta_30_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

列舉與資料

+

enum 元素可以有一個或多個資料型別,這使得它們就像 C 語言裡的 union 一樣。

+

當一個 enummatch 匹配到時,你可以將一個變量名綁定到每一個資料數值。

+

enum 的記憶體詳細說明:

+
    +
  • 一個列舉資料數值會擁有一塊記憶體大小,而該大小等同於最大的元素。這允許所有可能的數值都可以放進同樣的記憶體空間。
  • +
  • 除了元素的資料型別 (如果有的話),每一個元素同時都還擁有一個數值用來表示他是哪個標籤。
  • +
+

其他細節:

+
    +
  • Rust 的 enum 也被稱作標記聯合 (tagged union)。
  • +
  • 型別組合在一起產生新的型別,即是人們所說 Rust 擁有代數型別 (algebraic types)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_31_al.html b/beta_31_al.html new file mode 100644 index 000000000..aa8a2cfea --- /dev/null +++ b/beta_31_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitulli 3 - Konkluzion

+

Sa emocionuese! Tani kemi mjetet më themelore për përfaqësimin e formës së + ideve tona në kod. Shpresojmë tani ne

+

mund të shohim një dritë sesi funksionet themelore të Rust funksionojnë në harmoni dhe + koncizitet me llojet e tij. Në vazhdim do të flasim për

+

një koncept që u jep llojeve tona të të dhënave edhe më shumë fleksibilitet të përfaqësimit: + gjenerike.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_ar.html b/beta_31_ar.html new file mode 100644 index 000000000..692b6bbc3 --- /dev/null +++ b/beta_31_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 3 - الخلاصة

+

كم هو مثير! لدينا الآن الأدوات الأساسية لتمثيل أفكارنا على شكل شيفرة برمجية (code). نأمل الآن أن نرى لمحة عن كيف يقوم رست (Rust) بعمل العمليات الأساسية بانسجام وإيجاز مع أنواعها. وسنتحدث بعد ذلك عن المفهوم الذي يمنح أنواع البيانات لدينا مرونة أكبر في التمثيل: التعميم (generics).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_de.html b/beta_31_de.html new file mode 100644 index 000000000..834b53516 --- /dev/null +++ b/beta_31_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 3 - Fazit

+

Wie aufregend! Wir haben jetzt das Werkzeug, womit wir unsere Ideen im Code repräsentieren können. +Diese Einblicke in Rust's fundamentale Operationen und wie sie im Einklang zueinander stehen, sollte bei so manchen von euch +hoffentlich einen Funken verursacht haben. Als nächstes wagen wir uns in noch mehr Flexibilität: den generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_en.html b/beta_31_en.html new file mode 100644 index 000000000..6d33f8429 --- /dev/null +++ b/beta_31_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Conclusion

+

How exciting! We now have the most basic tools for representing the form of our ideas in code. Hopefully now we +can see a glimmer of how Rust's fundamental operations work in harmony and conciseness with its types. Next up we will talk about +a concept that gives our data types even more flexibility of representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_es.html b/beta_31_es.html new file mode 100644 index 000000000..f259628e6 --- /dev/null +++ b/beta_31_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Conclusión

+

¡Genial! Ahora tenemos las herramientas más básicas para representar nuestras ideas en código. +Esperemos que ahora podamos ver un atisbo de cómo las operaciones fundamentales de Rust funcionan +en armonía y concisión con sus tipos. A continuación hablaremos de un concepto que da a nuestros +tipos de datos aún más flexibilidad de representación: los genéricos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_fa.html b/beta_31_fa.html new file mode 100644 index 000000000..141e37af5 --- /dev/null +++ b/beta_31_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Conclusion

+

How exciting! We now have the most basic tools for representing the form of our ideas in code. Hopefully now we +can see a glimmer of how Rust's fundamental operations work in harmony and conciseness with its types. Next up we will talk about +a concept that gives our data types even more flexibility of representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_fr.html b/beta_31_fr.html new file mode 100644 index 000000000..50e2cf8ad --- /dev/null +++ b/beta_31_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 3 - Conclusion

+

Super! Nous possédons désormais les outils qu'il nous faut pour représenter nos idées avec du code. +Espérons que maintenant nous pouvons voir plus clairement comment les opérations fondamentales de Rust fonctionnent +en harmonie et de manière concise avec les types. Dans le prochain chapitre, nous parlerons d'un concept qui +donne à nos données encore plus de flexibilité dans leur représentation: la généricité.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_gr.html b/beta_31_gr.html new file mode 100644 index 000000000..56879b04b --- /dev/null +++ b/beta_31_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 3 - Κατάληξη

+

Τι συναρπαστικό! Έχουμε πλέον όλα τα πιο βασικά εργαλεία για να αναπαριστούμε τη μορφή των ιδεών μας σε κώδικα. Ευελπιστούμε πλέον να μπορούμε να δούμε έστω και λίγο το πώς οι θεμελιώδεις λειτουργείες της Rust εναρμονίζονται περιεκτικά με τους τύπους της. Μετά θα μιλήσουμε για κάτι που δίνει στους τύπους δεδομένων μας ακόμα μεγαλύτερη ευελιξία στην αναπαράσταση: Τις γενικότητες.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_hu.html b/beta_31_hu.html new file mode 100644 index 000000000..e7f686074 --- /dev/null +++ b/beta_31_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3. Fejezet - Konklúzió

+

Milyen izgalmas! Ezzel elsajátítottuk azokat az alapvető eszközöket, amikkel a gondolatainkat +kódban is reprezentálhatjuk. Remélhetőleg így már legalább egy kicsit átsejlik, hogy is működnek +a Rust alapvető műveletei összhangban a típusokkal. Legközelebb olyasvalamiről fogunk beszélni, +ami még több rugalmasságot ad az adatok reprezentációjára, név szerint: a generikus +típusok-ról.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_ie.html b/beta_31_ie.html new file mode 100644 index 000000000..f86afabbf --- /dev/null +++ b/beta_31_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 3 - Conclusion

+

Quam excitant! Noi ja nu possede un tre basic utensilarium por representar li forme de nor idés in nor code. +Esperabilmen desde nu noi va posseder un poc aclaration pri qualmen li operationes fundamental in Rust labora junt +in harmonie e con concision con su tipes. A sequer noi va parlar pri un concept quel da nor data-types +mem plu flexibilitá e plu representation: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_it.html b/beta_31_it.html new file mode 100644 index 000000000..a87d9ce27 --- /dev/null +++ b/beta_31_it.html @@ -0,0 +1,45 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 3 - Conclusioni

+

Molto interessante! Ora abbiamo gli strumenti fondamentali per rappresentare le nostre idee sotto forma di codice. Dovresti poter intravedere un barlume di come in Rust il codice ed i dati lavorano in modo armonico e conciso. Prossimamente parleremo di un concetto che da ancora più flessibilità di rappresentazione ai nostri tipi dato: i generics .

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_ja.html b/beta_31_ja.html new file mode 100644 index 000000000..406ed3e88 --- /dev/null +++ b/beta_31_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 3 章 - まとめ

+

興奮するでしょう!これで我々は基本的なツールを手に入れ、コードで我々の思考を表現することができます。 +次の章では Generics について説明します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_ko.html b/beta_31_ko.html new file mode 100644 index 000000000..2fe0be977 --- /dev/null +++ b/beta_31_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3장 - 마무리

+

신난다! 이제 우리는 아이디어를 코드로 표현할 수 있는 가장 기본적인 도구를 갖게 되었습니다. +이제 Rust의 기본 기능이 어떻게 자료형들과 함께 조화롭고 간결하게 동작하는지 어렴풋이 보이길 바랍니다. +다음에는 자료형에 더 많은 표현의 유연함을 주는 개념인 제네릭(generics)에 대해 알아보겠습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_pl.html b/beta_31_pl.html new file mode 100644 index 000000000..5710c4d45 --- /dev/null +++ b/beta_31_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 3 - Podsumowanie

+

Ale super! Mamy już podstawowe narzędzia do reprezentowania bardziej skomplikowanych konstrukcji i idei w kodzie.

+

Mam nadzieję, że wszystkie dotychczas omówione elementy zaczynają tworzyć pewną całość i że zaczynasz dostrzegać potencjał Rusta.

+

W następnym rozdziale przyjrzymy się bardzo ciekawemu aspektowi języka, który pozwoli nam programować w jeszcze bardziej elastyczny sposób. Mowa oczywiście o notacji generycznej.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_pt-br.html b/beta_31_pt-br.html new file mode 100644 index 000000000..15dd43029 --- /dev/null +++ b/beta_31_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Conclusão

+

Que legal! Agora temos as ferramentas mais básicas para representar as nossas idéias no código.

+

Esperamos que agora possamos ver como as operações fundamentais do Rust funcionam em harmonia e concisão com seus tipos. A seguir, falaremos sobre um conceito que oferece aos nossos tipos de dados ainda mais flexibilidade de representação: genéricos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_ro.html b/beta_31_ro.html new file mode 100644 index 000000000..e03de6b31 --- /dev/null +++ b/beta_31_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 3 - Concluzie

+

Ce palpitant! Acum avem în sfârșit toate uneltele de bază pentru a reprezenta ideile noastre în cod. Sper că acum +putem vedea puțin din felul în care operațiile fundamentale din Rust funcționează armonios și în mod concis cu tipurile sale de date. În cele ce urmează o să vorbim despre +un concept care atribuie tipurilor noastre de date și mai multă flexibilitate în reprezentare: genericitate (generics).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_ru.html b/beta_31_ru.html new file mode 100644 index 000000000..8fb4ba443 --- /dev/null +++ b/beta_31_ru.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 3 - Заключение

+

Как здорово! Теперь у нас есть большинство базовых инструментов для формирования наших идей в виде кода. +Надеемся, что теперь мы можем увидеть проблеск того, как основные операции Rust работают в гармонии и согласии с его типами. Далее мы поговорим о концепции, которая дает нашим типам данных ещё большую гибкость представления: обобщенные типы (generics).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_th.html b/beta_31_th.html new file mode 100644 index 000000000..a849fb4b8 --- /dev/null +++ b/beta_31_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 3 - สรุป

+

น่าตื่นเต้นไหม! ตอนนี้เครื่องมือขั้นพื้นฐานที่สุด ก็พร้อมให้เราเปลี่ยนไอเดียลงไปเป็นโค้ดได้แล้ว หวังว่าตอนนี้เราจะเห็นแสงรำไรหน่อยๆแล้ว สิ่งจำเป็นพื้นฐานของ Rust ทำงานสอดประสานและใกล้ชิดกับประเภทตัวแปรมากขนาดไหน ต่อจากนี้ เดี๋ยวเราจะพูดกันถึงเรื่อง แนวคิดที่จะทำให้ประเภทของข้อมูลมีความยืดหยุ่นมากขึ้น ผ่านการแทนด้วย: generics

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_tr.html b/beta_31_tr.html new file mode 100644 index 000000000..1ede9edef --- /dev/null +++ b/beta_31_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 3 - Sonuç

+

Artık fikirlerimizi kodlarla ifade edebileceğimiz temel araçlara kavuşmamız harika! Umuyorum bu bölümde Rust'un temel işlemlerinin, türleriyle nasıl özlü ve uyumlu şekilde çalıştığını daha net kavrayabilmişizdir. +Sonraki bölümde veri yapılarının tek bir tür yerine, türden bağımsız şekilde genelleştirilmesine ve daha esnek biçimde gösterilmesine olanak sağlayan genel türler kavramına değineceğiz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_ua.html b/beta_31_ua.html new file mode 100644 index 000000000..53891cf47 --- /dev/null +++ b/beta_31_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 3 - Висновки

+

Чудово! Тепер ми маємо усі базові інструменти для надання форми нашим ідеям у коді. Сподіваюся, що тепер ви бачите, як фундаментальні операціі мови Rust працюють в гармонії з її типами.

+

Далі ми поговоримо про концепт, що надає типам даних ще більшої гнучкості в представленні: узагальненим типам (generics)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_vi.html b/beta_31_vi.html new file mode 100644 index 000000000..5eaad6cd9 --- /dev/null +++ b/beta_31_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Tổng kết

+

Thật thú vị! Giờ đây, chúng ta có những công cụ cơ bản nhất để thể hiện dạng ý tưởng của chúng ta. Hy vọng rằng, bây giờ chúng ta có thể thấy một chút về cách các hoạt động cơ bản của Rust hoạt động một cách hài hòa và ngắn gọn với các loại của nó. Tiếp theo, chúng ta sẽ nói về một khái niệm cung cấp cho các kiểu dữ liệu của chúng ta khả năng biểu diễn linh hoạt hơn: generics.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_zh-cn.html b/beta_31_zh-cn.html new file mode 100644 index 000000000..91dba3ba2 --- /dev/null +++ b/beta_31_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 总结

+

太好了!现在我们有了一些用代码来展示我们想法最基本的工具。 +希望现在我们能看到 Rust 的基本操作是如何与它的类型和谐一致地工作的。 +接下来我们将讨论一个概念,它为我们的数据类型提供了更大的灵活性:泛型

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_31_zh-tw.html b/beta_31_zh-tw.html new file mode 100644 index 000000000..fb23d31ba --- /dev/null +++ b/beta_31_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 總結

+

多麼令人興奮!現在我們有了最基本的工具,可以用來將我們的點子以程式碼的方式呈現出來。 但願現在我們能看到些許 Rust 的基礎操作是如此簡潔和諧的與它的型別一起工作。 接下來我們會探討一個概念,它可以讓我們的資料型別在呈現上更有彈性:泛型 (generics)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_33_ar.html b/beta_33_ar.html new file mode 100644 index 000000000..8bbb0fecb --- /dev/null +++ b/beta_33_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ما هي الأنواع المعممة (Generic types)؟

+

تسمح لنا الأنواع المعممة (Generic types) بتعريف جزئي لهيكل (struct) أو معدودة (enum)، وذلك لتمكين مترجم اللغة (compiler) من تعريف إصدارات كاملة أثناء وقت الترجمة (compile-time) بناءا على استخدام شيفرتنا البرمجية (code).

+

يمكن لرست (Rust) استنتاج النوع النهائي بعد النظر لتمثيلنا (instantiation) لذلك النوع، ولكن إذا أردت أن تكون واضح فيمكنك دائما إستخدام العامل <T>::، والذي يعرف أيضا باسم عنفة السمكة turbofish (إنه صديق جيد بالنسبة لي!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_de.html b/beta_33_de.html new file mode 100644 index 000000000..02a2b9618 --- /dev/null +++ b/beta_33_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Was sind generische Typen?

+

Generische Typen ermöglichen es uns ein struct oder enum nur teilweise zu definieren, was dem Compiler ermöglicht +eine komplett definierte Version zur Compile-Zeit aus unserem Code zu generieren.

+

Generell kann sich Rust aus unserer Instanziierung den finalen Datentypen erschließen, aber wenn es einmal Hilfe +benötigt kannst du immer ganz einfach und explizit mit dem ::<T> operator, auch bekannt unter dem Namen turbofisch +(ein guter Freund von mir), nachhelfen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_en.html b/beta_33_en.html new file mode 100644 index 000000000..8e9a5a3a4 --- /dev/null +++ b/beta_33_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Are Generic Types?

+

Generic types allow us to partially define a struct or enum, enabling a compiler to create a fully +defined version at compile-time based off our code usage.

+

Rust generally can infer the final type by looking at our instantiation, but if it needs help you +can always be explicit using the ::<T> operator, also known by the name turbofish (he's a good friend of mine!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_es.html b/beta_33_es.html new file mode 100644 index 000000000..9de5f8598 --- /dev/null +++ b/beta_33_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

¿Qué Son los Tipos Genéricos?

+

Los tipos genéricos nos permiten definir parcialmente una estructura (struct) o enum, +permitiendo a un compilador crear una versión completamente definida en tiempo de compilación +basada en el uso de nuestro código.

+

Por lo general, Rust puede inferir el tipo final mirando nuestra instanciación, pero si necesita +ayuda siempre puede indicarlo usando el operador ::<T>, también conocido con el nombre de turbofish.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_fa.html b/beta_33_fa.html new file mode 100644 index 000000000..233b0a654 --- /dev/null +++ b/beta_33_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Are Generic Types?

+

Generic types allow us to partially define a struct or enum, enabling a compiler to create a fully +defined version at compile-time based off our code usage.

+

Rust generally can infer the final type by looking at our instantiation, but if it needs help you +can always be explicit using the ::<T> operator, also known by the name turbofish (he's a good friend of mine!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_fr.html b/beta_33_fr.html new file mode 100644 index 000000000..91a41a05f --- /dev/null +++ b/beta_33_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Qu'est-ce que les types génériques?

+

Les types génériques permettent de définir partiellement une structure ou une énumération, laissant le compilateur +créer une version parfaitement définie lors de la compilation du programme.

+

Rust peut généralement inférer le type final en observant de quelle manière est faite l'instantiation. Si besoin, +on peut explicitement utiliser l'opérateur ::<T> pour spécifier le type, +egalement appelé turbofish (c'est un bon ami à moi!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_gr.html b/beta_33_gr.html new file mode 100644 index 000000000..925dce15b --- /dev/null +++ b/beta_33_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Τι είναι οι γενικοί τύποι;

+

Οι γενικοί τύποι μας επιτρέπουν να ορίσουμε τμηματικά μία δομή ή μία απαρίθμηση (struct ή enum αντιστοίχως), επιτρέποντας στο μεταφραστή να δημιουργήσει μία πλήρως ορισμένη εκδοχή την ώρα της μετάφρασης ανάλογα με το πώς τη χρησιμοποιούμε όντως.

+

Η Rust γενικότερα μπορεί να συμπεράνει τον τελικό τύπο κοιτώντας το πώς το χρησιμοποιούμε, αλλά αν χρειαστεί βοήθεια μπορείτε πάντοτε να το ορίσετε ρητά χρησιμοποιώντας τον τελεστή ::<T>, γνωστό επίσης και με το όνομα τουρμπόψαρο. Είμαστε καλοί φίλοι!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_hu.html b/beta_33_hu.html new file mode 100644 index 000000000..97a852463 --- /dev/null +++ b/beta_33_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

De mik is azok a generikus típusok?

+

A generikus típusok lehetővé teszik számunkra, hogy részben definiáljunk egy struct-ot vagy +enum-ot. Ezt később a fordító automatikusan kiegészíti az alapján, hogy hogyan használjuk +őket. A Rust általában képes kitalálni, mi is lesz a végleges típus a példányosítás során, de ha +segítségre van szüksége, akkor expliciten te magad is megadhatod a ::<T>, becenevén +turbofish operátor segítségével is (aki nem mellesleg egy jó barátom is!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_ie.html b/beta_33_ie.html new file mode 100644 index 000000000..c3b0f5fa6 --- /dev/null +++ b/beta_33_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quo es Tipes Géneric?

+

Tipes géneric possibilisa li partial definition de un struct o enum, con quel li compilator va posser +crear un version completmen definat quande it compila se secun li code quel noi scri.

+

Rust por li pluparte posse inferer li tip final per regardar nor instantiation, ma si it besona auxilie tu posse +sempre esser plu explicit con li operator ::<T>, anc conosset con li nómine turbofish (un pisc quel es un +de mi bon amics!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_it.html b/beta_33_it.html new file mode 100644 index 000000000..16f8e11dc --- /dev/null +++ b/beta_33_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cosa sono i tipi generici ?

+

I tipi generici ci consentono di definire parzialmente una struct o un enum, lasciando al compilatore il compito di creare una versione completamente definita in base al nostro utilizzo nel codice.

+

Rust può dedurre il tipo finale in base all'utilizzo nel codice, ma se avesse bisogno di aiuto puoi esplicitare usando l'operatore ::<T>, conosciuto con il nomignolo turbofish (il caro pesceturbo è anche un mio vecchio amico!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_ja.html b/beta_33_ja.html new file mode 100644 index 000000000..9a673ff1e --- /dev/null +++ b/beta_33_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ジェネリック型とは?

+

ジェネリック型は structenum を部分的に定義することを可能にします。 +コンパイル時にコードでの使用状況に基づいて完全に定義されたバージョンが生成されます。

+

Rust は通常、インスタンスを生成するコードから最終的な型を推論できます。 +しかし補助が必要な場合は、::<T> 演算子を使って明示的に指定できます。 +この演算子は turbofish という名前でも知られています(彼とは仲良しです!)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_ko.html b/beta_33_ko.html new file mode 100644 index 000000000..bfae3c3e0 --- /dev/null +++ b/beta_33_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic 자료형이란?

+

generic 자료형은 structenum을 부분적으로 정의하여, 컴파일러가 +컴파일 타임에 코드 사용을 기반으로 완전히 정의된 버전을 만들 수 있게 해줍니다.

+

Rust는 일반적으로 인스턴스화 하는 것을 보고 최종 자료형을 유추할 수 있으나, +여러분의 도움이 필요한 경우에는 turbofish (내 친한 친구입니다!)로도 알려진 ::<T> 연산자를 사용해 언제든 명시적으로 지정할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_pl.html b/beta_33_pl.html new file mode 100644 index 000000000..5752197c2 --- /dev/null +++ b/beta_33_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Czym Są Typy Generyczne?

+

Typy generyczne pozwalają nam na stworzenie częściowej definicji struktury struct czy wyliczenia enum, która pozwoli kompilatorowi na stworzenie bardziej konkretnej implementacji naszej wersji kodu w procesie kompilacji.

+

Ogólnie rzecz biorąc, Rust jest w stanie domyśleć się większości typów zmiennych analizując nasz kod. Jeśli jednak kompilator nie będzie w stanie samodzielnie określić typu, zawsze możemy udzielić mu wskazówki korzystając z operatora ::<T>. Ze względu na swój osobliwy wygląd przypominający tekstową reprezentację niewielkiej (choć zwinnej) ryby, operator ten jest znany pod nazwą turbofish.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_pt-br.html b/beta_33_pt-br.html new file mode 100644 index 000000000..4faaf590e --- /dev/null +++ b/beta_33_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O Que São Tipos Genéricos?

+

Tipos genéricos nos permitem definir parcialmente uma struct ou enum, deixando que o compilador instancie uma versão dela definida em tempo de compilação totalmente com base em nosso código.

+

Geralmente o Rust pode inferir o tipo final observando a nossa instanciação, mas se ele precisar de ajuda você sempre pode ser explícito usando o operador ::<T>, também conhecido pelo nome turbofish (ele é um bom amigo meu!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_ro.html b/beta_33_ro.html new file mode 100644 index 000000000..36388cf5f --- /dev/null +++ b/beta_33_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ce sunt tipurile generice?

+

Tipurile generice ne lasă să definim parțial o structură (struct) sau o enumerare (enum), permițând compilatorului să creeze o +versiune definită complet în timpul compilării, bazată pe modul în care am folosit codul.

+

În general, Rust poate deduce tipul final analizând instanțierea noastră, dar dacă are nevoie de ajutor, +puteți oricând să instanțiați explicit folosind operatorul ::<T>, cunoscut sub numele de turbofish (e un bun prieten de-ai mei!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_ru.html b/beta_33_ru.html new file mode 100644 index 000000000..4f3989442 --- /dev/null +++ b/beta_33_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Что такое обобщённые типы (Generic Types)?

+

Обобщённые типы позволяют частично определять struct или enum, позволяя компилятору создать полностью +объявленную версию во время компиляции, основываясь на использовании обобщенного типа.

+

Обычно компилятор может вывести конечный тип, анализируя код создания значения, но вы всегда можете +явно указать тип для обобщенного типа с помощью оператора турбо-рыба (turbofish) ::<T> (не бойтесь её).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_th.html b/beta_33_th.html new file mode 100644 index 000000000..3cab37e53 --- /dev/null +++ b/beta_33_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Types คืออะไร?

+

Generic types ช่วยให้เราสามารถ กำหนด struct หรือ enum เฉพาะบางส่วนได้ และยอมให้คอมไพเลอร์ สร้างส่วนที่เหลือให้เสร็จโดยอ้างอิงจากการใช้งานจริงในโค้ด

+

โดยปกติแล้ว Rust มีความสามารถในการ อนุมาน type ที่มันเป็นจริงๆได้ โดยดูจากค่าที่เราสร้างอินสแตนซ์นั้นขึ้นมา แต่ถ้าเราอยากที่จะทำให้มันชัดเจนไปเลยก็ให้ใช้ตัวดำเนินการ ::<T> ส่วนมากเราจะเรียกมันว่า turbofish (นี่เพื่อนรักของฉันเลยนะ!)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_tr.html b/beta_33_tr.html new file mode 100644 index 000000000..eed101301 --- /dev/null +++ b/beta_33_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Genel TürLer Nelerdir?

+

Bunlar, derleyicinin kısmen tanımladığımız bir yapı (struct) yahut numaralandırmayı (enum), kodun kullanım şekline göre değerlendirip, mükemmel şekilde tanımlanmış derleme zamanı sürümünü oluşturmasına olanak sağlayan genelleştirilmiş türlerdir.

+

Türlerin genellenerek tektipleştirildiği programlarda nihai tür, kod bağlamımının derleyici tarafından değerlendirimesiyle elde edilmektedir. Bununla birlikte bazı durumlarda, tür çıkarsama işlemi karmaşaya neden olabileceğinden, türün açıkça bildirilmesi gerekebilir. Bu gibi durumlarda bir yengecin en iyi arkadaşı olan ve benim de çok sevdiğim, turbofish adıyla bilinen ::<T> işlecini kullanabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_ua.html b/beta_33_ua.html new file mode 100644 index 000000000..381fe4d6b --- /dev/null +++ b/beta_33_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Що таке узагальнені типи (Generic Types)?

+

Узагальнені типи дозволяють частково визначати структури(struct) чи переліки(enum), залишаючи компілятору створення повністю визначеної версії типу під час компіляції, базуючись на використанні цього типу.

+

Загалом, Rust може вивести кінечний тип на основі ініціалізаціі значення, але якщо він потребує допомоги, ви завжди можете явно його вказати, використовуючи оператор ::<T>, відомий як турбо-риба(turbofish) (він також наш гарний друг)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_vi.html b/beta_33_vi.html new file mode 100644 index 000000000..e9075a931 --- /dev/null +++ b/beta_33_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic type là gì?

+

Các kiểu chung cho phép chúng ta xác định một phần một struct hoặc một enum, cho phép trình biên dịch tạo một phiên bản được xác định đầy đủ tại thời điểm biên dịch(compile-time) dựa trên việc sử dụng code của chúng ta.

+

Rust thường có thể suy ra kiểu cuối cùng bằng cách nhìn vào phần khởi tạo của chúng ta, nhưng nếu nó cần giúp đỡ, bạn luôn luôn có thể sử dụng toán tử :: <T> để làm cho nó mọi thứ rõ ràng hơn. Nó còn có tên khác đó là turbofish (anh ấy là một người bạn tốt đấy!).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_zh-cn.html b/beta_33_zh-cn.html new file mode 100644 index 000000000..76b1f7661 --- /dev/null +++ b/beta_33_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型是什么?

+

泛型允许我们不完全定义一个 structenum,使编译器能够根据我们的代码使用情况,在编译时创建一个完全定义的版本。

+

Rust 通常可以通过查看我们的实例化来推断出最终的类型,但是如果需要帮助,你可以使用 ::<T> 操作符来显式地进行操作, +该操作符也被称为 turbofish (它是我的好朋友!)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_33_zh-tw.html b/beta_33_zh-tw.html new file mode 100644 index 000000000..af4de261b --- /dev/null +++ b/beta_33_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什麼是泛型?

+

泛型允許我們定義一部份的結構 (struct) 或列舉 (enum),使編譯器根據我們的程式碼,在編譯時期就產生一個完整的版本。

+

Rust 大多時候可以根據我們的實體 (instantiation) 來推斷最終型別,但如果你需要幫忙的話,只要使用 ::<T> 運算子, 你也可以明確的表示出來,我們也稱之為 turbofish (他也是我的其中一個好朋友!)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_ar.html b/beta_34_ar.html new file mode 100644 index 000000000..5aa0a20a3 --- /dev/null +++ b/beta_34_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تمثيل لا شيء

+

في لغات أخرى، يتم استخدام الكلمة المفتاحية خالي (null) لتمثيل غياب القيمة. وهذا يسكل صعوبة في لغات البرمجة لأنه هناك احتمالية فشل برنامجنا عند التفاعل مع متغير (variable)/حقل (field).

+

رست (Rust) ليس له الكلمة المفتاحية خالي (null) لكنه لا يهمل أهمية تمثيل اللاشيء! بحيث فكرو في تمثيل بسيط باستخدام أداة نعرفها بالفعل.

+

لا شيء (None) هي نمط بديل شائع جدا في رست (Rust) لتمثيل قيمة أو عدة قيم خالية بسبب افتقاره إلى القيمة خالي (null). وتساعد الأنواع المعممة (Generic types) في حل هذا التحدي.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_en.html b/beta_34_en.html new file mode 100644 index 000000000..e454d7edf --- /dev/null +++ b/beta_34_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_es.html b/beta_34_es.html new file mode 100644 index 000000000..770ef019c --- /dev/null +++ b/beta_34_es.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ausencia de Valor

+

En otros lenguajes de programación, la palabra reservada null se utiliza para representar la ausencia de valor. +Esto crea ciertas dificultades en dichos lenguajes, ya que aparece la posibilidad de que nuestro programa falle al +interactuar con una variable o campo.

+

En Rust no hay null, pero eso no quiere decir que ignore la importancia de representar la ausencia de valor. +Se puede representar usando herramientas que ya conocemos.

+

Este patrón de proporcionar una alternativa nula None para uno o muchos valores alternativos es muy común en +Rust debido a su falta de un valor null. Los tipos genéricos ayudan a resolver este desafío.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_fa.html b/beta_34_fa.html new file mode 100644 index 000000000..d819e9a21 --- /dev/null +++ b/beta_34_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representing Nothing

+

In other languages, the keyword null is used to represent an absence of a value. It creates +difficulty in programming languages because it creates the possibility that our program might fail +when interacting with a variable/field.

+

Rust does not have null, but it is not ignorant of the importance of representing nothing! +Consider a naive representation using a tool we already know.

+

This pattern of providing a None alternative representation for one or many alternate values is so +common in Rust because of its lack of a null value. Generic types help solve this challenge.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_fr.html b/beta_34_fr.html new file mode 100644 index 000000000..212a57f9e --- /dev/null +++ b/beta_34_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representation de valeurs nulles

+

Dans les autres languages, le mot-clé null est utilisé pour représenter l'abscence de valeur. +Cela crée des difficultés dans les langages de programmation car il est possible que le programme +s'arrête lorsque celui-ci essaie d'utiliser une valeur qui n'est pas présente.

+

Rust ne possède pas le mot-clé null, mais n'ignore pas la nécessité de représenter l'abscence de valeur! +Nous pouvons cependant créer une représentation naive en utilisant un outil que nous connaissons déjà.

+

Ce pattern fournissant une représentation alternative None pour une ou plusieurs valeurs est très souvent utilisé. +En effet Rust ne possède pas le mot-clé null comme dans les autres langages. Les types génériques peuvent cependant +aider à résoudre ce problème.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_gr.html b/beta_34_gr.html new file mode 100644 index 000000000..259b3df4e --- /dev/null +++ b/beta_34_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Αναπαράσταση του τίποτε

+

Σε άλλες γλώσσες, η λέξη κλειδί null χρησιμοποιείται για να αναπαραστήσει την απουσία μίας τιμής. Δημιουργεί όμως διάφορες δυσκολίες στις γλώσσες προγραμματισμού επειδή εισάγει την πιθανότητα να σφάλλει το πρόγραμμά μας όταν αλληλεπιδρά με κάποια μεταβλητή ή κάποιο πεδίο.

+

Στη Rust το null δεν υπάρχει, αλλά δεν αγνοείται η σημασία της αναπαράστασης του τίποτε! +Σκεφτείτε μία αφελή αναπαράσταση που χρησιμοποιεί ένα εργαλείο που γνωρίζουμε ήδη.

+

Το πρότυπο της συμπερίληψης μίας εναλλακτικής τιμής Ουδέν ανάμεσα σε μία ή περισσότερες άλλες εναλλακτικές πιθανότητες είναι πολύ σύνηθες στη Rust λόγω ακριβώς της έλλειψης της τιμής null. Οι γενικοί τύποι βοηθούν στην επίλυση αυτής της πρόκλησης.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_hu.html b/beta_34_hu.html new file mode 100644 index 000000000..c135a2e58 --- /dev/null +++ b/beta_34_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A Semmi reprezentációja

+

Egyes nyelvek a null kulcsszóval jelölik, ha egy érték hiányzik valahonnan. Ez azonban gyakran +vezet komplikációkhoz, hisz ezek a nyelvek lehetővé teszik, hogy a program hibába fusson amikor +egy változóhoz hozzáfér. Éppen ezért a Rust nem rendelkezik ilyesfajta null értékkel. Viszont +ez nem jelenti azt, hogy a fejlesztők nem voltak tisztában a koncepció hasznosságával, de +mielőtt megnézzük az ő megoldásukat, próbáljuk meg mi magunk írni egy naiv megoldást a +problémára.

+

A None ("Üres"/"Semmi") mint alternatív érték amivel még nem létező adatot jelölünk +rengetegszer előfordul a Rust nyelvben a null hiánya miatt. Hogy ennek használata gyorsabb és +kevésbé nehézkes legyen, a fejlesztők kitaláltak egy egységes módszert erre a generikus típusok +segítségével, amit a következő oldalon mutatunk be.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_ie.html b/beta_34_ie.html new file mode 100644 index 000000000..17d65a6c6 --- /dev/null +++ b/beta_34_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representar Nullcos

+

In altri lingues, on usa li clave-parol null por representar li absentie de un valore. To crea +desfacilitás in lingues de programmation pro que it crea li possibilitá de fallition de nor programma +quande it interacte con un variabile/camp.

+

Rust ne possede null, ma it conosse tre bon li importantie de posser representar nullcos! +Lass nos considerar un representation naiv usante un utensile quel noi ja conosse.

+

Ti-ci mustre quel provide un alternativ represantation usante None es tam comun in Rust pro su +manca de un valore null. Tipes géneric auxilia soluer ti-ci defí.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_it.html b/beta_34_it.html new file mode 100644 index 000000000..bce2f01d0 --- /dev/null +++ b/beta_34_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rappresentare il Nulla

+

Negli altri linguaggi viene usata la parola chiave null per rappresentare l'assenza di un valore. +Questo è spesso fonte di difficoltà, perchè lascia aperta la possibilità che il nostro programma possa fallire, dato che prima o poi potrebbe interagire con una variabile o campo senza alcun valore.

+

Rust non ha il null, ma non trascura l'importanza di poter rappresentare il concetto di "valore assente". +Considera qui a lato una semplice rappresentazione che usa un enunciato (enum) già conosciuto.

+

Questo schema che fornisce una rappresentazione None alternativa per uno o più valori è molto +comune in Rust, perchè non c'è il valure null. I tipi generici aiutano a risolvere questa problematica.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_ja.html b/beta_34_ja.html new file mode 100644 index 000000000..0f38f1d6a --- /dev/null +++ b/beta_34_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

値がないことの表現

+

他の言語では、値が存在しないことを表すためにキーワード null が用いられます。 +これは変数やフィールドの操作に失敗する可能性があることを意味するため、プログラミング言語に困難をもたらします。

+

Rust には null はありませんが、値がないことを表現することの重要性を無視しているわけではありません。 +既に知っているツールを使った素朴な表現を考えてみましょう。

+

1つ以上の値を None によって代替するパターンは、null がない Rust ではとても一般的です。 +ジェネリック型はこの問題を解決するのに役立ちます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_ko.html b/beta_34_ko.html new file mode 100644 index 000000000..5567ec4d8 --- /dev/null +++ b/beta_34_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

아무 것도 없는 것을 표현하기

+

다른 언어에서 null 키워드는 값이 없음을 나타내기 위해 사용됩니다. +이는 프로그래밍 언어에 어려움을 유발하는데, 변수나 field를 처리하는 중에 +프로그램이 실패할 수도 있기 때문입니다.

+

Rust에는 null이 없습니다만, 아무 것도 없음을 표현하는 것의 중요성을 무시하는 것은 아닙니다! +우리가 이미 아는 도구를 사용한 순수한 표현법을 고려해봅시다.

+

이렇게 한 개 이상의 선택 가능한 값에 대해 None 선택지를 제공하는 방법은 +null 값이 없는 Rust에서 매우 흔한 패턴입니다. generic 자료형은 이러한 어려움을 해결하는 데에 도움을 줍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_pl.html b/beta_34_pl.html new file mode 100644 index 000000000..dd93c37f0 --- /dev/null +++ b/beta_34_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Reprezentacja Niczego

+

W wielu językach programowania, słowo kluczowe null jest używane do oznaczenia braku wartości. Jednym z problemów związanych z takim podejściem jest sytuacja, w której nasz program może niespodziewanie zakończyć działanie kiedy próbujemy wejść w interakcję ze zmienną która akurat jest niczym. +W Ruscie nie istnieje koncepcja null. Nie oznacza to jednak braku możliwości reprezentacji niczego w tym języku!

+

Po prawej stronie mamy przykładową implementację wykorzystującą znane nam już narzędzie.

+

Taki wzorzec, polegający na reprezentacji niczego opcją None dla jednej lub więcej wartości, jest bardzo częstym widokiem w Ruscie. Powodem jest właśnie możliwość zastąpienia w ten sposów niewygodnego null. +Typy generyczne pomogą nam definiować uniwersalne rozwiązania z wykorzystaniem None zamiast null.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_pt-br.html b/beta_34_pt-br.html new file mode 100644 index 000000000..ec6351798 --- /dev/null +++ b/beta_34_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Representando o Nada

+

Em outras linguagens, a palavra-chave null é usada para representar a ausência de um valor. Isso cria dificuldades nas linguagens de programação, porque possibilita que o nosso programa possa falhar ao interagir com uma variável/campo.

+

O Rust não tem null, mas não ignora a importância de representar o nada! Considere uma representação ingênua usando uma ferramenta que já conhecemos.

+

Esse padrão para fornecer uma representação alternativa ao None por um ou vários valores alternados é muito comum em Rust devido à falta de um valor null. Os tipos genéricos ajudam a resolver esse desafio.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_ro.html b/beta_34_ro.html new file mode 100644 index 000000000..2ac5e239a --- /dev/null +++ b/beta_34_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Reprezentarea nimicului

+

În alte limbaje, cuvântul cheie null este folosit pentru a reprezenta absența unei valori. El creează +dificultăți în limbajele de programare, pentru că este posibil ca aplicația noastră să eșueze +când interacționează cu o variabilă sau un câmp cu această valoare.

+

Rust nu are tipul null, dar nu este ignorant când vine vorba de importanța reprezentării nimicului! +Gândiți-vă la o reprezentare naivă folosind o unealtă pe care o cunoaștem deja.

+

Alternativa None pentru una sau mai multe valori care pot varia este așa de +des întâlnită în Rust din cauza lipsei unei valori null. Tipurile generice ne ajută însă să trecem de acest obstacol.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_ru.html b/beta_34_ru.html new file mode 100644 index 000000000..04f8bf035 --- /dev/null +++ b/beta_34_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Представление отсутствия значения (Representing Nothing)

+

В других языках ключевое слово null используется для обозначения отсутствия значения. +Это вызывает проблемы в языках программирования, потому что создает возможности того, что программа может завершиться ошибкой +при взаимодействии с переменной/полем.

+

Rust не имеет null, но это не игнорирует важность представления "ничего" (отсутствия значения)! +Рассмотрим наивное представление, используя инструмент, который мы уже знаем.

+

Данная схема предоставления альтернативного значения None для одного или нескольких альтернативных значений распространена в +Rust, потому что в нём отсутствует null значение. Обобщённые типы помогают решить эту ситуацию.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_th.html b/beta_34_th.html new file mode 100644 index 000000000..356bf2942 --- /dev/null +++ b/beta_34_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ตัวแทนของความว่างเปล่า

+

ในภาษาโปรแกรมมิ่งอื่นจะใช้คีย์เวิร์ด null แทนการไม่มีค่า แต่นั่นก็สร้างความยุ่งยากให้เราอีก ก็เพราะว่า มันเปิดโอกาสให้โปรแกรมเราล้มเหลวถ้าเราดันไปทำอะไรกับค่าพวกนี้เข้า

+

ดังนั้น Rust ก็เลยไม่มี null แต่ก็อย่าหาว่าเราละเลยความจำเป็นของการมีอยู่ของ ค่าความว่างเปล่า นะ ลองดูสิ่งที่เรานำเสนอแบบซื่อๆในแบบของเราที่เคยเห็นกันมาแล้ว

+

เราเสนอการใช้ None สำหรับค่าที่มีทางเลือกอย่างน้อย 1 อย่างว่าจะออกมาเป็นอะไรกันแน่ ซึ่งเกิดขึ้นได้บ่อยๆใน Rust เพราะเราไม่มี null นั่นเอง Generic types จึงมีบทบาทในการช่วยแก้ไขปัญหาเหล่านี้ให้เรา

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_tr.html b/beta_34_tr.html new file mode 100644 index 000000000..d629883b6 --- /dev/null +++ b/beta_34_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Boş Değer Gösterimi

+

Pek çok programlama dilinde null anahtar sözcüğü, değer yokluğunun temsilinde kullanılır. Bu değerin varlık ya da yokluğunun denetlenmememesi, değişken ve nesne alanlarıyla etkileşime giren programlarda, çok ciddi sorunlara yol açabilmektedir.

+

Rust'ta null anahtar kelimesi olmamasına rağmen, boş değer denetimi hiçbir zaman ihmal edilmez. Bir değerin varlık ya da yokluğu enum türü kullanılarak temsil edilebilir.

+

Rust'ta null değerlerin yokluğu, olmayan değerlerin olası tüm hallerini temsil eden ve hiç biri anlamına gelen None ifadesinin, genelleştirilen türler aracılığıyla kullanılmasına neden olur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_ua.html b/beta_34_ua.html new file mode 100644 index 000000000..b6f2df9af --- /dev/null +++ b/beta_34_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Представлення відсутності значення

+

В інших мовах ключове слово null використовується для представлення відсутності значення. Це створює деякі проблеми через наявність можливості нашої програми закінчитися з помилкою під час роботи зі змінною чи полем.

+

Rust не має null, але це не відкидає важивості представлення відсутності значення!

+

Розглянемо найпростіше представлення, використовуючи ті інструменти, які ми вже знаємо.

+

Цей паттерн надання значення None для одного чи більше альтернативних значень досить розповсюджений в Rust через відсутність значення null. Узагальнені типи допомагають вирішити цю проблему.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_vi.html b/beta_34_vi.html new file mode 100644 index 000000000..2e482b3bc --- /dev/null +++ b/beta_34_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đại diện cho "Nothing"

+

Trong các ngôn ngữ khác, từ khóa null được sử dụng để biểu thị sự vắng mặt của một giá trị. Nó tạo ra khó khăn trong các ngôn ngữ lập trình vì nó tạo ra khả năng chương trình của chúng ta có thể bị lỗi khi tương tác với một biến/trường.

+

Rust không có null, nhưng nó không phải là không biết tầm quan trọng của việc đại diện cho "Nothing"! Hãy xem xét một sự biểu diễn ngây thơ bằng cách sử dụng một công cụ mà chúng ta đã biết. Kiểu cung cấp sự đại diện thay thế None cho một hoặc nhiều giá trị thay thế này rất phổ biến trong Rust vì nó thiếu giá trị null. +Generic type giúp giải quyết thách thức này.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_zh-cn.html b/beta_34_zh-cn.html new file mode 100644 index 000000000..a548c1b06 --- /dev/null +++ b/beta_34_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

表示空

+

在其他语言中,关键字 null 用于表示没有值。它给编程语言带来了困难,因为它使我们的程序在与变量字段交互时可能失败。

+

Rust 没有 null,但这并不代表我们不知道表示空的重要性!我们可以使用一个我们已经了解过的工具来简单地表示这一点。

+

因为缺少 null 值,这种为一个或多个替代值提供 None 替代表示的模式非常常见, +泛型有助于解决这一难题。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_34_zh-tw.html b/beta_34_zh-tw.html new file mode 100644 index 000000000..a10075391 --- /dev/null +++ b/beta_34_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

空值表示

+

在其他語言裡,關鍵字 null 用來表示空值。這在程式語言裡產生了一些問題,因為它有可能讓我們的程式因為存取變量或欄位時失敗。

+

Rust 沒有 null,但這不代表我們不知道表示空值的重要性!我們用一個已知的工具來簡單的表示。

+

透過給定一個 None 來表示一個或多個其他數值,在 Rust 是非常常見的,因為它沒有 null。泛型可以用來幫助解決這個問題。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_ar.html b/beta_35_ar.html new file mode 100644 index 000000000..45aefd543 --- /dev/null +++ b/beta_35_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الخيار (Option)

+

رست (Rust) يحتوي على معدودة عميمة (generic enum) تدعى بخيار Option تسمح لنا بتمثيل قيم خالية (nullable values) بدون استعمال الكلمة المفتاحية خالي (null).

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

هذه المعدودة (enum) شائعة جدا، ويمكن إنشاء مثلاء (instances) المعدودة في أي مكان مع خيارات المعدودة (enum variants) بعض (Some) و لاشيء (None)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_en.html b/beta_35_en.html new file mode 100644 index 000000000..2f860f3b1 --- /dev/null +++ b/beta_35_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_es.html b/beta_35_es.html new file mode 100644 index 000000000..3e9a1ac44 --- /dev/null +++ b/beta_35_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust tiene un enumerado genérico integrado llamado Option que nos permite representar +valores nulos sin usar null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Este enum es tan común que se pueden crear instancias del enum en cualquier lugar con las +palabras reservadas Some y None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_fa.html b/beta_35_fa.html new file mode 100644 index 000000000..7071a7fe6 --- /dev/null +++ b/beta_35_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust has a built in generic enum called Option that allows us to represent nullable values +without using null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

This enum is so common, instances of the enum can be created anywhere with the enum variants Some and None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_fr.html b/beta_35_fr.html new file mode 100644 index 000000000..e186bab54 --- /dev/null +++ b/beta_35_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Le langage Rust met à disposition une énumération générique Option qui permet de +représenter des valeurs pouvant être nulles sans utiliser null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Ce type d'énumération est tellement commun qu'on peut créer une instance de cette énumération directement avec les variantes d'énumération Some et None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_gr.html b/beta_35_gr.html new file mode 100644 index 000000000..36d38b392 --- /dev/null +++ b/beta_35_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Στη Rust υπάρχει μία προκατασκευασμένη γενική απαρίθμηση ονόματι «Προαίρεση» (Option) η οποία μας επιτρέπει να αναπαραστήσουμε ενδεχομένως εσφαλμένες τιμές χωρίς τη null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Αυτή η απαρίθμηση είναι τόσο συνήθης, που μπορούμε να δημιουργήσουμε μεταβλητές αυτού του τύπου οπουδήποτε και οποτεδήποτε με τις πιθανότητες της απαρίθμησης Some και None· αντιστοίχως, Κάποιο και Ουδέν.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_hu.html b/beta_35_hu.html new file mode 100644 index 000000000..ed7e4384d --- /dev/null +++ b/beta_35_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option - Opcinális értékek

+

A Rust-ba bele van építve egy generikus enum, melyet Option-nak hívnak, mellyel nullázható +értékeket tudunk reprezentálni anélkül, hogy a null-ra szükségünk lenne.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Ez az enum annyira gyakori, hogy a kódban bárhol létrehozható a Some és None változatok +segítségével.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_ie.html b/beta_35_ie.html new file mode 100644 index 000000000..f6f8d5e8d --- /dev/null +++ b/beta_35_ie.html @@ -0,0 +1,54 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust possede ja un enum géneric nominat Option quel lassa nos posser representar valores nullabil +sin li usation de null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Ti enum es tam frequent que on posse crear instanties de it úcunc con li clave-paroles Some e None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_it.html b/beta_35_it.html new file mode 100644 index 000000000..74b473d37 --- /dev/null +++ b/beta_35_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust ha di serie un tipo generico enum chiamato Option che ci permette di rappresentare valori nullabili senza usare null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Questa enum è molto comune, e le istanze di questa enum possono essere create ovunque con le varianti Some e None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_ja.html b/beta_35_ja.html new file mode 100644 index 000000000..a48f59cb6 --- /dev/null +++ b/beta_35_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rustには Option と呼ばれるジェネリックな列挙型が組み込まれており、null を使わずに null 許容な値を表現できます。

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

この列挙型はとても一般的なもので、SomeNone を使えばどこでもインスタンスを生成できます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_ko.html b/beta_35_ko.html new file mode 100644 index 000000000..f736693f0 --- /dev/null +++ b/beta_35_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

옵션

+

Rust에는 null을 쓰지 않고도 nullable한 값을 표현할 수 있는 +Option이라 불리는 내장된 generic enum이 있습니다.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

이 enum은 매우 흔해서, 어디서나 SomeNone으로 enum을 인스턴스화 할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_pl.html b/beta_35_pl.html new file mode 100644 index 000000000..25c115973 --- /dev/null +++ b/beta_35_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Opcja (Option)

+

Wbudowany w język Rust został specjalny generyczny typ wyliczenia o nazwie Option (ang. opcja), który pozwala na korzystanie z pustych wartości bez użycia null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

To wyliczenie jest niezwykle powszechne w Ruscie. Możemy z niego korzystać w jakimkolwiek miejscu w naszym kodzie, przywołując jego warianty Some (ang. coś) oraz None (ang. nic).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_pt-br.html b/beta_35_pt-br.html new file mode 100644 index 000000000..47a70ecd1 --- /dev/null +++ b/beta_35_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

O Rust possui uma enumeração genérica embutida chamada Option que nos permite representar valores nulos sem precisar usar o null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Essa enumeração é tão comum que as suas instâncias podem ser criadas em qualquer lugar com a palavra-chave Some e None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_ro.html b/beta_35_ro.html new file mode 100644 index 000000000..7aa7fd80e --- /dev/null +++ b/beta_35_ro.html @@ -0,0 +1,54 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust are o enumerare deja implementată numită Option care ne permite să reprezentăm valori care pot fi nule (nullable) +fără să folosim null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Această enumerare este foarte comună, instanțe ale acestei enumerări pot fi create oriunde prin intermediul elementelor din enumerare Some și None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_ru.html b/beta_35_ru.html new file mode 100644 index 000000000..ff7881058 --- /dev/null +++ b/beta_35_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Option

+

В Rust есть встроенное (из стандартной библиотеки) обобщённое перечисление Option, которое позволяет представить +нулевые значения без использования null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Это перечисление так распространено, что варианты этого перечисления могут использоваться везде: достаточно просто +написать Some или None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_th.html b/beta_35_th.html new file mode 100644 index 000000000..a3a911b30 --- /dev/null +++ b/beta_35_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust มี generic enum ในตัว มีชื่อว่า Option มาช่วยเป็นตัวแทนให้ค่าที่อาจจะเป็น null ได้ โดยไม่ต้องใช้ null

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

enum นี้เป็นของส่วนรวม ทำให้อินสแตนซ์ของ enum ทุกตัว สามารถมีค่าเป็น Some และ None ได้เลย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_tr.html b/beta_35_tr.html new file mode 100644 index 000000000..70693a9e6 --- /dev/null +++ b/beta_35_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust'ta yerleşik olarak gelen ve boş değerlerin null kullanılmadan temsil edilmesine izin veren, Option adında genelleştirilmiş bir enum türü bulunur.

+

enum Option<T> { + None, + Some(T), +}

+

Yaygın olarak kullanılan bu türün örnekleri, Some ve None varyantlarının bir araya getirilmesiyle oluşturulur.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_ua.html b/beta_35_ua.html new file mode 100644 index 000000000..3504af6f5 --- /dev/null +++ b/beta_35_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Option

+

Rust має вбудований узагальнений перелік Option, що дозволяє мати пусті значення без використання значення null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Цей перелік настільки загальновживаний, що його екземпляри можуть бути створені просто за допомогою значень Some або None.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_vi.html b/beta_35_vi.html new file mode 100644 index 000000000..939f73ca4 --- /dev/null +++ b/beta_35_vi.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust có một enum chung được tích hợp sẵn gọi là Option cho phép chúng tôi biểu diễn các giá trị có thể null mà không cần sử dụng null.

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

Enum này rất phổ biến, các trường hợp của enum có thể được tạo ở bất kỳ đâu với các biến thể enum là SomeNone.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_zh-cn.html b/beta_35_zh-cn.html new file mode 100644 index 000000000..46454032d --- /dev/null +++ b/beta_35_zh-cn.html @@ -0,0 +1,53 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option

+

Rust 有一个内置的泛型枚举叫做 Option,它可以让我们不使用 null 就可以表示可以为空的值。

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

这个枚举很常见,使用关键字 SomeNone 可以在任何地方创建其实例。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_35_zh-tw.html b/beta_35_zh-tw.html new file mode 100644 index 000000000..199230f6e --- /dev/null +++ b/beta_35_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

選項 (option)

+

Rust 有一個內建的泛型列舉 (generic enum) 稱作 Option,它允許我們表示空值而卻不使用 null

+
enum Option<T> {
+    None,
+    Some(T),
+}
+
+

這種列舉非常常見,它可以在任何地方透過 SomeNone 來產生。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_ar.html b/beta_36_ar.html new file mode 100644 index 000000000..abdad186b --- /dev/null +++ b/beta_36_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

النتيجة (Result)

+

رست (Rust) يحتوي على معدودة عميمة (generic enum) تدعى بنتيجة Result يسمح لنا بإرجاع قيمة من المحتمل أن تكون فاشلة. إنها الطريقة الاصطلاحية التي تتعامل بها اللغة مع الأخطاء.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

لاحظ أن النوع المعمم (generic type) الخاص بنا يحتوي على أنواع على شكل معلمات (parameterized types) متعددة مفصولة بفاصلة.

+

هذه المعدودة (enum) شائعة جدا، ويمكن إنشاء مثلاء (instances) المعدودة في أي مكان مع خيارات المعدودة (enum variants) موافق (Ok) و خطأ (Err).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_en.html b/beta_36_en.html new file mode 100644 index 000000000..6130d3696 --- /dev/null +++ b/beta_36_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_es.html b/beta_36_es.html new file mode 100644 index 000000000..2cbcbae31 --- /dev/null +++ b/beta_36_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust tiene un enumerado genérico integrado llamado Result que nos permite devolver un +valor que puede dar error. Es la forma que este lenguaje tiene de gestionar los errores.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Ten en cuenta que nuestro tipo genérico tiene múltiples tipos parametrizados separados +por una coma.

+

Este enum es tan común que se pueden crear instancias del enum en cualquier lugar con las +palabras reservadas Ok y Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_fa.html b/beta_36_fa.html new file mode 100644 index 000000000..ebb114ed7 --- /dev/null +++ b/beta_36_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust has a built in generic enum called Result that allows us to return a value that has the possibility of failing. +It is the idiomatic way in which the language does error handling.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note that our generics type has multiple parameterized types separated by a comma.

+

This enum is so common, instances of the enum can be created anywhere with the enum variants Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_fr.html b/beta_36_fr.html new file mode 100644 index 000000000..6d6b7e805 --- /dev/null +++ b/beta_36_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Le langage Rust met à disposition une énumération générique Result qui permet de renvoyer une valeur qui a la possibilité d'échouer. +C'est la façon idiomatique avec laquelle le language gère les erreurs.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Note que ce type générique a plusieurs types paramétrés séparés par une virgule.

+

Cette énumération est très utilisée et on peut créer une instance avec les variantes d'énumération Ok et Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_gr.html b/beta_36_gr.html new file mode 100644 index 000000000..65fe03c5b --- /dev/null +++ b/beta_36_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Η Rust έχει επίσης μία προκατασκευασμένη απαρίθμηση ονόματι Αποτέλεσμα (Result) που μας επιτρέπει να επιστρέψουμε μία τιμή που έχει την πιθανότητα να σφάλλει, επιστρέφοντας παράλληλα και το ποιο ακριβώς ήταν το σφάλμα. Είναι ο πλέον δόκιμος τρόπος της Rust για το χειρισμό σφαλμάτων.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Προσέξτε ότι ο γενικός μας τύπος έχει πλέον δύο παραμέτρους τύπων (<T, E>) οι οποίες χωρίζονται με κόμμα.

+

Και αυτή η απαρίθμηση είναι πολύ κοινότυπη, οπότε μπορούμε να ορίζουμε μεταβλητές με αυτόν τον τύπο χρησιμοποιώντας τις πιθανότητες της απαρίθμησης Ok and Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_hu.html b/beta_36_hu.html new file mode 100644 index 000000000..3b45521bd --- /dev/null +++ b/beta_36_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result - Sikert kifejező értékek

+

Az Option-höz hasonlóan a Rust-ban egy másik beépített generikus enum is van, a Result. +Ennek segítségével egy olyan értékkel térhetünk vissza, aminek a létrejötte során lehetséges, +hogy hiba történt.

+

A nyelv ennek az enumnak a segítségével oldja meg a hibakezelést.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Figyeljük meg, ahogy a generikus típus több típus paramétert is fogad, melyek vesszővel vannak +elválasztva.

+

Társához hasonlóan ez az enum is nagyon gyakori, így a kódban bárhol példányosítható az Ok és +Err változatok segítségével.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_ie.html b/beta_36_ie.html new file mode 100644 index 000000000..8f0169fcc --- /dev/null +++ b/beta_36_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust possede su propri enum géneric nominat Result (resultate) quel lassa nos posser retornar un valore quel posse fallir. +To es li maniere idiomatic in ti lingue por tractar errores.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

A notar que nor tip géneric possede pluri tipes parametrisat separat per commas.

+

Ti enum es tam frequent que on posse crear instanties de it úcunc con li clave-paroles Ok e Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_it.html b/beta_36_it.html new file mode 100644 index 000000000..11edf41dc --- /dev/null +++ b/beta_36_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust ha di serie un tipo generico enum chiamato Result che ci permette di ritornare un risultato che ha la possibilità di fallire. +E' il modo idiomatico con cui il linguaggio gestisce gli errori.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Nota che il nostro tipo generico ha tipi parametrici multipli, separati da virgola.

+

Questa enum è molto comune, e le istanze di questa enum possono essere create ovunque con le varianti Ok ed Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_ja.html b/beta_36_ja.html new file mode 100644 index 000000000..1889128d2 --- /dev/null +++ b/beta_36_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rustには Result と呼ばれるジェネリックな列挙型が組み込まれており、失敗する可能性のある値を返せます。 +これは言語がエラーを処理する際の慣用的な方法です。

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

このジェネリック型はカンマで区切られた複数のパラメータ化された型を持つことに注意してください。

+

この列挙型はとても一般的なもので、OkErr を使えばどこでもインスタンスを生成できます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_ko.html b/beta_36_ko.html new file mode 100644 index 000000000..a02d1440b --- /dev/null +++ b/beta_36_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

결과

+

Rust에는 실패할 가능성이 있는 값을 리턴할 수 있도록 해주는 Result라 불리는 내장된 generic enum이 있습니다. +이는 Rust에서 오류 처리를 하는 관용적인 방법입니다.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

우리의 generic 자료형이 쉼표로 구분된 여러개의 매개화된 자료형(parameterized types)을 갖고 있는 것을 기억해 두기 바랍니다.

+

이 enum은 매우 흔해서, 어디서나 OkErr로 enum을 인스턴스화 할 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_pl.html b/beta_36_pl.html new file mode 100644 index 000000000..14bda6f99 --- /dev/null +++ b/beta_36_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rezultat (Result)

+

Kolejnym wbudowanym generycznym typem wyliczeniowym w Ruscie jest Result (ang. rezultat, wynik). Result pozwala nam zwracać wartość w sposób który bierze pod uwagę możliwość wystąpienia błędu. +Korzystanie z Result jest idiomatycznym (tj. przyjętym za najlepszą praktykę) sposobem obsługi błędów w Ruscie.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Zauważ, że nasz typ generyczny ma tutaj kilka parametryzowanych typów oddzielonych przecinkiem.

+

Tak jak w przypadu Option, typ Result jest na tyle powszechny, że jest dostępny na poziomie języka, więc możemy go używać gdziekolwiek bez konieczności importowania czegokolwiek - wystarczy wywołać jego warianty Ok lub Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_pt-br.html b/beta_36_pt-br.html new file mode 100644 index 000000000..9f7b1b6e2 --- /dev/null +++ b/beta_36_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

O Rust possui uma enumeração genérica chamada Result que nos permite retornar um valor que tem a possibilidade de falhar.

+

Esta é a maneira idiomática pela qual a linguagem faz a manipulação de erros.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Observe que os nosso tipos genéricos possuem vários tipos parametrizados separados por vírgula.

+

Esta enumeração é tão comum que instâncias dela podem ser criadas em qualquer lugar com as palavras-chave Ok e Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_ro.html b/beta_36_ro.html new file mode 100644 index 000000000..b4710c90b --- /dev/null +++ b/beta_36_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust are o enumerare deja implementată numită Result care ne permite să returnăm o valoare care poate eșua în cadrul unei instrucțiuni. +Este modalitatea idiomatică în care limbajul Rust tratează posibilele erori.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Observăm ca aceste tipuri generice au multiple tipuri parametrizate separate prin virgulă.

+

Această enumerare este foarte comună, instanțe ale ei pot fi create oriunde prin intermediul elementelor din enumerare Ok și Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_ru.html b/beta_36_ru.html new file mode 100644 index 000000000..358245240 --- /dev/null +++ b/beta_36_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Result

+

Rust имеет встроенное перечисление Result, которое позволяет вернуть значение или ошибку. +Это идиоматический способ обработки ошибок в языке.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Заметьте, что шаблонный тип имеет несколько обощенных типов, разделенных запятой.

+

Это перечисление так распространено, что его варианты можно создавать везде, просто написав +Ok или Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_th.html b/beta_36_th.html new file mode 100644 index 000000000..a7e9cacb7 --- /dev/null +++ b/beta_36_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust มี generic enum ในตัว มีชื่อว่า Result มาช่วยให้เราสามารถคืนค่าที่มีความเป็นไปได้ที่จะล้มเหลว นี่เป็นสำนวนทางภาษาของเรา ในการจัดการ error

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

สังเกตดูว่า generic type ของเรามี parameterized types อยู่หลายตัว และแต่ละตัวคั่นด้วยลูกน้ำ

+

enum นี้เป็นของส่วนรวม ทำให้อินสแตนซ์ของ enum ทุกตัว สามารถมีค่าเป็น Ok และ Err ได้เลย

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_tr.html b/beta_36_tr.html new file mode 100644 index 000000000..8b5d745fd --- /dev/null +++ b/beta_36_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust, yerleşik olarak gelen ve kodun başarısız olması durumunda değer döndürmemize izin veren, Result adında genellenmiş bir enum türüne de sahiptir. Genellenmiş bu enum türü bize, Rust ile hata işlemenin deyimsel yolunu sunar.

+

enum Result<T, E> { + Ok(T), + Err(E), +}

+

Result türünün, virgülle ayrık şekilde parametreleştirilmiş Ok ve Err adında iki farklı türden oluştuğuna dikkat edin.

+

Sıklıkla kullanılan Result türü örneklerini, dilediğiniz yer ve zamanda Ok ve Err varyantlarını belirterek oluşturulabilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_ua.html b/beta_36_ua.html new file mode 100644 index 000000000..ff87d5b40 --- /dev/null +++ b/beta_36_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Result

+

Rust має вбудований узагальнений тип Result, що дозволяє нам повертати значення або помилку. Це ідиоматичний шлях обробки помилок.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Відмітьте, що перелік має декілька узагальнених значень розділених комою. +Цей перелік також загальновживаний, його екземпляри можуть бути створені просто за допомогою значень Ok або Err.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_vi.html b/beta_36_vi.html new file mode 100644 index 000000000..3115a57c4 --- /dev/null +++ b/beta_36_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust có một enum chung được tích hợp sẵn có tên là Result cho phép chúng ta trả về một giá trị có khả năng bị lỗi. Đó là một cách đặc trung mà ngôn ngữ xử lý lỗi.

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

Lưu ý rằng Generic type của chúng ta có nhiều loại được tham số hóa được phân tách bằng dấu phẩy.

+

Enum này rất phổ biến, các phiên bản của enum có thể được tạo ở bất kỳ đâu với các biến thể enum là OkErr.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_zh-cn.html b/beta_36_zh-cn.html new file mode 100644 index 000000000..2280de24e --- /dev/null +++ b/beta_36_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Result

+

Rust 有一个内置的泛型枚举叫做 Result,它可以让我们返回一个可能包含错误的值。 +这是编程语言进行错误处理的惯用方法。

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

注意我们的泛型有多个用逗号分隔的参数化的类型

+

这个枚举很常见,使用关键字 OkErr 可以在任何地方创建其实例。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_36_zh-tw.html b/beta_36_zh-tw.html new file mode 100644 index 000000000..b48574ed5 --- /dev/null +++ b/beta_36_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

結果 (result)

+

Rust 有一個內建的泛型列舉稱作 Result,它允許我們回傳一個可能會失敗的數值。 這是處理錯誤的慣用手法。

+
enum Result<T, E> {
+    Ok(T),
+    Err(E),
+}
+
+

要注意我們的泛型型別有多個參數化型別,它們被逗號隔開。

+

這個列舉非常常見,它可以在任何地方透過 OkErr 來產生。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_ar.html b/beta_37_ar.html new file mode 100644 index 000000000..1269f289b --- /dev/null +++ b/beta_37_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الدالة الرئيسية القابلة للخطأ (Fallible Main)

+

الدالة الرئيسية main لديها امكانية إرجاع نتيجة (Result)!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_en.html b/beta_37_en.html new file mode 100644 index 000000000..d2a0d1ca3 --- /dev/null +++ b/beta_37_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_es.html b/beta_37_es.html new file mode 100644 index 000000000..c2ef22ad3 --- /dev/null +++ b/beta_37_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main Fallido

+

main tiene la capacidad de devolver un valor del enumerado Result

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_fa.html b/beta_37_fa.html new file mode 100644 index 000000000..a013137bc --- /dev/null +++ b/beta_37_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main

+

main has the capability of returning a Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_fr.html b/beta_37_fr.html new file mode 100644 index 000000000..5a766c802 --- /dev/null +++ b/beta_37_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

main retourne une erreur

+

main a la capacité de retourner une structure Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_gr.html b/beta_37_gr.html new file mode 100644 index 000000000..193ebd9b8 --- /dev/null +++ b/beta_37_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ενδεχομένως εσφαλμένη Main

+

Η main έχει τη δυνατότητα να επιστρέψει ένα Result! (Option δε γίνεται, το δοκίμασα)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_hu.html b/beta_37_hu.html new file mode 100644 index 000000000..2c725c031 --- /dev/null +++ b/beta_37_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hibát dobó Main

+

A main függvény is képes Result-tal visszatérni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_ie.html b/beta_37_ie.html new file mode 100644 index 000000000..b1bfec6de --- /dev/null +++ b/beta_37_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Un Main Fallibil

+

Anc main posse retornar un Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_it.html b/beta_37_it.html new file mode 100644 index 000000000..17b95dcc1 --- /dev/null +++ b/beta_37_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main fallibile

+

main ha la possibilità di ritornare un Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_ja.html b/beta_37_ja.html new file mode 100644 index 000000000..934cb09f3 --- /dev/null +++ b/beta_37_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

失敗するかもしれない main

+

mainResult を返すことができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_ko.html b/beta_37_ko.html new file mode 100644 index 000000000..ddba670cc --- /dev/null +++ b/beta_37_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

실패할 수 있는 메인

+

mainResult를 리턴할 수 있다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_pl.html b/beta_37_pl.html new file mode 100644 index 000000000..7c3e7de3a --- /dev/null +++ b/beta_37_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zawodna Funkcja Main

+

Główna funkcja wejściowa programu, main, posiada możliwość zwrócenia typu Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_pt-br.html b/beta_37_pt-br.html new file mode 100644 index 000000000..932e629a8 --- /dev/null +++ b/beta_37_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main Falível

+

O main tem a capacidade de retornar um Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_ro.html b/beta_37_ro.html new file mode 100644 index 000000000..6480601f4 --- /dev/null +++ b/beta_37_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main-ul care poate eșua

+

main are capacitatea de a returna un Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_ru.html b/beta_37_ru.html new file mode 100644 index 000000000..e881dfa71 --- /dev/null +++ b/beta_37_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возврат результата в Main

+

Функция main может возвращать тип Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_th.html b/beta_37_th.html new file mode 100644 index 000000000..c1e4dbc8f --- /dev/null +++ b/beta_37_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main ที่ผิดพลาดได้

+

main เองก็สามารถคืนค่า Result ได้เช่นกัน

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_tr.html b/beta_37_tr.html new file mode 100644 index 000000000..8d43e2280 --- /dev/null +++ b/beta_37_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main İşlevinden Hata Döndürmek

+

Programlarımızın giriş noktası olan main işlevi, Result türü varyantlarına sarılı değerleri elde etme yeteneğine sahiptir!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_ua.html b/beta_37_ua.html new file mode 100644 index 000000000..46312d12e --- /dev/null +++ b/beta_37_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення результату з Main

+

Метод main може повертати тип Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_vi.html b/beta_37_vi.html new file mode 100644 index 000000000..23bde95e9 --- /dev/null +++ b/beta_37_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main lo được!

+

main có khả năng trả về một Result!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_zh-cn.html b/beta_37_zh-cn.html new file mode 100644 index 000000000..ecd9347c5 --- /dev/null +++ b/beta_37_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

可失败的主函数

+

main 函数有可以返回 Result 的能力!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_37_zh-tw.html b/beta_37_zh-tw.html new file mode 100644 index 000000000..1f727b9e1 --- /dev/null +++ b/beta_37_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

失敗的主函式 (failable main)

+

main 有能力回傳一個 Result

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_ar.html b/beta_38_ar.html new file mode 100644 index 000000000..e7222228e --- /dev/null +++ b/beta_38_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التعال مع الأخطاء بطريقة سلسة (Graceful Error Handling)

+

نتيجة (Result) شائعة جدا لدرجة أن رست (Rust) لديها عامل قوي وهو ? للعمل معها. هذين صياغتين متساويان:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_en.html b/beta_38_en.html new file mode 100644 index 000000000..177c2659f --- /dev/null +++ b/beta_38_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_es.html b/beta_38_es.html new file mode 100644 index 000000000..cfb0f2dad --- /dev/null +++ b/beta_38_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionar Errores de Forma Elegante

+

Result es tan común que Rust cuenta con el operador ? para trabajar con él. +Estas dos afirmaciones son equivalentes:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_fa.html b/beta_38_fa.html new file mode 100644 index 000000000..f66a2aad9 --- /dev/null +++ b/beta_38_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Graceful Error Handling

+

Result is so common that Rust has a powerful operator ? for working with them. These two statements are equivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_fr.html b/beta_38_fr.html new file mode 100644 index 000000000..7a1e2ca81 --- /dev/null +++ b/beta_38_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestion élégante des erreurs

+

Result est tellement commun que Rust possède l'opérateur ? qui lui est associé. Ces deux bout de code sont équivalent:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_gr.html b/beta_38_gr.html new file mode 100644 index 000000000..cd51db77a --- /dev/null +++ b/beta_38_gr.html @@ -0,0 +1,55 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κομψός χειρισμός σφαλμάτων

+

Οι ενδεχομένως εσφαλμένοι τύποι δεδομένων Result και Option είναι τόσο συνήθεις που η Rust μας προσφέρει έναν πολυδύναμο τελεστή για να δουλεύουμε μ' αυτά: το ?. Οι παρακάτω δύο εκφράσεις είναι ισοδύναμες:

+
kane_kati_pou_mporei_na_sfalei()?
+
+
match kane_kati_pou_mporei_na_sfalei() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+

Ομοίως μπορεί να χρησιμοποιηθεί και για το Option.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_hu.html b/beta_38_hu.html new file mode 100644 index 000000000..6b375119d --- /dev/null +++ b/beta_38_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kíméletes hibakezelés

+

A Result gyakorisága egy új operátor bevezetését is indokolttá tette. Ez a ?. Hogy +bemutassuk mit is tud, nézzünk meg két példát, melyek végeredménye ugyanaz:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_ie.html b/beta_38_ie.html new file mode 100644 index 000000000..4ccba0aab --- /dev/null +++ b/beta_38_ie.html @@ -0,0 +1,54 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gracil Tractation de Errores

+

Result es tam frequent que Rust possede li potent operator ? por tractar con ili. Ti du declarationes es egal:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_it.html b/beta_38_it.html new file mode 100644 index 000000000..ea31ff630 --- /dev/null +++ b/beta_38_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestire gli errori elegantemente

+

L'uso di Result è talmente comune che Rust fornisce un comodo e potente operatore ? a questo scopo. Questi due pezzi di codice sono equivalenti:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_ja.html b/beta_38_ja.html new file mode 100644 index 000000000..90555ed4d --- /dev/null +++ b/beta_38_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

簡潔なエラー処理

+

Result はとてもよく使うので、Rust にはそれを扱うための強力な演算子 ? が用意されています。 +以下の2つのコードは等価です。

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_ko.html b/beta_38_ko.html new file mode 100644 index 000000000..ebbbd8e3a --- /dev/null +++ b/beta_38_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

우아한 오류 처리

+

Rust는 매우 흔히 사용되는 Result와 함께 쓸 수 있는 강력한 연산자 ?를 갖고 있습니다. 다음 두 구문은 동일합니다:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_pl.html b/beta_38_pl.html new file mode 100644 index 000000000..e74b97d81 --- /dev/null +++ b/beta_38_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Elegancka Obsługa Błędów

+

Typ Result jest na tyle powszechny, że doczekał się swojego własnego operatora. Używając znaku zapytania ? możemy dokonać propagacji błędu w niezwykle zwięzły sposób. Oba z poniższych fragmentów kodu wykonują w praktyce tą samą pracę:

+
zrob_cos_co_moze_nie_zadzialac()?
+
+
match zrob_cos_co_moze_nie_zadzialac() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_pt-br.html b/beta_38_pt-br.html new file mode 100644 index 000000000..9c0f91c62 --- /dev/null +++ b/beta_38_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manipulação de Erros Elegantes

+

O Result é tão comum que o Rust tem o poderoso operador ? para trabalhar com ele. Estas duas declarações são equivalentes:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_ro.html b/beta_38_ro.html new file mode 100644 index 000000000..ef7f75b07 --- /dev/null +++ b/beta_38_ro.html @@ -0,0 +1,54 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionare grațioasă a erorilor

+

Result e atât de des întâlnit încât Rust are un operator important, ?, pentru a le gestiona. Următoarele două afirmații sunt echivalente:

+
execută_ceva_ce_poate_eșua()?
+
+
match execută_ceva_ce_poate_eșua() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_ru.html b/beta_38_ru.html new file mode 100644 index 000000000..6ea73b3d5 --- /dev/null +++ b/beta_38_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Элегантная обработка ошибок

+

Тип Result так часто встречается, что в Rust есть могущественный оператор ? для него. Эти две конструкции одинаковы:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e), // возврат из функции
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_th.html b/beta_38_th.html new file mode 100644 index 000000000..0a6139796 --- /dev/null +++ b/beta_38_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดการ Error แบบสวยงาม

+

อย่างที่รู้ว่า Result เป็นของกลางๆ Rust จึงมีตัวดำเนินการ ? เอาไว้ใช้คู่กับมัน ทำให้สองคำสั่งนี้ทำงานเหมือนกันเลย:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_tr.html b/beta_38_tr.html new file mode 100644 index 000000000..09f46d4da --- /dev/null +++ b/beta_38_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hataları Zarif Şekilde İşlemek

+

Result türü o kadar yaygın kullanılmaktadır ki, Rust kendisiyle çalışabilmek için güçlü bir ? işleci sunar. Aşağıdaki iki ifade birbirinin eşdeğeridir: +basarisiz_durum_olustur()?

+

match basarisiz_durum_olustur() { + Ok(d) => d, + Err(e) => return Err(e), +}

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_ua.html b/beta_38_ua.html new file mode 100644 index 000000000..6809d3b00 --- /dev/null +++ b/beta_38_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Елегантна обробка помилок

+

Result настільки розповсюджений, що в Rust є окремий оператор ? для роботи з ними. Ці два вирази є еквіватентними:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_vi.html b/beta_38_vi.html new file mode 100644 index 000000000..364bdc334 --- /dev/null +++ b/beta_38_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xử lý lỗi một cách duyên dáng

+

Result phổ biến đến nỗi Rust có một toán tử mạnh mẽ là ? để làm việc với nó. Hai lệnh này tương đương nhau:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_zh-cn.html b/beta_38_zh-cn.html new file mode 100644 index 000000000..33565faeb --- /dev/null +++ b/beta_38_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

优雅地错误处理

+

Result 如此常见以至于 Rust 有个强大的操作符 ? 来与之配合。 +以下两个表达式是等价的:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_38_zh-tw.html b/beta_38_zh-tw.html new file mode 100644 index 000000000..a74c8d5b3 --- /dev/null +++ b/beta_38_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

優雅的錯誤處理

+

Result 實在太常見了,所以 Rust 有個強大的 ? 運算子來跟它們一起使用。 底下這兩個敘述是等價的:

+
do_something_that_might_fail()?
+
+
match do_something_that_might_fail() {
+    Ok(v) => v,
+    Err(e) => return Err(e),
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_ar.html b/beta_39_ar.html new file mode 100644 index 000000000..57a449da5 --- /dev/null +++ b/beta_39_ar.html @@ -0,0 +1,68 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التعامل مع الخيار/النتيجة بطرية ملتوية (Ugly Option/Result Handling)

+

يمكن أن يكون العمل بخيار/نتيجة (Option/Result) أمرًا مملاً عندما تحاول كتابة بعض التعليمات البرمجية السريعة. كل من خيار (Option) و نتيجة (Result) يملكان تابعة تدعى فك (unwrap). يمكن أن يكون ذلك مفيدًا للحصول على قيمة بطريقة سريعة وملتوية. فك ( unwrap ) سوف:

+
    +
  1. تحصل على القيمة داخل الخيار/النتيجة (Option/Result).
  2. +
  3. وإذا كانت المعدودة (enum) من نوع لاشيء/خطأ (None/Err) سوف تنتج ترويع (panic!).
  4. +
+

هاتان القطعتان من التعليمات البرمجية متكافئتان:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

بصورة مماثلة:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

كن رستاسيًا (rustacean) جيدًا واستخدم مُطابقة (match) بشكل صحيح متى تستطيع!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_en.html b/beta_39_en.html new file mode 100644 index 000000000..5d1755b05 --- /dev/null +++ b/beta_39_en.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_es.html b/beta_39_es.html new file mode 100644 index 000000000..f669c4879 --- /dev/null +++ b/beta_39_es.html @@ -0,0 +1,70 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionar Errores Option y Result de Forma Poco Elegante

+

Al escribir código rápido, puede que trabajar con Option/Result sea un fastidio. Tanto +Option como Result tienen una función llamada unwrap que puede ser útil para obtener +un valor de manera rápida pero poco elegante. unwrap puede:

+
    +
  1. Obtener el valor dentro de Option/Result.
  2. +
  3. Si la lista es del tipo None/Err, panic!
  4. +
+

Estos dos fragmentos de código son equivalentes:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

De igual manera:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

¡Sé un buen Rustacean y usa match siempre que puedas!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_fa.html b/beta_39_fa.html new file mode 100644 index 000000000..c5978e48d --- /dev/null +++ b/beta_39_fa.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ugly Option/Result Handling

+

Working with Option/Result can be tedious when you are just trying to write some quick code. Both Option and Result have a +function called unwrap that can be useful for getting a value in a quick and dirty manner. unwrap will:

+
    +
  1. Get the value inside Option/Result
  2. +
  3. If the enum is of type None/Err, panic!
  4. +
+

These two pieces of code are equivalent:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Similarly:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Be a good rustacean and properly use match when you can!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_fr.html b/beta_39_fr.html new file mode 100644 index 000000000..b980ad379 --- /dev/null +++ b/beta_39_fr.html @@ -0,0 +1,72 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestion peu élégante de Option/Result

+

Utiliser Option et Result peut être fastidieux lorsqu'on souhaite rapidement écrire du code. +Option et Result ont tout les deux une fonction appelé unwrap qui permet d'obtenir une +valeur de manière rapide mais peu élégante. +unwrap va:

+
    +
  1. Renvoyer la valeur de notre Option ou Result

  2. +
  3. Faire 'paniquer' le code si la valeur de l'énumération est de type None ou Err. Lorsqu'un +programme Rust panique, il envoie un message d'erreur et s'arrête.

    +

    Ces deux bout de code sont équivalent

  4. +
+
 my_option.unwrap()
+
+
 match my_option {
+     Some(v) => v,
+     None => panic!("un message d'erreur généré par Rust!"),
+ }
+
+

De même:

+
 my_result.unwrap()
+
+
 match my_result {
+     Ok(v) => v,
+     Err(e) => panic!("un message d'erreur généré par Rust!"),
+ }
+
+

Tu doit être un bon rustacien et utiliser match comme il faut et quand tu peux.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_gr.html b/beta_39_gr.html new file mode 100644 index 000000000..357e489e5 --- /dev/null +++ b/beta_39_gr.html @@ -0,0 +1,68 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Τσαπατσούλικος χειρισμός των `Option` και `Result`

+

Για την ταχεία συγγραφή κώδικα, ο χειρισμός των Option/Result μπορεί να γίνει πληκτικός. Αμφότεροι οι τύποι λοιπόν έχουν μία μέθοδο ονόματι unwrap η οποία είναι χρήσιμη για την εξαγωγή μίας τιμής «στα βρώμικα». Αυτή η μέθοδος:

+
    +
  1. Εξάγει την τιμή που περιέχεται στο Option/Result
  2. +
  3. Αν δε βρει κάποια τέτοια τιμή, τερματίζει ολόκληρο το πρόγραμμα, με τη χρήση της μακροεντολής panic!.
  4. +
+

Τα παρακάτω δύο τμήματα κώδικα είναι ισοδύναμα:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("κάποιο μήνυμα λάθους"),
+}
+
+

Ομοίως:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("Μήνυμα λάθους"),
+}
+
+

Είναι πάντοτε πολύ προτιμότερο να χρησιμοποιεί κανείς τις δυνατότητες που επιτρέπουν τη συνέχιση της ροής του προγράμματος ακόμα κι αν έχει συμβεί σφάλμα, όπως το match και το ?. Υπάρχουν και πιο εύχρηστες επιλογές βέβαια, όπως το unwrap_or ή το map και το and_then. Φροντίστε λοιπόν να χρησιμοποιείτε το unwrap όσο το δυνατόν σπανιότερα!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_hu.html b/beta_39_hu.html new file mode 100644 index 000000000..29d5be333 --- /dev/null +++ b/beta_39_hu.html @@ -0,0 +1,72 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Egy ronda mód az Option/Result értékének kinyerésére

+

Néha kissé fárasztó lehet az Option és Result használata, amikor csak valamit gyorsan össze +szeretnénk dobni. Épp ezért mindkét enum rendelkezik egy unwrap 1 nevű metódussal, ami +képes kinyerni az enum-ból az értéket. A függvény a következőket teszi:

+
    +
  1. Kinyeri az Option/Result értékét.
  2. +
  3. Ha ennek az enum-nak az értéke None/Err, akkor panic!
  4. +
+

A következő két kód ugyanazt az eredményt adja:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Hasonlóképp:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Légy jó rustacean [2] és használd a match kulcsszót, amikor csak tudod!

+

[2]: A "rustacean" a "crustacean" vagyis "rákféle" és a "Rust" szavak összerakása. A Rust +közösség tagjai így nevezik egymást.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_ie.html b/beta_39_ie.html new file mode 100644 index 000000000..fb80272c5 --- /dev/null +++ b/beta_39_ie.html @@ -0,0 +1,69 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desbell Tractation de Errores

+

Sempre usar Option/Result posse devenir íncomod quande on simplicmen vole scrir un poc code. Ambi Option e Result +have un metode nominat unwrap (aperter) quel es comod por strax obtenir un valore ma con un poc desbellesse. unwrap va:

+
    +
  1. trovar li valore intra Option/Result
  2. +
  3. si li valore es de tip None/Err, panic!
  4. +
+

Ti du pezzes de code es egal:

+
mi_option.unwrap()
+
+
match mi_option {
+  Some(v) => v,
+  None => panic!("alquel erra-missage generat de Rust!")
+}
+
+

Similmen:

+
mi_result.unwrap()
+
+
match mi_result {
+  Ok(v) => v,
+  Err(e) => panic!("alquel erra-missage generat de Rust!")
+}
+
+

Esse un bon Rustaceane e usa match sempre quande tu posse!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_it.html b/beta_39_it.html new file mode 100644 index 000000000..940e2a297 --- /dev/null +++ b/beta_39_it.html @@ -0,0 +1,69 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestire gli errori e null in modo brutale

+

Quando vuoi solo provare e scrivere velocemente del codice senza badare troppo alla forma, lavorare con Option/Result può diventare noioso. Sia Option che Result hanno una +funzione chiamata unwrap che ti può essere utile per ottenere un valore senza troppe complicazioni. cosa fa unwrap:

+
    +
  1. Prende il valore dentro Option/Result
  2. +
  3. se il valore è di tipo None/Err, chiama panic!
  4. +
+

Questi due spezzoni di codice sono equivalenti:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

In modo simile:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Sii un buon rustacean e usa match in modo appropriato quando puoi!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_ja.html b/beta_39_ja.html new file mode 100644 index 000000000..87b0096d4 --- /dev/null +++ b/beta_39_ja.html @@ -0,0 +1,70 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

やっつけな Option/Result 処理

+

Option/Result を使って作業するのは、ちょっとしたコードを書くのには厄介です。 +OptionResult の両方には unwrap と呼ばれる関数があり、手っ取り早く値を取得するのには便利です。 +unwrap は以下のことを行います。

+
    +
  1. Option/Result 内の値を取得します。
  2. +
  3. 列挙型が None/Err の場合、panic! します。
  4. +
+

以下の2つのコードは等価です。

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("Rust によって生成されたエラーメッセージ!"),
+}
+
+

同様に:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("Rust によって生成されたエラーメッセージ!"),
+}
+
+

良い Rust 使い(Rustacean)であるためには、可能な限り適切に match を使用してください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_ko.html b/beta_39_ko.html new file mode 100644 index 000000000..3494e0b89 --- /dev/null +++ b/beta_39_ko.html @@ -0,0 +1,69 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

추한 옵션/결과 처리

+

간단한 코드를 짤 때에도 Option/Result를 쓰는 것은 귀찮은 일일 수 있습니다. +OptionResult 둘 다 빠르고 더러운 방식으로 값을 가져오는데 유용한 unwrap이라는 함수를 갖고 있습니다. unwrap은:

+
    +
  1. Option/Result 내부의 값을 꺼내오고
  2. +
  3. enum이 None/Err인 경우에는 panic!
  4. +
+

다음 두 코드는 동일합니다:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

비슷합니다:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

좋은 러스타시안(rustacean)이 되어 가능한 제대로 match를 사용하세요!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_pl.html b/beta_39_pl.html new file mode 100644 index 000000000..d95d8ec5a --- /dev/null +++ b/beta_39_pl.html @@ -0,0 +1,66 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mniej Elegancka Obsługa Błędów

+

W przypadkach kiedy jesteśmy dopiero na etapie prototypowania, prawidłowa obsługa Option czy Result może okazać się niepotrzebnie żmudna.

+

Zarówno Option jak i Result definiują funkcję o nazwie unwrap, służącą, jak nazwa wskazuje, do "odwijania" opakowanej przez taki typ wartości.

+

Takie "odwijanie" ma jednak jeden problem: jeśli nasz typ okaże się być wariantem None/Err to unwrap wywoła panic!, czyli bez ogródek zatrzyma działanie całego programu.

+

Następujące dwa przykłady są równoważne:

+
moja_opcja.unwrap()
+
+
match moja_opcja {
+    Some(v) => v,
+    None => panic!("miejsce na Twoją wiadomość o błędzie!"),
+}
+
+

Podobnie:

+
moj_rezultat.unwrap()
+
+
match moj_rezultat {
+    Ok(v) => v,
+    Err(e) => panic!("miejsce na Twoją wiadomość o błędzie!"),
+}
+
+

Bądź dobrym rustowcem i korzystaj z wyrażenia match gdzie to tylko możliwe!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_pt-br.html b/beta_39_pt-br.html new file mode 100644 index 000000000..a41b6f8cc --- /dev/null +++ b/beta_39_pt-br.html @@ -0,0 +1,68 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manipulação de Option/Erros Deselegante

+

Trabalhar com Option/Result pode ser entediante quando você está apenas tentando escrever um código rápido. Tanto Option quanto Result têm uma função chamada unwrap que pode ser útil para obter um valor de maneira rápida e feia. unwrap irá:

+
    +
  1. Obter o valor de Option/Result
  2. +
  3. Se a enumeração for do tipo None/Err, panic!
  4. +
+

Esses dois trechos de código são equivalentes:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("alguma mensagem de erro gerada pelo Rust!"),
+}
+
+

Similarmente:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("alguma mensagem de erro gerada pelo Rust!"),
+}
+
+

Seja um bom rustáceo e use match apropriadamente quando puder!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_ro.html b/beta_39_ro.html new file mode 100644 index 000000000..a6dc93092 --- /dev/null +++ b/beta_39_ro.html @@ -0,0 +1,69 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionarea inadecvată a enumerărilor Option/Result

+

Folosirea Option/Result poate fi obositoare când încercați doar să scrieți rapid niște cod. Și Option, și Result au o +funcție numită unwrap care poate fi utilă pentru a primi o valoare rapid, dar în mod periculos. unwrap va fi:

+
    +
  1. valoare din Option/Result
  2. +
  3. panic!, dacă enumerarea este de tip None/Err
  4. +
+

Următoarele bucăți de cod sunt echivalente:

+
opțiunea_mea.unwrap()
+
+
match opțiunea_mea {
+    Some(v) => v,
+    None => panic!("un mesaj de eroare generat de Rust!"),
+}
+
+

În mod similar:

+
rezultatul_meu.unwrap()
+
+
match rezultatul_meu {
+    Ok(v) => v,
+    Err(e) => panic!("un mesaj de eroare generat de Rust!"),
+}
+
+

Fiți un bun Rustaceu și folosiți-vă de match când puteți face asta!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_ru.html b/beta_39_ru.html new file mode 100644 index 000000000..5c1476fdc --- /dev/null +++ b/beta_39_ru.html @@ -0,0 +1,69 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Грязная обработка Option/Result

+

Обрабатывать каждый Option/Result может быть очень утомительным, когда вы всего-то хотите +написать немного кода по-быстрому. Оба Option и Result имеют метод unwrap(), который полезен для извлечения значения, быстрым и не аккуратным способом. Метод unwrap работает так:

+
    +
  1. Вернет внутреннее значение из Option/Result, если оно есть
  2. +
  3. Если значение было None или Err, то метод выполнит макрос 'panic!' (паника)
  4. +
+

Эти два блока кода эквивалентны:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Соответственно:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Будь хорошим разработчиком и используй match, где это необходимо!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_th.html b/beta_39_th.html new file mode 100644 index 000000000..ae0d700a5 --- /dev/null +++ b/beta_39_th.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดการ Option/Result แบบขี้เหร่

+

บางทีการที่ต้องทำงานกับ Option/Result ก็แอบน่าเบื่ออยู่บ้าง เวลาที่เราเร่งเขียนโค้ดอยู่ ทีนี้เจ้า Option และ Result คู่นี้มันมีฟังก์ชันที่ชื่อว่า unwrap อยู่ด้วย เพื่อดึงค่าออกมาแบบเร็วๆ ซึ่งไม่ควรทำ โดย unwrap จะทำดังนี้:

+
    +
  1. ดึงค่าใน Option/Result ออกมา
  2. +
  3. ถ้าเจอค่าใน enum เป็น None/Err จะ panic!
  4. +
+

มาดูสองคำสั่งที่ทำงานเหมือนกันแต่เขียนคนละแบบ:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

ในทำนองเดียวกัน:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

จงเป็น rustacean ที่ดี และใช้ match เถอะ

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_tr.html b/beta_39_tr.html new file mode 100644 index 000000000..46cb9e936 --- /dev/null +++ b/beta_39_tr.html @@ -0,0 +1,69 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Option/Result Türlerini Üstünkörü İşlemek

+

Bir programı hızlıca yazıp bitirmek gerektiğinde, Option/Result türlerini ayrı ayrı işlemek size yorucu gelebilir. Bu tür durumlarla karşılaştığınızda, kodunuzu hızlı ancak kaba şekilde tamamlamanıza olanak sağlayan ve her iki türün de uyguladığı unwrap işlevinden yararlanabilirsiniz. Aslında bir yöntem olan bu işlevle etkileşiminiz aşağıdaki gibi gelişecektir:

+
    +
  1. Önce Option/Result içindeki değeri alın,
  2. +
  3. Eğer enum türü None/Err türündeyse panic! üretmeyi düşünün.
  4. +
+

Panik üretildiğinde Rust programlarının işletilmeleri bir hata mesajı eşliğinde durdurulur. +Bu iki kod parçası birbirinin eşdeğeridir:

+
bir_option.unwrap()
+
+
match bir_option {
+    Some(v) => v,
+    None => panic!("Rust'ın hata mesajları!"),
+}
+
+

Benzer şekilde:

+
bir_result.unwrap()
+
+
match bir_result {
+    Ok(v) => v,
+    Err(e) => panic!("Rust'ın hata mesajları!!"),
+}
+
+

Ferris'in kıskaçlarını görür gibiyim: "İyi bir rustacean olun ve gerektiği hallerde match ifadesini doğru şekilde kullanın!"

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_ua.html b/beta_39_ua.html new file mode 100644 index 000000000..64dad38dc --- /dev/null +++ b/beta_39_ua.html @@ -0,0 +1,68 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Брудна обробка Option/Result

+

Робота з Option/Result може бути достатньо стомлюючою, якщо ви хочете просто нашвидкоруч написати трохи коду. І Option, і Result мають функцію unwrap, яка може бути корисна для швидкого і не акуратного отримання значення. unwrap працює таким чином:

+
    +
  1. Поверне значення з Option/Result, якщо воно є.
  2. +
  3. Якщо це значення None чи Err, то метод виконає макрос panic!. +Ці дві частини коду еквівалентні:
  4. +
+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Відповідно:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Будь гарним розробником і правильно використовуй match коли можеш!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_vi.html b/beta_39_vi.html new file mode 100644 index 000000000..d000214c8 --- /dev/null +++ b/beta_39_vi.html @@ -0,0 +1,68 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xử lý Option/Result xấu

+

Làm việc với Option / Result có thể tẻ nhạt khi bạn chỉ cố gắng viết một số code nhanh. Cả OptionResult đều có một chức năng gọi là unwrap có thể hữu ích để nhận một giá trị một cách nhanh chóng và dễ dàng. unwrap sẽ:

+
    +
  1. Nhận giá trị bên trong Option/Result
  2. +
  3. Nếu enum thuộc loại None/Err, panic!
  4. +
+

Hai đoạn mã này tương đương nhau:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

Tương tự:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

Hãy là một rustacean giỏi và sử dụng đúng cách match khi bạn có thể!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_zh-cn.html b/beta_39_zh-cn.html new file mode 100644 index 000000000..8bd5fbbec --- /dev/null +++ b/beta_39_zh-cn.html @@ -0,0 +1,70 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

丑陋的 Option/Result 处理

+

当你只是试图快速地写一些代码时,Option/Result 对付起来可能比较无聊。 +OptionResult 都有一个名为 unwrap 的函数:这个函数可以简单粗暴地获取其中的值。 +unwrap 会:

+
    +
  1. 获取 Option/Result 内部的值
  2. +
  3. 如果枚举的类型是 None/Err, 则会 panic!
  4. +
+

这两段代码是等价的:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

类似的:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

不过啊,做个好 Rustacean,正确地使用 match

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_39_zh-tw.html b/beta_39_zh-tw.html new file mode 100644 index 000000000..ccd20413a --- /dev/null +++ b/beta_39_zh-tw.html @@ -0,0 +1,68 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

醜陋的選項 (optino)/結果 (result) 處理

+

如果你只是想快速寫點程式,使用 Option/Result 可能會讓你覺得煩躁。 OptionResult 都有個函式稱作展開 (unwrap),它可以幫你迅速但骯髒的取得數值。 unwrap 將會:

+
    +
  1. 取得選項 (optino)/結果 (result) 裡的數值
  2. +
  3. 如果列舉 (enum) 是 None/Err 型別,那將發生 panic
  4. +
+

下列這兩段程式碼是等價的:

+
my_option.unwrap()
+
+
match my_option {
+    Some(v) => v,
+    None => panic!("some error message generated by Rust!"),
+}
+
+

同樣的:

+
my_result.unwrap()
+
+
match my_result {
+    Ok(v) => v,
+    Err(e) => panic!("some error message generated by Rust!"),
+}
+
+

當個良好的 Rust 人,當你可以的時候,盡量正確的使用 match

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ar.html b/beta_40_ar.html new file mode 100644 index 000000000..adad7371b --- /dev/null +++ b/beta_40_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المتجهات (Vectors)

+

من الانواع المعممة (generic types) المفيدة جدا في رست (Rust) هي أنواع التجميعات (collection types). المتجهة (vector) عبارة عن قائمة متغيرة الحجم من العناصر وهي تمثل عن طريق الهيكل (struct) ذو المعرف Vec.

+

الماكرو (macro) vec! يسمح لنا بسهولة إنشاء متجهة (vector) عوض بناء واحدة يدويا.

+

الهيكل Vec لديه تابعة تسمى ()iter والتي تنشئ مكرر (iterator) من المتجهة (vector)، وهذا يسمح لنا وضح المتجهة في حلقة من أجل (for).

+

تفاصيل الذاكرة:

+
    +
  • Vec هي هيكل (struct) ، ولكنه يحتوي داخليًا على مرجع (reference) لقائمة ثابتة لعناصره والموجودة في الكومة (heap)
  • +
  • المتجهة (vector) تبدأ بسعة إفتراضية؛ عند إضافة المزيد من العناصر أكثر من سعتها، فإنها تعيد تخصيص (reallocates) بياناتها على الكومة (heap) للحصول على قائمة ثابتة جديدة ذات سعة أكبر.
  • +
+

تنويه: لفظة ماكرو (macro) تستخدم للتعبير عن دمج عدة أوامر نمطية وكثيرة التكرار في أمر واحد بسيط يمكن استخدامه بسهولة،

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_en.html b/beta_40_en.html new file mode 100644 index 000000000..70442d378 --- /dev/null +++ b/beta_40_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_es.html b/beta_40_es.html new file mode 100644 index 000000000..fa6d3b5d0 --- /dev/null +++ b/beta_40_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectores

+

Algunos de los tipos genéricos más útiles son los tipos de colección. Un vector es una lista de +tamaño variable de elementos representados por la estructura Vec.

+

La macro vec! nos permite crear fácilmente un vector en lugar de construirlo manualmente.

+

Vec tiene el método iter() que crea un iterador a partir de un vector, permitiéndonos poner +fácilmente un vector en un bucle for.

+

Detalles de memoria:

+
    +
  • Vec es una estructura, pero internamente contiene una referencia a una lista fija de sus +elementos en el montículo.
  • +
  • Un vector comienza con una capacidad por defecto, cuando se añaden más elementos de los que +tiene capacidad, reasigna sus datos en el montículo para tener una nueva lista fija con más capacidad.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_fa.html b/beta_40_fa.html new file mode 100644 index 000000000..47be4150f --- /dev/null +++ b/beta_40_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

Some of the most useful generic types are collection types. A vector is a variably sized list of items +represented by the struct Vec.

+

The macro vec! lets us easily create a vector rather than manually constructing one.

+

Vec has the method iter() which creates an iterator from a vector, allowing us to easily +put a vector into a for loop.

+

Memory Details:

+
    +
  • Vec is a struct, but internally it contains a reference to a fixed list of its items on the heap.
  • +
  • A vector starts with a default capacity; when more items are added than it has capacity for, it +reallocates its data on the heap to have a new fixed list with large capacity.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_fr.html b/beta_40_fr.html new file mode 100644 index 000000000..945f9369b --- /dev/null +++ b/beta_40_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vecteurs

+

Les types génériques les plus utiles sont les collections. Un vecteur est une liste de taille variable +et est représenté par la structure Vec.

+

La macro vec! permet de créer facilement un vecteur au lieu d'avoir à le construire manuellement.

+

Vec possède la méthode iter() qui crée un itérateur à partir d'un vecteur, permettant de parcourir les éléments de celui-ci dans une boucle for.

+

Détails de la mémoire:

+
    +
  • Vec est une structure qui contient une référence vers une liste fixe de ses éléments sur le tas.
  • +
  • Un vecteur est créé avec une capacité par défaut. Lorsque qu'on souhaite ajouter de nouveaux éléments et +qu'il n'y a pas la capacité suffisante, Rust réaffecte les données sur le tas de telle sorte à avoir une nouvelle +taille fixe et une capacité supérieure.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_gr.html b/beta_40_gr.html new file mode 100644 index 000000000..6f4b21aae --- /dev/null +++ b/beta_40_gr.html @@ -0,0 +1,54 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ανύσματα (Vectors)

+

Κάποιοι απ' τους πιο χρήσιμους γενικούς τύπους είναι οι λεγόμενοι «τύποι συλλογών». Για παράδειγμα, ένα άνυσμα είναι μία αυθαιρέτου μήκους λίστα ομοειδών αντικειμένων που αντιπροσωπεύεται απ' τη δομή Vec.

+

Η μακροεντολή vec! μας επιτρέπει να δημιουργούμε εύκολα ένα άνυσμα αντί να το ορίζουμε με το χέρι στοιχείο-προς-στοιχείο.

+

Τα ανύσματα έχουν τη μέθοδο iter() η οποία μετατρέπει ένα άνυσμα σε διαδρομέα, επιτρέποντάς μας έτσι να χρησιμοποιήσουμε πολύ εύκολα ένα άνυσμα μέσα σε ένα βρόχο for.

+

Λεπτομέρειες μνήμης:

+
    +
  • Τα ανύσματα είναι δομές, και άρα αποθηκεύονται στη στοίβα· τα περιεχόμενα ενός ανύσματος όμως αποθηκεύονται στο σωρό ώστε να μπορούν ν' αυξομειώνονται σε μήκος. Στη στοίβα αποθηκεύεται η αναφορά στην εν λόγω θέση μνήμης του σωρού.
  • +
  • Ένα άνυσμα ξεκινάει με μία προεπιλεγμένη χωρητικότητα. Όταν προστεθούν περισσότερα στοιχεία απ' όσα αντιστοιχούν σε αυτήν, αναδεσμεύει μνήμη στο σωρό για τα δεδομένα του ώστε να έχει ένα νέο διαθέσιμο χώρο με μεγαλύτερη χωρητικότητα, συνήθως τη διπλάσια.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_hu.html b/beta_40_hu.html new file mode 100644 index 000000000..f2058427a --- /dev/null +++ b/beta_40_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vektorok

+

A generikus típusok egyik leghasznosabb fajtája a gyűjtemény típusok. A vektor - melyet a Vec +struct-tal reprezentálunk - egy változtatható hosszúságú, azonos típusú elemeket tartalmazó +lista.

+

A vec! makró segítségével könnyedén hozhatunk létre vektorokat, ahelyett, hogy manuálisan +kellene azokat összeraknunk.

+

A Vec tartalmaz egy iter() nevű metódust, ami egy iterátort készít a vektorból, melyet, ha a +for ciklussal kombinálunk, könnyedén végiglépkedhetünk a lista összes elemén.

+

Vec a memóriában:

+
    +
  • A Vec egy struct, ami önmagában tartalmaz egy referenciát egy meghatározott hosszuságú +listához, ami a kupacon van tárolva.
  • +
  • A vektor egy bizonyos befogadóképességgel kezd; amikor ennél több értéket teszünk bele, akkor +új, nagyobb tárolóhelyre allokálja át az adatokat a kupacon.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ie.html b/beta_40_ie.html new file mode 100644 index 000000000..a1441d445 --- /dev/null +++ b/beta_40_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

Li tipes por colectiones es un del max util tipes géneric. Un vector es un variabilmen mesurat +liste de articules representat per li struct Vec.

+

Li macro vec! lassa nos facilmen crear un vector vice crear un manualmen.

+

Vec have li metode iter() quel crea un iterator de un vector, con quel noi posse facilmen +plazzar un vector in un loop for.

+

Detallies pri memorie:

+
    +
  • Vec es un struct, ma internmen it contene un referentie a un fix liste de su articules sur li heap.
  • +
  • Un vector comensa con un capacitá decidet, ma quande on adjunte coses a it queles superpassa su capacitá, it +realoca li data sur li heap por haver un nov liste fix con un plu grand capacitá
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_it.html b/beta_40_it.html new file mode 100644 index 000000000..56faffe8b --- /dev/null +++ b/beta_40_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vettori

+

Tra i tipi generici più utili ci sono le collezioni. Un vettore è una lista a dimensione variabile di valori, ed è rappresentato dalla struct Vec.

+

La macro vec! ci permette di popolare facilmente un vettore, invece di farlo a mano.

+

Vec ha il metodo iter() che crea un iteratore da un vettore, il che ci permette di usarlo facilmente in un loop for.

+

Dettagli sulla memoria:

+
    +
  • Vec è una struct, ma internamente contiene il riferimento ad una lista di elementi nello heap.
  • +
  • Un vettore inizia con una capacità predefinita; quando aggiungiamo più elementi di questa capacità, i dati vengono riallocati sullo heap in modo da avere una nuova lista con capacità più grande.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ja.html b/beta_40_ja.html new file mode 100644 index 000000000..13f06fd50 --- /dev/null +++ b/beta_40_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ベクタ型

+

最も有用なジェネリック型のいくつかはコレクション型です。 +ベクタは構造体 Vec で表される可変サイズのリストです。

+

マクロ vec! を使えば、手動で構築するよりも簡単にベクタを生成できます。

+

Vec にはメソッド iter() があります。 +これによってベクタからイテレータを生成すれば、ベクタを簡単に for ループに入れることができます。

+

メモリに関する詳細:

+
    +
  • Vec は構造体ですが、内部的にはヒープ上の固定リストへの参照を含んでいます。
  • +
  • ベクタはデフォルトの容量で始まります。 +容量よりも多くの項目が追加された場合、ヒープ上により大きな容量の固定リストを生成して、データを再割り当てします。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ko.html b/beta_40_ko.html new file mode 100644 index 000000000..cb7cf925b --- /dev/null +++ b/beta_40_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

벡터

+

가장 유용한 generic 자료형들 중 하나가 collection 자료형입니다. +vector는 Vec struct로 표현되는 가변 크기의 리스트입니다.

+

vec! macro는 vector를 수동으로 일일이 만드는 대신, 손쉽게 생성할 수 있게 해줍니다.

+

Vec는 vector를 for 반복문에 손쉽게 넣을 수 있도록 +vector로부터 반복자를 생성할 수 있는 iter() 메소드를 갖고 있습니다.

+

메모리 상세:

+
    +
  • Vec은 struct이나, 내부적으로는 내용물이 heap에 있는 고정 리스트에 대한 참조를 포함하고 있습니다.
  • +
  • vector는 기본 용량을 갖고 시작하는데, 용량보다 많은 내용물이 추가될 경우, +큰 용량을 가진 새 고정 리스트를 위해 heap에 데이터를 재할당합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_pl.html b/beta_40_pl.html new file mode 100644 index 000000000..1b3d8665e --- /dev/null +++ b/beta_40_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wektory

+

Jednym z najbardziej przydatnych typów generycznych są w Ruscie typy kolekcji. +Wektorem nazywamy w Ruscie listę elementów której długość jest zmienna. Typ ten reprezentuje struktura o nazwie Vec.

+

Makro vec! pozwala nam ułatwić nieco proces konstrukcji wektora i zaoszczędzić tym samym trochę czasu.

+

Vec posiada metodę iter() która jest w stanie stworzyć dla nas iterator danego wektora. W ten sposób możemy łatwo wrzucić wektor w pętlę for.

+

Kilka szczegółów odnośnie wykorzystania pamięci:

+
    +
  • Vec sam w sobie jest strukturą, ale jednocześnie wewnątrz niego znajduje się referencja do listy jego elementów na stercie, która to lista jest listą o stałej długości.
  • +
  • nowo stworzony wektor startuje z pewną domyślną wielkością; kiedy zostaje do niego dodane więcej elementów niż przewiduje obecna wielkość, dane wektora przechowywane na stercie zostają przeniesione w nowe miejsce na nową listę o stałej długości.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_pt-br.html b/beta_40_pt-br.html new file mode 100644 index 000000000..e877d79ee --- /dev/null +++ b/beta_40_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vetores

+

Alguns dos tipos genéricos mais úteis são os tipos de coleção. Um vetor é uma lista de itens de tamanho variável representada pela estrutura Vec.

+

A macro vec! nos permite criar facilmente um ao invés de contruir uma manualmente.

+

Vec possui o método iter() o qual cria um iterador a partir de uma matriz, permitindo-nos facilmente usar um vetor em um loop for.

+

Detalhes da Memória:

+
    +
  • Vec é um struct, mas internamente contém uma referência a uma lista fixa de seus itens no heap.
  • +
  • Um vetor começa com uma capacidade padrão. Quando são adicionados mais itens do que a capacidade inicial, ele realoca seus dados no heap para ter uma nova lista fixa com capacidade maior.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ro.html b/beta_40_ro.html new file mode 100644 index 000000000..f9f70e6c0 --- /dev/null +++ b/beta_40_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectori

+

Unele din cele mai utile tipuri generice sunt colecțiile. Un vector este o listă de dimensiune variabilă de elemente +reprezentate de structura Vec.

+

Macro-ul vec! ne permite să creăm mai ușor un vector decât l-am construi manual.

+

Vec are metoda iter() care creează un iterator dintr-un vector, fiind astfel foarte ușor să +punem un vector în interiorul unei bucle for.

+

Detalii despre memorie:

+
    +
  • Vec este o structură, dar în interior conține o referință la o listă fixă a elementelor sale din heap.
  • +
  • Un vector începe cu o capacitate implicită; când sunt adăugate mai multe elemente decât poate conține, acesta +realocă elementele sale pe heap pentru a avea o nouă listă fixă mai mare.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ru.html b/beta_40_ru.html new file mode 100644 index 000000000..902fc9953 --- /dev/null +++ b/beta_40_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Векторы

+

Одни из самых полезных обобщённых типов - это коллекции. Структура Vec - это динамически изменяемый список.

+

Макрос vec! позволяет удобно создавать векторы, перечисляя его элементы.

+

Vec имеет метод iter(), который создаёт итератор по элементам вектора, позволяя легко использовать вектор в цикле for.

+

Детали для запоминания:

+
    +
  • Vec это структура, но внутри она содержит ссылку на фиксированной список элементов в куче.
  • +
  • При создании, вектор имеет вместимость по умолчанию. Когда в него добавляются элементы, а его вместимость заканчивается, он выделяет новую память (reallocate) в куче с большей вместимостью, чем была.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_th.html b/beta_40_th.html new file mode 100644 index 000000000..7a28541b4 --- /dev/null +++ b/beta_40_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

generic type ที่มีประโยชน์ที่สุดประเภทหนึ่งคือพวกที่เป็นคอลเล็คชัน vector คือหนึ่งในนั้น มันเป็นลิสต์ที่มีขนาดแปรผันได้ มาในรูปของ struct Vec

+

มาโคร vec! ใช้สร้าง vector แบบง่ายๆ แทนที่จะไปสร้างเองด้วยมือ

+

Vec มาพร้อมเมธอด iter() ใช้สร้างตัววนซ้ำเวลาเอาไปใส่ใน for ลูป

+

รายละเอียดหน่วยความจำ:

+
    +
  • Vec เป็น struct แต่มันแค่ใช้เก็บการอ้างอิงไปยัง ลิสต์ตัวหนึ่งใน heap
  • +
  • vector เริ่มต้นด้วยความจุขนาดหนึ่ง เมื่อมีการเพิ่มของจนล้นความจุนั้น มันจะไป +จัดสรรเนื้อที่ใหม่บน heap เพื่อเก็บลิสต์ใหม่ ด้วยความจุที่ใหญ่ขึ้น
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_tr.html b/beta_40_tr.html new file mode 100644 index 000000000..6aef996b4 --- /dev/null +++ b/beta_40_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vektörler

+

Koleksiyonlar kullanışlı şekilde genelleştirilebilen veri yapılarıdır. Bir koleksiyon türü olan Vec ise, içeriği dinamik olarak değişebilen dizileri ifade eder. +Vektörleri elle oluşturmak yerine basitçe vec! makrosunu kullanabilirsiniz.

+

Vektörler elemanları üzerinde yineleyici oluşturmayı sağlayan iter() özelliğini uyguladıklarından, her bir elemanı için for döngüsü kullanarak yineleme işlemleri gerçekleştirebilirsiniz.

+

Bellek ayrıntıları:

+
    +
  • Vec aslında bir yapı olmasına rağmen, öbek üzerinde konumlandırılan elemanlarının sabit uzunluktaki listesine atıf yapan bir referans içermektedir.
  • +
  • Belleğin öbek kısmında tutulduklarından, varsayılan kapasiteleri aşıldığı hallerde, daha büyük bir kapasiteyle yeniden konumlandırılırlar.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_ua.html b/beta_40_ua.html new file mode 100644 index 000000000..747f3b23e --- /dev/null +++ b/beta_40_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Вектори

+

Одні з найбільш корисних узагальнених типів - колекції. Вектор - це список елементів змінної довжини, представлений структурою Vec. +Вектор краще створювати за допомогою макросу vec!, аніж вручну.

+

Vec має метод iter(), котрий створює ітератор на базі вектора і дозволяє використовувати вектор в циклі for.

+

Деталі роботи за памяттю:

+
    +
  • Vec - це структура, але всередині вона має посилання на фіксований список елементів в купі (heap).
  • +
  • Після створення, вектор має довжину за замовчанням; якщо до нього додаються елементи для яких вже немає місця, він виділяє нову область більшої довжини в купі.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_vi.html b/beta_40_vi.html new file mode 100644 index 000000000..bd6c3449e --- /dev/null +++ b/beta_40_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vector

+

Một số Generic type hữu ích nhất là kiểu tập hợp. Một vector là một danh sách các mục có kích thước thay đổi được đại diện bởi struct Vec.

+

Macro vec! cho phép chúng ta dễ dàng tạo một vectơ hơn là tạo một vectơ theo cách thủ công.

+

Vec có phương thức iter () tạo một trình vòng lặp từ một vectơ, cho phép chúng ta dễ dàng đưa một vectơ vào vòng lặp for.

+

Chi tiết bộ nhớ:

+
    +
  • Vec là một struct, nhưng bên trong nó chứa một tham chiếu đến một danh sách cố định các phần tử của nó trên heap.
  • +
  • Một vectơ bắt đầu với một dung lượng mặc định; khi nhiều mục được thêm vào hơn khả năng của nó, nó sẽ phân bổ lại dữ liệu của nó trên heap để có một danh sách cố định mới với dung lượng lớn.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_zh-cn.html b/beta_40_zh-cn.html new file mode 100644 index 000000000..9a23589d2 --- /dev/null +++ b/beta_40_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vectors

+

一些经常使用的泛型是集合类型。一个 vector 是可变长度的元素集合,以 Vec 结构表示。

+

比起手动构建,宏 vec! 让我们可以轻松地创建 vector。

+

Vec 有一个形如 iter() 的方法可以为一个 vector 创建迭代器,这允许我们可以轻松地将 vector 用到 for 循环中去。

+

内存细节:

+
    +
  • Vec 是一个结构体,但是内部其实保存了在堆上固定长度数据的引用。
  • +
  • 一个 vector 开始有默认大小容量,当更多的元素被添加进来后,它会重新在堆上分配一个新的并具有更大容量的定长列表。(类似 C++ 的 vector)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_40_zh-tw.html b/beta_40_zh-tw.html new file mode 100644 index 000000000..00619ce9d --- /dev/null +++ b/beta_40_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

向量 (vectors)

+

一些非常有用的泛型型別即是集合型別。一個向量是一個可變長度的物品清單 (list),用結構 (struct) Vec 來表示。

+

巨集 vec! 讓我們可以簡單的產生向量,而不用手動建立。

+

Vec 有個方法叫 iter(),它可以產生一個向量迭代器,讓我們可以簡單的把一個向量放到 for 迴圈裡。

+

記憶體細節:

+
    +
  • Vec 是一個結構 (struct),但在內部裡,它包含一個參考 (reference),該參考指向一個固定於堆 (heap) 上的物品清單。
  • +
  • 一個向量一開始有初始容量,當越來越多物品加入而超過它的容量時,它會重新配置位於在堆 (heap) 上的資料,得到一個有更大容量的固定清單。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_41_ar.html b/beta_41_ar.html new file mode 100644 index 000000000..fb30fb073 --- /dev/null +++ b/beta_41_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 4 - الخلاصة

+

لقد تعلمنا في أحد الفصول مقدار القوة التي توفرها لنا الأنواع المعممة (generic types)! لا تقلق إذا كنت لا تعرف تمامًا كيفية استخدام كل شيء، فمن الجيد الآن أن تكون على دراية بالأفكار الرئيسية التي ستراها مرارًا وتكرارًا في الشيفرات البرمجية. أصبحت دوال طويلة نوعا ما! في الفصل التالي سنتحدث عن مفهوم مهم في رست (Rust): ملكية البيانات (data ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_en.html b/beta_41_en.html new file mode 100644 index 000000000..275b1a31f --- /dev/null +++ b/beta_41_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_es.html b/beta_41_es.html new file mode 100644 index 000000000..c2f683f8a --- /dev/null +++ b/beta_41_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 4 - Conclusión

+

En sólo un capítulo hemos aprendido el poder de los tipos genéricos. No te preocupes si no sabes completamente +cómo usarlo todo, ahora mismo es bueno ser consciente de las principales ideas que verás una y otra vez en el código. +¡Nuestras funciones se están haciendo bastante largas! En el próximo capítulo hablaremos de un concepto importante de +Rust: pertenencia de datos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_fa.html b/beta_41_fa.html new file mode 100644 index 000000000..735c6b5cf --- /dev/null +++ b/beta_41_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Conclusion

+

In one chapter we've learned how much power generic types give us! Don't worry if you don't +know fully how to use everything, right now it's just good to be aware of the major ideas you will +see again and again in code. Our functions are getting quite lengthy! In our next chapter we will +spend talk about an important concept in Rust: data ownership.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_fr.html b/beta_41_fr.html new file mode 100644 index 000000000..78243fcfd --- /dev/null +++ b/beta_41_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 4 - Conclusion

+

Dans un seul chapitre, nous avons découvert la puissance des types génériques! Ne t'inquiète pas si tu ne +sais pas parfaitement comment utiliser tout ce que nous venons de voir. Pour le moment il suffit de retenir les +principales idées, nous n'avons pas fini de les revoir encore et encore. Nos fonctions deviennent assez longues! +Dans notre prochain chapitre, nous allons parler d'un concept important dans +Rust: la possession des données (ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_gr.html b/beta_41_gr.html new file mode 100644 index 000000000..ee8324197 --- /dev/null +++ b/beta_41_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 4 - Κατάληξη

+

Μέσα σε ένα κεφάλαιο μάθαμε πόση δύναμη μας δίνουν οι γενικοί τύποι! Μην ανησυχείτε αν δεν καταλαβαίνετε ακόμα πώς να τα χρησιμοποιήσετε όλα, προς το παρόν θέλουμε απλώς να έχετε υπ' όψιν τις κυριότερες ιδέες που θα δείτε ξανά και ξανά στον κώδικα. Οι συναρτήσεις μας έχουν αρχίσει να γίνονται και αρκετά μακροσκελείς! Στο επόμενο κεφάλαιο θα αναλωθούμε σε μία πολύ σημαντική έννοια της Rust: την κυριότητα των δεδομένων.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_hu.html b/beta_41_hu.html new file mode 100644 index 000000000..6fb848073 --- /dev/null +++ b/beta_41_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

4. Fejezet - Konklúzió

+

Ebben a fejezetben megtanultuk mennyire is erőteljesek a generikus típusok. Ne csüggedj, ha még +nem állt teljesen össze benned, a fontos az, hogy ismerd azokat az ötleteket, amik újra és újra +előfordulnak a kódban. A függvényeink egyre hosszabbá válnak! A következő fejezet a Rust egy +nagyon-nagyon fontos koncepciójáról fog szólni: arról, hogy ki birtokolja az adatokat.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_ie.html b/beta_41_ie.html new file mode 100644 index 000000000..23fc8cbb6 --- /dev/null +++ b/beta_41_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 4 - Conclusion

+

In un sol capitul noi ha aprendet pri li potentie quel li tipes géneric da nos! Ne sucia te si tu ancor +ne save qualmen usar omnicos. Por li moment, it es plu important solmen esser conscient pri li grand +idés queles tu va vider denov e denov in code. Nor functiones ha tam agrandat se! In li capitul a sequer +noi va transpassa li tot capitul per discusser qualmen passar data inter functioner por que noi mey posser +vider li detallies e devenir plu clar pri qualmen Rust regarda memorie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_it.html b/beta_41_it.html new file mode 100644 index 000000000..2bfd3e738 --- /dev/null +++ b/beta_41_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 4 - Conclusione

+

In un solo capitolo abbiamo imparato quanto siano potenti i tipi generici! Non +preoccuparti se ora non comprendi perfettamente come usarli tutti, per ora è sufficiente essere +a conoscenza che esistono, dato che li incontrerai sempre di più man mano che leggi del codice. Le nostre funzioni stanno diventanto sempre più lunghe! +Nel prossimo capitolo parleremo di un importante concetto in Rust: la proprietà del dato.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_ja.html b/beta_41_ja.html new file mode 100644 index 000000000..fbe82c7df --- /dev/null +++ b/beta_41_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 4 章 - まとめ

+

この章でジェネリック型がどれだけの力を発揮するのかがわかりました。 +すべて使いこなせなくても心配しないでください。 +今は、コードの中で何度も目にするであろう主要なアイデアを意識するだけで良いと思います。 +私たちの関数はかなり長くなっています。 +次の章では、Rust の重要な概念であるデータの所有権について説明します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_ko.html b/beta_41_ko.html new file mode 100644 index 000000000..d75e32e77 --- /dev/null +++ b/beta_41_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

4장 - 마무리

+

우리에게 generic 자료형이 얼마나 도움이 되는지 한 장만에 배웠습니다! +모든걸 완벽히 다 쓸줄 모른다고 걱정 마십시오. 지금은 코드에서 보고 또 보게 될 +주요 개념들을 알고 있는 것만으로도 충분합니다. 함수들이 꽤 길어지고 있습니다! +다음 장에서는 Rust의 중요한 개념인 데이터 소유권(data ownership)에 대해 알아봅시다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_pl.html b/beta_41_pl.html new file mode 100644 index 000000000..3b62c6aa4 --- /dev/null +++ b/beta_41_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 4 - Podsumowanie

+

W tym rozdziale dowiedzieliśmy się jak wielką moc mają typy generyczne!

+

Nie przejmuj się jeśli nadal czujesz lekkie zagubienie i nie do końca rozumiesz "z czym to się je". Głównym celem tego rozdziału było bardziej ogólne przedstawienie pewnych pomysłów i cech języka z których istnienia należy sobie zdawać sprawę zanim będziemy w stanie przejść dalej.

+

Nasze przykłady zaczynają się robić coraz dłuższe! W następnym rozdziale poruszymy kolejny ważny temat stanowiący jeden z filarów języka Rust, mianowicie koncepcję własności danych.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_pt-br.html b/beta_41_pt-br.html new file mode 100644 index 000000000..11b080e4c --- /dev/null +++ b/beta_41_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 4 - Conclusão

+

Em um capítulo aprendemos quanta força os tipos genéricos nos dão! Não se preocupe se você não souber como usar tudo, porque agora é bom estar ciente das principais idéias que você verá repetidas vezes no código. Nossas funções estão ficando muito longas! No próximo capítulo, falaremos sobre um conceito importante no Rust: propriedade de dados.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_ro.html b/beta_41_ro.html new file mode 100644 index 000000000..be9d166fc --- /dev/null +++ b/beta_41_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 4 - Concluzie

+

Într-un singur capitol, am învățat câtă putere ne oferă tipurile generice! Nu vă îngrijorați dacă nu +știți încă pe deplin cum să folosiți tot ce ați văzut în acest capitol, deocamdată este bine doar să fiți conștienți de aceste concepte majore pe care +le veți vedea des în cod. Funcțiile noastre devin destul de lungi! În următorul capitol vom +vorbi despre un alt concept important în Rust: proprietatea datelor (data ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_ru.html b/beta_41_ru.html new file mode 100644 index 000000000..91c2de365 --- /dev/null +++ b/beta_41_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 4 - Заключение

+

За одну главу мы узнали, как много силы нам дают обобщённые типы! Не волнуйтесь, если Вы не +совсем понимаете, как это все применить. На данном этапе, Вам нужно только быть внимательным к идеям, +которые Вы увидите в коде ещё много раз. Наши функции становятся слегка громоздкие! В следующей +главе мы поговорим о важной концепции в Rust: владение данными (data ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_th.html b/beta_41_th.html new file mode 100644 index 000000000..37573a54c --- /dev/null +++ b/beta_41_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 4 - สรุป

+

ในเวลาเพียงบทเดียว เราก็ได้เรียนรู้ว่า generic type มอบพลังให้เรามากแค่ไหน แต่อย่ากังวลว่าเรายังไม่รู้วิธีใช้มันทั้งหมด เราแค่รู้แนวคิดหลักๆก็เพียงพอแล้ว และเดี๋ยวเราจะได้เจอกับมันอีกบ่อยๆในโค้ดแน่นอน +ยังมีเรื่องราวอีกเยอะ! ในบทต่อไปเราจะพูดถึงเรื่องแนวคิดที่สำคัญอย่างหนึ่งใน Rust: data ownership

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_tr.html b/beta_41_tr.html new file mode 100644 index 000000000..ff4c14539 --- /dev/null +++ b/beta_41_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 4 - Sonuç

+

Türleri genelleyerek kullanmanın kodlarımızı ne kadar güçlü ve esnek hale getirebildiğini fark ettiniz değil mi? Bu bölümde anlattığım konuların paratiğe nasıl döküleceği hakkında aklınızda soru işaretleri oluştuğunun farkındayım. Ancak şu an için, kodlarımızda sıkça karşılaşacağınız ana fikirlere aşina olmanızı yeterli sayıyorum. Artık gittikçe yoğunlaşan işlevlerimize soluk aldırmak için Veri Mülkiyeti kavramını incelemek zorundayız. Bir sonraki bölümümüzü Rust'ın önemli kavramlarından biri olan bu konuya ayıracağız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_ua.html b/beta_41_ua.html new file mode 100644 index 000000000..2f7fbc4ac --- /dev/null +++ b/beta_41_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 4 - Висновки

+

В цьому розділі ми побачили скільки потужності нам може дати використання узагальнених типів. Не переймайтеся, якщо ви не знаєте як використовувати правильно абсолютно усі можливості мови, на даному етапі добре просто знати про більшість ідей, які ви будете часто зустрічати в коді.

+

Наші функціі стають дедалі довші! В наступному розділі ми поговоримо про таку важливу концепцію як володіння даними (data ownership).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_vi.html b/beta_41_vi.html new file mode 100644 index 000000000..c5b8a5473 --- /dev/null +++ b/beta_41_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 4 - Tổng kết

+

Trong chương này, chúng ta thấy rằng Generic Type thật mạnh mẽ và cung cấp cho chúng ta nhiều thứ! Đừng lo lắng nếu bạn không biết cách sử dụng mọi thứ một cách đầy đủ, ngay bây giờ bạn chỉ cần nhận thức được những ý tưởng chính mà bạn sẽ thấy lặp đi lặp lại trong code. Các chức năng của chúng ta đang trở nên khá dài dòng! Trong chương tiếp theo, chúng ta sẽ nói về một khái niệm quan trọng trong Rust: quyền sở hữu dữ liệu.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_zh-cn.html b/beta_41_zh-cn.html new file mode 100644 index 000000000..b3997ba91 --- /dev/null +++ b/beta_41_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 总结

+

在这一章中,我们了解了泛型给我们带来的强大功能!如果你还不完全知道该如何使用这一切, +别担心,仅仅是了解这些将会在代码中反复出现的中心思想就足够了。我们的功能在日趋强大! +在下一章中,我们将讨论 Rust 中的一个重要概念:数据所有权。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_41_zh-tw.html b/beta_41_zh-tw.html new file mode 100644 index 000000000..f27003fa6 --- /dev/null +++ b/beta_41_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 總結

+

在這個章節,我們學到了泛型給了我們多強大的力量!如果你沒有完全理解你要怎麼使用,那也別擔心, 現在開始正是時候好好的注意這些主要概念,而且你將會一而再,再而三的在程式碼裡看到它們。 +我們的函數將將會越來越長!在下一章節裡,我們將會討論 Rust 裡很重要的概念:資料擁有權 (data ownership)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_43_ar.html b/beta_43_ar.html new file mode 100644 index 000000000..688aeb221 --- /dev/null +++ b/beta_43_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الملكية (Ownership)

+

يؤدي إنشاء مثيل (instance) لنوع وربطه (binding) باسم متغير إلى إنشاء مورد ذاكرة (memory resource) بحيث سيقوم رست (Rust) بالتحقق من عمره (lifetime) الكلي. المتغير المرتبط (bound variable) يسمى مالك (owner) المورد.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_de.html b/beta_43_de.html new file mode 100644 index 000000000..0a48ae346 --- /dev/null +++ b/beta_43_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eigentum

+

Durch die Instanziierung eines Typs und dessen Bindung an einen Variablennamen wird ein Speicher erstellt Ressource, die der Rust-Compiler validiert +durch sein ganzes Leben. Die gebundene Variable wird als Ressource bezeichnet Eigentümer.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_en.html b/beta_43_en.html new file mode 100644 index 000000000..1a17f78ab --- /dev/null +++ b/beta_43_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ownership

+

Instantiating a type and binding it to a variable name creates a memory resource that the Rust compiler will validate +through its whole lifetime. The bound variable is called the resource's owner.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_es.html b/beta_43_es.html new file mode 100644 index 000000000..76b7adc71 --- /dev/null +++ b/beta_43_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pertenencia

+

Instanciar un tipo y vincularlo (binding) a un nombre de variable crea un recurso de memoria que el compilador de Rust validará a lo largo de su tiempo de vida. La variable vinculada se denomina como propietaria del recurso.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_fa.html b/beta_43_fa.html new file mode 100644 index 000000000..76d4e90f3 --- /dev/null +++ b/beta_43_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ownership

+

Instantiating a type and binding it to a variable name creates a memory resource that the Rust compiler will validate +through its whole lifetime. The bound variable is called the resource's owner.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_fr.html b/beta_43_fr.html new file mode 100644 index 000000000..65d5e2f12 --- /dev/null +++ b/beta_43_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Propriété (en anglais ownership)

+

L'instanciation d'un type et le fait de lier (en anglais binding) la ressource à une variable crée +une ressource mémoire que le compilateur Rust validera pendant toute sa durée de vie (en anglais lifetime). +La variable liée devient le propriétaire (en anglais owner) de la ressource.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_gr.html b/beta_43_gr.html new file mode 100644 index 000000000..6759fc00c --- /dev/null +++ b/beta_43_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κυριότητα

+

Η δημιουργία μίας μεταβλητής και η πρόσδεσή της σε κάποιο όνομα δημιουργεί έναν πόρο μνήμης, τον οποίο ο μεταφραστής της Rust θα επαληθεύσει για τη διάρκεια του βίου του. Η εν λόγω μεταβλητή αποκαλείται ιδιοκτήτρια του εν λόγω πόρου.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_hu.html b/beta_43_hu.html new file mode 100644 index 000000000..490e85b2d --- /dev/null +++ b/beta_43_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Birtoklás

+

Egy típus példányosítása és változóhoz kötése létrehoz egy memóriában található erőforrást, +amit a fordító a változó egész lifetime-ja (élettartama) során ellenőrizni fog. Ezt a +változót ekkor az erőforrás owner-ének (tulajdonosának/birtokosának) nevezzük.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_ie.html b/beta_43_ie.html new file mode 100644 index 000000000..ec585609a --- /dev/null +++ b/beta_43_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Proprietá (ownership)

+

Instantiar un tip e ligar (binding) it a un nómine de un variabile crea un ressurse de memorie quel li compilator de Rust +va validar durant su tot vive-témpor (lifetime). Li ligat variabile es nominat li "proprietario" (owner) de it.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_it.html b/beta_43_it.html new file mode 100644 index 000000000..b1c8d0f5f --- /dev/null +++ b/beta_43_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Proprietà

+

Istanziare un tipo e associarlo a un nome di variabile crea una memoria risorsa che il compilatore Rust convaliderà +per tutta la sua vita. La variabile associata è chiamata risorsa proprietario.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_ja.html b/beta_43_ja.html new file mode 100644 index 000000000..abdc56e7e --- /dev/null +++ b/beta_43_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

所有権

+

型のインスタンスを作成して変数に束縛するとメモリリソースが作成され、そのすべてのライフタイムに渡って Rust コンパイラが検証します。 +束縛された変数はリソースの所有者と呼ばれます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_ko.html b/beta_43_ko.html new file mode 100644 index 000000000..8d4249699 --- /dev/null +++ b/beta_43_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

소유권

+

자료형을 인스턴스화 하여 변수명에 할당(binding)하는 행위는 +Rust 컴파일러가 전체 생명주기(lifetime)동안 검증할 메모리 리소스를 생성하는 것입니다. +할당된 변수는 리소스의 소유자(owner)라고 불립니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_pl.html b/beta_43_pl.html new file mode 100644 index 000000000..3d8e29777 --- /dev/null +++ b/beta_43_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Posiadanie Danych

+

Tworząc nową instancję jakiegoś typu i przypisując ją do zmiennej sprawia, że stworzony zostaje pewien zasób pamięci który kompilator będzie próbował zweryfikować. +Weryfikacja ta odbędzie się na podstawie czegoś co nazywamy lifetime, czyli czasem życia danego zasobu. Zmienna do której przypisaliśmy zasób jest tutaj nazywana właścicielem (ang. owner) zasobu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_pt-br.html b/beta_43_pt-br.html new file mode 100644 index 000000000..04dcb62aa --- /dev/null +++ b/beta_43_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Propriedade

+

Instanciar um tipo e vinculá-lo a um nome de variável cria um recurso de memória que o compilador Rust validará por toda sua a vida útil. A variável vinculada é chamada de proprietária do recurso.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_ro.html b/beta_43_ro.html new file mode 100644 index 000000000..4c754b4bb --- /dev/null +++ b/beta_43_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Proprietate

+

Instanțiind un tip și legându-l de un nume de variabilă vom crea o resursă în memorie pe care compilatorul de Rust o va valida +pe tot parcursul duratei sale de viață. Variabila de care a fost legată resursa este considerată proprietarul resursei.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_ru.html b/beta_43_ru.html new file mode 100644 index 000000000..73d4e69f7 --- /dev/null +++ b/beta_43_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Владение (Ownership)

+

Создание объекта определенного типа и связывание (binding) его с именем переменной создаёт ресурс в памяти, который будет валидироваться на протяжении всего его времени жизни (lifetime). Такую переменную называют владельцем (owner) ресурса.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_th.html b/beta_43_th.html new file mode 100644 index 000000000..ed56b437f --- /dev/null +++ b/beta_43_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ความเป็นเจ้าของ

+

การสร้างอินสแตนซ์สัก type หนึ่ง และ ผูกไว้ กับชื่อตัวแปรจะสร้างรีซอร์สหน่วยความจำ ที่คอมไพเลอร์ Rust จะตรวจสอบตลอด อายุการใช้งาน ตัวแปรที่ถูกผูกไว้ เราจะเรียกว่า เจ้าของ รีซอร์ส

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_tr.html b/beta_43_tr.html new file mode 100644 index 000000000..3758958b6 --- /dev/null +++ b/beta_43_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mülkiyet

+

Bir türü örnekleyerek onu bir değişken adıyla bağlamak, Rust derleyicisinin, değişken var olduğu sürece doğrulamak zorunda kalacağı bellek kaynağı oluşturulmasına neden olur. Bu kaynak ile bağlanmış değişkenimiz ise kaynağın sahibi olarak adlandırılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_ua.html b/beta_43_ua.html new file mode 100644 index 000000000..a8c2eb023 --- /dev/null +++ b/beta_43_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Володіння

+

Створення екземпляру типу та зв'язування його з іменем змінної створює ресурс пам'яті ресурс пам'яті, який компілятор Rust буде перевіряти +протягом усього його життя. Прив'язана змінна називається власником ресурсу, тобто вона володіє ним.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_vi.html b/beta_43_vi.html new file mode 100644 index 000000000..8f14bec79 --- /dev/null +++ b/beta_43_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quyền sỡ hữu

+

Việc khởi tạo một kiểu và binding(ràng buộc) nó với một tên biến sẽ tạo ra một tài nguyên bộ nhớ mà trình biên dịch Rust sẽ xác thực thông qua toàn bộ lifetime(thời gian tồn tại) của nó. Biến bị ràng buộc được gọi là owner(chủ sở hữu) của tài nguyên.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_zh-cn.html b/beta_43_zh-cn.html new file mode 100644 index 000000000..dc2e01851 --- /dev/null +++ b/beta_43_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

所有权

+

实例化一个类型并且将其绑定到变量名上将会创建一些内存资源,而这些内存资源将会在其整个生命周期中被 Rust 编译器检验。 被绑定的变量即为该资源的所有者

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_43_zh-tw.html b/beta_43_zh-tw.html new file mode 100644 index 000000000..2a2bfc910 --- /dev/null +++ b/beta_43_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權 (ownership)

+

實體化一種型別並到一個變量時,會產生記憶體資源,而該記憶體資源的整個生命週期都會被 Rust 編譯器驗證過。 綁定的變量就稱作記憶體資源的擁有者

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ar.html b/beta_44_ar.html new file mode 100644 index 000000000..2bb560640 --- /dev/null +++ b/beta_44_ar.html @@ -0,0 +1,53 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إدرارة الموارد على أساس النطاق (Scope-Based Resource Management)

+

يستخدم رست (Rust) نهاية النطاق (scope) كمكان لتفكيك (deconstruct) المورد وإلغاء تخصيصه (deallocate).

+

يُطلق على المصطلح الخاص بهذا التفكيك (deconstruction) وإلغاء التخصيص (deallocation) اسم اسقاط (drop)

+

تفاصيل الذاكرة:

+
    +
  • رست (Rust) لا يملك جمع القمامة (garbage collection).
  • +
  • يُطلق على هذا أيضًا اسم "اكتساب الموارد تهيئة (Resource Acquisition Is Initialization)" (RAII) في لغة ++C.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_de.html b/beta_44_de.html new file mode 100644 index 000000000..2334154c7 --- /dev/null +++ b/beta_44_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bereichsbasiertes Ressourcenmanagement

+

Rust verwendet das Ende des Gültigkeitsbereichs als Ort zum Dekonstruieren und Freigeben einer Ressource.

+

Der Begriff für diese Dekonstruktion und Freigabe wird Drop genannt.

+

Speicherdetail:

+
    +
  • Rust verfügt über keine Garbage Collection.
  • +
  • Dies wird in C++ auch als Ressourcenbelegung ist Initialisierung (RAII) bezeichnet.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_en.html b/beta_44_en.html new file mode 100644 index 000000000..976f3ce7c --- /dev/null +++ b/beta_44_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scope-Based Resource Management

+

Rust uses the end of scope as the place to deconstruct and deallocate a resource.

+

The term for this deconstruction and deallocation is called a drop.

+

Memory detail:

+
    +
  • Rust does not have garbage collection.
  • +
  • This is also called Resource Acquisition Is Initialization ( RAII ) in C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_es.html b/beta_44_es.html new file mode 100644 index 000000000..54f0aa108 --- /dev/null +++ b/beta_44_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestión de Recursos Basada en el Alcance

+

Rust utiliza el último lugar de uso o el final de la función como el lugar para +deconstruir y ubicar un recurso.

+

El término para esta deconstrucción y colocación se llama drop.

+

Detalles de la memoria:

+
    +
  • Rust no tiene recolección de basura.
  • +
  • Esto también se llama «Adquirir Recursos es Inicializar» o RAII ( del inglés Resource Acquisition is Initialization ) en C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_fa.html b/beta_44_fa.html new file mode 100644 index 000000000..c34370aef --- /dev/null +++ b/beta_44_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Scope-Based Resource Management

+

Rust uses the end of scope as the place to deconstruct and deallocate a resource.

+

The term for this deconstruction and deallocation is called a drop.

+

Memory detail:

+
    +
  • Rust does not have garbage collection.
  • +
  • This is also called Resource Acquisition Is Initialization ( RAII ) in C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_fr.html b/beta_44_fr.html new file mode 100644 index 000000000..f27b86113 --- /dev/null +++ b/beta_44_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Management des ressources basé sur la portée (en anglais scope)

+

Rust prend en compte le dernier endroit où une variable a été utilisée ainsi +que la fin de la portée de la fonction pour déconstruire et désallouer une ressource.

+

On dira pour cette déconstruction et désallocation que la variable est "jetée" (en anglais dropped).

+

Détails de la mémoire:

+
    +
  • Rust ne possède pas de ramasse-miettes (en anglais garbage collector).
  • +
  • Cela est également connu sous le nom de RAII (l'acquisition d'une ressource est une initialisation) en C ++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_gr.html b/beta_44_gr.html new file mode 100644 index 000000000..2c6974ca1 --- /dev/null +++ b/beta_44_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Διαχείριση πόρων βάσει ορατότητας

+

Η Rust χρησιμοποιεί το τέλος μίας ορατότητας ως το μέρος όπου αποδεσμεύει και αποδομεί έναν πόρο. Ο όρος γι' αυτήν την αποδέσμευση και αποδόμηση είναι «απόρρίψη».

+

Λεπτομέρειες:

+
    +
  • Στη Rust δεν υπάρχει αυτόματη «συλλογή απορριμάτων».
  • +
  • Αυτό στη C++ αποκαλείται Resource Acquisition Is Initialization ( RAII ).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_hu.html b/beta_44_hu.html new file mode 100644 index 000000000..fdd27f442 --- /dev/null +++ b/beta_44_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hatáskör-alapú erőforráskezelés

+

Az egyes értékek az utolsó használatuk helyén vagy a létrehozó blokk hatáskörének végén +szabadulnak fel és deallokálódnak. Ezt a folyamatot drop-nak (ejtésnek) hívjuk.

+

Hogy érinti ez a memóriát:

+
    +
  • A Rust nem rendelkezik garbage collection-el (szemétgyűjtés)
  • +
  • A C++ nyelvben ennek a megközelítésnek a neve Resource Acquisition Is Initialization ("Az +erőforrás megszerzése egyben annak inicializálása is").
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ie.html b/beta_44_ie.html new file mode 100644 index 000000000..320309be8 --- /dev/null +++ b/beta_44_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gerentie de Ressurses Basat sur Cadre (Scope)

+

Rust usa li final loc de usation o li fine del cadre de un function quam li loc por deconstructer e dealocar +un ressurse. On nomina ti deconstruction e dealocation un "cade" (drop).

+

Detallies pri memorie:

+
    +
  • Rust ne possede jettallia-colection (garbage collection).
  • +
  • Tis qui save C++ va conosser ti concepte quam Resource Acquisition Is Initialization ( RAII ).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_it.html b/beta_44_it.html new file mode 100644 index 000000000..908b9a3ff --- /dev/null +++ b/beta_44_it.html @@ -0,0 +1,53 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestione delle risorse basata sull'ambito

+

Rust utilizza la fine dell'ambito come luogo in cui decostruire e deallocare una risorsa.

+

Il termine per questa decostruzione e deallocazione è chiamato drop.

+

Dettagli della memoria:

+
    +
  • Rust non prevede la raccolta dei rifiuti.
  • +
  • In C++ questa operazione viene anche chiamata Resource Acquisition Is Inizializzazione (RAII).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ja.html b/beta_44_ja.html new file mode 100644 index 000000000..b30910a34 --- /dev/null +++ b/beta_44_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

スコープベースのリソース管理

+

Rust では、スコープの終わりをリソースのデストラクトと解放の場所として使用します。

+

このデストラクトと解放のことをドロップ (drop) と呼びます。

+

メモリの詳細:

+
    +
  • Rust にはガベージコレクションがありません。
  • +
  • C++ では Resource Acquisition Is Initialization (RAII)「リソース取得は初期化である」とも呼ばれています。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ko.html b/beta_44_ko.html new file mode 100644 index 000000000..5397f6e19 --- /dev/null +++ b/beta_44_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

범위 기반 리소스 관리

+

Rust는 범위(scope)가 끝나는 곳에서 리소스를 소멸하고 할당 해제합니다.

+

이 소멸과 할당 해제를 의미하는 용어로 drop을 사용합니다.

+

메모리 상세:

+
    +
  • Rust에는 가비지 컬렉션이 없습니다.
  • +
  • 이는 C++에서는 Resource Acquisition Is Initialization ( RAII ) 라고 부릅니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_pl.html b/beta_44_pl.html new file mode 100644 index 000000000..cc7f67404 --- /dev/null +++ b/beta_44_pl.html @@ -0,0 +1,56 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zarządzanie Zasobami Z Użyciem Zasięgów

+

Rust korzysta z końca danego zasięgu (ang. scope) jako miejsca w którym +następuje dekonstrukcja i dealokacja zasobu.

+

Termin opisujący ten proces dekonstrukcji i dealokacji zasobu to drop, czy +wypuszczanie.

+

Kilka szczegółów:

+
    +
  • W Ruscie nie ma odśmiecania pamięci.
  • +
  • Opisany wyżej model jest też nazywany "RAII" w środowisku C++. Jest to skrót +od angielskiego: "Resource Acquisition Is Initialization".
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_pt-br.html b/beta_44_pt-br.html new file mode 100644 index 000000000..dedf3d940 --- /dev/null +++ b/beta_44_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gerenciamento de Recursos Baseado em Escopo

+

O Rust usa o final do escopo como o lugar para desconstruir e desalocar um recurso. +O termo para esta descontrução e desalocação é chamado descarte (ou drop).

+

Detalhes da memória:

+
    +
  • O Rust não tem garbage collection.
  • +
  • Também conhecido por Aquisição de Recursos é Inicialização (sigla RAII, em inglês) em C++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ro.html b/beta_44_ro.html new file mode 100644 index 000000000..18d93005a --- /dev/null +++ b/beta_44_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestionarea resurselor bazată pe domeniul de existență

+

Rust folosește finalul unui domeniu de existență ca moment pentru a destructura și a dealoca o resursă.

+

Termenul pentru această acțiune se numește drop.

+

Detalii despre memorie:

+
    +
  • Rust nu are un colector pentru deșeuri în memorie.
  • +
  • Acest aspect este cunoscut în C++ ca Achiziția Resurselor înseamnă Inițializare ( RAII ).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ru.html b/beta_44_ru.html new file mode 100644 index 000000000..5b8006900 --- /dev/null +++ b/beta_44_ru.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Управление ресурсами на основе области видимости

+

Rust использует последнее место использования ресурса или конец области видимости функции в качестве места, где свою работу выполняет деструктор и освобождает ранее выделенные ресурсы.

+

Термин для обозначения деструктора и освобождения ресурсов/памяти называется drop (дроп или удаление).

+

Детали для запоминания:

+
    +
  • В Rust нет сборщика мусора
  • +
  • Это может быть вам знакомо как идиома RAII (Resource Acquisition Is Initialization) из С++
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_th.html b/beta_44_th.html new file mode 100644 index 000000000..777b4cfe4 --- /dev/null +++ b/beta_44_th.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดการรีซอร์สโดยอิงตามขอบเขตข้อมูล

+

Rust ใช้จุดสิ้นสุดของขอบเขตเป็นจุดในการ ทำลายโครงสร้าง(deconstruct) และ คืนหน่วยความจำ(deallocate)

+

ตอนนี้เราจะเรียกการ ทำลายโครงสร้าง และการคืนหน่วยความจำนี้ว่า drop

+

รายละเอียดหน่วยความจำ:

+
    +
  • Rust ไม่มี garbage collection
  • +
  • เราเรียกสิ่งนี้ว่า Resource Acquisition Is Initialization ( RAII ) ในภาษา C++
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_tr.html b/beta_44_tr.html new file mode 100644 index 000000000..767e2860e --- /dev/null +++ b/beta_44_tr.html @@ -0,0 +1,53 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapsam Tabanlı Kaynak Yönetimi

+

Rust, bir kaynağın sonlandırılarak belleğe iade edilebilmesi için kapsamın bitiş noktasını baz alır.

+

Bu sonlandırma ve iade etme işlemine drop yani değişkenin düşürülmesi denir.

+

Bellek ayrıntıları:

+
    +
  • Rust'ta çöp toplama özelliği bulunmaz.

  • +
  • C++'tan aşina olduğumuz bu yaklaşım, Resource Acquisition Is Initialization (RAII) olarak da bilinir.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_ua.html b/beta_44_ua.html new file mode 100644 index 000000000..a4296d1ea --- /dev/null +++ b/beta_44_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Управління даними на основі розміру.

+

Rust використовує кінець області видимості як місце для деконструкції та +перерозподілу ресурсу.

+

Термін для такої деконструкції та вивільнення називається drop (скидання).

+

Деталі роботи за памяттю:

+
    +
  • У Rust не передбачено збирання сміття через і без того гарний менеджмент +пам'яті.
  • +
  • У C++ це також називається "Отримання ресурсу є ініціалізацією" +(Resource Acquisition Is Initialization, RAII).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_vi.html b/beta_44_vi.html new file mode 100644 index 000000000..23d3f4aeb --- /dev/null +++ b/beta_44_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quản lý tài nguyên dựa trên phạm vi(Scope-Based)

+

Rust sử dụng phần cuối của scope(phạm vi) làm nơi để giải cấu trúc(deconstruct) +và thu hồi(deallocate) tài nguyên.

+

Thuật ngữ để giải cấu trúc và thu hồi giao dịch này được gọi là drop.

+

Chi tiết bộ nhớ:

+
    +
  • Rust không có bộ sưu tập rác.
  • +
  • Đây còn được gọi là Khởi tạo Tài nguyên (Resource Acquisition Is Initialization - RAII) trong C ++.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_zh-cn.html b/beta_44_zh-cn.html new file mode 100644 index 000000000..d280d77d3 --- /dev/null +++ b/beta_44_zh-cn.html @@ -0,0 +1,52 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

基于域的资源管理

+

Rust 将使用资源最后被使用的位置或者一个函数域的结束来作为资源被析构和释放的地方。 此处析构和释放的概念被称之为 drop(丢弃)。

+

内存细节:

+
    +
  • Rust 没有垃圾回收机制。
  • +
  • 在 C++ 中,这被也称为“资源获取即初始化“(RAII)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_44_zh-tw.html b/beta_44_zh-tw.html new file mode 100644 index 000000000..6875fedc3 --- /dev/null +++ b/beta_44_zh-tw.html @@ -0,0 +1,53 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

範圍 (scope-based) 資源管理

+

Rust 以範圍的邊界來解構及回收資源。 +這類解構及回收的專有名詞稱作徹下 (drop)。

+

記憶體細節:

+
    +
  • Rust 沒有垃圾回收 (garbage collection)
  • +
  • 在 C++ 這被稱作資源取得即初始化 (resource acquisition is initialization)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ar.html b/beta_45_ar.html new file mode 100644 index 000000000..c00aabc86 --- /dev/null +++ b/beta_45_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الاسقاط يكون هرمي (Dropping is Hierarchical)

+

عندما يسقط هيكل (struct)، فإنه يتم إسقاط الهيكل (struct) نفسه أولاً، ثم يتم إسقاط أبنائه بشكل فردي، وهكذا.

+

تفاصيل الذاكرة:

+
    +
  • عن طريق التحرير التلقائي للذاكرة فإن رست (Rust) يساعد على ضمن تقليل تسربات الذاكرة (memory leaks).
  • +
  • لا يمكن إسقاط (drop) موارد الذاكرة (Memory resources) إلا مرة واحدة.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_de.html b/beta_45_de.html new file mode 100644 index 000000000..51096597b --- /dev/null +++ b/beta_45_de.html @@ -0,0 +1,52 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Das Löschen ist hierarchisch

+

Wenn eine Struktur gelöscht wird, wird zuerst die Struktur selbst und dann die Struktur selbst gelöscht Kinder werden einzeln abgesetzt und so weiter.

+

Speicherdetails:

+
    +
  • Durch die automatische Freigabe von Speicher trägt Rust dazu bei, dass es weniger Speicher gibt Speicherlecks.
  • +
  • Speicherressourcen können nur einmal gelöscht werden.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_en.html b/beta_45_en.html new file mode 100644 index 000000000..b01b60724 --- /dev/null +++ b/beta_45_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dropping is Hierarchical

+

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

+

Memory Details:

+
    +
  • By automatically freeing memory Rust helps ensure that there are fewer memory leaks.
  • +
  • Memory resources can only be dropped once.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_es.html b/beta_45_es.html new file mode 100644 index 000000000..881897bdd --- /dev/null +++ b/beta_45_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Liberación (drop) Jerárquica

+

Cuando se libera una estructura, la estructura en sí es la primera en hacerlo, después se liberarán sus hijos de forma individual y así sucesivamente.

+

Detalles de la memoria:

+
    +
  • Rust nos ayuda a asegurar que haya menos fugas de memoria al liberarla automáticamente.
  • +
  • Los recursos sólo se pueden liberar una vez.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_fa.html b/beta_45_fa.html new file mode 100644 index 000000000..768074c2f --- /dev/null +++ b/beta_45_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dropping is Hierarchical

+

When a struct is dropped, the struct itself is dropped first, then its children are dropped individually, and so on.

+

Memory Details:

+
    +
  • By automatically freeing memory Rust helps ensure that there are fewer memory leaks.
  • +
  • Memory resources can only be dropped once.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_fr.html b/beta_45_fr.html new file mode 100644 index 000000000..7fdc4ebeb --- /dev/null +++ b/beta_45_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

La déconstruction et désallocation est hiérarchique

+

Lorsqu'une structure est jetée (déconstruite et désallouée), la structure elle-même est jetée en première puis +on jete ses enfants un par un et ainsi de suite.

+

Détails de la mémoire:

+
    +
  • En libérant automatiquement la mémoire, Rust aide à s'assurer qu'il y a moins de fuites de mémoire.
  • +
  • Les ressources mémoire ne peuvent être déconstruites et désallouées qu'une seule fois.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_gr.html b/beta_45_gr.html new file mode 100644 index 000000000..0441e76e1 --- /dev/null +++ b/beta_45_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Η απόρριψη είναι ιεραρχική

+

Όταν μία δομή απορρίπτεται, η καθ' αυτή δομή απορρίπτεται πρώτα, και μετά το κάθε στοιχείο της απορρίπτεται μεμονωμένα, και πάει λέγοντας.

+

Λεπτομέρειες:

+
    +
  • Η αυτόματη ελευθέρωση μνήμης επιτρέπει στη Rust να βεβαιώνεται ότι υπάρχουν λιγότερες διαρροές μνήμης.
  • +
  • Κάθε πόρος μνήμης μπορεί ν' απορριφθεί μόνο μία φορά.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_hu.html b/beta_45_hu.html new file mode 100644 index 000000000..c64709850 --- /dev/null +++ b/beta_45_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A drop-olás hierarchikus

+

Mikor egy struct drop-olásra kerül, először maga a struct, majd a hozzá tartozó mezők +drop-olnak.

+

Hogy érinti ez a memóriát:

+
    +
  • Az automatikus memória-felszabadítás elősegíti a felszabadítatlanul hagyott memóriarégiók +létrejöttét (memory leak).
  • +
  • A memóriában elhelyezett erőforrások csupán egyszer drop-olhatók.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ie.html b/beta_45_ie.html new file mode 100644 index 000000000..c55269860 --- /dev/null +++ b/beta_45_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

On Cade Secun Hierarchie

+

Quande un struct es lassat cader, su elementes infantal cade in prim. +Detallies pri memorie:

+
    +
  • Li automatic liberation memorie in Rust auxilia in esser cert que minu memorie-fugida va evenir
  • +
  • Ressurses de memorie posse cader solmen un vez.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_it.html b/beta_45_it.html new file mode 100644 index 000000000..5259392b4 --- /dev/null +++ b/beta_45_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

L'eliminazione è gerarchica

+

Quando una struttura viene eliminata, viene eliminata prima la struttura stessa, poi la sua i bambini vengono abbandonati individualmente e così via.

+

Dettagli sulla memoria:

+
    +
  • Liberando automaticamente la memoria, Rust aiuta a garantire che ce ne siano di meno perdite di memoria.
  • +
  • Le risorse di memoria possono essere eliminate solo una volta.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ja.html b/beta_45_ja.html new file mode 100644 index 000000000..e11e8adc4 --- /dev/null +++ b/beta_45_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ドロップは階層的

+

構造体がドロップされると、まず構造体自体がドロップされ、次にその子要素が個別に削除されます。

+

メモリの詳細:

+
    +
  • メモリを自動的に解放することで、メモリリークを軽減できます。
  • +
  • メモリリソースのドロップは一度しかできません。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ko.html b/beta_45_ko.html new file mode 100644 index 000000000..0cac988e3 --- /dev/null +++ b/beta_45_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dropping은 계층적이다

+

struct가 drop 될 때는, struct 자신이 제일 먼저 drop 되고, 이후에 그 자식들이 각각 drop 되고, 등의 순서로 처리됩니다.

+

메모리 상세:

+
    +
  • Rust에서는 메모리를 자동으로 해제함으로써 메모리 누수가 덜 일어나도록 합니다.
  • +
  • 메모리 리소스는 단 한 번 drop 될 수 있습니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_pl.html b/beta_45_pl.html new file mode 100644 index 000000000..25efd4963 --- /dev/null +++ b/beta_45_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wypuszczanie Zasobów Następuje Hierarchicznie

+

Kiedy zasób jakiejś struktury zostaje wypuszczony (ang. dropped), najpierw wypuszczona musi zostać ta struktura a dopiero potem osobno wypuszczane zostają jej obiekty podrzędne. I tak do samego końca hierarchii.

+

Kilka szczegółów:

+
    +
  • Dokonując automatycznego zwalniania pamięci, Rust pomaga drastycznie zmniejszyć ryzyko wycieków pamięci.
  • +
  • Zasoby pamięci mogą być wypuszczone tylko raz.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_pt-br.html b/beta_45_pt-br.html new file mode 100644 index 000000000..2ae7f3670 --- /dev/null +++ b/beta_45_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O Descarte é Hierárquico

+

Quando uma estrutura é descartada, a estrutura em si é descartada primeiro, depois os filhos são descartados individualmente e assim por diante.

+

Detalhes da Memória:

+
    +
  • Ao liberar automaticamente a memória, o Rust ajuda a garantir que haja menos vazamentos de memória.
  • +
  • Os recursos de memória só podem ser descartados uma vez.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ro.html b/beta_45_ro.html new file mode 100644 index 000000000..1df382e0e --- /dev/null +++ b/beta_45_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Drop-ul este o acțiune ierarhică

+

Atunci când se renunță la o structură (drop), mai întâi se renunță la structura efectivă, apoi la copiii acesteia individual și așa mai departe.

+

Detalii despre memorie:

+
    +
  • Prin eliberarea automată a memoriei, Rust ne asigură că vor fi mai puține pierderi de memorie.
  • +
  • Se poate renunța la resurse din memorie o singură dată.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ru.html b/beta_45_ru.html new file mode 100644 index 000000000..ba716d08b --- /dev/null +++ b/beta_45_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Иерархическое удаление (Dropping is Hierarchical)

+

Когда структура drop'ается, в начале происходит drop самой структуры, а потом её детей по очереди и так далее.

+

Детали для запоминания:

+
    +
  • Автоматически очищая память, Rust помогает уменьшить количество утечек памяти
  • +
  • Ресурсы должны быть drop'нуты только один раз!
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_th.html b/beta_45_th.html new file mode 100644 index 000000000..5cf7a03e1 --- /dev/null +++ b/beta_45_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การ drop ตามลำดับชั้น

+

เมื่อ struct ถูก drop ลง ตัว struct เองจะถูก drop ก่อน จากนั้นลูกๆของมันจึงจะ drop ตัวเอง และเป็นแบบนี้ไปเรื่อยๆ

+

รายละเอียดหน่วยความจำ:

+
    +
  • การที่ Rust ใช้วิธีคืนหน่วยความจำโดยอัตโนมัติ จะช่วยให้มั่นใจได้ว่าจะเกิดการรั่วน้อยลง
  • +
  • การ drop ทำได้เพียงครั้งเดียว
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_tr.html b/beta_45_tr.html new file mode 100644 index 000000000..6a67033d6 --- /dev/null +++ b/beta_45_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Düşürmek Hiyerarşiktir

+

Bir yapı düşürüldüğünde başta yapının kendisi, ardından alt yapısını oluşturan tüm parçaları peşi sıra düşürülür.

+

Bellek ayrıntıları:

+
    +
  • Rust, kaynakları otomatik olarak serbest bırakarak bellek sızıntılarının azaltılmasına yardımcı olur.
  • +
  • Bellek kaynakları yalnızca bir kez serbest bırakılabilir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_ua.html b/beta_45_ua.html new file mode 100644 index 000000000..08c14d9d6 --- /dev/null +++ b/beta_45_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Видалення відбувається по іерархії

+

Якщо ви видаляте якусь структуру, то спочатку видаляється сама структура, а потім дочірні елементи, потім дочірні дочірніх. Тобто зверху вниз.

+

Деталі роботи за памяттю:

+
    +
  • При автоматичному вивільненні пам'яті, Rust зробить все, щоб не відбулося витоків пам'яті.
  • +
  • Ресурс пам'яті можна звільнити лише 1 раз.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_vi.html b/beta_45_vi.html new file mode 100644 index 000000000..d89fc5933 --- /dev/null +++ b/beta_45_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Việc Drop là có thứ bậc

+

Khi một cấu trúc bị drop, bản thân cấu trúc đó sẽ bị drop trước tiên, sau đó các phần tử con của nó bị drop riêng lẻ, v.v.

+

Chi tiết bộ nhớ:

+
    +
  • Bằng cách tự động giải phóng bộ nhớ, Rust giúp đảm bảo rằng có ít bộ nhớ bị rò rỉ hơn.
  • +
  • Tài nguyên bộ nhớ chỉ có thể bị drop một lần.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_zh-cn.html b/beta_45_zh-cn.html new file mode 100644 index 000000000..bc46204ac --- /dev/null +++ b/beta_45_zh-cn.html @@ -0,0 +1,52 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

释放是分级进行的

+

删除一个结构体时,结构体本身会先被释放,紧接着才分别释放相应的子结构体并以此类推。

+

内存细节:

+
    +
  • Rust 通过自动释放内存来帮助确保减少内存泄漏。
  • +
  • 每个内存资源仅会被释放一次。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_45_zh-tw.html b/beta_45_zh-tw.html new file mode 100644 index 000000000..bfea75a54 --- /dev/null +++ b/beta_45_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

徹下是有階級的

+

當一備結構被徹下時,該結構本身會先被徹下,再來是它的子結構逐一被徹下。

+

記憶體細節:

+
    +
  • 當自動釋放記憶體時,Rust 會幫你確保有更少的記憶體洩漏 (memory leaks)
  • +
  • 記憶體資源只能被徹下一次
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ar.html b/beta_46_ar.html new file mode 100644 index 000000000..647bf045e --- /dev/null +++ b/beta_46_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

نقل الملكية (Moving Ownership)

+

عندما يتم تمرير مالك (owner) كوسيطة (argument) إلى دالة (function)، يتم نقل الملكية (ownership) إلى معلمة (parameter) الدالة.

+

بعد النقل (move) لن يكون من الممكن استخدام المتغير الموجود في الدالة الأصلية.

+

تفاصيل الذاكرة:

+
    +
  • عند النقل (move) فإن ذاكرة المكدس (stack memory) الخاصة بقيمة المالكين (owners) تنسخ الى ذاكرة مكدس معلمة (parameter stack memory) الخاصة باستدعاء الدالة.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_de.html b/beta_46_de.html new file mode 100644 index 000000000..e6bafd09a --- /dev/null +++ b/beta_46_de.html @@ -0,0 +1,52 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eigentumsübertragung

+

Wenn ein Eigentümer als Argument an eine Funktion übergeben wird, wird der Eigentümer dorthin verschoben der Funktionsparameter. +Nach einer Verschiebung kann die Variable in der ursprünglichen Funktion nicht mehr vorhanden sein gebraucht.

+

Speicherdetails:

+
    +
  • Während einer Verschiebung wird der Stapelspeicher des Eigentümerwerts in den kopiert Parameterstapelspeicher des Funktionsaufrufs.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_en.html b/beta_46_en.html new file mode 100644 index 000000000..04aaf6b1e --- /dev/null +++ b/beta_46_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Moving Ownership

+

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

+

After a move the variable in the original function can no longer be used.

+

Memory details:

+
    +
  • During a move the stack memory of the owners value is copied to the function call's parameter stack memory.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_es.html b/beta_46_es.html new file mode 100644 index 000000000..46f86298c --- /dev/null +++ b/beta_46_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cesión de Pertenencia

+

Cuando un recurso se pasa como argumento a una función, la pertenencia se cede al parámetro de la función.

+

Después de una cesión move, la variable de la función original ya no se puede utilizar.

+

Detalles de la memoria:

+
    +
  • Durante una cesión, la memoria de la pila del valor del recurso se copia en la memoria de la pila del parámetro de la llamada de la función.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_fa.html b/beta_46_fa.html new file mode 100644 index 000000000..036ae0a6d --- /dev/null +++ b/beta_46_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Moving Ownership

+

When an owner is passed as an argument to a function, ownership is moved to the function parameter.

+

After a move the variable in the original function can no longer be used.

+

Memory details:

+
    +
  • During a move the stack memory of the owners value is copied to the function call's parameter stack memory.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_fr.html b/beta_46_fr.html new file mode 100644 index 000000000..939b3c527 --- /dev/null +++ b/beta_46_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Transfert de propriétaire

+

Lorsqu'une ressource est passée en argument d'une fonction, le propriétaire de cette ressource devient le paramètre de la fonction.

+

Après cela, la variable passée en argument ne peut plus être utilisée, car la variable a été déplacée.

+

Détails de la mémoire:

+
    +
  • Lors du transfert de propriétaire, les éléments de la pile concernant la variable à déplacer sont copié sur la pile du paramètre de la fonction appelée.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_gr.html b/beta_46_gr.html new file mode 100644 index 000000000..785754aeb --- /dev/null +++ b/beta_46_gr.html @@ -0,0 +1,53 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μεταβίβαση κυριότητας

+

Όταν ένας ιδιοκτήτης δίδεται ως όρισμα σε μία συνάρτηση, η κυριότητα μεταφέρεται στην παράμετρο της συνάρτησης.

+

Μετά από μία μεταβίβαση η μεταβλητή στην αρχική συνάρτηση δεν μπορεί να χρησιμοποιηθεί πλέον.

+

Λεπτομέρειες:

+
    +
  • Κατά τη διάρκεια μίας μεταβίβασης η μνήμη στοίβας της ιδιοκτήτριας τιμής αντιγράφεται στη μνήμη στοίβας της κλήσης της συνάρτησης.
  • +
  • Οι απλοί τύποι δεδομένων (ακέραιοι, λογικές μεταβλητές κτλ) ορίζονται ως αντιγράψιμοι (Copy) και άρα δεν έχουν τέτοιου είδους περιορισμούς.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_hu.html b/beta_46_hu.html new file mode 100644 index 000000000..6236aa138 --- /dev/null +++ b/beta_46_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A birtoklás átadása

+

Mikor egy tulajdonost argumentumként átadunk egy függvénynek, a birtokolt erőforrás a függvény +paraméterének tulajdonává válik.

+

Egy move (mozgatás) után a hívó függvényben lévő változó már nem használható.

+

Hogy érinti ez a memóriát:

+
    +
  • Egy move közben a tulajdonos veremmemóriája a meghívott függvény paramétereinek +veremmmemóriájába másolódik.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ie.html b/beta_46_ie.html new file mode 100644 index 000000000..073ceb551 --- /dev/null +++ b/beta_46_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Transferentie de Proprietá

+

Quande li proprietario es passat quam un argument a un function, li proprietá move se al parametre del function. +Pos un move on ne plu posse usar li variabile in li function original. +Detallies pri memorie:

+
    +
  • Durant un move li memorie sur li stack del valore del proprietario es copiat al memorie stack del parametre +del vocator del function.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_it.html b/beta_46_it.html new file mode 100644 index 000000000..06e2298f0 --- /dev/null +++ b/beta_46_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trasferimento di proprietà

+

Quando un proprietario viene passato come argomento a una funzione, la proprietà viene spostata su il parametro della funzione.

+

Dopo uno spostamento la variabile nella funzione originale non può più essere usato.

+

Dettagli della memoria:

+
    +
  • Durante uno spostamento la memoria dello stack del valore del proprietario viene copiata nel file memoria dello stack dei parametri della chiamata di funzione.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ja.html b/beta_46_ja.html new file mode 100644 index 000000000..d733ddc15 --- /dev/null +++ b/beta_46_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

所有権の移動

+

所有者が関数の実引数として渡されると、所有権は関数の仮引数に移動 (move) します。

+

移動後は、元の関数内の変数は使用できなくなります。

+

メモリの詳細:

+
    +
  • 移動している間、所有者の値のスタックメモリは、関数呼び出しパラメータのスタックメモリにコピーされます。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ko.html b/beta_46_ko.html new file mode 100644 index 000000000..3c656caed --- /dev/null +++ b/beta_46_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

소유권 이전

+

owner가 함수의 인자로 전달되면, ownership은 그 함수의 매개변수로 이동(move)됩니다.

+

move 이후에는 원래 함수에 있던 변수는 더 이상 사용할 수 없습니다.

+

메모리 상세:

+
    +
  • move 중에는 owner 값의 stack 메모리가 함수 호출의 매개변수 stack 메모리로 복사됩니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_pl.html b/beta_46_pl.html new file mode 100644 index 000000000..e0b6deac0 --- /dev/null +++ b/beta_46_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Przenoszenie Własności

+

Kiedy zmienna zostaje wysłana jako argument do funkcji, własność zasobu tej zmiennej zostaje przeniesiona do odpowiedniego parametru w ramach tej funkcji.

+

Po takim przeniesieniu (ang. move) zmienna w jej oryginalnym wydaniu nie może zostać ponownie wykorzystana.

+

Kilka szczegółów:

+
    +
  • Podczas przenoszenia własności, wartość właściciela zasobu na stosie zostaje skopiowana na stos wywoływanej funkcji.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_pt-br.html b/beta_46_pt-br.html new file mode 100644 index 000000000..2c0c1f635 --- /dev/null +++ b/beta_46_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Movendo a Propriedade

+

Quando um proprietário é passado como argumento para uma função, a propriedade é movida para o parâmetro da função.

+

Após um movimento, a variável na função original não pode mais ser usada.

+

Detalhes da memória:

+
    +
  • Durante uma movimentação, a memória da pilha do proprietário do valor é copiada para a memória da pilha dos parâmetros da função chamada.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ro.html b/beta_46_ro.html new file mode 100644 index 000000000..1f794b319 --- /dev/null +++ b/beta_46_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cedarea proprietății

+

Proprietatea unei resurse din memorie (a cărei proprietar este o variabilă) poate fi cedată atunci când folosim variabila respectivă ca argument în interiorul unei funcții, noul proprietar fiind parametrul funcției.

+

După o cedare a proprietății, variabila din funcția originală nu mai poate fi folosită.

+

Detalii despre memorie:

+
    +
  • În timpul cedării proprietății, valoarea din memoria stivei proprietarului este copiată în memoria stivei parametrului funcției apelate.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ru.html b/beta_46_ru.html new file mode 100644 index 000000000..5fc839eb7 --- /dev/null +++ b/beta_46_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Передача владения (Moving Ownership)

+

Когда владелец ресурса используется в качестве аргумента функции, владение передаётся параметру этой функции.

+

После передачи (move) переменной из оригинальной функции, перемещённую переменную больше нельзя использовать в месте откуда мы её передали.

+

Детали для запоминания:

+
    +
  • Во время передачи (move) память владельца из стека копирует в стек параметров вызываемой функции.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_th.html b/beta_46_th.html new file mode 100644 index 000000000..1ec2978c5 --- /dev/null +++ b/beta_46_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การเปลี่ยนเจ้าของ

+

มื่อเจ้าของถูกส่งผ่านเป็นอาร์กิวเมนต์ไปยังฟังก์ชันความเป็นเจ้าของจะถูกย้ายไปที่พารามิเตอร์ฟังก์ชัน

+

หลังจาก ย้าย ไปแล้ว ตัวแปรในฟังก์ชันเดิมจะไม่สามารถใช้งานได้อีกต่อไป

+

รายละเอียดหน่วยความจำ:

+
    +
  • ในระหว่างการ ย้าย หน่วยความจำ stack ของค่าเจ้าของจะถูกคัดลอกไปยังหน่วยความจำ stack พารามิเตอร์ของการเรียกฟังก์ชัน
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_tr.html b/beta_46_tr.html new file mode 100644 index 000000000..7fed2f4ee --- /dev/null +++ b/beta_46_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mülkiyetin Taşınması

+

Kaynağın sahibi değişken, herhangi bir işleve argüman olarak iletildiğinde, o kaynağın mülkiyeti işlev parametresine taşınır. Bu taşınma işlemine move yani taşıma adı verilir. +Bir değişkenin sahip olduğu kaynak taşındıktan sonra, orijinal işlevdeki değişken artık kullanılamaz. +Bellek ayrıntıları:

+
    +
  • Mülkiyetin taşınması sırasında taşınanan değişkenle ilgili yığın öğeleri, çağrılan işlevin parametre yığınınına kopyalanır.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_ua.html b/beta_46_ua.html new file mode 100644 index 000000000..6806b46d3 --- /dev/null +++ b/beta_46_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Передача володіння

+

Коли власник передає дані як аргумент у функцію, то до аргументу також переходить право власності.

+

Після передачі володіння, минолого власника (тобто наприклад змінну) використовувати не можна, через те що володіння передано іншому власнику.

+

Деталі роботи за памяттю:

+
    +
  • Під час переміщення пам'ять власника копіюється до пам'яті параметра у пам'ять параметрів виклику функції.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_vi.html b/beta_46_vi.html new file mode 100644 index 000000000..5edffb86a --- /dev/null +++ b/beta_46_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuyển quyền sở hữu

+

Khi một chủ sở hữu được chuyển làm đối số cho một hàm, quyền sở hữu sẽ được chuyển đến tham số của hàm đó.

+

Sau khi move(di chuyển), biến trong hàm ban đầu không thể được sử dụng nữa.

+

Chi tiết bộ nhớ:

+
    +
  • Trong một move bộ nhớ ngăn xếp của giá trị của chủ sở hữu được sao chép vào bộ nhớ ngăn xếp tham số của lệnh gọi hàm.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_zh-cn.html b/beta_46_zh-cn.html new file mode 100644 index 000000000..bf965c91c --- /dev/null +++ b/beta_46_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

移交所有权

+

将所有者作为参数传递给函数时,其所有权将移交至该函数的参数。 在一次移动后,原函数中的变量将无法再被使用。

+

内存细节:

+
    +
  • 移动期间,所有者的堆栈值将会被复制到函数调用的参数堆栈中。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_46_zh-tw.html b/beta_46_zh-tw.html new file mode 100644 index 000000000..97eec5f00 --- /dev/null +++ b/beta_46_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權轉移

+

當一個擁有者被當作參數 (argument) 傳遞到函數時,擁有權則被轉移給該函式的參數 (parameter)。

+

在經過轉移後,在原本函數的變量就無法再被使用了。

+

記憶體細節:

+
    +
  • 轉移的過程中,堆疊記憶體的擁有者將被複製到函數參數的堆疊記憶體。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ar.html b/beta_47_ar.html new file mode 100644 index 000000000..fa97e5820 --- /dev/null +++ b/beta_47_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إرجاع الملكية (Returning Ownership)

+

يمكن أيضًا إرجاع الملكية من إحدى الدوال.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_de.html b/beta_47_de.html new file mode 100644 index 000000000..13224c4a5 --- /dev/null +++ b/beta_47_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rückgabe des Eigentums

+

Der Besitz kann auch von einer Funktion zurückgegeben werden.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_en.html b/beta_47_en.html new file mode 100644 index 000000000..5191c664d --- /dev/null +++ b/beta_47_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Ownership

+

Ownership can also be returned from a function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_es.html b/beta_47_es.html new file mode 100644 index 000000000..4fb9c8a76 --- /dev/null +++ b/beta_47_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Devolver la Pertenencia

+

La pertenencia también puede devolverse desde una función.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_fa.html b/beta_47_fa.html new file mode 100644 index 000000000..0bd5d55a0 --- /dev/null +++ b/beta_47_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning Ownership

+

Ownership can also be returned from a function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_fr.html b/beta_47_fr.html new file mode 100644 index 000000000..26596a5c7 --- /dev/null +++ b/beta_47_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retourner la propriété d'une ressource

+

Une fonction peut retourner la propriété d'une ressource.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_gr.html b/beta_47_gr.html new file mode 100644 index 000000000..bd4a5381f --- /dev/null +++ b/beta_47_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Επιστροφή κυριότητας

+

Η κυριότητα μπορεί να επιστραφεί και από κάποια συνάρτησης

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_hu.html b/beta_47_hu.html new file mode 100644 index 000000000..748664ebb --- /dev/null +++ b/beta_47_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A birtoklás visszaadása

+

Egy függvény vissza is adhatja az erőforrás birtoklását.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ie.html b/beta_47_ie.html new file mode 100644 index 000000000..38e1ae129 --- /dev/null +++ b/beta_47_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornar Proprietá

+

On posse anc retornar proprietá tra un function.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_it.html b/beta_47_it.html new file mode 100644 index 000000000..a553a127f --- /dev/null +++ b/beta_47_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Restituzione della proprietà

+

La proprietà può anche essere restituita da una funzione.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ja.html b/beta_47_ja.html new file mode 100644 index 000000000..69860fbc4 --- /dev/null +++ b/beta_47_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

所有権を返す

+

所有権を関数から返すこともできます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ko.html b/beta_47_ko.html new file mode 100644 index 000000000..f29f24122 --- /dev/null +++ b/beta_47_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

소유권 리턴하기

+

ownership은 함수에서도 리턴될 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_pl.html b/beta_47_pl.html new file mode 100644 index 000000000..93a645298 --- /dev/null +++ b/beta_47_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zwracanie Własności

+

Funkcja może też zwrócić własność nad danym zasobem.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_pt-br.html b/beta_47_pt-br.html new file mode 100644 index 000000000..c2e702f83 --- /dev/null +++ b/beta_47_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando a Propriedade

+

A propriedade também pode ser retornada de uma função.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ro.html b/beta_47_ro.html new file mode 100644 index 000000000..00d07cee2 --- /dev/null +++ b/beta_47_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea proprietății

+

Proprietatea poate fi de asemenea returnată de o funcție.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ru.html b/beta_47_ru.html new file mode 100644 index 000000000..7d2173f9a --- /dev/null +++ b/beta_47_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Возвращение владения (Returning Ownership)

+

Владение также может быть возвращено обратно из функции.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_th.html b/beta_47_th.html new file mode 100644 index 000000000..eeb36108b --- /dev/null +++ b/beta_47_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การกลับมาเป็นเจ้าของ

+

แน่นอนว่า ความเป็นเจ้าของก็สามารถได้คืนจากฟังก์ชันได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_tr.html b/beta_47_tr.html new file mode 100644 index 000000000..b65f435e7 --- /dev/null +++ b/beta_47_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mülkiyetin İade Edilmesi

+

Bir değişkenin mülkiyeti, bir işlevin dönüş değeri olarak kullanılabilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_ua.html b/beta_47_ua.html new file mode 100644 index 000000000..bb875be4b --- /dev/null +++ b/beta_47_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Повернення володіння

+

При поверненнф значення з функції, повертається також і володіння. +Тому володіння даними отримує той, хто прийме повернуті значення, +будь то змінна, чи параметр іншої функції.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_vi.html b/beta_47_vi.html new file mode 100644 index 000000000..2213c9028 --- /dev/null +++ b/beta_47_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hoàn trả quyền sở hữu

+

Quyền sở hữu cũng có thể được trả lại từ một hàm.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_zh-cn.html b/beta_47_zh-cn.html new file mode 100644 index 000000000..61185fecd --- /dev/null +++ b/beta_47_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

归还所有权

+

所有权也可以从一个函数中被归还。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_47_zh-tw.html b/beta_47_zh-tw.html new file mode 100644 index 000000000..a0d9167c2 --- /dev/null +++ b/beta_47_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

擁有權歸還

+

擁有權可以從一個函式被歸還。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_ar.html b/beta_48_ar.html new file mode 100644 index 000000000..836bc3c46 --- /dev/null +++ b/beta_48_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إستعارة الملكية عن طريق المراجع (Borrowing Ownership with References)

+

تتيح لنا المراجع (References) استعارة الوصول إلى أحد الموارد باستخدام العامل &.

+

يتم أيضًا إسقاط المراجع (References) مثل الموارد الأخرى.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_de.html b/beta_48_de.html new file mode 100644 index 000000000..492d77a5e --- /dev/null +++ b/beta_48_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eigentumsleihe mit Referenzen

+

Referenzen ermöglichen uns den Zugriff auf eine Ressource mit dem Operator '&'.

+

Referenzen werden ebenso gelöscht wie andere Ressourcen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_en.html b/beta_48_en.html new file mode 100644 index 000000000..0b80706b9 --- /dev/null +++ b/beta_48_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Borrowing Ownership with References

+

References allow us borrow access to a resource with the & operator.

+

References are also dropped like other resources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_es.html b/beta_48_es.html new file mode 100644 index 000000000..2a075465c --- /dev/null +++ b/beta_48_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Préstamo de Pertenencias con Referencias

+

Las referencias nos permiten pedir prestado el acceso a un recurso con el operador &.

+

Al igual que otros recursos, las referencias también se liberan (drop).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_fa.html b/beta_48_fa.html new file mode 100644 index 000000000..7423c4af2 --- /dev/null +++ b/beta_48_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Borrowing Ownership with References

+

References allow us borrow access to a resource with the & operator.

+

References are also dropped like other resources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_fr.html b/beta_48_fr.html new file mode 100644 index 000000000..153d18d02 --- /dev/null +++ b/beta_48_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

S'approprier une ressource avec des références.

+

Les références nous permettent d'emprunter l'accès à une ressource grâce à l'opérateur &.

+

Les références sont également jetées (déconstruites et désallouées) comme les autres ressources.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_gr.html b/beta_48_gr.html new file mode 100644 index 000000000..a474388ca --- /dev/null +++ b/beta_48_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Δανεισμός κυριότητας μέσω αναφορών

+

Οι αναφορές μας επιτρέπουν να δανειστούμε πρόσβαση σε κάποιον πόρο μέσω του τελεστή &. Οι αναφορές απορρίπτονται όπως και κάθε άλλος πόρος.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_hu.html b/beta_48_hu.html new file mode 100644 index 000000000..a360105a6 --- /dev/null +++ b/beta_48_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kölcsönkérés referenciák használatával

+

A referenciák használata lehetővé teszi számunkra, hogy "kölcsönkérjünk" egy erőforrást a & +operátor segítségével.

+

Ezek a referenciák ugyanúgy drop-olhatók, mint bármilyen más erőforrás is.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_ie.html b/beta_48_ie.html new file mode 100644 index 000000000..94578bf05 --- /dev/null +++ b/beta_48_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pruntar Proprietá con Referenties

+

Con referenties noi posse prunta accesse a un ressurse con li operator &.

+

Referenties cade in Rust just quam omni altri ressurses.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_it.html b/beta_48_it.html new file mode 100644 index 000000000..c082f158a --- /dev/null +++ b/beta_48_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Proprietà in prestito con referenze

+

I riferimenti ci consentono di prendere in prestito l'accesso a una risorsa con l'operatore "&".

+

Anche i riferimenti vengono eliminati come le altre risorse.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_ja.html b/beta_48_ja.html new file mode 100644 index 000000000..4863c0327 --- /dev/null +++ b/beta_48_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照による所有権の借用

+

参照は、& 演算子を使ってリソースへのアクセスを借用できるようにしてくれます。

+

参照も他のリソースと同様にドロップされます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_ko.html b/beta_48_ko.html new file mode 100644 index 000000000..c33c3870d --- /dev/null +++ b/beta_48_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조로 소유권 대여하기

+

& 연산자를 통해 참조로 리소스에 대한 접근권한을 대여할 수 있습니다.

+

참조도 다른 리소스와 마찬가지로 drop 됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_pl.html b/beta_48_pl.html new file mode 100644 index 000000000..663988729 --- /dev/null +++ b/beta_48_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pożyczanie Zasobu Przy Pomocy Referencji

+

Referencje pozwalają nam pożyczyć dostęp do zasobu, a dokładniej do odczytu +danego zasobu. Żeby stworzyć referencję wystarczy użyć operatora &.

+

Referencje obowiązują te same zasady wypuszczania z pamięci co inne zasoby.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_pt-br.html b/beta_48_pt-br.html new file mode 100644 index 000000000..7ef55c94c --- /dev/null +++ b/beta_48_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Emprestando Propriedade com Referências

+

As referências nos permitem emprestar o acesso a um recurso com o operador &.

+

As referências também são descartadas do mesmo jeito que os outros recursos.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_ro.html b/beta_48_ro.html new file mode 100644 index 000000000..b0c650698 --- /dev/null +++ b/beta_48_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Împrumutul proprietății prin referințe

+

Referințele ne permit să împrumutăm accesul la o resursă din memorie prin operatorul &.

+

Asemănător altor resurse, se poate renunța (drop) și la referințe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_ru.html b/beta_48_ru.html new file mode 100644 index 000000000..204fe23cb --- /dev/null +++ b/beta_48_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Заимствование во владение с помощью ссылок

+

Ссылки позволяют нам заимствовать доступ к ресурсу с помощью оператора &.

+

Ссылки drop'аются (удаляются) точно так же как и остальные ресурсы на основании области видимости.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_th.html b/beta_48_th.html new file mode 100644 index 000000000..352009c72 --- /dev/null +++ b/beta_48_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การยืมความเป็นเจ้าของด้วยวิธีอ้างอิง

+

การอ้างอิงถึงช่วยให้เรายืมการเข้าถึงรีซอร์สได้ด้วยการใช้ตัวดำเนินการ &

+

การอ้างอิงก็สามารถ drop ได้เหมือนกัน

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_tr.html b/beta_48_tr.html new file mode 100644 index 000000000..ad595dffa --- /dev/null +++ b/beta_48_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referanslar Yardımıyla Mülkiyeti Ödünç Almak

+

Referanslar bir kaynağın mülkiyetini & işleci yardımıyla ödünç almamızı sağlar.

+

Tıpkı diğer kaynaklar gibi referanslar da sonlandırılarak serbest bırakılırlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_ua.html b/beta_48_ua.html new file mode 100644 index 000000000..77d0b73d9 --- /dev/null +++ b/beta_48_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Отримання володіння через посилання

+

Володіння також можна передати за допомогою посилання, для цього треба перед змінною +поставити оператор &.

+

Посилання видаляються з пам'яті так само як і будь-які інші ресурси даних.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_vi.html b/beta_48_vi.html new file mode 100644 index 000000000..d964d6249 --- /dev/null +++ b/beta_48_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mượn quyền sở hữu với Tham chiếu

+

Tham chiếu cho phép chúng tôi mượn quyền truy cập vào tài nguyên với toán tử &.

+

Tham chiếu cũng bị loại bỏ giống như các tài nguyên khác.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_zh-cn.html b/beta_48_zh-cn.html new file mode 100644 index 000000000..a3f953495 --- /dev/null +++ b/beta_48_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

使用引用借用所有权

+

引用允许我们通过 & 操作符来借用对一个资源的访问权限。 +引用也会如同其他资源一样被释放。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_48_zh-tw.html b/beta_48_zh-tw.html new file mode 100644 index 000000000..4c4dab469 --- /dev/null +++ b/beta_48_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從參考 (references) 借擁有權

+

參考允許我們透過 & 運算子向一個資源借進入權。

+

參考與其他資源一樣會被徹下。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ar.html b/beta_49_ar.html new file mode 100644 index 000000000..abd88bd80 --- /dev/null +++ b/beta_49_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إستعارة ملكية قابلة للتغيير عن طريق المراجع (Borrowing Mutable Ownership with References)

+

يمكننا أيضًا استعارة الوصول إلى أحد الموارد وتكون قابلة لإحداث تغيير باستخدام العامل &mut.

+

لا يمكن نقل مالك (owner) المورد أو تعديله أثناء استعارته بشكل قابل للتغيير (mutably borrowed).

+

تفاصيل الذاكرة:

+
    +
  • في رست (Rust) طريقتين لتغيير (mutate) قيمة مملوكة (owned value) لأنه يقدم إحتمالية حدوث سباق بيانات (data race).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_de.html b/beta_49_de.html new file mode 100644 index 000000000..5e0d4e9d7 --- /dev/null +++ b/beta_49_de.html @@ -0,0 +1,52 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Veränderliches Eigentum mit Referenzen ausleihen

+

Mit dem Operator „&mut“ können wir auch veränderlichen Zugriff auf eine Ressource ausleihen.

+

Ein Ressourceneigentümer kann nicht verschoben oder geändert werden, während er veränderlich ausgeliehen ist.

+

Speicherdetail:

+
    +
  • Rust verhindert, dass es zwei Möglichkeiten gibt, einen eigenen Wert zu ändern führt die Möglichkeit eines Datenwettlaufs ein.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_en.html b/beta_49_en.html new file mode 100644 index 000000000..268ed1104 --- /dev/null +++ b/beta_49_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Borrowing Mutable Ownership with References

+

We can also borrow mutable access to a resource with the &mut operator.

+

A resource owner cannot be moved or modified while mutably borrowed.

+

Memory detail:

+
    +
  • Rust prevents having two ways to mutate an owned value because it introduces the possibility of a data race.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_es.html b/beta_49_es.html new file mode 100644 index 000000000..ae943669c --- /dev/null +++ b/beta_49_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Préstamo de Pertenencias Mutables con Referencias

+

Podemos tomar prestado el acceso mutable a un recurso con el operador &mut.

+

El propietario de dicho recurso no se puede mover o modificar mientras se encuentra prestado.

+

Detalles de la memoria:

+
    +
  • Rust impide tener dos formas de mutar un valor de propiedad porque introduce la posibilidad de una condición de carrera.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_fa.html b/beta_49_fa.html new file mode 100644 index 000000000..5b14510e9 --- /dev/null +++ b/beta_49_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Borrowing Mutable Ownership with References

+

We can also borrow mutable access to a resource with the &mut operator.

+

A resource owner cannot be moved or modified while mutably borrowed.

+

Memory detail:

+
    +
  • Rust prevents having two ways to mutate an owned value because it introduces the possibility of a data race.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_fr.html b/beta_49_fr.html new file mode 100644 index 000000000..f97e5e7f2 --- /dev/null +++ b/beta_49_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

S'approprier une ressource mutable avec des références

+

On peut créer une référence mutable qui permet d'emprunter l'accès à une ressource mutable (celles-ci sont +créées avec le mot-clé let) en utilisant l'opérateur &mut.

+

Le propriétaire d'une ressource ne peut pas changer lorsque la ressource +est empruntée avec une référence mutable.

+

Détails de la mémoire:

+
    +
  • Rust empêche d'avoir deux moyens de modifier une valeur car cela introduirait +des problèmes concurrentiels d'accès aux données.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_gr.html b/beta_49_gr.html new file mode 100644 index 000000000..70f57b044 --- /dev/null +++ b/beta_49_gr.html @@ -0,0 +1,52 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Μεταβίβαση επικαρπίας κυριότητας («μεταβλητός δανεισμός») μέσω αναφορών

+

Μπορούμε επίσης να ζητήσουμε μεταβλητή πρόσβαση σε κάποιον πόρο μέσω του τελεστή &mut.

+

Μία ιδιοκτήτρια πόρου δεν μπορεί ούτε να μετακινηθεί ούτε να μεταβληθεί ενώ είναι μεταβλητά δανεισμένη.

+

Λεπτομέρειες:

+
    +
  • Η Rust αποτρέπει την ύπαρξη δύο τρόπων να μεταβληθεί μία τιμή που έχει ιδιοκτήτη, καθώς αυτό εισάγει την πιθανότητα αγώνων δεδομένων (data races)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_hu.html b/beta_49_hu.html new file mode 100644 index 000000000..53ca56b6c --- /dev/null +++ b/beta_49_hu.html @@ -0,0 +1,54 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Megváltoztatásra is jogosult birtoklás kölcsönkérése referenciák használatával

+

A &mut operátor használatával úgy is kölcsönkérhetjük az erőforrást, ami annak +megváltoztatását is megengedi.

+

Az ilyen kölcsönkérés során a tulajdonost nem mozgathatjuk máshova és meg se változtathatjuk.

+

Hogyan érinti ez a memóriát:

+
    +
  • A Rust nem engedi, hogy egyszerre többen is úgy birtokolják az adatot, hogy az +megváltoztatható, mivel ez lehetővé tenné az úgy nevezett data race-k létrejöttét.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ie.html b/beta_49_ie.html new file mode 100644 index 000000000..74c70af7c --- /dev/null +++ b/beta_49_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pruntation de Mutabil Proprietá con Referenties

+

Noi posse anc pruntar accesse mutabil a un ressurse con li operator &mut.

+

Un proprietario de un ressurse ne posse mover o modificar se durant que it es pruntat mutabilmen.

+

Detallies pri memorie:

+
    +
  • Rust preveni li duplic mutabil pruntation de un valore pro que con to on have li possibilitá de data-concurrentie.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_it.html b/beta_49_it.html new file mode 100644 index 000000000..9593defb3 --- /dev/null +++ b/beta_49_it.html @@ -0,0 +1,52 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prestito di proprietà mutevole con referenze

+

Possiamo anche prendere in prestito l'accesso mutabile a una risorsa con l'operatore &mut.

+

Un proprietario di una risorsa non può essere spostato o modificato mentre è preso in prestito in modo mutabile.

+

Dettagli della memoria:

+
    +
  • Rust impedisce di avere due modi per modificare un valore posseduto perché introduce la possibilità di una gara di dati.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ja.html b/beta_49_ja.html new file mode 100644 index 000000000..695bed6e9 --- /dev/null +++ b/beta_49_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照による所有権の可変な借用

+

&mut 演算子を使えば、リソースへの変更可能なアクセスを借用することもできます。

+

リソースの所有者は、可変な借用の間は移動や変更ができません。

+

メモリの詳細:

+
    +
  • データ競合を防止するため、Rust では同時に 2 つの変数から値を変更することはできません。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ko.html b/beta_49_ko.html new file mode 100644 index 000000000..faed0b8c0 --- /dev/null +++ b/beta_49_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조로 변경 가능한 소유권 대여하기

+

&mut 연산자를 통해 리소스에 대한 mutable한 접근 권한도 대여할 수 있습니다.

+

리소스의 owner는 mutable하게 대여된 상태에서는 move 되거나 변경될 수 없습니다.

+

메모리 상세:

+
    +
  • Rust는 데이터 경합의 가능성 때문에 소유된 값을 변경하는 방법이 여러 개 생기는 것을 방지합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_pl.html b/beta_49_pl.html new file mode 100644 index 000000000..b3910b008 --- /dev/null +++ b/beta_49_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pożyczanie z Możliwością Dokonania Zmian Przy Pomocy Referencji Mutowalnych

+

Możemy też pożyczyć dany zasób w sposób który pozwoli nam na dokonywanie zmian, czyli tzw. mutowanie. Dokonamy tego używając operatora '&mut'.

+

Właściciel zasobu nie może być przenoszony ani modyfikowany podczas istnienia mutowalnej referencji.

+

Kilka szczegółów:

+
    +
  • Rust zabrania więcej niż jednego sposobu na modyfikację posiadanej wartości, ponieważ doprowadziłoby to do możliwości zaistnienia wyścigu do danych.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_pt-br.html b/beta_49_pt-br.html new file mode 100644 index 000000000..f85638a73 --- /dev/null +++ b/beta_49_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Emprestando Propriedades Mutáveis Usando Referências

+

Também podemos emprestar um acesso mutável a um recurso usando o operador & mut.

+

O proprietário de um recurso não pode ser movido ou modificado durante um empréstimo mutável.

+

Detalhes de memória:

+
    +
  • O Rust evita ter duas maneiras de alterar um valor que tenha um dono, pois introduz a possibilidade de uma corrida de dados.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ro.html b/beta_49_ro.html new file mode 100644 index 000000000..91b5c9a09 --- /dev/null +++ b/beta_49_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Împrumutul proprietății mutabile prin referințe

+

Putem de asemenea să împrumutăm accesul mutabil la o resursă cu ajutorul operatorului &mut.

+

Proprietarul unei resurse nu poate fi mutat sau modificat în timp ce este împrumutat accesul mutabil.

+

Detalii despre memorie:

+
    +
  • Rust previne existența a două căi de a modifica o valoare deținută, deoarece acest lucru ar introduce posibilitatea intercalării datelor (data race).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ru.html b/beta_49_ru.html new file mode 100644 index 000000000..6238f56a1 --- /dev/null +++ b/beta_49_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Заимствование во владение с правами на изменение (Mutable Borrow)

+

Мы также можем заимствовать доступ к ресурсу с правами на его изменение с помощью оператора &mut.

+

Оригинальный владелец ресурса не может быть еще раз передан (move'нут) или одновременно изменён (для&mut ссылки), все время пока он заимствован mut'абельно другой функцией/переменной.

+

Детали для запоминания:

+
    +
  • Rust предотвращает возможность изменения одного ресурса в двух и более местах, так как это может привести к гонкам данных (data race).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_th.html b/beta_49_th.html new file mode 100644 index 000000000..503bd1ba0 --- /dev/null +++ b/beta_49_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การยืมความเป็นเจ้าของ กับของที่เปลี่ยนแปลงค่าได้ ด้วยวิธีอ้างอิง

+

นอกจากนี้เรายังสามารถยืมการเข้าถึงรีซอร์สที่เปลี่ยนค่าได้ด้วยตัวดำเนินการ &mut

+

โดยที่ตัวเจ้าของเองจะไม่สามารถย้ายหรือแก้ไขอะไรได้ในขณะที่ถูกยืม

+

รายละเอียดหน่วยความจำ:

+
    +
  • Rust ป้องกันการเข้าถึงจากทั้งสองทางให้กับ คนที่จะเปลี่ยนค่า กับตัวเจ้าของเอง เพราะว่า ไม่เช่นนั้นอาจทำให้เกิดปัญหาแย่งข้อมูลกัน(data race)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_tr.html b/beta_49_tr.html new file mode 100644 index 000000000..a51753730 --- /dev/null +++ b/beta_49_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referanslar Yardımıyla Değişebilen Mülkiyeti Ödünç Almak

+

Yine bir referans olanağı olan &mut işleci yardımıyla, değişebilen bir kaynağın mülkiyetini ödünç alabiliriz. +Bir kaynak değişebilen referansla ödünç alındığında, kaynağı sahibi, borç alınan mülkiyet iade edilene dek taşınamaz ve değiştirilemez. +Bellek ayrıntıları:

+
    +
  • Rust, bir kaynağın birden fazla yerden değiştirilme ihtimalini, veri yarışlarına sebep olabileceğinden dolayı engeller.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_ua.html b/beta_49_ua.html new file mode 100644 index 000000000..5501e738a --- /dev/null +++ b/beta_49_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Отримання володіння через мутабельні посилання

+

Якщо ви хочете отримати володіння у мутабельному посиланні, то замість оператора & треба писати &mut.

+

Ресурс не можна змінювати чи переміщувати, поки на нього вказує мутабельне посилання.

+

Деталі роботи за памяттю:

+
    +
  • Rust не дає можливості мати декілька мутабельних посилань, задля забезпечення цілістності даних.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_vi.html b/beta_49_vi.html new file mode 100644 index 000000000..5df8833da --- /dev/null +++ b/beta_49_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mượn quyền sở hữu có thể thay đổi(Mutable Ownership) với tham chiếu

+

Chúng ta cũng có thể mượn quyền truy cập có thể thay đổi vào tài nguyên bằng toán tử &mut.

+

Không thể di chuyển hoặc sửa đổi chủ sở hữu tài nguyên trong khi mượn lẫn nhau.

+

Chi tiết bộ nhớ:

+
    +
  • Rust ngăn cản việc có hai cách để thay đổi một giá trị đã bị sở hữu bởi vì nó dẫn đến khả năng xảy ra một cuộc chạy đua dữ liệu.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_zh-cn.html b/beta_49_zh-cn.html new file mode 100644 index 000000000..0487c8a12 --- /dev/null +++ b/beta_49_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

通过引用借用可变所有权

+

我们也可以使用 &mut 操作符来借用对一个资源的可变访问权限。 在发生了可变借用后,一个资源的所有者便不可以再次被借用或者修改。

+

内存细节:

+
    +
  • Rust 之所以要避免同时存在两种可以改变所拥有变量值的方式,是因为此举可能会导致潜在的数据争用(data race)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_49_zh-tw.html b/beta_49_zh-tw.html new file mode 100644 index 000000000..64d63a870 --- /dev/null +++ b/beta_49_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從參考借可變 (mutable) 的擁有權

+

我們可以透過 &mut 運算子向一個資源借可變的進入權。

+

在可變動的借出時,一個資源擁有者無法被轉移或修改。

+

記憶體細節:

+
    +
  • Rust 避免有兩種方式可以修改一個被他人擁有的數值,因為這使得資料競爭 (data race) 有機會發生。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_ar.html b/beta_50_ar.html new file mode 100644 index 000000000..23091e99d --- /dev/null +++ b/beta_50_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

إلغاء المرجعية (Dereferencing)

+

عندما تستخدم المراجع المنشئ بـ &mut، فإنه يمكنك تعيين قيمة المالك باستخدام العامل *.

+

يمكنك أيضًا الحصول على نسخة من القيمة المملوكة (owned value) باستخدام العامل * (وهذا إذا كان من الممكن نسخ القيمة - سنناقش الأنواع القابلة للنسخ في الفصول اللاحقة).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_de.html b/beta_50_de.html new file mode 100644 index 000000000..870a22271 --- /dev/null +++ b/beta_50_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferenzierung

+

Mithilfe von '&mut'-Referenzen können Sie den Wert des Eigentümers mithilfe des '*'' festlegen Operator.

+

Sie können auch eine Kopie eines eigenen Werts erhalten, indem Sie den Operator '*'' verwenden (wenn der Wert können kopiert werden (wir werden kopierbare Typen in späteren Kapiteln besprechen).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_en.html b/beta_50_en.html new file mode 100644 index 000000000..9c9c9ba09 --- /dev/null +++ b/beta_50_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of an owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_es.html b/beta_50_es.html new file mode 100644 index 000000000..0d9120b5e --- /dev/null +++ b/beta_50_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Indirección

+

Usando la referencia &mut, puedes establecer el valor del propietario usando el operador *. +También puedes obtener una copia del valor de pertenencia utilizando el operador * (Si el valor se puede copiar. Trataremos estos tipos más adelante).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_fa.html b/beta_50_fa.html new file mode 100644 index 000000000..dfccabc37 --- /dev/null +++ b/beta_50_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_fr.html b/beta_50_fr.html new file mode 100644 index 000000000..caeedf670 --- /dev/null +++ b/beta_50_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Déréférencement

+

Avec une référence, on peut modifier la valeur avec l'opérateur de déréférencement *.

+

Tu peux également obtenir une copie de la valeur en utilisant également l'opérateur de déférencement * +(à condition que la valeur puisse être copiée, nous discuterons des types qui peuvent l'être +dans un prochain chapitre).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_gr.html b/beta_50_gr.html new file mode 100644 index 000000000..7f7605d7e --- /dev/null +++ b/beta_50_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Using &mut references, you can set the owner's value using the * operator.

+

You can also get a copy of an owned value using the * operator (if the value can be copied - we will discuss copyable types in later chapters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_hu.html b/beta_50_hu.html new file mode 100644 index 000000000..060e46d0c --- /dev/null +++ b/beta_50_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferenciálás

+

Ha van egy &mut referenciád, a * operátor segítségével férhetsz hozzá a hivatkozott adathoz.

+

Emellett a * operátor képes még egy birtokolt érték lemásolására is (már ha az adott érték +másolható - de erről egy későbbi fejezetben lesz szó).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_ie.html b/beta_50_ie.html new file mode 100644 index 000000000..9e4dd250a --- /dev/null +++ b/beta_50_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferentiar

+

Con referenties, on posse etablisser li valore del proprietario con li operator *.

+

On posse anc obtener un copie del propri valore con li operator * +(si li valore es copiabil. Noi va parlar pri tipes copiabil in li capitules a sequer.)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_it.html b/beta_50_it.html new file mode 100644 index 000000000..12d9bfeba --- /dev/null +++ b/beta_50_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferenziazione

+

Utilizzando i riferimenti &mut, puoi impostare il valore del proprietario utilizzando * operatore.

+

Puoi anche ottenere una copia di un valore posseduto utilizzando l'operatore "*" (se value possono essere copiati - discuteremo dei tipi copiabili nei capitoli successivi).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_ja.html b/beta_50_ja.html new file mode 100644 index 000000000..c2978c701 --- /dev/null +++ b/beta_50_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照外し

+

&mut による参照では、* 演算子によって参照を外す (dereference) ことで、所有者の値を設定できます。

+

* 演算子によって所有者の値のコピーを取得することもできます(コピー可能な型については後の章で説明します)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_ko.html b/beta_50_ko.html new file mode 100644 index 000000000..a7e29a56e --- /dev/null +++ b/beta_50_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

역참조

+

&mut 참조를 이용해 * 연산자로 owner의 값을 설정할 수 있습니다.

+

* 연산자로 own된 값의 복사본도 가져올 수 있습니다 (복사 가능한 경우만 - 복사 가능한 자료형에 대해서는 이후에 설명하겠습니다).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_pl.html b/beta_50_pl.html new file mode 100644 index 000000000..00dca897a --- /dev/null +++ b/beta_50_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencja

+

Używając referencji '&mut' mamy możliwość modyfikacji danych na którą ona wskazuje. Możemy to zrobić używając operatora gwiazdki *.

+

W określonych warunkach użycie gwiazdki może też oznaczać skopiowanie zasobu. O typach kopiowalnych powiemy sobie więcej w dalszych rozdziałach.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_pt-br.html b/beta_50_pt-br.html new file mode 100644 index 000000000..d6cf02729 --- /dev/null +++ b/beta_50_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desreferenciando

+

Usando referências você pode definir o valor do proprietário usando o operador *.

+

Você também pode obter uma cópia do valor de propriedade usando o operador * (Se o valor puder ser copiado. Discutiremos tipos copiáveis nos próximos capítulos).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_ro.html b/beta_50_ro.html new file mode 100644 index 000000000..ba59e781d --- /dev/null +++ b/beta_50_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferențiere

+

Folosind referințe prin &mut, putem seta valoarea proprietarului inițial prin folosirea operatorului *.

+

Puteți de asemenea copia valoarea unei resurse deținute folosind operatorul * (dacă valoarea poate fi copiată - vom discuta despre tipuri care se pot copia în capitole viitoare).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_ru.html b/beta_50_ru.html new file mode 100644 index 000000000..a0c4f5689 --- /dev/null +++ b/beta_50_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Разыменование (Dereferencing)

+

Используя &mut ссылки, Вы можете установить новое значение переменной, используя * оператор разыменования ссылки.

+

Вы также можете получить копию значения, используя * (только если значение может быть скопировано. Мы поговорим о копируемых типах в следующих главах).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_th.html b/beta_50_th.html new file mode 100644 index 000000000..ac9f0f0ce --- /dev/null +++ b/beta_50_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การอ้างอิง

+

การอ้างอิงด้วยการใช้ &mut เช่นนี้ เวลาที่คุณจะกำหนดค่าใหม่ให้มัน ให้ใช้ตัวดำเนินการ *

+

ในการกลับกัน คุณก็สามารถสำเนาค่านั้นออกมาด้วยตัวดำเนินกาารเดียวกัน * (ซึ่งขึ้นอยู่ด้วยว่าค่านั้นยอมให้ทำสำเนาได้หรือไม่ - ไว้เราจะไปคุยกันเรื่อง type ที่ยอมให้สำเนาได้อีกทีในภายหลัง)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_tr.html b/beta_50_tr.html new file mode 100644 index 000000000..24c30197e --- /dev/null +++ b/beta_50_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referansı Kaldırmak

+

Bir kaynağa &mut ile değişebilir başvuru yapıldığında, o kaynağa ait değer * işleci kullanılarak yeniden ayarlanabilir. +Akıllı işaretçiler bölümünde daha yakından inceleyeceğimiz bu işleç yardımıyla, kopyalama özelliği uygulayan bir türün kopyasına da erişmemiz mümkündür.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_ua.html b/beta_50_ua.html new file mode 100644 index 000000000..0d3513ef7 --- /dev/null +++ b/beta_50_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розіменування посилань

+

Використовуючи &mut ви можете встановити значення ресурсу на котрий посилаються за допомогою оператора*. +Щоб зкопіювати значення з ресурсу через посилання також можна використати оператор * (про копіювання данних різних типів ми поговоримо пізніше).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_vi.html b/beta_50_vi.html new file mode 100644 index 000000000..a93b4cff8 --- /dev/null +++ b/beta_50_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Sử dụng tham chiếu &mut, bạn có thể đặt giá trị của chủ sở hữu bằng toán tử *.

+

Bạn cũng có thể nhận được một bản sao của một giá trị được sở hữu bằng cách sử dụng toán tử * (nếu giá trị có thể được sao chép - chúng ta sẽ thảo luận về các loại có thể sao chép trong các chương sau).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_zh-cn.html b/beta_50_zh-cn.html new file mode 100644 index 000000000..224fb9ffe --- /dev/null +++ b/beta_50_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

解引用

+

使用 &mut 引用时, 你可以通过 * 操作符来修改其指向的值。 你也可以使用 * 操作符来对所拥有的值进行拷贝(前提是该值可以被拷贝——我们将会在后续章节中讨论可拷贝类型)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_50_zh-tw.html b/beta_50_zh-tw.html new file mode 100644 index 000000000..7318bb44f --- /dev/null +++ b/beta_50_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

解參考 (dereferencing)

+

使用 &mut 參考時,你可以透過 * 運算子來設定擁有者的數值。

+

你也可以透過 * 運算子得到一份複製的數值 (如果該數值是可以被複製的話,我們將會在後續章節探討型別的可複製性)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ar.html b/beta_51_ar.html new file mode 100644 index 000000000..7ae1921e5 --- /dev/null +++ b/beta_51_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تمرير البيانات المستعارة (Passing Around Borrowed Data)

+

من الأفضل تلخيص قواعد رست (Rust) فيما يتعلق بالمراجع في مايلي:

+
    +
  • رست (Rust) يسمح فقط بوجود مرجع واحد قابل للتغيير (mutable reference) أو عدة مراجع غير قابلة للتغيير (non-mutable references) ولكن ليس كلاهما.
  • +
  • يجب ألا يعيش المرجع (reference) لفترة أطول من مالكه (owner).
  • +
+

لا يمثل هذا مشكلة عند تمرير المراجع إلى الدوال.

+

تفاصيل الذاكرة:

+
    +
  • القاعدة الأولى للمراجع تمنع سباقات البيانات (data races). ما هو سباق البيانات؟ يحدث سباق البيانات عندما تكون البيانات لديها إحتمالية لوجودها خارج النطاق الغير متزامن (sync) ونتيجة وجود أيضا كاتب آخر على هذه البيانات في نفس الوقت. يحدث هذا غالبًا في البرمجة متعددة الخيوط (multi-threaded programming).
  • +
  • القاعدة الثانية للمراجع تمنع إساءة استخدام المراجع التي تشير إلى بيانات غير موجودة (تسمى المؤشرات المتدلية - dangling pointers - في لغة C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_de.html b/beta_51_de.html new file mode 100644 index 000000000..5d7ee978e --- /dev/null +++ b/beta_51_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Weitergabe geliehener Daten

+

Rusts Regeln für Referenzen lassen sich am besten wie folgt zusammenfassen:

+
    +
  • Rust erlaubt nur eine veränderbare Referenz oder mehrere nicht veränderliche Referenzen aber nicht beides.
  • +
  • Eine Referenz darf niemals länger leben als ihr Besitzer.
  • +
+

Dies stellt in der Regel kein Problem dar, wenn Verweise weitergegeben werden Funktionen.

+

Speicherdetails:

+
    +
  • Die erste Referenzregel verhindert Datenwettläufe. Was ist ein Datenwettlauf? A Beim Datenwettlauf kann es beim Lesen von Daten zu Abweichungen kommen aufgrund der gleichzeitigen Existenz eines Schreibers für die Daten. Das passiert häufig in der Multithread-Programmierung.
  • +
  • Die zweite Referenzregel verhindert den Missbrauch von Referenzen, die verweisen auf nicht vorhandene Daten (in C baumelnde Zeiger genannt).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_en.html b/beta_51_en.html new file mode 100644 index 000000000..ad8137005 --- /dev/null +++ b/beta_51_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_es.html b/beta_51_es.html new file mode 100644 index 000000000..038d470f7 --- /dev/null +++ b/beta_51_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mover los Datos Prestados

+

Las reglas de referencia de Rust se resumen de la siguiente manera:

+
    +
  • Rust solo permite que haya una referencia mutable o múltiples referencias no mutables, pero no ambas.
  • +
  • Una referencia nunca debe vivir más tiempo que su propietario.
  • +
+

Esto no suele ser un problema cuando se pasan referencias a funciones.

+

Detalles de la memoria:

+
    +
  • La primera regla de referencia impide las condiciones de carrera. ¿Qué es una condición de carrera (data race)? Esta se da cuando uno o más hilos acceden a una posición de memoria variable de manera concurrente en la programación multi-hilo y existe la posibilidad de estar fuera de sincronía debido a que al menos uno está escribiendo y otro no está sincronizado con los demás hilos.
  • +
  • La segunda regla de referencia previene el mal uso de referencias a datos inexistentes (llamados punteros colgantes en C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_fa.html b/beta_51_fa.html new file mode 100644 index 000000000..3b673fa7b --- /dev/null +++ b/beta_51_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_fr.html b/beta_51_fr.html new file mode 100644 index 000000000..0a5b66f8c --- /dev/null +++ b/beta_51_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Transfert de données empruntées

+

Les règles de Rust en ce qui concerne les références peuvent être résumées en:

+
    +
  • Rust n'autorise qu'une seule référence mutable (mot-clé &mut) ou plusieurs références immuables mais pas les deux.
  • +
  • Une référence ne doit pas vivre plus longtemps que son propriétaire.
  • +
+

Cela n'est pas un problème lorsque que la référence est passée en paramètre +d'une fonction puisque la référence n'exite que dans la portée de la fonction.

+

Détails de la mémoire:

+
    +
  • La première règle empêche les accès concurrentiels. On parle d'accès concurrentiels lorsque plusieurs acteurs +essayent d'accéder à une ressource en même temps. Par exemple j'essaie de lire une valeur mais quelqu'un d'autre +la modifie en même temps, résultat je ne sais pas si je lis la valeur avant ou après modification. Cela arrive +fréquemment dans les programme utilisant plusieurs fils d'exécution (en anglais threads).
  • +
  • La deuxième règle nous évite la mauvaise utilisation de références qui pourrait faire référence à une donnée +inexistante (les fameux dandling pointers du language C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_gr.html b/beta_51_gr.html new file mode 100644 index 000000000..707d2d836 --- /dev/null +++ b/beta_51_gr.html @@ -0,0 +1,57 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passing Around Borrowed Data

+

Rust's rules for references might best be summarized by:

+
    +
  • Rust only allows there to be one mutable reference or multiple non-mutable references but not both.
  • +
  • A reference must never live longer than its owner.
  • +
+

This doesn't tend to be a problem when passing around references to functions.

+

Memory details:

+
    +
  • The first rule of references prevents data races. What's a data race? A data race when reading from data has the possibility of being out of sync due to the existence of a writer to the data at the same time. This happens often in multi-threaded programming.
  • +
  • The second rule of references prevents the misuse of references that refer to non-existent data (called dangling pointers in C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_hu.html b/beta_51_hu.html new file mode 100644 index 000000000..7825c77e2 --- /dev/null +++ b/beta_51_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A kölcsönkért adatok ide-oda helyezése

+

A Rust referenciáinak szabályait talán így lehet a legjobban megfogalmazni:

+
    +
  • Egyszerre csak egy megváltoztatható referencia létezhet vagy több nem-megváltoztatható, de +sosem mindkettő.
  • +
  • A referenciák élettartama sose lehet hosszabb a tulajdonosnál. Ez általában nem okoz +problémát, ha a függvények egymásnak adogatják át a referenciákat.
  • +
+

Hogyan érinti ez a memóriát:

+
    +
  • Az első szabály a data race-k létrejöttét akadályozza meg. De mi is ez a data race +("adatverseny")? Egy data race akkor jön létre, amikor egy olyan adatot próbálunk kiolvasni, +ami időközben felülírásra került, mivel egyszerre próbálunk belőle olvasni és bele írni is. Ez +gyakran előfordul több szálon futó programokban.

  • +
  • A második szabály pedig a már megsemmisült adatokra mutató referenciákat akadályozza meg. A C +nyelvben járatosak ezeket dangling pointer-nek (lógó mutatónak) nevezik.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ie.html b/beta_51_ie.html new file mode 100644 index 000000000..5b256266c --- /dev/null +++ b/beta_51_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Transferer Pruntat Data

+

On posse curtmen resumar li regules de Rust pri referenties quam seque:

+
    +
  • Un mutabil referentie es permisset, o multiplic non-mutabil referenties, ma ne ambi
  • +
  • Un referentie ne mey viver plu long quam su proprietario.
  • +
+

To por li pluparte ne es un problema quande on transfere referenties a functiones.

+

Detallies pri memorie:

+
    +
  • Li unesim regul de referenties preveni data-concurrentie. Quo es to? Data-concurrentie eveni quande on lee data con li possibilitá de un scritor al sam data in li sam moment. To eveni sovente in multi-filat programmation.
  • +
  • Li duesim regul de referenties preveni li misusa de referenties referent a data quel ne existe ( nominat dangling pointers in C ).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_it.html b/beta_51_it.html new file mode 100644 index 000000000..bbc005342 --- /dev/null +++ b/beta_51_it.html @@ -0,0 +1,61 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passaggio di dati presi in prestito

+

Le regole di Rust per i riferimenti potrebbero essere meglio riassunte da:

+
    +
  • Rust permette che ci sia solo un riferimento mutabile o multiplo +riferimenti non mutabili ma non entrambi.

  • +
  • Un riferimento non deve mai vivere più a lungo del suo proprietario.

    +

    Questo non tende a essere un problema quando si passano riferimenti a +funzioni.

    +

    Dettagli della memoria:

  • +
  • La prima regola di riferimento previene le gare di dati. Cos'è una corsa ai dati? UN +la corsa dei dati durante la lettura dei dati può non essere sincronizzata +a causa dell'esistenza di un autore dei dati allo stesso tempo. Questo succede +spesso nella programmazione multi-thread.

  • +
  • La seconda regola dei riferimenti impedisce l'uso improprio dei riferimenti che rimandano +a dati inesistenti (chiamati puntatori pendenti in C).

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ja.html b/beta_51_ja.html new file mode 100644 index 000000000..c61458343 --- /dev/null +++ b/beta_51_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

借用したデータの受け渡し

+

Rust の参照に関するルールは、以下のようにまとめられます。

+
    +
  • Rust では、可変な参照が 1 つだけか、不変な参照が複数かのどちらかが許可されます。両方を同時には使用できません
  • +
  • 参照は所有者よりも長く存在してはなりません。
  • +
+

これは関数へ参照を渡す際に問題となることはありません。

+

メモリの詳細:

+
    +
  • 参照の最初のルールはデータ競合を防ぎます。データ競合とは? +データを読み込む際、データへの書き込みが同時に行われると、同期が取れなくなる可能性があります。 +これはマルチスレッドプログラミングでよく起こります。
  • +
  • 参照の 2 番目のルールは、存在しないデータへの参照(C 言語ではダングリングポインタと呼ばれる)による誤動作を防ぐためのものです。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ko.html b/beta_51_ko.html new file mode 100644 index 000000000..bf593ff5d --- /dev/null +++ b/beta_51_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

대여한 데이터 전달하기

+

Rust의 참조 규칙은 다음과 같이 요약될 수 있습니다:

+
    +
  • Rust는 단 하나의 mutable한 참조 또는 여러개의 non-mutable 참조만 허용하며, 둘 다는 안됨.
  • +
  • 참조는 그 owner보다 더 오래 살 수 없음.
  • +
+

이는 보통 함수로 참조를 넘겨줄 때에는 문제가 되지 않습니다.

+

메모리 상세:

+
    +
  • 첫 번째 참조 규칙은 데이터 경합을 방지합니다. 데이터 경합이 뭐냐구요? 데이터 경합은 데이터를 읽는 행위가 동시에 데이터를 쓰는 이의 존재로 인해 동기화가 어긋날 가능성이 있을 때 일어납니다. 이는 멀티쓰레드 프로그래밍에서 종종 발생합니다.
  • +
  • 두 번째 참조 규칙은 존재하지 않는 데이터를 바라보는 잘못된 참조를 사용하는 것을 방지합니다 (이를 C에서는 허상 포인터(dangling pointers)라고 부릅니다).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_pl.html b/beta_51_pl.html new file mode 100644 index 000000000..4212f1142 --- /dev/null +++ b/beta_51_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Przekazywanie Pożyczonych Danych

+

Zasady Rusta dotyczące refencji i pożyczania mogą być ujęte w następujących dwóch punktach:

+
    +
  • Dla każdego zasobu, Rust pozwala na istnienie tylko jednej mutowalnej referencji albo dowolnej ilości nie-mutowalnych referencji. Istnienie dwóch typów referencji do jednego zasobu jest niedozwolone.
  • +
  • Referencja nie może żyć dłużej niż właściciel, czyli zasób na który wskazuje.
  • +
+

Te zasady nie powinny nam sprawiać zbyt wielu problemów w przypadku przekazywania referencji do wywoływanych funkcji.

+

Kilka szczegółów:

+
    +
  • Pierwsza z wymienionych wyżej zasad gwarantuje nam brak wyścigów do danych. Czym jest wyścig do danych? Jest to sytuacja w której odczyt danych z zasobu może być niezgodny z aktualnym stanem zmiennej, ze względu na istniejący jednocześnie wątek który wypisuje do tego samego zasobu w tym samym czasie. Ten problem jest częsty w programowaniu wielowątkowym.
  • +
  • Druga z wymienionych wyżej zasad eliminuje problem z referencjami które wskazują na nie istniejące dane (w nomenklaturze języka C nazywamy to zjawisko dangling pointer).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_pt-br.html b/beta_51_pt-br.html new file mode 100644 index 000000000..08a14a613 --- /dev/null +++ b/beta_51_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Passando Dados Emprestados

+

As regras do Rust para referências podem ser melhor resumidas assim:

+
    +
  • O Rust permite que haja apenas uma referência mutável ou múltiplas referências não-mutáveis, mas não ambas.
  • +
  • Uma referência nunca deve viver mais do que o seu proprietário.
  • +
+

Isso não costuma ser um problema ao passar referências a funções.

+

Detalhes da memória:

+
    +
  • A primeira regra das referências previnem as corridas de dados. O que é uma corrida de dados? Uma corrida de dados acontece quando, na leitura dos dados, temos a possibilidade de conflito com a existência de outras escritas de dados ao mesmo tempo. Isso acontece frequentemente na programação multithread.
  • +
  • A segunda regra de referências evita o uso indevido de referências que se referem a dados inexistentes (chamados ponteiros pendentes em C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ro.html b/beta_51_ro.html new file mode 100644 index 000000000..345ff0d87 --- /dev/null +++ b/beta_51_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trimiterea datelor împrumutate

+

Regulile din Rust pentru referințe pot fi rezumate foarte bine de:

+
    +
  • Rust permite existența unei singure referințe mutabile sau a mai multor referințe imutabile, dar nu a celor două în același timp.
  • +
  • O referință nu trebuie niciodată să aibă o durată de viață mai lungă decât proprietarul ei.
  • +
+

Aceste lucruri nu tind să fie o problemă atunci când trimitem referințe unor funcții.

+

Detalii despre memorie:

+
    +
  • Prima regula pentru referințe previne intercalarea datelor (data races). Ce este o intercalare a datelor? Există posibilitatea ca atunci când citim niște date, acestea să fie desincronizate din cauza existenței unei entități (funcție sau alt mecanism) care modifică acele date în același timp. Acest lucru se întâmplă des în programarea pe mai multe thread-uri (multi-threaded).
  • +
  • A doua regulă pentru referințe previne folosirea greșită a referințelor legate de resurse care nu mai există în memorie (numite și dangling pointers în C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ru.html b/beta_51_ru.html new file mode 100644 index 000000000..9d4e2a15b --- /dev/null +++ b/beta_51_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Передача заимствованных данных

+

Правила Rust'a для ссылок можно просуммировать так:

+
    +
  • В Rust позволяет иметь только одну изменяемую ссылку на объект или несколько неизменяемых, но не оба типа ссылок одновременно.

  • +
  • Ссылка не должна жить дольше, чем существует её владелец, который может быть удален по выходу из области видимости.

  • +
+

Обычно это не вызывает проблем при передаче ссылок в функции.

+

Детали для запоминания:

+
    +
  • Первое правило ссылок предотвращает гонки данных. Что такое гонки данных? Это когда чтение переменной +одновременно происходит с записью в эту переменную, из-за чего возможно Undefined Behaviour (UB). +Такое часто происходит в многопоточных программах.

  • +
  • Второе правило для ссылок предотвращает некорректное их использование, когда она ссылается на несуществующие данные +( висячие указатели, dangling pointers ).

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_th.html b/beta_51_th.html new file mode 100644 index 000000000..269e43812 --- /dev/null +++ b/beta_51_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การส่งผ่านข้อมูลที่ยืมมา

+

กฎที่ใช้กับการอ้างอิงใน Rust อาจจะสรุปออกมาได้ดังนี้:

+
    +
  • Rust ยอมให้มีการอ้างอิงถึงของที่เปลี่ยนแปลงค่าได้แค่ตัวเดียว หรือ หลายตัวก็ได้แต่ต้องเป็นแบบเปลี่ยนแปลงค่าไม่ได้ แต่ทำทั้งสองอย่างพร้อมกันไม่ได้
  • +
  • ตัวที่อ้างอิงถึงตัวอื่น จะต้องไม่มี lifetimes นานกว่าเจ้าของ
  • +
+

สิ่งนี้ไม่มีแนวโน้มที่จะเป็นปัญหาเมื่อส่งต่อการอ้างอิงถึงฟังก์ชัน

+

รายละเอียดหน่วยความจำ:

+
    +
  • กฎข้อแรกของ การอ้างอิง ใช้ป้องกันการแย่งข้อมูลกัน แล้วการแย่งข้อมูลกันคืออะไร? การแย่งข้อมูลกัน เกิดขึ้น ในขณะมีการอ่านข้อมูล ข้อมูลที่ได้อาจจะไม่ตรงกับปัจจุบัน หากมีการเขียนข้อมูลเกิดขึ้นในเวลาเดียวกัน สิ่งนี้เกิดขึ้นบ่อยครั้งในการเขียนโปรแกรมแบบมัลติเธรด
  • +
  • กฎข้อที่สอง ใช้ป้องกันการเกิดตัวอ้างอิง ที่อ้างถึงของที่ไม่มีอยู่จริง (เรียกว่า dangling pointers ในภาษา C)
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_tr.html b/beta_51_tr.html new file mode 100644 index 000000000..1676601fb --- /dev/null +++ b/beta_51_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ödünç Alınan Verinin Taşınması

+

Rust'un referans kuralları aşağıdaki şekilde özetlenebilir:

+
    +
  • Rust sadece; ya bir tane &mut değişebilir referansın, ya da dilediğiniz sayıda değişebilir olmayan referansın bulunmasına izin verir. +Aynı anda bunların her ikisinin de olmasına izin verilmez!

  • +
  • Bir referans hiç bir zaman kaynağın asıl sahibinden daha uzun süre yaşatılamaz!

  • +
+

Bir işleve parametre olarak aktarılan referanslar, yalnızca işlev kapsamı içinde var olacaklarından, herhangi bir sorun teşkil etmezler.

+

Bellek ayrıntıları:

+
    +
  • İlk kuralımız, "Eş zamanlı programlarda sıklıkla karşılaştığımız, bir veriye aynı anda erişmeye çalışan birden fazla iş parçasının yarattığı kaotik durum" +olarak özetleyebileceğimiz veri yarışlarını engeller.

  • +
  • İkinci kuralımız ise, "C programlama dilinde sarkan işaretçiler olarak bilinen", var olmayan verilere atıfta bulunan referansların +kötüye kullanılmalarının önüne geçer.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_ua.html b/beta_51_ua.html new file mode 100644 index 000000000..435ec7d82 --- /dev/null +++ b/beta_51_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Передача запозичених даних

+

Тепер можно коротко підсумувати правила використання посилань в Rust:

+
    +
  • Rust дозволяє створювати лише одне мутабельне посилання на ресурс або декілька не мутабельних посилань, і ні в якому разі неможна мати і ті і ті одночасно.
  • +
  • Посилання не повинні жити довше ніж ресурс на котрий вони посилаються.
  • +
+

Зазвичай це до речі не є проблемою, якщо посилання веде на функцію.

+

Деталі роботи за памяттю:

+
    +
  • Перше правило запобігає так званому "перегону даних", або якщо більш по людьськи - розсінхрону, таке відбувається якщо по двум різним посиланням одразу починають записувати данні. Зустрічається таке переважно в асінхронному програмувані.
  • +
  • Друге правило запобігає утворенню так званих "посилань-зомбі", котрі звертаються до вже не існуючих даних.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_vi.html b/beta_51_vi.html new file mode 100644 index 000000000..ccb37f744 --- /dev/null +++ b/beta_51_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Truyền xung quanh dữ liệu đã mượn

+

Các quy tắc tham chiếu của Rust tốt nhất có thể được tóm tắt bằng:

+
    +
  • Rust chỉ cho phép có một tham chiếu có thể thay đổi hoặc nhiều tham chiếu không thể thay đổi chứ không phải cả hai.
  • +
  • Tham chiếu không bao giờ được tồn tại lâu hơn so với chủ sở hữu của nó.
  • +
+

Điều này không có xu hướng là một vấn đề khi chuyển xung quanh các tham chiếu đến các hàm.

+

Chi tiết bộ nhớ:

+
    +
  • Quy tắc tham chiếu đầu tiên ngăn chặn các cuộc chạy đua dữ liệu(data race). Cuộc đua dữ liệu là gì? Một cuộc chạy đua dữ liệu khi đọc từ dữ liệu có khả năng không đồng bộ do sự tồn tại của người ghi vào dữ liệu cùng một lúc. Điều này xảy ra thường xuyên trong lập trình đa luồng.
  • +
  • Quy tắc thứ hai về tham chiếu ngăn chặn việc lạm dụng tham chiếu tham chiếu đến dữ liệu không tồn tại (được gọi là con trỏ treo-dangling pointer trong C).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_zh-cn.html b/beta_51_zh-cn.html new file mode 100644 index 000000000..c05e69860 --- /dev/null +++ b/beta_51_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

传递借用的数据

+

Rust 对于引用的规则也许最好用以下的方式总结:

+
    +
  • Rust 只允许同时存在一个可变引用或者多个不可变引用,不允许可变引用和不可变引用同时存在
  • +
  • 一个引用永远也不会比它的所有者存活得更久。
  • +
+

而在函数间进行引用的传递时,以上这些通常都不会成为问题。

+

内存细节:

+
    +
  • 上面的第一条规则避免了数据争用的出现。什么是数据争用?在对数据进行读取的时候,数据争用可能会因为同时存在对数据的写入而产生不同步。这一点往往会出现在多线程编程中。
  • +
  • 而第二条引用规则则避免了通过引用而错误的访问到不存在的数据(在 C 语言中被称之为悬垂指针)。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_51_zh-tw.html b/beta_51_zh-tw.html new file mode 100644 index 000000000..c2cc69d1c --- /dev/null +++ b/beta_51_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

傳遞借來的資料 (borrowed data)

+

對 Rust 的參考規則最好的總結可能是: Rust's rules for references might best be summarized by:

+
    +
  • Rust 只允許一個可變的參考或者多個不可變的參考,但不會同時發生
  • +
  • 一個參考絕對不能活得比它的擁有者還長
  • +
+

這並不會造成當你想傳遞參考到一個函式的困擾。

+

記憶體細節:

+
    +
  • 參考的第一條規則是為了避免資料競爭 (data race)。什麼是資料競爭?當你在讀取資料時,有機會因為其他寫入而拿到舊資料即是資料競爭。 +這常常發生在多執行緒 (multi-threaded) 的程式裡。
  • +
  • 第二條規則是為了避免誤用了參考到不存在的資料的參考 (在 C 裡稱作懸空指標 (dangling pointers))。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ar.html b/beta_52_ar.html new file mode 100644 index 000000000..580531b00 --- /dev/null +++ b/beta_52_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مراجع المراجع (References Of References)

+

يمكنك تطبيق المراجع على أجزاء من مراجع أخرى.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_de.html b/beta_52_de.html new file mode 100644 index 000000000..df01f34a9 --- /dev/null +++ b/beta_52_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenzen von Referenzen

+

Referenzen können sogar auf Referenzteile verwendet werden.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_en.html b/beta_52_en.html new file mode 100644 index 000000000..1664dab91 --- /dev/null +++ b/beta_52_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_es.html b/beta_52_es.html new file mode 100644 index 000000000..29b328f4d --- /dev/null +++ b/beta_52_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencias de las Referencias

+

Podemos hacer uso de las referencias incluso en otras referencias.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_fa.html b/beta_52_fa.html new file mode 100644 index 000000000..f7d582d8f --- /dev/null +++ b/beta_52_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_fr.html b/beta_52_fr.html new file mode 100644 index 000000000..640c40935 --- /dev/null +++ b/beta_52_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Réferences de réferences

+

Une référence peut faire référence à une autre.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_gr.html b/beta_52_gr.html new file mode 100644 index 000000000..3befee79c --- /dev/null +++ b/beta_52_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Of References

+

References can even be used on pieces of references.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_hu.html b/beta_52_hu.html new file mode 100644 index 000000000..505987536 --- /dev/null +++ b/beta_52_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciák referenciái

+

Egy referencia egy másik referencia egy részére is mutathat.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ie.html b/beta_52_ie.html new file mode 100644 index 000000000..3397b506e --- /dev/null +++ b/beta_52_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenties de Referenties

+

On mem posse usar referenties sur referenties.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_it.html b/beta_52_it.html new file mode 100644 index 000000000..bb2b78dd8 --- /dev/null +++ b/beta_52_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Riferimenti di riferimenti

+

I riferimenti possono essere utilizzati anche su pezzi di riferimento.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ja.html b/beta_52_ja.html new file mode 100644 index 000000000..1f1386e29 --- /dev/null +++ b/beta_52_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照の参照

+

参照の一部を参照することができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ko.html b/beta_52_ko.html new file mode 100644 index 000000000..08db490b5 --- /dev/null +++ b/beta_52_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조의 참조

+

참조는 심지어 참조에도 사용될 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_pl.html b/beta_52_pl.html new file mode 100644 index 000000000..2fc4eafc9 --- /dev/null +++ b/beta_52_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referencje Do Referencji

+

Jeśli chcemy możemy stworzyć referencję do części zasobu na który wskazuje +inna referencja.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_pt-br.html b/beta_52_pt-br.html new file mode 100644 index 000000000..27083df19 --- /dev/null +++ b/beta_52_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referências de Referências

+

Referências podem ser usadas até mesmo em pedaços de referências.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ro.html b/beta_52_ro.html new file mode 100644 index 000000000..16abae71d --- /dev/null +++ b/beta_52_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referințele unor referințe

+

Referințele pot fi folosite și pentru a referi alte referințe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ru.html b/beta_52_ru.html new file mode 100644 index 000000000..99eafa73c --- /dev/null +++ b/beta_52_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ссылки на ссылки (References Of References)

+

Ссылки можно также получить из ссылок.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_th.html b/beta_52_th.html new file mode 100644 index 000000000..d3f81b46a --- /dev/null +++ b/beta_52_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การอ้างอิงถึงตัวอ้างอิงตัวอื่น

+

การอ้างอิงสามารถใช้อ้างถึงการอ้างอิงอื่นได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_tr.html b/beta_52_tr.html new file mode 100644 index 000000000..8683ade1b --- /dev/null +++ b/beta_52_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referansların Referansları

+

Bir referans, başka referans parçaları üzerinde bile kullanılabilir. +Başka bir ifadeyle, bir referans diğer bir referansa atıfta bulunabilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_ua.html b/beta_52_ua.html new file mode 100644 index 000000000..a1f6ee067 --- /dev/null +++ b/beta_52_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Посилання на посилання

+

Посилання можна використовувати навіть у фрагментах посилань.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_vi.html b/beta_52_vi.html new file mode 100644 index 000000000..58e1e142f --- /dev/null +++ b/beta_52_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu của tham chiếu

+

Tham chiếu thậm chí còn có thể được sử dụng trên các phần của tham chiếu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_zh-cn.html b/beta_52_zh-cn.html new file mode 100644 index 000000000..d149e62ec --- /dev/null +++ b/beta_52_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

引用的引用

+

引用甚至也可以用在其他引用上。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_52_zh-tw.html b/beta_52_zh-tw.html new file mode 100644 index 000000000..727d527cb --- /dev/null +++ b/beta_52_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

參考的參考 (references of references)

+

參考甚至可以被用在其他參考上。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_ar.html b/beta_53_ar.html new file mode 100644 index 000000000..a91a829b2 --- /dev/null +++ b/beta_53_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

العمر الصريح (Explicit Lifetimes)

+

على الرغم من أن رست (Rust) لا يظهر العمر دائمًا في التعليمات البرمجية، إلا أن المترجم (compiler) يفهم عمر (lifetime) كل متغير ويحاول التحقق من أن المرجع (reference) لن يكون موجود بعد مالكه (owner).

+

يمكن أن تكون الدوالة صريحة العمر من خلال تعليم معلمات توقيع الدالة (function signature) برموز تساعد في تحديد أين من المعلمات (parameters) وقيم الإرجاع (return values) التي تشترك في نفس العمر (lifetime).

+

محددات العمر (Lifetime specifiers) دائما تبدأ بالرمز ' (مثال: a' أو b' أو c' … )

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_de.html b/beta_53_de.html new file mode 100644 index 000000000..6ac7b31a1 --- /dev/null +++ b/beta_53_de.html @@ -0,0 +1,51 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explizite Lebenszeiten

+

Auch wenn Rust es nicht immer im Code anzeigt, versteht der Compiler es die Lebensdauer jeder Variablen und wird versucht +um zu bestätigen, dass eine Referenz nie länger existiert als ihr Besitzer. +Funktionen können explizit sein, indem die Funktionssignatur mit parametrisiert wird Symbole, die bei der Identifizierung helfen +welche Parameter und Rückgabewerte dieselbe Lebensdauer haben.

+

Lebensdauerspezifizierer beginnen immer mit einem ' (z. B. 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_en.html b/beta_53_en.html new file mode 100644 index 000000000..e0bad1582 --- /dev/null +++ b/beta_53_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_es.html b/beta_53_es.html new file mode 100644 index 000000000..5a7a87282 --- /dev/null +++ b/beta_53_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tiempo de Vida Explícito

+

Aunque Rust no siempre lo muestra en el código, el compilador entiende la vida útil de cada variable e intentará validar que una referencia nunca existe más allá de su propietario.

+

Las funciones pueden ser explícitas mediante la parametrización de la firma de la función con símbolos que ayuden a identificar qué parámetros y valores de retorno comparten el mismo tiempo de vida.

+

Para especificar la vida útil siempre comenzaremos con un ' (por ejemplo, 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_fa.html b/beta_53_fa.html new file mode 100644 index 000000000..14bec587d --- /dev/null +++ b/beta_53_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_fr.html b/beta_53_fr.html new file mode 100644 index 000000000..e583acf34 --- /dev/null +++ b/beta_53_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durée de vie explicite

+

Même si cela ne se voit pas, le compilateur porte une attention particulière à la durée de vie +de chaque variable et veillera à ce qu'une référence n'existe pas au delà de +l'existance de son propriétaire.

+

Avec Rust, on peut explicitement spécifier la durée de vie des paramètres d'une fonction. +Ceci permet à un ou plusieurs paramètres d'une fonction de partager la durée de vie de valeurs de retour.

+

Les spécifieurs de durée de vie commencent toujours par le symbole ' (e.g. 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_gr.html b/beta_53_gr.html new file mode 100644 index 000000000..13bd92190 --- /dev/null +++ b/beta_53_gr.html @@ -0,0 +1,51 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explicit Lifetimes

+

Even though Rust doesn't always show it in code, the compiler understands the lifetime of every variable and will attempt +to validate that a reference never exists longer than its owner.

+

Functions can be explicit by parameterizing the function signature with symbols that help identify +which parameters and return values share the same lifetime.

+

Lifetime specifiers always start with a ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_hu.html b/beta_53_hu.html new file mode 100644 index 000000000..36dd8f2f5 --- /dev/null +++ b/beta_53_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Explicit élettartamok

+

Bár a Rust nem mindig mutatja magában a kódban, a fordító figyelembe veszi minden egyes változó +élettartamát és megpróbálja biztosítani, hogy semelyik referencia se létezik tovább, mint a +tulajdonosa.

+

A függvények explicit módon is kijelölhetik a paramétereik élettartamát olyan szimbólumokkal, +amik megmutatják a fordítónak melyik értékek osztoznak azonos élettartalmakon.

+

Az élettartamot kifejező szimbólumok mindig '-fal kezdődnek. Például 'a, 'b, 'valami, +stb.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_ie.html b/beta_53_ie.html new file mode 100644 index 000000000..d53437879 --- /dev/null +++ b/beta_53_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vive-témpores Explicit

+

Benque Rust ne sempre monstra it nos in li code, li compilator save li vive-témpor de chascun variabil e va provar validar +que referenties ne vive plu long quam lor proprietarios.

+

Un function posse esser explicit per parametrisar li function-signatura con simboles queles auxilia identificar +quel parametres e quel retorn-valores partiprende li sam vive-témpor.

+

Specificatores de vive-témpores sempre comensa con un ' (e.g. 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_it.html b/beta_53_it.html new file mode 100644 index 000000000..2aec01993 --- /dev/null +++ b/beta_53_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vite di vita esplicite

+

Anche se Rust non sempre lo mostra nel codice, il compilatore lo capisce la durata di ogni variabile e tenterà +per convalidare che un riferimento non esiste mai più a lungo del suo proprietario.

+

Le funzioni possono essere esplicite parametrizzando la firma della funzione con simboli che aiutano a identificare +quali parametri e valori restituiti condividono la stessa durata.

+

Gli identificatori di durata iniziano sempre con ' (ad esempio 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_ja.html b/beta_53_ja.html new file mode 100644 index 000000000..859eb4479 --- /dev/null +++ b/beta_53_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

明示的なライフタイム

+

Rust では、常にコードに表れるわけではありませんが、コンパイラはすべての変数のライフタイムを管理しており、参照がその所有者よりも長く存在しないことを検証しようとします。

+

関数は、どの引数と戻り値とがライフタイムを共有しているかを、識別のための指定子で明示的に指定できます。

+

ライフタイム指定子は常に ' で始まります(例: 'a, 'b, 'c)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_ko.html b/beta_53_ko.html new file mode 100644 index 000000000..16af19eb2 --- /dev/null +++ b/beta_53_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

명시적인 생명주기

+

Rust 코드에서 항상 볼 수 있는 것은 아니지만, 컴파일러는 모든 변수의 lifetime을 이해하며 +참조가 절대로 그 owner보다 더 오래 존재하지 못하도록 검증을 시도합니다.

+

함수에서는 어떤 매개변수와 리턴 값이 서로 같은 lifetime을 공유하는지 식별할 수 있도록 +심볼로 표시하여 명시적으로 생명주기를 지정할 수 있습니다.

+

lifetime 지정자는 언제나 '로 시작합니다. (예: 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_pl.html b/beta_53_pl.html new file mode 100644 index 000000000..058df3c58 --- /dev/null +++ b/beta_53_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Wyraźne Określanie Czasów Życia Zmiennych

+

Nawet jeśli nie widać tego w większości kodu, kompilator Rusta nadal jest w stanie, działając "za kulisami", dociec optymalnego czasu życia zmiennych. Jest on też w stanie dokonać na tej podstawie walidacji referencji tak, aby żadna z nich nie istniała dłużej niż jej "właściciel", czyli oryginalny zasób na który wskazuje.

+

Aby zapewnić nam większą kontrolę nad domysłami kompilatora, Rust daje nam możliwość modyfikacji definicji funkcji w sposób, który wyraźnie oznaczy czas życia konkretnych zmiennych oraz podobieństwa w czasie życia pomiędzy różnymi zmiennymi. Dotyczy to zarówno parametrów funkcji oraz zmiennej przez nią zwracanej.

+

Oznaczenia czasu życia zmiennych używają operatora ' (np. 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_pt-br.html b/beta_53_pt-br.html new file mode 100644 index 000000000..8d9dec6ed --- /dev/null +++ b/beta_53_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tempo de Vida Explícito

+

Mesmo que o Rust nem sempre nos mostre no código, o compilador conhece o tempo de vida de cada variável e tentará validar uma referência que nunca deve existir por mais tempo que seu proprietário.

+

As funções podem ser explícitas parametrizando a assinatura da função com símbolos que ajudam a identificar quais parâmetros e valores de retorno compartilham a mesma tempo de vida.

+

Os especificadores de tempo de vida sempre começam com um ' (por exemplo 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_ro.html b/beta_53_ro.html new file mode 100644 index 000000000..8fd03f4ee --- /dev/null +++ b/beta_53_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durate de viață explicite

+

Cu toate că Rust nu arată acest lucru în cod, compilatorul înțelege duratele de viață a fiecărei variabile sau resurse și va încerca +să se asigure că nu există nicio referință cu durată de viață mai mare decât proprietarul ei.

+

Funcțiile pot fi explicite prin parametrizarea semnăturii cu simboluri care ajută la identificarea +parametrilor și valorilor de retur care au aceeași durată de viață.

+

Specificatorii duratelor de viață mereu încep cu ' (ex: 'a, 'b, 'c).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_ru.html b/beta_53_ru.html new file mode 100644 index 000000000..e2c6052c2 --- /dev/null +++ b/beta_53_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Явное указание времени жизни (Explicit Lifetimes)

+

Даже если в Rust коде не указаны времена жизни, компилятор знает время жизни +для каждой переменной и будет проверять, чтобы ссылка никогда не существовала бы дольше существования своего владельца.

+

Функции можно явно параметризовать в сигнатуре фунции символами, которые помогут идентифицировать, +какие параметры и возвращаемые значения имеют одинаковое время жизни.

+

Имена времён жизни всегда начинаются с ' (пример 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_th.html b/beta_53_th.html new file mode 100644 index 000000000..be435ae5d --- /dev/null +++ b/beta_53_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

lifetimes ที่ชัดเจน

+

ถึงแม้ว่า Rust จะไม่ได้ให้คุณเห็น lifetime ของตัวแปรในโค้ด แต่คอมไพเลอร์เข้าใจเรื่องนี้เป็นอย่างดี และตรวจสอบอยู่เสมอว่าจะไม่มีตัวอ้างอิงใดมี lifetime นานกว่าเจ้าของ

+

ฟังก์ชันมีวิธีการกำหนดค่าพารามิเตอร์ให้ชัดเจนด้วยสัญลักษณ์ว่า พารามิเตอร์และค่าที่ส่งคืนจะใช้ lifetime เดียวกัน

+

การระบุ lifetime ให้เริ่มด้วย ' (เช่น 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_tr.html b/beta_53_tr.html new file mode 100644 index 000000000..7f403cbea --- /dev/null +++ b/beta_53_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yaşam Sürelerini Açık Şekilde Belirtmek

+

Her ne kadar bu durum açıkça gösterilmiyor olsa da, derleyici her değişkenin yaşam süresine denetleyerek, bir referansın kaynağın asıl sahibinden hiçbir zaman daha fazla yaşatılmadığını doğrulamaya çalışır.

+

İşlev parametrelerinin yaşam sürelerini açıkça belirtebilirsiniz. Bu açık bildirim, işlev parametreleri ve dönüş değerlerinin, aynı yaşam sürelerini paylaşmalarına olanak sağlar.

+

Yaşam süresi belirteçleri daima ' ile başlar ve geleneksel olarak 'a şeklinde belirtilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_ua.html b/beta_53_ua.html new file mode 100644 index 000000000..523dd2b6a --- /dev/null +++ b/beta_53_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Явний час життя

+

Хоч компілятор вам цього не покаже, але він розуміє час життя кожної змінної. І саме це дає йому можливість аналізувати код, і сказати вам, чи буде посилання жити довше ніж сама змінна. +Але ви також можете самостійно сказати якому ресурсу скільки жити. Для цього існують спеціальні параметри. +Щоб виставити час життя, або якщо більш корректно - пріоритети , вам лише треба поставити символ ', а потім додати одну із латинських букв (наприклад 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_vi.html b/beta_53_vi.html new file mode 100644 index 000000000..dc0d4edb5 --- /dev/null +++ b/beta_53_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thời gian tồn tại minh bạch(Explicit Lifetimes)

+

Mặc dù Rust không phải lúc nào cũng hiển thị nó trong code, trình biên dịch hiểu thời gian tồn tại của mọi biến và sẽ cố gắng xác thực rằng một tham chiếu không bao giờ tồn tại lâu hơn chủ sở hữu của nó.

+

Các hàm có thể minh bạch bằng cách tham số hóa chữ ký hàm bằng các ký hiệu giúp xác định các tham số và giá trị trả về có cùng thời gian tồn tại.

+

Các từ chỉ định thời gian tồn tại luôn bắt đầu bằng dấu ' (ví dụ: 'a, 'b, 'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_zh-cn.html b/beta_53_zh-cn.html new file mode 100644 index 000000000..62b1e718b --- /dev/null +++ b/beta_53_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

显式生命周期

+

尽管 Rust 不总是在代码中将它展示出来,但编译器会理解每一个变量的生命周期并进行验证以确保一个引用不会有长于其所有者的存在时间。 同时,函数可以通过使用一些符号来参数化函数签名,以帮助界定哪些参数和返回值共享同一生命周期。 生命周期注解总是以 ' 开头,例如 'a'b 以及 'c

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_53_zh-tw.html b/beta_53_zh-tw.html new file mode 100644 index 000000000..078dd7029 --- /dev/null +++ b/beta_53_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

明確的生命週期

+

雖然 Rust 並不一定會把生命週期顯示在程式碼中,但編譯器會理解每個變量的生命週期,並試著驗證參考不會存在比它的擁有者還久。

+

函式可以透過參數化函式簽章幫助我們確認哪些參數及回傳值是共享相同的生命週期。

+

生命週期標示永遠都以 ' 開頭 (例如:'a'b'c)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_ar.html b/beta_54_ar.html new file mode 100644 index 000000000..4f8e1c42b --- /dev/null +++ b/beta_54_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

أعمار متعددة (Multiple Lifetimes)

+

تتيح لنا محددات العمر (Lifetime specifiers) أن نكون واضحين في بعض السيناريوهات التي لا يستطيع مترجم اللغة (compiler) حلها بنفسه وذلك عن طريق التمييز بين جميع أعمار (lifetimes) مكونات توقيع الدالة (function signature component).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_de.html b/beta_54_de.html new file mode 100644 index 000000000..3a9394fb6 --- /dev/null +++ b/beta_54_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mehrere Leben

+

Lebensdauerspezifizierer ermöglichen es uns, bestimmte Szenarien explizit zu definieren Der Compiler kann sich nicht selbst auflösen +durch Unterscheidung aller Lebensdauern einer Funktionssignaturkomponente.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_en.html b/beta_54_en.html new file mode 100644 index 000000000..aedabdafa --- /dev/null +++ b/beta_54_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_es.html b/beta_54_es.html new file mode 100644 index 000000000..e514937ef --- /dev/null +++ b/beta_54_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tiempos de Vida Múltiples

+

Los especificadores de vida útil nos permiten ser explícitos con ciertos escenarios que el compilador no puede resolver por sí mismo, distinguiendo todas las vidas útiles de los componentes de la firma de la función.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_fa.html b/beta_54_fa.html new file mode 100644 index 000000000..0f7b68283 --- /dev/null +++ b/beta_54_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_fr.html b/beta_54_fr.html new file mode 100644 index 000000000..822bc1614 --- /dev/null +++ b/beta_54_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durée de vie multiple

+

Les spécifieurs de durée de vie permettent d'être explicite dans certains cas où le compilateur +ne puisse pas résoudre lui-même les durées de vie des éléments de la signature d'une fonction.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_gr.html b/beta_54_gr.html new file mode 100644 index 000000000..23435e938 --- /dev/null +++ b/beta_54_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiple Lifetimes

+

Lifetime specifiers allow us to be explicit with certain scenarios the compiler cannot resolve itself +by distinguishing all of a function signature component's lifetimes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_hu.html b/beta_54_hu.html new file mode 100644 index 000000000..dd0db5504 --- /dev/null +++ b/beta_54_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Több élettartam

+

Bizonyos esetekben a fordító nem képes magától kikövetkeztetni minden élettartamot. Ezekben az +esetekben lehetőségünk van egy függvény paramétereihez különböző élettartamokat rendelni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_ie.html b/beta_54_ie.html new file mode 100644 index 000000000..d3fe37c48 --- /dev/null +++ b/beta_54_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multiplic Vive-témpores

+

Con specificatores de vive-témpores noi posse esser explicit quande li compilator ne posse self comprender les. +Tande noi fa distint li vive-témpores de omni componentes de un function-signatura.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_it.html b/beta_54_it.html new file mode 100644 index 000000000..bedf1c264 --- /dev/null +++ b/beta_54_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vite multiple

+

Gli specificatori di durata ci consentono di essere espliciti con determinati scenari il compilatore non può risolversi da solo +distinguendo tutte le durate di un componente della firma di funzione.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_ja.html b/beta_54_ja.html new file mode 100644 index 000000000..1aec2d096 --- /dev/null +++ b/beta_54_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

複数のライフタイム

+

ライフタイム指定子は、関数の引数や戻り値のライフタイムをコンパイラが解決できない場合に、明示的に指定することができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_ko.html b/beta_54_ko.html new file mode 100644 index 000000000..cc82f6d69 --- /dev/null +++ b/beta_54_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러 개의 생명주기

+

lifetime 지정자는 컴파일러가 스스로 함수 매개변수들의 lifetime을 판별하지 못하는 경우, +이를 명시적으로 지정할 수 있게 도와줍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_pl.html b/beta_54_pl.html new file mode 100644 index 000000000..66373ed4e --- /dev/null +++ b/beta_54_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Więcej Niż Jeden Znacznik Czasu Życia Zmiennych

+

Znaczniki czasu życia zmiennych pozwalają nam na sprecyzowanie naszych zamiarów w sytuacjach które mogą okazać się zbyt skomplikowane dla kompilatora.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_pt-br.html b/beta_54_pt-br.html new file mode 100644 index 000000000..08049fa9d --- /dev/null +++ b/beta_54_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tempos de Vida Múltiplos

+

Os especificadores de tempo de vida nos permitem ser explícitos em certos cenários que o compilador não pode resolver sozinho, distinguindo todas os tempo de vida dos componentes na assinatura de uma função.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_ro.html b/beta_54_ro.html new file mode 100644 index 000000000..72b21764a --- /dev/null +++ b/beta_54_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durate de viață multiple

+

Specificatorii duratelor de viață ne permit să fim expliciți pentru anumite scenarii pe care compilatorul nu le poate rezolva singur +prin distingerea duratelor de viață a tuturor componentelor semnăturii unei funcții.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_ru.html b/beta_54_ru.html new file mode 100644 index 000000000..d906f99c2 --- /dev/null +++ b/beta_54_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Несколько времён жизни (Multiple Lifetimes)

+

Спецификация времени жизни позволяет явно ее указать, когда компилятор не может сам определить, как соотносятся +все времена жизни параметров функции и возвращаемого значения.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_th.html b/beta_54_th.html new file mode 100644 index 000000000..5a9243696 --- /dev/null +++ b/beta_54_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes หลายตัว

+

ตัวระบุ lifetime ช่วยเพิ่มความชัดเจนได้ก็จริง แต่บางทีคอมไพเลอร์เองก็ยังไม่สามารถแยกแยะ lifetime ของทุกตัวได้ทั้งหมด

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_tr.html b/beta_54_tr.html new file mode 100644 index 000000000..9db2cc7f5 --- /dev/null +++ b/beta_54_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çoklu Yaşam Süreleri

+

Yaşam süresi belirteçlerinin bir diğer faydası da, derleyicinin değişken ömürlerini anlayamadığı hallerde, işlev parametreleri ve dönüş değeri ömürlerinin açıkça bildirilmelerine izin vermeleridir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_ua.html b/beta_54_ua.html new file mode 100644 index 000000000..8d3b39ea6 --- /dev/null +++ b/beta_54_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Кілька модифікаторів пріорітету

+

Модифікатори часу життя, або ж приорітету, дозволяють нам створювати сценарії, котрі мають деякі відмінності від тих що за замовчуванням створює компілятор. +Це досягається за допомогою використання декількох модифікаторів часу життя, а точніше, їх комбінування.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_vi.html b/beta_54_vi.html new file mode 100644 index 000000000..d9470932b --- /dev/null +++ b/beta_54_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đa thời gian tồn tại(Multiple Lifetimes)

+

Các chỉ định thời gian tồn tại cho phép chúng ta rõ ràng với các tình huống nhất định mà trình biên dịch không thể tự giải quyết bằng cách phân biệt tất cả các vòng đời của thành phần chữ ký hàm(signature component).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_zh-cn.html b/beta_54_zh-cn.html new file mode 100644 index 000000000..67bc35a1d --- /dev/null +++ b/beta_54_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多个生命周期

+

生命周期注解可以通过区分函数签名中不同部分的生命周期,来允许我们显式地明确某些编译器靠自己无法解决的场景。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_54_zh-tw.html b/beta_54_zh-tw.html new file mode 100644 index 000000000..01f121663 --- /dev/null +++ b/beta_54_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多個生命週期

+

在編譯器無法解析的特定場合裡,生命週期標示允許我們明確的分辨所有函式簽章的生命週期。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_ar.html b/beta_55_ar.html new file mode 100644 index 000000000..ef8213f66 --- /dev/null +++ b/beta_55_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الأعمارة الساكنة (Static Lifetimes)

+

المتغير الساكن (static) هو مورد ذاكرة (memory resource) تم إنشاؤه في وقت الترجمة (compile-time)، وهو موجود من بدء البرنامج حتى نهايته. ويجب حديد أنواعه بشكل صريح.

+

العمر الساكن (static) هو مورد ذاكرة (memory resource) يبقى حتى نهاية البرنامج. ولاحظ أنه بموجب هذا التعريف فإنه يمكن إنشاء بعض الموارد ساكنة العمر (static lifetime) في وقت التشغيل (runtime).

+

الموارد ذات الأعمار الساكنة لها محدد عمر خاص وهو 'static.

+

الموارد ذات الأعمار الساكنة 'static لا تسقط (drop) أبدا.

+

إذا كانت الموارد ذات الأعمار الساكنة تحتوي على مراجع (references)، فيجب أن تكون جميع المراجع ساكنة 'static (ي شيء غير ذلك لن يقى طويلا بما فيه الكفاية).

+

تفاصيل الذاكرة:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_de.html b/beta_55_de.html new file mode 100644 index 000000000..ea9322157 --- /dev/null +++ b/beta_55_de.html @@ -0,0 +1,59 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Statische Lebensdauern

+

Eine statische Variable ist eine Speicherressource, die zur Kompilierungszeit erstellt wird existiert durch einen Programmstart +beenden. Ihre Typen müssen explizit angegeben werden.

+

Eine statische Lebensdauer ist eine Speicherressource, die unbegrenzt vorhanden ist Ende eines Programms. Beachten Sie, dass nach dieser Definition +Einige statische Lebenszeitressourcen können zur Laufzeit erstellt werden.

+

Ressourcen mit statischer Lebensdauer haben einen speziellen Lebensdauerspezifizierer 'static.

+

'static Ressourcen werden niemals verloren.

+

Wenn statische Lebenszeitressourcen Referenzen enthalten, müssen sie alle 'statisch sein (Alles andere würde nicht lange genug leben).

+

Speicherdetail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_en.html b/beta_55_en.html new file mode 100644 index 000000000..409e92a70 --- /dev/null +++ b/beta_55_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_es.html b/beta_55_es.html new file mode 100644 index 000000000..9d4a8152c --- /dev/null +++ b/beta_55_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tiempo de Vida Estático ( static )

+

Una variable estática (static) es un recurso de memoria creado en tiempo de compilación que existe desde el inicio de un programa hasta su fin. Los tipos deben estar explícitamente especificados. +Un tiempo de vida estático (static) es un recurso de memoria que dura indefinidamente hasta el final de un programa. Hay que tener en cuenta que, según esta definición, algunos recursos de vida estática pueden crearse en tiempo de ejecución.

+

Los recursos con tiempos de vida estáticos tienen un especificador especial de tiempo de vida 'static.

+

Los recursos 'static nunca se liberarán.

+

Si los recursos de tiempo de vida estáticos contienen referencias, éstas deben ser 'static (cualquier otra tendrá un tiempo de vida inferior).

+

Detalles de la memoria:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_fa.html b/beta_55_fa.html new file mode 100644 index 000000000..3fe130b0d --- /dev/null +++ b/beta_55_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_fr.html b/beta_55_fr.html new file mode 100644 index 000000000..8c0d63d2f --- /dev/null +++ b/beta_55_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durées de vie statiques

+

Une variable statique (en anglais static) est une ressource mémoire créée lors de la compilation +et qui existe du début jusqu'à la fin du programme. le type doit être défini explicitement.

+

Une durée de vie statique est une ressource mémoire qui existe indéfiniment jusqu'à la fin du programme. +Une ressource statique peut être créée lors de l'exécution du programme.

+

Elle est créée avec le mot-clé 'static.

+

Elle ne sera jamais déconstruite et désallouée avant la fin du programme.

+

Si une ressouce statique contient une référence, celle-ci doit également être statique +(sinon la durée de vie de la référence pourrait s'arrêter avant la fin du programme).

+

Détails de la mémoire:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_gr.html b/beta_55_gr.html new file mode 100644 index 000000000..0c9b8f254 --- /dev/null +++ b/beta_55_gr.html @@ -0,0 +1,59 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Static Lifetimes

+

A static variable is a memory resource created at compile-time that exists through a program start to +finish. They must have their types explicitly specified.

+

A static lifetime is a memory resource that lasts indefinitely to the end of a program. Note that by this definition +some static lifetime resources can be created at runtime.

+

Resources with static lifetimes have a special lifetime specifier 'static.

+

'static resources will never drop.

+

If static lifetime resources contain references they must all be 'static (anything less would not live long enough).

+

Memory detail:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_hu.html b/beta_55_hu.html new file mode 100644 index 000000000..39b3c4cd1 --- /dev/null +++ b/beta_55_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Statikus élettartam

+

A statikus változók olyan, memóriában létrehozott erőforrások, amik a program kezdetétől végéig +léteznek. Az ilyen változók típusait mindig explicit módon meg kell adni.

+

Egy statikus élettartammal rendelkező erőforrás a program végéig folyamatosan +létezik. Fontos megjegyezni, hogy a statikus változókkal ellentétben, statikus élettartammal +rendelkező értékek bizonyos esetekben a program futása közben is létrejöhetnek. Az ilyen +élettartamot a 'static kulcsszóval jelöljük és az ilyen értékek sose drop-olnak.

+

Ha egy ilyen élettartammal rendelkező adat referenciát is tartalmaz, ennek a referenciának +szintén egy másik 'static élettartamú tulajdonosra kell mutatnia (bármilyen más esetben a +tulajdonos előbb megszűnne létezni, minthogy a program véget ér).

+

Hogyan érinti ez a memóriát:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_ie.html b/beta_55_ie.html new file mode 100644 index 000000000..a380f838b --- /dev/null +++ b/beta_55_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vive-témpores Static

+

Un variabil static es un ressurse de memorie creat al moment de compilation quel existe durant li programma +desde de comense til li fine. Ili besona un tip explicitmen specificat.

+

Un vive-témpor static es un ressurse de memorie quel continua til li fine del programma. A notar que secun ti definition +quelc ressurses con vive-témpor static posse esser creat ye li execution del programma.

+

Ressurses con vive-témpores static possede un special specificator 'static.

+

'static ressurses nequande cade

+

Si un ressurse con un vive-témpor static possede referenties, ili deve omnis esser 'static (quelcunc altri vive-témpor +ne vell viver sat long).

+

Detallies pri memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_it.html b/beta_55_it.html new file mode 100644 index 000000000..13780f5a8 --- /dev/null +++ b/beta_55_it.html @@ -0,0 +1,59 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durata statica

+

Una variabile statica è una risorsa di memoria creata in fase di compilazione esiste attraverso un programma start to +fine. I tipi devono essere specificati esplicitamente.

+

Una durata statica è una risorsa di memoria che dura indefinitamente fine di un programma. Si noti che con questa definizione +alcune risorse a durata statica possono essere create in fase di esecuzione.

+

Le risorse con durate statiche hanno uno speciale specificatore di durata "static".

+

Le risorse 'statiche non verranno mai cadute.

+

Se le risorse con durata statica contengono riferimenti, devono essere tutte "statiche". (niente di meno non vivrebbe abbastanza a lungo).

+

Dettagli della memoria:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_ja.html b/beta_55_ja.html new file mode 100644 index 000000000..293db3f94 --- /dev/null +++ b/beta_55_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

スタティックライフタイム

+

スタティック変数は、コンパイル時に作成され、プログラムの開始から終了まで存在するメモリリソースです。 +これらの変数の型は明示的に指定しなければなりません。

+

スタティックライフタイムは、プログラムの終了まで無期限に持続するメモリリソースです。 +この定義では、スタティックライフタイムを持つリソースは実行時にも作成できることに注意してください。

+

スタティックライフタイムを持つリソースには、特別なライフタイム指定子 'static があります。

+

'static リソースは決してドロップすることはありません。

+

スタティックライフタイムを持つリソースが参照を含む場合、それらはすべて 'static でなければなりません(そうでなければ、参照はプログラムの終了前にドロップする可能性があります)。

+

メモリの詳細:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_ko.html b/beta_55_ko.html new file mode 100644 index 000000000..67fecfc40 --- /dev/null +++ b/beta_55_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

정적인 생명주기

+

static 변수는 컴파일 타임에 생성되어 프로그램의 시작부터 끝까지 존재하는 메모리 리소스입니다. +이들은 명시적으로 자료형을 지정해 주어야 합니다.

+

static lifetime은 프로그램이 끝날 때까지 무한정 유지되는 메모리 리소스입니다. +이 정의에 따르면, 어떤 static lifetime의 리소스는 런타임에 생성될 수도 있다는 점 알아두세요.

+

static lifetime을 가진 리소스는 'static이라는 특별한 lifetime 지정자를 갖습니다.

+

'static한 리소스는 절대 drop 되지 않습니다.

+

만약 static lifetime을 가진 리소스가 참조를 포함하는 경우, 그들도 모두 'static이어야 합니다 (그 이하의 것들은 충분히 오래 살아남지 못합니다).

+

메모리 상세:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_pl.html b/beta_55_pl.html new file mode 100644 index 000000000..ecedfb6f8 --- /dev/null +++ b/beta_55_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Statyczne Czasy Życia

+

Statyczna zmienna to taki zasób w pamięci który istnieje przez cały czas trwania programu, od początku aż do samego końca. Statyczne zmienne są definiowane w kodzie i następnie przetwarzane w specjalny sposób podczas kompilacji. Wymagają one zawsze aby ich typ był wyraźnie sprecyzowany.

+

Statyczny czas życia definiuje zasób który istnieje na czas nieokreślony, domyślnie aż do końca trwania programu. Zauważ, że taka definicja oznacza, że w niektórych sytuacjach będziemy w stanie stworzyć zasoby z takim czasem życia podczas wykonywania programu.

+

Aby przypisać zasobom statyczny czas życia musimy skorzystać ze specjalnego znacznika 'static.

+

Zasoby oznaczone jako 'static nigdy, tj. dopóki nasz program jest wykonywany, nie zostaną wypuszczone z pamięci.

+

Jeśli zasób o czasie życia 'static zawiera referencje, wszystkie one muszą być również oznaczone jako 'static (cokolwiek innego będzie po prostu żyć zbyt krótko).

+

Kilka szczegółów:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_pt-br.html b/beta_55_pt-br.html new file mode 100644 index 000000000..ae1530d5f --- /dev/null +++ b/beta_55_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tempos de Vida Estáticos

+

Uma variável estática é um recurso de memória criado em tempo de compilação que existe do início ao fim dentro de um programa. Eles devem ter seus tipos especificados explicitamente.

+

Um recurso com tempo de vida estático é um recurso de memória que dura indefinidamente até o término de um programa. Observe que, por essa definição, alguns recursos com tempo de vida estático podem ser criados em tempo de execução.

+

Recursos com tempo de vida estático têm o especificador de tempo de vida especial 'static.

+

Recursos 'static nunca serão descartados.

+

Se os recursos com tempo de vida estático contiverem referências, todos deverão ser 'static (nada menos do que isso viveria tempo suficiente).

+

Detalhes da memória:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_ro.html b/beta_55_ro.html new file mode 100644 index 000000000..5b89151e3 --- /dev/null +++ b/beta_55_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durate de viață statice

+

O variabilă statică e o resursă în memorie creată la momentul compilării care există de la începutul rulării unui program și până la +sfârșit. Acestea trebuie să aibă tip explicit.

+

O resursă cu durată de viață statică e o resursă în memorie care poate exista dincolo de terminarea programului. Observați că după această definiție +unele resurse cu durată de viață statică pot fi create în timpul rulării.

+

Resursele cu durată de viață statică au specificatorul special 'static.

+

Nu se renunță niciodată (drop) la resursele cu durată de viață statică.

+

Dacă o resursă cu durată de viață statică conține referințe, atunci toate trebuie să fie 'static. (orice cu durată de viață mai mică nu va exista suficient de mult).

+

Detalii despre memorie:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_ru.html b/beta_55_ru.html new file mode 100644 index 000000000..185a1da54 --- /dev/null +++ b/beta_55_ru.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Статические времена жизни (Static Lifetimes)

+

Static переменная - это область памяти, создаваемая во время компиляции, и которая существует +на протяжении всего времени выполнения программы. Такие переменные должны иметь явно объявленный тип.

+

Статическое время жизни - это наибольшее возможное время жизни у памяти, то есть на протяжении всего +времени выполнения программы. Заметьте, что также можно создать переменную со статическим временем жизни и +во время исполнения программы.

+

Ресурсы со статическими временами жизни имеют спецификатор 'static.

+

Для 'static никогда не будет вызван drop.

+

Если ресурсы со статическим временем жизни содержат ссылки, то они также должны быть 'static (любое другое +время жизни будет существовать не достаточно долго)

+

Детали для запоминания:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_th.html b/beta_55_th.html new file mode 100644 index 000000000..656be9f6a --- /dev/null +++ b/beta_55_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Static Lifetimes

+

ตัวแปรแบบ static เป็นรีซอร์สในหน่วยความจำที่ถูกสร้างตั้งแต่ compile-time และจะคงอยู่ ตั้งแต่โปรแกรมเริ่มทำงานจนจบ พวกมันต้องระบุ type ให้ชัดเจน

+

static lifetime เป็นรีซอร์สในหน่วยความจำที่จะอยู่ตลอดจนจบโปรแกรม ข้อสังเกตคือ จากนิยามนี้ static lifetime บางตัวอาจจะเกิดตอน runtime ก็ได้

+

รีซอร์สของ static lifetime ใช้ 'static เป็นตัวกำหนด

+

รีซอร์สของ 'static จะไม่มีวันโดน drop

+

ถึงแม้ว่าจะใช้รีซอร์สของ static lifetime มาเก็บการอ้างอิง พวกมันก็ยังต้องเป็น 'static` เหมือนกัน (ถ้าน้อยไปมันจะอยู่ได้ไม่นานพอ)

+

รายละเอียดหน่วยความจำ:

+
    +
  • การแก้ไขข้อมูลในตัวแปรแบบ static ที่จริงแล้วเป็นเรื่องที่อันตรายเพราะว่า +ปกติตัวแปรนี้เป็น golbal และมันสามารถถูกอ่านได้จากที่ไหนก็ได้ซึ่งอาจจะทำให้เกิดการแย่งข้อมูลกันได้ +แล้วเราจะมาพูดกันเรื่องที่ว่า การใช้ตัวแปรแบบ global นี้มีความท้าทายอย่างไรบ้างในภายหลัง
  • +
  • Rust ยอมให้เราใช้บล็อค unsafe { ... } เพื่อทำบางอย่างที่ตัวคอมไพเลอร์เองไม่อาจรับประกัน +ได้ว่าจะเกิดอะไรขึ้นกับหน่วยความจำ และ เรื่อง The R̸͉̟͈͔̄͛̾̇͜U̶͓͖͋̅Ṡ̴͉͇̃̉̀T̵̻̻͔̟͉́͆Ơ̷̥̟̳̓͝N̶̨̼̹̲͛Ö̵̝͉̖̏̾̔M̶̡̠̺̠̐͜Î̷̛͓̣̃̐̏C̸̥̤̭̏͛̎͜O̶̧͚͖͔̊͗̇͠N̸͇̰̏̏̽̃ นี้ เราควรพูดกันแบบจริงจัง
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_tr.html b/beta_55_tr.html new file mode 100644 index 000000000..b81bbdc9a --- /dev/null +++ b/beta_55_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Statik Yaşam Süreleri

+

Açık tür bildirimiyle tanımlanan static değişkenler, derleme zamanında oluşturulan ve programın başından sonuna kadar var olan bellek kaynaklarıdır.

+

Statik yaşam süresi ise bellekteki kaynağın, programın yürütülmesi sona erene kadar, yani mümkün olan en uzun süre boyunca yaşatılması anlamına gelmektedir. Bu tanıma göre, statik yaşam süresine sahip bazı kaynakların çalışma zamanında oluşturulabileceğini göz önünde bulundurmamız gerekir.

+

Statik Yaşam sürelerine sahip olan kaynaklar, özel bir tanımlayıcı olan 'static belirteciyle bildirilirler.

+

Ve 'static kaynaklar hiç bir zaman düşürülmezler.

+

Eğer statik yaşam süreleri olan kaynaklar referans içeriyorlarsa, başka bir yaşam süresi yeterince uzun olamayacağından, bu referanslar da 'static olarak belirtilmelidirler.

+

Bellek ayrıntıları:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_ua.html b/beta_55_ua.html new file mode 100644 index 000000000..93dd5529e --- /dev/null +++ b/beta_55_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Статичний час життя

+

Статичні змінні - це змінні котрі створюються на початку, або під час роботи програми, і існують до самого її кінця. Такі змінні повинні мати чітко вказані типи. +Статичні ресурси можуть існувати невизначено довго, але лише до моменту вимкнення програми. Також треба зауважити що такі ресурси можуть бути створені прямо під час виконання програми.

+

Статичні ресурси мають спеціальну позначку - static. Такі ресурси не будуть видалятися під час виконання програми, поки цього не захоче сам користувач.

+

Якщо на ресурс є якісь посилання - вони повинні бути також статичними, інакше вони можуть не "прожити" потрібний період часу.

+

Деталі роботи за памяттю:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_vi.html b/beta_55_vi.html new file mode 100644 index 000000000..5a17031d8 --- /dev/null +++ b/beta_55_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thời gian tồn tại tĩnh(Static Lifetimes)

+

Biến static(tĩnh) là tài nguyên bộ nhớ được tạo tại thời điểm biên dịch, tồn tại thông qua một chương trình từ đầu đến cuối. Loại của nó phải được chỉ định rõ ràng.

+

Thời gian tồn tại tĩnh là tài nguyên bộ nhớ tồn tại vô thời hạn cho đến cuối chương trình. Lưu ý rằng theo định nghĩa này, một số tài nguyên lâu dài tĩnh có thể được tạo trong thời gian chạy.

+

Các tài nguyên có vòng đời tĩnh có một chỉ định thời gian tồn tại đặc biệt là 'static(tĩnh).

+

Tài nguyên 'static sẽ không bao giờ bị drop.

+

Nếu tài nguyên thời gian tồn tại tĩnh chứa các tham chiếu thì tất cả chúng phải là 'static (bất kỳ thứ gì ít hơn sẽ không tồn tại đủ lâu).

+

Chi tiết bộ nhớ:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_zh-cn.html b/beta_55_zh-cn.html new file mode 100644 index 000000000..f8e6fbb56 --- /dev/null +++ b/beta_55_zh-cn.html @@ -0,0 +1,52 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

静态生命周期

+

一个静态变量是一个在编译期间即被创建并存在于整个程序始末的内存资源。他们必须被明确指定类型。 一个静态生命周期是指一段内存资源无限期地延续到程序结束。需要注意的一点是,在此定义之下,一些静态生命周期的资源也可以在运行时被创建。 拥有静态生命周期的资源会拥有一个特殊的生命周期注解 'static'static 资源永远也不会被 drop 释放。 如果静态生命周期资源包含了引用,那么这些引用的生命周期也一定是 'static 的。(任何缺少了此注解的引用都不会达到同样长的存活时间)

+

内存细节:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_55_zh-tw.html b/beta_55_zh-tw.html new file mode 100644 index 000000000..29de85d73 --- /dev/null +++ b/beta_55_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

靜態生命週期 (static lifetimes)

+

一個靜態變量是在編譯時間就被產生的記憶體資源,它從程式一開始就存在,直到結束。它們一定要明確的表示型別。

+

一個靜態生命週期為一塊記憶體資源,它永遠存在直到程式結束。要注意的是,根據這項定義,有些靜態生命週期可以在執行時間才被產生出來。

+

有著靜態生命週期的資源,會有一個特殊的標示 'static'

+

'static' 資源永遠不會被徹下 (drop)。

+

如果靜態生命週期資源包含了參考,那它們必須都得是 'static' (少了任何東西則將活得不夠久)。

+

記憶體細節:

+ + +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_ar.html b/beta_56_ar.html new file mode 100644 index 000000000..67ddd664d --- /dev/null +++ b/beta_56_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الأعمار في أنواع البيانات (Lifetimes In Data Types)

+

كما هو الحال مع الدوال، يمكن لأنواع البيانات أن تعلم باستخدام محددات عمر أعضائها (lifetime specifiers).

+

يتحقق رست (Rust) من أن محتوى هيكل البيانات (data structure) الذي به مراجع (references) أنها لا تدوم أبدًا لفترة أطول من المالكين الذين تشير اليهم تلك المراجع.

+

لا يمكن أن يكون لدينا هياكل (structs) بها مراجع تشير إلى اللا شيء (nothingness)!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_de.html b/beta_56_de.html new file mode 100644 index 000000000..fa97b9126 --- /dev/null +++ b/beta_56_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lebensdauern in Datentypen

+

Ähnlich wie bei Funktionen können Datentypen mit der Lebensdauer parametrisiert werden Spezifizierer seiner Mitglieder.

+

Rust validiert, dass die enthaltende Datenstruktur der Referenzen niemals vorhanden ist hält länger als die Besitzer, auf die seine Referenzen hinweisen.

+

Wir können keine Strukturen herumlaufen lassen, auf die Referenzen verweisen Nichts!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_en.html b/beta_56_en.html new file mode 100644 index 000000000..2fd78cd7e --- /dev/null +++ b/beta_56_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_es.html b/beta_56_es.html new file mode 100644 index 000000000..9236109c2 --- /dev/null +++ b/beta_56_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tiempos de Vida en los Tipos de Datos

+

Al igual que las funciones, los tipos de datos se pueden parametrizar con especificadores de vida útil de sus miembros.

+

Rust valida que la estructura de datos que contiene las referencias nunca dure más que los propietariosa los que apuntan sus referencias.

+

¡No podemos tener estructuras corriendo por ahí con referencias que no nos indiquen nada!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_fa.html b/beta_56_fa.html new file mode 100644 index 000000000..5a2b6ecfd --- /dev/null +++ b/beta_56_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_fr.html b/beta_56_fr.html new file mode 100644 index 000000000..11ff4abcf --- /dev/null +++ b/beta_56_fr.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durée de vie dans les structures

+

De la même manière que les fonctions, les champs d'une structure peuvent +être paramétrés avec des spécifieurs de durée de vie pour un ou plusieurs +de ses membres.

+

Si une structure contient une référence, alors le compilateur Rust s'assure +que la durée de vie de la structure n'excède pas celle du 'propriétaire' de +la référence.

+

Le compilateur Rust ne permet pas d'avoir une structure possédant +des références pointant vers rien du tout.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_gr.html b/beta_56_gr.html new file mode 100644 index 000000000..17e711431 --- /dev/null +++ b/beta_56_gr.html @@ -0,0 +1,49 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes In Data Types

+

Similarly to functions, data types can be parameterized with lifetime specifiers of its members.

+

Rust validates that the containing data structure of the references never lasts longer than the owners its references point to.

+

We can't have structs running around with references pointing to nothingness!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_hu.html b/beta_56_hu.html new file mode 100644 index 000000000..3b06fe6b4 --- /dev/null +++ b/beta_56_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Élettartamok adattípusokban

+

A függvényekhez hasonlóan az adattípusok mezőinek élettartamát is meghatározhatjuk. A fordító +tesz róla, hogy ezek a referenciák sose rendelkezzenek a bennük tárolt adatnál hosszabb +élettartammal.

+

Hisz mégse lehetnek olyan struct-jaink, amik a semmire mutatnak!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_ie.html b/beta_56_ie.html new file mode 100644 index 000000000..b27811ceb --- /dev/null +++ b/beta_56_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Vive-témpores in tipes de data

+

Similmen a functiones, data-tipes posse esser parametrisat con specificatores de vive-témpores de lor membres. +Rust fa cert que li data-structura del contenent referenties ne vive plu long quam li proprietarios a queles lor referenties monstra. +Noi ne posse tolerar structs con referenties monstrant nullcos!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_it.html b/beta_56_it.html new file mode 100644 index 000000000..0d36cc03d --- /dev/null +++ b/beta_56_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durata nei tipi di dati

+

Analogamente alle funzioni, i tipi di dati possono essere parametrizzati con durata specificatori dei suoi membri.

+

Rust verifica che la struttura dati contenente i riferimenti non sia mai presente dura più a lungo dei proprietari a cui fanno riferimento i suoi riferimenti.

+

Non possiamo avere strutture che vanno in giro con riferimenti che puntano a il nulla!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_ja.html b/beta_56_ja.html new file mode 100644 index 000000000..16119d2f1 --- /dev/null +++ b/beta_56_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

データ型のライフタイム

+

関数と同様に、データ型はメンバのライフタイムを指定できます。

+

Rust は、参照を含む構造体が、その参照が指す所有者よりも長く存在しないことを検証します。

+

構造体には、何もないところを指している参照を含めることはできません。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_ko.html b/beta_56_ko.html new file mode 100644 index 000000000..601dbdcb0 --- /dev/null +++ b/beta_56_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

데이터 자료형의 생명주기

+

함수와 마찬가지로, 데이터 자료형의 구성원들도 lifetime 지정자로 지정할 수 있습니다.

+

Rust는 참조가 품고 있는 데이터 구조가 참조가 가리키는 owner보다 절대 오래 살아남지 못하도록 검증합니다.

+

아무 것도 아닌 것을 가리키는 참조를 들고 다니는 struct란 있을 수 없습니다!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_pl.html b/beta_56_pl.html new file mode 100644 index 000000000..a161ad28a --- /dev/null +++ b/beta_56_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Czasy Życia Wewnątrz Typów

+

Podobnie jak w przypadku funkcji, również elementy typów zawierających dane mogą być parametryzowane z użyciem znaczników czasów życia.

+

Rust pozwala nam mieć pewność, że struktura zawierająca w sobie referencję do innego obiektu nigdy nie będzie istnieć dłużej niż oryginalny zasób na który wskazuje referencja.

+

Bo przecież nie możemy godzić się na sytuację w której okazuje się, że mamy w naszym programie struktury z niesprawdzonymi referencjami wskazującymi na nieistniejące zasoby w pamięci!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_pt-br.html b/beta_56_pt-br.html new file mode 100644 index 000000000..d455acc10 --- /dev/null +++ b/beta_56_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tempos de Vida em Tipos de Dados

+

Da mesma forma que as funções, os tipos de dados podem ser parametrizados com os especificadores de tempos de vida.

+

O Rust valida a estrutura de dados que contém as referências para que nunca dure mais do que os proprietários para os quais as suas referências apontam.

+

Não podemos ter estruturas rodando por aí com referências apontando para o nada!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_ro.html b/beta_56_ro.html new file mode 100644 index 000000000..8af629000 --- /dev/null +++ b/beta_56_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Durate de viață în interiorul structurilor de date

+

Similar funcțiilor, structurile de date pot fi parametrizate cu specificatorul duratei de viață al membrilor lor.

+

Rust se asigură că o structură de date care conține referințe nu va exista niciodată mai mult timp decât proprietarii resurselor la care acestea se referă.

+

Nu putem avea structuri alergând de colo-colo cu referințe către nimic!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_ru.html b/beta_56_ru.html new file mode 100644 index 000000000..78a2e6735 --- /dev/null +++ b/beta_56_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Времена жизни у типов данных (Lifetimes In Data Types)

+

Так же как и функции, типы данных могут быть параметризированы временами жизни своих полей.

+

Rust проверяет, чтобы структура содержащая ссылку, никогда не пережила объект, на который эта ссылка указывает.

+

Нельзя иметь структуры, в которых ссылки указывают в никуда!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_th.html b/beta_56_th.html new file mode 100644 index 000000000..8a9f0e1f1 --- /dev/null +++ b/beta_56_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lifetimes In Data Types

+

ประเภทข้อมูลทั่วไปก็สามารถใส่ lifetime ให้สมาชิกแต่ละตัวได้ เหมือนกับฟังก์ชัน

+

Rust จะคอยตรวจสอบให้ว่า โครงสร้างข้อมูลที่มีการอ้างอิงไปที่อื่น จะไม่มีทางมีอายุ ยืนยาวไปกว่าเจ้าของตัวจริงที่มันอ้างไปถึง

+

เพราะเราจะไม่ยอมให้มี struct ที่อ้างอิงไปหาของที่ไม่มีอยู่จริง มาวิ่งเล่นแถวนี้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_tr.html b/beta_56_tr.html new file mode 100644 index 000000000..42d94f73f --- /dev/null +++ b/beta_56_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Veri Türlerinin Yaşam Süresi

+

Gerektiğinde tıpkı işlevlerde olduğu gibi, veri türlerinin sahip olduğu yapı üyeleri ve alanları da yaşam süresi belirteçleriyle parametrelendirilir. +Eğer bir veri türü referans içeriyorsa, Rust bu referansların, işaret ettikleri asıl sahiplerinden daha uzun süre yaşayıp yaşamadıklarını doğrulamaya çalışır.

+

Bu nedenle Rust derleyicisi, hiçbir şeye işaret etmeyen referansların bulunduğu bir yapıyı kullanmanıza izin vermez.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_ua.html b/beta_56_ua.html new file mode 100644 index 000000000..4399c3a42 --- /dev/null +++ b/beta_56_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Час життя в типах даних

+

Подібно до функцій, типи даних можна параметризувати за допомогою специфікаторів часу життя специфікаторами часу життя його членів.

+

Rust перевіряє, що структура даних, яка містить посилання, ніколи не існує довше, ніж власники, на яких вона посилається.

+

Ми не можемо мати структури, які працюють з посиланнями, що вказують на неіснуючі дані!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_vi.html b/beta_56_vi.html new file mode 100644 index 000000000..167098577 --- /dev/null +++ b/beta_56_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thời gian tồn tại trong các loại dữ liệu

+

Tương tự như các hàm, các kiểu dữ liệu có thể được tham số hóa với các chỉ định thời gian tồn tại của các thành viên của chúng.

+

Rust xác nhận rằng phần chứa cấu trúc dữ liệu của các tham chiếu không bao giờ tồn tại lâu hơn chủ sở hữu mà các tham chiếu của nó trỏ tới.

+

Chúng ta không thể có cấu trúc chạy xung quanh với các tham chiếu trỏ đến hư vô!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_zh-cn.html b/beta_56_zh-cn.html new file mode 100644 index 000000000..91c7e5861 --- /dev/null +++ b/beta_56_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

数据类型中的生命周期

+

和函数相同,数据类型也可以用生命周期注解来参数化其成员。 Rust 会验证引用所包含的数据结构永远也不会比引用指向的所有者存活周期更长。 我们不能在运行中拥有一个包括指向虚无的引用结构存在!

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_56_zh-tw.html b/beta_56_zh-tw.html new file mode 100644 index 000000000..7167c74d5 --- /dev/null +++ b/beta_56_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

資料型別的生命週期

+

與函式類似,資料型別也可以透過參數對它的成員設定生命週期。

+

Rust 會驗證包含資料結構的參考永遠不會存活的比它的擁有者的參考還久。

+

我們無法讓一個結構有一個不指到任何地方的參考到處執行。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_57_ar.html b/beta_57_ar.html new file mode 100644 index 000000000..1d1e5e715 --- /dev/null +++ b/beta_57_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 5 - الخلاصة

+

واو، تهانينا على تحقيق كل هذا! أعلم أن الأمر تطلب الكثير لأخذ هذه المعلومات، لكنك في طريقك لتصبح من الرستاسيين (Rustacean). نأمل أن يكون قد اتضحت لك أهداف لغة رست (Rust) في حل العديد من التحديات الشائعة في برمجة الأنظمة التي من بينها:

+
    +
  • التعديل غير المقصود للموارد
  • +
  • نسيان تفكيك (deconstruct) الموارد
  • +
  • تفكيك الموارد عن طريق الخطأ مرتين
  • +
  • استخدام الموارد بعد أن تم تفكيكها
  • +
  • سباقات البيانات (Data races) الناتجة عن الكتابة إلى مورد بينما هناك الآخرون يقرؤون من نفس الموارد
  • +
  • ضمان توضيح مناطق التعليمات البرمجية للمترجم حيث لا يستطيع هو أن يقدم ضمانات
  • +
+

في الفصل التالي، سنطبق بعضًا من هذه المعرفة عندما نتطرق إلى كيفية تعامل رست (Rust) مع النص.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_de.html b/beta_57_de.html new file mode 100644 index 000000000..d67b09c9b --- /dev/null +++ b/beta_57_de.html @@ -0,0 +1,56 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 5 - Abschluss

+

Puh, herzlichen Glückwunsch, dass du es geschafft hast! Ich weiß, es ist eine Menge zu verdauen, aber du sind gut +auf dem Weg, ein Rustaceaner zu werden. Hoffentlich ist klar, wie Rust als Sprache zielt darauf ab +Lösen Sie viele dieser häufigen Herausforderungen in der Systemprogrammierung:

+
    +
  • Unbeabsichtigte Änderung von Ressourcen
  • +
  • Vergessen, Ressourcen abzubauen
  • +
  • Ressourcen wurden versehentlich zweimal dekonstruiert
  • +
  • Nutzung von Ressourcen, nachdem sie dekonstruiert wurden
  • +
  • Datenwettläufe, die dadurch verursacht werden, dass auf Ressourcen geschrieben wird, während andere lesen Ressourcen
  • +
  • Klare Sicht auf Bereiche des Codes, für die der Compiler keine Garantien geben kann
  • +
+

Im nächsten Kapitel werden wir einen Teil dieses Wissens anwenden und uns ansehen, wie Rust verarbeitet Text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_en.html b/beta_57_en.html new file mode 100644 index 000000000..5a527eb92 --- /dev/null +++ b/beta_57_en.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_es.html b/beta_57_es.html new file mode 100644 index 000000000..d81467019 --- /dev/null +++ b/beta_57_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 5 - Conclusión

+

¡Buen trabajo! Sabemos que estas lecciones son algo densas y hay mucho que asimilar, pero vas bien encaminado a convertirte en un auténtico Rustáceo. Esperamos que quede clara la manera en la que Rust resuelve muchos de estos retos comunes en la programación de sistemas:

+
    +
  • La modificación involuntaria de recursos.
  • +
  • Olvidar liberar recursos.
  • +
  • Los recursos liberados dos veces por accidente.
  • +
  • Usar los recursos después de haber sido liberados.
  • +
  • Las condiciones de carrera (data race) causadas por la escritura a recursos mientras que otros están leyendo de los mismos.
  • +
  • Ver claramente las áreas del código donde el compilador no puede dar garantías.
  • +
+

En el próximo capítulo aplicaremos algunos de estos conocimientos mientras vemos cómo Rust maneja el texto.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_fa.html b/beta_57_fa.html new file mode 100644 index 000000000..13e3d0bb4 --- /dev/null +++ b/beta_57_fa.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_fr.html b/beta_57_fr.html new file mode 100644 index 000000000..d9d4e4352 --- /dev/null +++ b/beta_57_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 5 - Conclusion

+

Ouf, félicitations pour être arrivé jusque là! Je sais que c'est beaucoup à apprendre mais tu es en bonne +voie pour devenir un Rustacean. J'espère que tu arrive à voir comment Rust en tant que langage vise à +résoudre bon nombre des défis communs à la programmation système:

+
    +
  • Modification involontaire de ressources.
  • +
  • Oubli de déconstruire les ressources.
  • +
  • Ressources accidentellement déconstruites deux fois.
  • +
  • Utilisation des ressources après leur déconstruction.
  • +
  • Accès concurrentiels causés par l'écriture d'une ressource tandis que quelqu'un est en train de la lire.
  • +
  • Voir clairement les zones du code dont le compilateur ne garantit pas les effets.
  • +
+

Dans le chapitre suivant, nous appliquerons une partie de nos connaissances en examinant comment Rust gère le texte.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_gr.html b/beta_57_gr.html new file mode 100644 index 000000000..8d1eec786 --- /dev/null +++ b/beta_57_gr.html @@ -0,0 +1,56 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Conclusion

+

Whew, congrats for making it through! I know it's a lot to take in, but you are well +under way to becoming a Rustacean. Hopefully it's clear how Rust as a language aims to +solve many of these common challenges in systems programming:

+
    +
  • Unintentional modification of resources
  • +
  • Forgetting to deconstruct resources
  • +
  • Resources accidentally being deconstructed twice
  • +
  • Using resources after they have been deconstructed
  • +
  • Data races caused by writing to resources while others are reading from resources
  • +
  • Seeing clearly areas of the code where the compiler can’t make guarantees
  • +
+

In the next chapter we'll apply some of this knowledge as we look at how Rust handles text.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_hu.html b/beta_57_hu.html new file mode 100644 index 000000000..73b8cdf1c --- /dev/null +++ b/beta_57_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5. Fejezet - Konklúzió

+

Ejha! Hosszú fejezeten rágtuk át magunkat, de ezért cserébe jó úton vagy, hogy belőled is igazi +Rustacean váljék!

+

Az eddigi ismereteidet figyelembe véve tisztává válhat, hogy a Rust célja, hogy elkerüljön olyan +hibákat, amik más nyelvekben nagyon is gyakoriak:

+
    +
  • Változók akaratlan módosítása
  • +
  • Felszabadítatlan erőforrások
  • +
  • Már felszabadított erőforrások mégegyszeri felszabadítása
  • +
  • Erőforrások felszabadítás után való használata
  • +
  • Data race-k
  • +
  • A fordító által garantált biztonság nem egyértelműsége
  • +
+

A következő fejezetben a Rust szövegkezelésével fogunk foglalkozni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_ie.html b/beta_57_ie.html new file mode 100644 index 000000000..dcf9e45f3 --- /dev/null +++ b/beta_57_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 5 - Conclusion

+

Gratulationes pro har leet omnicos til nu! Yo save que it es mult a aprender ma tu es ja sur li via de devenir +un rustaceane. Noi espera que li explication ha esset clar pri qualmen Rust vole soluer li defís comun in li +programmation de sistemas:

+
    +
  • Modification ínintentionat de ressurses
  • +
  • Obliviar deconstructer ressurses
  • +
  • Errari duplic deconstruction de ressurses
  • +
  • Usation de ressurses ja deconstructet
  • +
  • Data-concurrentie causat per scrition a ressurses durant que altris lee les
  • +
  • Vider clarmen locs del code in quel li compilator ne posse da nos un garantie +In li capitul a sequer noi va aplicar ti-ci conossentie per vider qualmen Rust tracta se con textu.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_it.html b/beta_57_it.html new file mode 100644 index 000000000..8f1704bee --- /dev/null +++ b/beta_57_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 5 - Conclusione

+

Wow, congratulazioni per avercela fatta! So che è molto da accettare, ma tu stanno bene +in procinto di diventare un Rustacean. Speriamo che sia chiaro come Rust as a il linguaggio mira a +risolvere molte di queste sfide comuni nella programmazione dei sistemi:

+
    +
  • Modifica involontaria delle risorse
  • +
  • Dimenticare di decostruire le risorse
  • +
  • Le risorse sono state demolite accidentalmente due volte
  • +
  • Utilizzo delle risorse dopo che sono state decostruite
  • +
  • Gara di dati causata dalla scrittura su risorse mentre altri leggono risorse
  • +
  • Vedere chiaramente le aree del codice in cui il compilatore non può fornire garanzie
  • +
+

Nel prossimo capitolo applicheremo parte di questa conoscenza mentre vedremo come Rust gestisce il testo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_ja.html b/beta_57_ja.html new file mode 100644 index 000000000..d26f87b8c --- /dev/null +++ b/beta_57_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 5 章 - まとめ

+

ここまでお疲れ様でした。 +所有権を受け入れるのは大変だと思いますが、あなたは Rustacean への道を歩んでいます。 +言語としての Rust が、システムプログラミングに共通する課題の多くを解決しようとしているのが、はっきりしたのではないでしょうか。

+
    +
  • リソースの意図しない変更
  • +
  • リソースの解放漏れ
  • +
  • リソースを誤って複数回解放
  • +
  • 解放されたリソースの利用
  • +
  • 他でリソースを読み込んでいる最中にリソースへの書き込みが行われた場合に発生するデータ競合
  • +
  • コンパイラが保証できない部分の明確化
  • +
+

次の章では、所有権を応用して、Rust がどのようにテキストを扱うかを見ていきます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_ko.html b/beta_57_ko.html new file mode 100644 index 000000000..7521f3a61 --- /dev/null +++ b/beta_57_ko.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5장 - 마무리

+

휴, 끝까지 오신 것을 축하드립니다! +배워야 할 게 많긴 하지만, rustacean이 되는 길을 잘 따라오고 있습니다. +어떻게 Rust가 이런 시스템 프로그래밍의 일반적인 도전과제들을 해결하고자 하는지는 잘 아셨길 바랍니다:

+
    +
  • 의도하지 않은 리소스 변경
  • +
  • 리소스를 깜빡하고 소멸하지 않음
  • +
  • 리소스를 실수로 두 번 소멸함
  • +
  • 리소스가 소멸된 뒤에 사용함
  • +
  • 다른 곳에서 읽고 있는 리소스에 쓰기를 하여 데이터 경합을 일으킴
  • +
  • 컴파일러가 보증할 수 없는 코드가 뻔히 보임
  • +
+

다음 장에서는 Rust가 어떻게 텍스트를 다루는지 보면서 이런 지식들을 적용해볼 예정입니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_pl.html b/beta_57_pl.html new file mode 100644 index 000000000..5befad024 --- /dev/null +++ b/beta_57_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 5 - Podsumowanie

+

Uf, gratulacje, że udało Ci się przebrnąć przez ten rozdział! Jesteś coraz bliżej zostania zawodowym rustowcem.

+

Mam nadzieję, że dobrze wyjaśniłem podstawy tego w jaki sposób Rust podchodzi do rozwiązania wielu fascynujących problemów stojących przed współczesnym światem programowania na poziomie systemów, czyli:

+
    +
  • Nieumyślnego modyfikowania zasobów
  • +
  • Zapominania o dekonstrukcji zasobów
  • +
  • Przypadkowego dekonstruowania zasobów więcej niż jeden raz
  • +
  • Prób korzystania z zasobów po tym jak zostały zdekonstruowane
  • +
  • Wyścigów do danych, powodowanych przez wypisywanie do zasobów podczas gdy inne wątki czytają z tych samych zasobów
  • +
  • Jasnego organizowania kodu wobec którego kompilator nie jest w stanie nałożyć żadnych gwarancji dotyczących poprawności czy bezpieczeństwa
  • +
+

W następnym rozdziale zastosujemy nieco z naszej nowo zdobytej wiedzy ucząc się obsługi danych tekstowych w Ruscie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_pt-br.html b/beta_57_pt-br.html new file mode 100644 index 000000000..d821374da --- /dev/null +++ b/beta_57_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 5 - Conclusão

+

Ufa, parabéns por passar! Eu sei que é muito para absorver, mas você está bem encaminhado para se tornar um Rustáceo. Espero que esteja claro que o Rust como linguagem visa solucionar muitos desses desafios comuns na programação de sistemas:

+
    +
  • Modificação não intencional de recursos.
  • +
  • Esquecendo de desconstruir recursos.
  • +
  • Recursos sendo desconstruídos duas vezes acidentalmente.
  • +
  • Usando recursos depois que eles foram desconstruídos.
  • +
  • Corridas de dados causadas pela gravação nos recursos enquanto outros estão lendo os mesmos recursos.
  • +
  • Vendo claramente áreas do código em que o compilador não pode dar garantias
  • +
+

No próximo capítulo aplicaremos um pouco desse conhecimento ao ver como o Rust manipula textos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_ro.html b/beta_57_ro.html new file mode 100644 index 000000000..6cc2e084f --- /dev/null +++ b/beta_57_ro.html @@ -0,0 +1,56 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 5 - Concluzie

+

Pfiu, felicitări că ai ajuns până aici! Știu că este foarte mult de digerat, dar sunteți deja +pe drumul cel bun pentru a deveni un Rustaceu. Sper că este clar cum Rust ca limbaj de programare încearcă să +rezolve multe provocări obișnuite din programarea sistemelor:

+
    +
  • Modificarea neintenționată a resurselor
  • +
  • Neglijarea eliberării resurselor
  • +
  • Eliberarea accidentală a resurselor de două ori
  • +
  • Folosirea resurselor după ce acestea au fost eliberate
  • +
  • Intercalări de date cauzate de modificarea resurselor citite în același timp de către alți utilizatori
  • +
  • Distingerea zonelor din cod unde compilatorul nu poate garanta anumite lucruri
  • +
+

În următorul capitol vom aplica o parte din aceste noi cunoștințe în timp ce învățăm cum Rust gestionează textul.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_ru.html b/beta_57_ru.html new file mode 100644 index 000000000..9492f63dd --- /dev/null +++ b/beta_57_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 5 - Заключение

+

Уф, Вы через многое прошли, поздравляю! Я знаю, тут было много информации, но Вы на пути +становления Rust разработчика. Надеюсь, теперь немного понятней, как Rust пытается решить многие из +проблем системного программирования:

+
    +
  • Непреднамеренного изменения ресурсов

  • +
  • Забыть очистить память/ресурсы

  • +
  • Нечаянная очистка одной и той же памяти дважды ( double free )

  • +
  • Использование памяти после того, как она была удалена ( use after free )

  • +
  • Гонки данных, вызванные записью в область памяти, пока другие считывают данные из этой области

  • +
  • Обозначение областей, где компилятор не дает нам гарантий безопасности

  • +
+

В следующеей главе мы применим эти знания, когда будем смотреть, как Rust обрабатывает текстовые +данные.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_th.html b/beta_57_th.html new file mode 100644 index 000000000..198943b69 --- /dev/null +++ b/beta_57_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 5 - สรุป

+

โว้ว ยินดีด้วยนะที่ผ่านมาถึงตรงนี้จนได้ ฉันรู้ว่ามันเยอะ แต่นี่เป็นหนทางสู่การเป็น Rustacean และหวังว่ามันจะช่วยให้เข้าใจ Rust ดียิ่งขึ้นในฐานะที่เป็นภาษาโปรแกรมมิ่งที่มีเป้าหมายในการ แก้ปัญหาที่เป็นความท้าทายหลายๆสิ่งเหล่านี้ ที่มักจะเกิดขึ้นในการโปรแกรมงานระบบ

+
    +
  • การแก้ไขรีซอร์สโดยไม่ตั้งใจ
  • +
  • ลืมทำลายโครงสร้างรีซอร์ส
  • +
  • ทำลายโครงสร้างรีซอร์สโดยไม่ตั้งใจสองครั้ง
  • +
  • ไปใช้รีซอร์สที่ถูกทำลายโครงสร้างไปแล้ว
  • +
  • มีการแย่งเขียนรีซอร์สในขณะที่มีคนอื่นกำลังอ่านอยู่
  • +
  • ในกรณีที่คอมไพเลอร์ไม่สามารถรับประกันได้ ก็ยังตรวจดูเองได้เนื่องจากโค้ดมีความชัดเจนในตัวมันเอง
  • +
+

เราจะนำความรู้ที่มีในตอนนี้ไปลองดูว่า Rust จะจัดการข้อมูลที่เป็นข้อความได้อย่างไรในบทหน้า

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_tr.html b/beta_57_tr.html new file mode 100644 index 000000000..0f2e425e8 --- /dev/null +++ b/beta_57_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 5 - Sonuç

+

Turun bu bölümüne kadar gelebildiğiniz için bir kutlamayı hak ediyorsunuz: Tebrikler:-) Öğrenilecek çok şey olduğunun ben de farkındayım ama yine de size, iyi bir Rustacean olma yolunda olduğunuzu bildirmek istiyorum. Ve bir programlama dili olarak Rust'ın, sistem programlama alanında yaygın şekilde karşılaşılan ve aşağıda özetlemeye çalıştığım bu zorlukların üstesinden nasıl geldiği umarım anlaşılabiliyordur:

+
    +
  • Kaynakların kasıtsız olarak değiştirilmesi.
  • +
  • Kaynakların serbest bırakılmasını unutmak.
  • +
  • Yanlışlık eseri aynı kaynağın iki kere serbest bırakılması.
  • +
  • Serbest bırakılmış kaynakları kullanmaya çalışmak.
  • +
  • Bir gurup iş parçası tarafından okunan kaynağa yazma girişiminin sebep olduğu veri yarışları.
  • +
  • Derleyicinin güvenlik garantisi veremediği kodları açıkça belirtmemek.
  • +
+

Öğrendiklerimizden bir kısmını, "Metin Verileriyle Çalışmak" adlı yeni bölümümüzde uygulamaya ne dersiniz?

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_ua.html b/beta_57_ua.html new file mode 100644 index 000000000..666b6e613 --- /dev/null +++ b/beta_57_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 5 - Висновки

+

Вітаємо, ви впоралися! Я знаю, це важко прийняти, але ти +на шляху до того, щоб стати Іржавцем (оріг. - Rustacean). Сподіваюся, тепер зрозуміло, що Rust як мова має на меті +вирішити багато з цих поширених проблем у системному програмуванні:

+
    +
  • ненавмисна модифікація ресурсів
  • +
  • забути деконструювати ресурси
  • +
  • випадкова деконструкція ресурсів двічі
  • +
  • використання ресурсів після їх деконструкції
  • +
  • Перегони даних, спричинені записом до ресурсів у той час, коли інші читають з них
  • +
  • чітке бачення ділянок коду, де компілятор не може надати гарантій
  • +
+

У наступному розділі ми застосуємо деякі з цих знань, розглядаючи, як Rust працює з текстом.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_vi.html b/beta_57_vi.html new file mode 100644 index 000000000..7798897e0 --- /dev/null +++ b/beta_57_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 5 - Tổng kết

+

Chà chà, chúc mừng vì đã vượt qua được! Tôi biết còn rất nhiều thứ làm, nhưng bạn đang tiến hành rất tốt để trở thành một Rustacean. Hy vọng rằng, rõ ràng Rust với tư cách là một ngôn ngữ nhằm giải quyết nhiều thách thức phổ biến trong lập trình hệ thống như thế nào:

+
    +
  • Sửa đổi tài nguyên không chủ ý

  • +
  • Quên giải mã tài nguyên

  • +
  • Tài nguyên vô tình bị giải cấu trúc hai lần

  • +
  • Sử dụng tài nguyên sau khi chúng đã được giải cấu trúc

  • +
  • Dữ liệu chạy đua gây ra bởi việc ghi vào tài nguyên trong +khi những người khác đang đọc từ tài nguyên

  • +
  • Nhìn rõ các vùng mã mà trình biên dịch không thể đảm bảo

  • +
+

Trong chương tiếp theo, chúng ta sẽ áp dụng một số kiến thức này khi chúng ta xem xét cách Rust xử lý văn bản.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_zh-cn.html b/beta_57_zh-cn.html new file mode 100644 index 000000000..d60f30b07 --- /dev/null +++ b/beta_57_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 总结

+

哇,恭喜您成功走完了本章!我知道这下可能会有很多需要吸收的东西,但是您已经在成为一名 Rustacean 的路上走得很好了。希望您能愈发清晰地认识到 Rust 是如何致力于解决系统编程中的诸多常见挑战:

+
    +
  • 无意间对资源的修改
  • +
  • 忘记及时地释放资源
  • +
  • 资源意外地被释放两次
  • +
  • 在资源被释放后使用了它
  • +
  • 由于读取数据的同时有其他人正在向资源中写入数据而引起的数据争用
  • +
  • 在编译器无法做担保时,清晰看到代码的作用域
  • +
+

在下一章中,我们会研究一些 Rust 如何处理文本的相关知识。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_57_zh-tw.html b/beta_57_zh-tw.html new file mode 100644 index 000000000..915940040 --- /dev/null +++ b/beta_57_zh-tw.html @@ -0,0 +1,54 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 總結

+

呼,恭喜撐過這章!我知道你有很多要消化,但你正以很棒的姿態成為一名 Rust 人。 希望你清楚的了解 Rust 以一門語言來說,是如何解決下列許多系統程式 (systems programming) 的共同問題:

+
    +
  • 無意的修改資源
  • +
  • 忘記釋放資源
  • +
  • 資源不小心被釋放了兩次
  • +
  • 在資源被釋放後還使用它
  • +
  • 當有人正在讀取資料,而另外有人正在修改資料而引起的資料競爭
  • +
  • 清楚的看到哪一段 code 是編譯器無法保證的
  • +
+

在下一章節裡,我們將會應用一些這裡的知識,來看看 Rust 怎麼處理文字。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_59_ar.html b/beta_59_ar.html new file mode 100644 index 000000000..4e35b7eba --- /dev/null +++ b/beta_59_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلاسل النصية الحرفية (String Literals)

+

تكون السلاسل النصية الحرفية دائنا يونيكود (Unicode).

+

نوع السلاسل النصية الحرفية هو &'static str

+
    +
  • الرمز & يعني أنه يشير إلى مكان في الذاكرة، وبما أنه ليس &mut فهذا يعني أن المترجم (compiler) لن يسمح بالتعديل.
  • +
  • الرمز 'static يعني أنه بيانات السلسلة النصية تبقى متاحة حتى نهاية البرنامج (لا تسقط أبدا).
  • +
  • الرمز str يعني أنها تشير إلى تسلسل من البايتات وهي دائما بترميز utf-8 صالح.
  • +
+

تفاصيل الذاكرة:

+
    +
  • المرجح هو أن يقوم مترجم (compiler) رست (Rust) بوضع السلسلة النصية الخاصة بك في مقطع البيانات (ذاكرة البيانات) الخاص بذاكرة البرنامج
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_de.html b/beta_59_de.html new file mode 100644 index 000000000..5ede263a0 --- /dev/null +++ b/beta_59_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String-Literale

+

String-Literale werden immer dargestellt unter Verwendung der utf-8-Kodierung des Unicode-Zeichensatzes. +String-Literale sind vom Typ „&'static str“:

+
    +
  • '&' dient als Verweis auf den Speicherort, ohne dass „&mut“ vom Compiler verwendet wird Sie haben keine Änderungserlaubnis.
  • +
  • 'static' bedeutet, dass die String-Daten bis zum Ende verfügbar sind das Programm (es stürzt nie ab).
  • +
  • 'str' bezeichnet eine Folge von Bytes, die immer gültigen Text im utf-8-Format bilden +Speicherdetails:
  • +
  • Der Rust-Compiler wird die Zeichenfolge wahrscheinlich in das Datensegment von einfügen Programmspeicher.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_en.html b/beta_59_en.html new file mode 100644 index 000000000..abc539df1 --- /dev/null +++ b/beta_59_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_es.html b/beta_59_es.html new file mode 100644 index 000000000..cc99b62cd --- /dev/null +++ b/beta_59_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadenas de Caracteres Literales

+

Las cadenas de caracteres literales son siempre unicode y de tipo &'static str:

+
    +
  • & es una referencia a una posición de memoria y carece de &mut, lo que significa que el compilador no permitirá modificarla.
  • +
  • 'static significa que los datos de la cadena estarán disponibles hasta el final de nuestro programa (nunca se libera).
  • +
  • str apunta a una secuencia de bytes que son siempre válidos UTF-8
  • +
+

Detalles de la memoria:

+
    +
  • El compilador de Rust probablemente pondrá la cadena de texto en el segmento de datos de la memoria del programa.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_fa.html b/beta_59_fa.html new file mode 100644 index 000000000..a188bf04f --- /dev/null +++ b/beta_59_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_fr.html b/beta_59_fr.html new file mode 100644 index 000000000..0365ebff7 --- /dev/null +++ b/beta_59_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chaînes de caractères

+

Les chaînes de caractères (en anglais string literals) sont toujours encodées avec le standard Unicode.

+

Le type d'une chaîne de caractères est &'static str.

+
    +
  • & signifie que c'est une référence. Remarque l'abscence du mot-clé &mut, +cela nous dit également que le compilateur n'autorisera pas la modification.
  • +
  • 'static signifie que la donnée sera disponible jusqu'à la fin du programme (celle-ci n'est jamais désallouée).
  • +
  • str signifie que la référence pointe vers une séquence de bytes qui sera toujours interprétable en tant qu'utf-8.
  • +
+

Détails de la mémoire:

+
    +
  • Le compilateur Rust va dans la plupart des cas placer les données de la chaîne de caractères +sur le segment de données (en anglais data segment) de la mémoire du programme.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_hu.html b/beta_59_hu.html new file mode 100644 index 000000000..c8d13e3d8 --- /dev/null +++ b/beta_59_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szöveg értékek

+

A szöveg értékek mindig Unicode kódolásúak.

+

A típusuk &'static str:

+
    +
  • A & azt jelöli, hogy egy memóriában található helyre mutatunk, a mut hiánya pedig, hogy ez +egy megváltoztathatatlan érték.
  • +
  • A 'static élettartam azt mondja meg, hogy a szöveg a program futásának egésze alatt elérhető +számunkra (sose drop-ol).
  • +
  • Az str pedig azt jelenti, hogy ez az érték egy olyan bájtsorozat, ami mindig érvényes +utf-8 bájtokat tartalmaz.
  • +
+

Hogyan érinti ez a memóriát:

+
    +
  • A fordító az ilyen szövegeket majdnem mindig az adatmemóriába fogja helyezni.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ie.html b/beta_59_ie.html new file mode 100644 index 000000000..06ae0815f --- /dev/null +++ b/beta_59_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals

+

String literals (caten-litterales) es sempre Unicode

+

Li tip por string literals es &'static str

+
    +
  • & significa que it refere a un loc in memorie, e it manca un &mut nam li compilator nequande va permisser modificar it
  • +
  • static significa que li data del string va sempre esser disponibil til li fine del programma (it nequande cade)
  • +
  • str significa que it indica un sequentie de bytes queles sempre es valid utf-8
  • +
+

Detallies pri memorie:

+
    +
  • max probabilmen li compilator Rust va plazzar tui string in li segment de data del memorie de tui programma
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_it.html b/beta_59_it.html new file mode 100644 index 000000000..47efb813b --- /dev/null +++ b/beta_59_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe letterali

+

Le stringhe letterali sono sempre Unicode.

+

I tipi di stringhe letterali sono &'static str:

+
    +
  • & significa che si riferisce a un luogo nella memoria e manca a &mut significa che il compilatore non consentirà modifiche
  • +
  • 'statico significa che i dati della stringa saranno disponibili fino alla fine del nostro programma (non si interrompe mai)
  • +
  • str significa che punta a una sequenza di byte sempre validi utf-8
  • +
+

Dettagli della memoria:

+
    +
  • Il compilatore Rust probabilmente inserirà la tua stringa nel segmento dati del tuo file memoria del programma
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ja.html b/beta_59_ja.html new file mode 100644 index 000000000..6fde3f491 --- /dev/null +++ b/beta_59_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列リテラル

+

文字列リテラルは常にUnicodeです。 +文字列リテラルの型は&'static strです。:

+
    +
  • & はメモリ中の場所を参照していることを意味しており、 &mut を欠いているのは、 コンパイラがそれを修正することを認めていないということです。
  • +
  • 'static は文字列データがプログラムの終了まで有効であるということを意味しています。(文字列データは決して消えません。)
  • +
  • str は常に有効なutf-8であるバイト列を指していることを意味しています。
  • +
+

メモリに関する詳細:

+
    +
  • Rustのコンパイラは文字列をプログラムメモリのデータセグメントに入れるでしょう。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ko.html b/beta_59_ko.html new file mode 100644 index 000000000..2e83f5ffa --- /dev/null +++ b/beta_59_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

문자열

+

문자열은 언제나 유니코드로 되어 있습니다.

+

문자열의 자료형은 &'static str입니다:

+
    +
  • &는 메모리 내의 장소를 참조하고 있다는 의미이며, &mut가 빠졌다는 것은 컴파일러가 값의 변경을 허용하지 않을 것이라는 뜻입니다
  • +
  • 'static은 string 데이터가 프로그램이 끝날 때까지 유효하다는 의미입니다 (절대 drop 되지 않습니다)
  • +
  • str은 언제나 유효한 utf-8인 바이트 열을 가리키고 있다는 의미입니다
  • +
+

메모리 상세:

+
    +
  • Rust 컴파일러는 문자열을 프로그램 메모리의 데이터 세그먼트에 저장할 것입니다
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_pl.html b/beta_59_pl.html new file mode 100644 index 000000000..33e02bc58 --- /dev/null +++ b/beta_59_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals

+

String literals are always Unicode.

+

String literals type are &'static str:

+
    +
  • & meaning that it's referring to a place in memory, and it lacks a &mut meaning that the compiler will not allow modification
  • +
  • 'static meaning the string data will be available till the end of our program (it never drops)
  • +
  • str means that it points to a sequence of bytes that are always valid utf-8
  • +
+

Memory details:

+
    +
  • The Rust compiler will likely put your string in the data segment of your program memory
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_pt-br.html b/beta_59_pt-br.html new file mode 100644 index 000000000..d3a70ec86 --- /dev/null +++ b/beta_59_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literais string

+

Asd literais string são sempre Unicode.

+

O tipo de literais String é &'static str:

+
    +
  • & significa que está se referindo a uma posição na memória e a falta de um & mut significa que o compilador não permitirá modificações.
  • +
  • 'static significa que os dados da string estarão disponíveis até o final da execução do nosso programa (isto é, nunca será descartada).
  • +
  • str significa que aponta para uma sequência de bytes que serão sempre utf-8 válidos.
  • +
+

Detalhes da memória:

+
    +
  • O compilador Rust provavelmente colocará sua string no segmento de dados da memória do seu programa.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ro.html b/beta_59_ro.html new file mode 100644 index 000000000..d22ec075f --- /dev/null +++ b/beta_59_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere literale

+

Șirurile de caractere literale (în engleză string literals) sunt întotdeauna reprezentate folosind codificarea utf-8 al setului de caractere Unicode. +Șirurile de caractere literale sunt de tipul &'static str:

+
    +
  • & înseamnă că referențiază o locație din memorie, neavând &mut compilatorul nu va permite modificări.
  • +
  • 'static înseamnă că datele șirului de caractere vor fi disponibile până la sfârșitul programului (nu se dă drop niciodată).
  • +
  • str înseamnă că indică o secvență de octeți ce formează întotdeauna un text valid în formatul utf-8
  • +
+

Detalii legate de memorie:

+
    +
  • Compilatorul de Rust va pune probabil șirul de caractere în segmentul de date al memoriei programului dumneavoastră.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ru.html b/beta_59_ru.html new file mode 100644 index 000000000..91328c584 --- /dev/null +++ b/beta_59_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип строковые литералы (String Literals)

+

Строковые литералы Rust всегда в кодировке Unicode.

+

Типом строковых литералов всегда является описание &'static str:

+
    +
  • & означает это ссылка на место в памяти, у нее нет &mut и это означает, что компилятор не позволит делать изменения
  • +
  • 'static означает, что строковые данные будут доступны с начала и до конца нашей программы (они никогда не удаляются)
  • +
  • тип str означает, что он указывает на последовательность байтов, которые являются всегда действительным текстом в utf-8 кодировке
  • +
+

Тонкости памяти:

+
    +
  • Компилятор Rust скорее всего разместит эту строку в памяти сегмента данных +вашей программы
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_th.html b/beta_59_th.html new file mode 100644 index 000000000..3001d060d --- /dev/null +++ b/beta_59_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การประกาศ String

+

String เป็น Unicode เสมอ

+

type ของ String ประกาศโดยใช้ &'static str:

+
    +
  • & หมายความว่านี่คือการอ้างถึงพื้นที่หนึ่งในหน่วยความจำ และมันไม่ใช่ &mut นั่นแปลว่าคอมไพเลอร์จะไม่ยอมให้แก้ไขข้อความนี้ได้
  • +
  • 'static แปลว่า ข้อความสตริงนี้จะคงอยู่ไปจนกว่าโปรแกรมจะสิ้นสุด(มันจะไม่โดน drop แน่นอน)
  • +
  • str แปลว่า มันชี้ไปที่สายลำดับของไบต์ที่เป็น utf-8 ที่ถูกต้องแน่นอน
  • +
+

รายละเอียดหน่วยความจำ:

+
    +
  • คอมไพเลอร์ของ Rust มีแนวโน้มที่จะวางสตริงของคุณไว้ใน หน่วยความจำของโปรแกรมส่วนที่เป็น data segment
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_tr.html b/beta_59_tr.html new file mode 100644 index 000000000..c29fc387c --- /dev/null +++ b/beta_59_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgi Değişmezleri

+

Dilimize dizgi değişmezleri olarak çevirebileceğimiz String literals verileri, daima Unicode standardında kodlanırlar.

+

Ve bu değişmezlerin türü her zaman &'static str şeklindedir:

+
    +
  • Referans belirteci olan & ise bellekte bir yere atıfta bulunulduğu anlamına gelir ve &mut biçiminde kullanılmadığından, derleyicinin değişiklik yapılmasına izin vermeyeceğini göstermektedir.
  • +
  • 'static belirtecinin varlığı, dizgi verilerinin program sonlanana kadar yaşamlarını sürdüreceği ve asla düşürülmeyeceğini ifade eder.
  • +
  • str belirtecinin varlığı bize, bu referansın daima utf-8 olarak yorumlanacak bir bayt dizisine işaret ettiğini gösterir.
  • +
+

Bellek ayrıntıları:

+
    +
  • Rust derleyicisi çoğu durumda dizgi verilerini, belleğin veri bölümüne yerleştirecektir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_ua.html b/beta_59_ua.html new file mode 100644 index 000000000..ae6d50940 --- /dev/null +++ b/beta_59_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Рядкові літерали

+

Рядкові літерали завжди представлені у Unicode.

+

Тип рядкових літералів - &'static str:

+
    +
  • & значить, що він посилається на певне місце у пам'яті, відсутність &mut значить, що компілятор не дозволить робити зміни
  • +
  • 'static значить, що цей рядок даних буде доступним до самого кінця виконання нашої програми (він ніколи не видалиться)
  • +
  • str означає, що він вказує на послідовність байтів, які завжди будуть дійсні у utf-8
  • +
+

Деталі про роботу з пам'яттю:

+
    +
  • Компілятор Rust найімовірніше покладе ваш рядок у сегмент пам'яті, де зберігаються дані вашої програми
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_vi.html b/beta_59_vi.html new file mode 100644 index 000000000..4cd02d5da --- /dev/null +++ b/beta_59_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi ký tự(String Literal)

+

Chuỗi ký tự luôn là Unicode.

+

Loại của chuỗi ký tự là &'static str:

+
    +
  • & nghĩa là nó đề cập đến một vị trí trong bộ nhớ, và nó thiếu một &mut nghĩa là trình biên dịch sẽ không cho phép sửa đổi
  • +
  • 'staticcó nghĩa là dữ liệu chuỗi sẽ có sẵn cho đến khi kết thúc chương trình của chúng ta (nó không bao giờ drop)
  • +
  • str có nghĩa là nó trỏ đến một chuỗi các byte luôn hợp lệ utf-8
  • +
+

Chi tiết bộ nhớ:

+
    +
  • Trình biên dịch Rust có thể sẽ đưa chuỗi của bạn vào phân đoạn dữ liệu của bộ nhớ chương trình của bạn.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_zh-cn.html b/beta_59_zh-cn.html new file mode 100644 index 000000000..cd340538a --- /dev/null +++ b/beta_59_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串常量(String Literals)

+

字符串常量(String Literals)采用 Unicode 编码(注:下文提及的 utf-8 为 Unicode 的一部分)。

+

字符串常量的类型为 &'static str

+
    +
  • & 意味着该变量为对内存中数据的引用,没有使用 &mut 代表编译器将不会允许对该变量的修改
  • +
  • 'static 意味着字符串数据将会一直保存到程序结束(它不会在程序运行期间被释放(drop)
  • +
  • str 意味着该变量总是指向一串合法的 utf-8 字节序列。
  • +
+

内存细节:

+
    +
  • Rust 编译器可能会将字符串储存在程序内存的数据段中。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_59_zh-tw.html b/beta_59_zh-tw.html new file mode 100644 index 000000000..31c9434bf --- /dev/null +++ b/beta_59_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串常量 (string literals)

+

字串常量總是以萬國碼 (unicode) 表示。

+

字串常量型別為 &'static str

+
    +
  • & 表示它參考到記憶體裡某個位址,且因為沒有 &mut 所以表示編譯器不允許它被修改
  • +
  • 'static 表示字串資料將一直存活到我們的程式結束為止 (它永不會徹下)
  • +
  • str 表示它指向一連串的位元組 (bytes),且總是合法的 utf-8
  • +
+

記憶體細節:

+
    +
  • Rust 編譯器將會很有可能將你的字串放在程式記憶體的資料區間裡
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_60_ar.html b/beta_60_ar.html new file mode 100644 index 000000000..f3f989c41 --- /dev/null +++ b/beta_60_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ماهو utf-8

+

نظرًا لاستخدام المزيد من اللغات على أجهزة الكمبيوتر، كان العالم بحاجة إلى تمثيل عدد أكبر من الأحرف النصية +أكثر مما يسمح به ASCII (يسمح البايت الواحد بـ 256 حرفًا فقط).

+

utf-8 تم تقديمه مع طول بايت متغير يتراوح من 1 إلى 4 بايت مما أدى إلى زيادة نطاق الأحرف الممكنة بشكل كبير.

+

من مميزات الأحرف ذات الحجم المتغير أن النص لا يحتوي على بايتات غير ضرورية للأحرف الشائعة جدًا في ASCII (يتطلب بايت واحد فقط في utf-8).

+

الجانب السلبي للأحرف ذات الحجم المتغير هو أنه لم يعد من الممكن إجراء البحث عن الأحرف بسرعة +(O(1) وقت ثابت) باستخدام فهرسة بسيطة (على سبيل المثال، my_text[3] للحصول على الحرف الرابع). وأنه من الممكن أن يكون للأحرف السابقة +عرض متغير، مما يؤدي إلى تغيير المكان الذي يبدأ فيه الحرف الرابع فعليًا في تسلسل البايتات.

+

بدلاً من ذلك كله، فإنه يجب علينا عمل تكرار عبر تسلسل بايت utf-8 لمعرفة من أين تبدأ أماكان أحرف Unicode فعليًا (O(n) الزمن الخطي).

+

فيريس: "أنا سعيد في الغالب بوجود utf-8 لتمثيل الرموز التعبيرية لأصدقائي تحت الماء."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_de.html b/beta_60_de.html new file mode 100644 index 000000000..a5c53eb70 --- /dev/null +++ b/beta_60_de.html @@ -0,0 +1,53 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Was ist utf-8

+

Da immer mehr Sprachen auf Computern verwendet wurden, brauchte die Welt Möglichkeiten, mehr Textzeichen darzustellen, als ASCII erlaubte (1 Byte erlaubte nur 256 Zeichen).

+

Es wurde utf-8 eingeführt , mit einer variablen Länge von Bytes (1-4 Bytes), was den Bereich möglicher Zeichen erheblich vergrößert.

+

Ein Vorteil von Zeichen variabler Größe besteht darin, dass der Text keine unnötigen Bytes mehr für sehr häufige ASCII-Zeichen enthält (die nur 1 erfordern). Byte in utf-8).

+

Ein Nachteil von Zeichen variabler Größe besteht darin, dass Zeichensuchen nicht mehr schnell durchgeführt werden können +(** konstante Zeit O(1 )**) mit einfacher Indizierung (Beispiel : my_text[3], um das 4. Zeichen zu erhalten). +Die vorherigen Zeichen können variable Breiten haben, wodurch sich ändert, wo das 4. Zeichen tatsächlich in der Bytefolge beginnt.

+

Stattdessen müssen wir eine Schleife durch ein utf- 8 Bytefolge, um zu verstehen, wo die Unicode-Zeichen tatsächlich beginnen (** lineare Zeit O(n)).

+

Ferris: „Meistens bin ich einfach nur froh, dass ich **utf-8 habe ** um Emoticons mit meinen Unterwasserfreunden zu rendern."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_en.html b/beta_60_en.html new file mode 100644 index 000000000..eb5343e79 --- /dev/null +++ b/beta_60_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_es.html b/beta_60_es.html new file mode 100644 index 000000000..eedae8e81 --- /dev/null +++ b/beta_60_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

¿Qué es UTF-8?

+

A medida que se incorporaban más idiomas en los ordenadores, estos necesitaban representar más caracteres de texto que los permitidos por el ASCII (1 byte sólo permitía 256 caracteres).

+

UTF-8 se introdujo con una longitud variable de 1 a 4 bytes, lo que aumentó enormemente el rango de caracteres posibles.

+

Una ventaja de los caracteres de tamaño variable es que el texto no tiene bytes innecesarios para el ASCII (en UTF-8 sólo se requería 1 byte).

+

Una desventaja de los caracteres de tamaño variable es que la búsqueda de caracteres ya no puede hacerse rápidamente +(O(1) constant time) con una simple indexación (por ejemplo my_text[3] para obtener el 4º carácter). Es posible que los caracteres previos tengan tamaños variables, alterando la posición de inicio del 4º carácter en la secuencia de bytes.

+

En cambio, debemos iterar a través de una secuencia de bytes UTF-8 para entender dónde comienzan realmente los caracteres unicode (O(n) tiempo lineal).

+

Ferris: " Gracias a UTF-8 puedo representar a mis amigos acuáticos con emojis."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_fa.html b/beta_60_fa.html new file mode 100644 index 000000000..e6da2c9da --- /dev/null +++ b/beta_60_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_fr.html b/beta_60_fr.html new file mode 100644 index 000000000..c8950f759 --- /dev/null +++ b/beta_60_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Introduction à l'utf-8

+

De plus en plus de langues doivent être supportées par les ordinateurs d'aujourd'hui. +Malheureusement, le système d'encodage ASCII initialement utilisé sur les premiers ordinateurs ne suffit plus +pour représenter tout les caractères. L'encodage ASCII ne permet d'encoder seulement 256 caractères sur 1 byte.

+

L'introduction du standard unicode utf-8 a permis d'augmenter grandement le nombre caractères utilisable en +offrant un encodage pouvant varier de 1 à 4 bytes.

+

Un avantage d'avoir des caractères à taille variable est qu'on n'utilise pas de bytes superflues +pour représenter les caractères communs ASCII (requiert un seul byte même avec l'encodage utf-8).

+

Un désavantage d'avoir des caractères à taille variable est que l'accès ne peut plus être fait +rapidemment (temps constant O(1)) avec un simple accès par index (e.g. +my_text[3] pour récupérer le 4ème caractère). +En effet, il est possible que les caractères précédants le caractère que l'on souhaite lire aient une taille variable, altérant +la position où le 4ème caractère se situe dans la séquence d'octets.

+

Au lieu de cela, nous devons itérer sur la séquence de byte utf-8 pour trouver où se situe +le caractère unicode (temps linéaire O(n)).

+

Ferris: "Je suis surtout content d'avoir l'encodage ** utf-8 ** pour représenter les emojis de mes amis sous-marins!"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_hu.html b/beta_60_hu.html new file mode 100644 index 000000000..3913eacd4 --- /dev/null +++ b/beta_60_hu.html @@ -0,0 +1,58 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mi is az az utf-8?

+

Ahogy egyre több nyelvet kezdtünk használni a számítógépeken, hirtelen szükségessé vált, hogy +több karaktert tudjunk reprezentálni, mint arra az ASCII képes volt (mely 1 byteon tárolt a +karaktereket, így összesen 256 különböző karaktert megengedve).

+

Az utf-8 egy olyan formátum, ami 1-4 bájt közötti hosszal rendelkezik karakterenként, ezzel +lényegesen megnövelve, hány karaktert is képes reprezentálni. Mivel a gyakori, ASCII-ban is +előforduló karakterek itt is egy bájton vannak reprezentálva, ezért a kódolás nem pazarolja a +helyet fölöslegesen. Ugyanakkor, a változó hossz iatt így már nem lehet egyszerűen lekérni a +szöveg egyes karaktereit (O(1) időben) azzal, hogy a szövegbe indexelünk (pl.: +szövegem[3]), hisz könnyen meglehet, hogy mindegyik karakter más hosszúságú, így az indexelt +karakter lehet nem is ott van, ahol a program keresné. Ehelyett a megoldás az, hogy +végigiterálunk a szövegen, amíg a keresett karaktert el nem érjük (O(n) időben).

+

Ferris: "Csak örülni tudok, hogy az utf-8 segítségével a víz alatti barátaim képei +megjelenhetnek!"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_ie.html b/beta_60_ie.html new file mode 100644 index 000000000..d8b57ced0 --- /dev/null +++ b/beta_60_ie.html @@ -0,0 +1,54 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pri utf-8

+

Con plu e plu lingues usat in computatores, li munde besonat representar li caracteres usat in ili +queles ASCII sol ne posset monstrar (1 byte possibilisat solmen 256 caracteres).

+

On introductet utf-8 con un byte-longore variant inter 1-4 bytes, creante un spacie por mult plu caracteres possibil.

+

Un avantage de caracteres con grandore variabil es que con li max comun caracteres (ASCII) on besonat solmen un sol byte mem in utf-8

+

Un desavantage es que caractere-serchada ne plu esset possibil con rapiditá +(O(1) constant témpor) con un simplic indexation (p.ex. my_text[3] por trovar li 4im caractere). Nam in ti-ci exemple it es +possibil que chascun caractere possede un largore diferent, e in li sequentie de bytes on ne posse garantir li loc ú it comensa e fini se.

+

Pro to noi deve iterar tra un sequentie de bytes in utf-8 por comprender ú comensa li caracteres unicode (O(n) lineari témpor).

+

Ferris: "Por mi parte yo es felici posser usar utf-8 por usar li emojis de mi amics submarin."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_it.html b/beta_60_it.html new file mode 100644 index 000000000..a4e366d60 --- /dev/null +++ b/beta_60_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cos'è utf-8

+

Poiché sui computer venivano utilizzate più lingue, il mondo aveva bisogno di rappresentare più caratteri di testo +di quelli consentiti dall'ASCII (1 byte consentiva solo 256 caratteri).

+

utf-8 è stato introdotto con una lunghezza in byte variabile di 1 -4 byte aumentando notevolmente la gamma di caratteri possibili.

+

Un vantaggio dei caratteri di dimensione variabile è che il testo non ha byte non necessari per ASCII molto comuni (richiede solo 1 byte ancora in utf-8). + nUno svantaggio dei caratteri di dimensione variabile è che la ricerca dei caratteri non può più essere eseguita rapidamente +(O(1) tempo costante) con una semplice indicizzazione (ad esempio mio_testo[3] per ottenere il quarto carattere). possibile che i +caratteri precedenti possano avere larghezze variabili, alterando il punto in cui inizia effettivamente il 4° carattere nella sequenza di byte.

+

Dobbiamo invece scorrere una sequenza di byte utf-8 per capire dove iniziano effettivamente i caratteri Unicode (O(n) tempo lineare).

+

Ferris: "Per lo più sono semplicemente felice di avere utf-8 per rappresentare gli emoji dei miei amici sott'acqua."

+

< span class="emoji">🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_ja.html b/beta_60_ja.html new file mode 100644 index 000000000..ec820994f --- /dev/null +++ b/beta_60_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

utf-8とは

+

様々な言語がコンピューター上で使われるようになるにつれて, ASCIIで許可されている以上のテキスト文字を表現する必要が出てきました。(ASCIIで許可されているのは1バイト、つまり256文字です)

+

utf-8 は1~4バイトの可変バイト長で導入され、それによって表現可能な文字の範囲が大幅に広がりました。

+

可変サイズ文字の利点として挙げられるのは、一般的なASCIIで使われる文字について余計なバイトを必要としなかったことです。(一般的なASCIIで使われる文字についてutf-8 で必要とするのはASCIIと変わらずたった1バイトです)

+

可変サイズの文字の欠点として挙げられるのは、簡単なインデキシング(例:4番目の文字を取得するために my_text[3] を使用すること)における文字の検索が(O(1) 定数時間で)素早くできなくなることです。すぐ前にある文字が可変幅を持つことで、4番目の文字がバイト列のどこから実際に始まるのかが変わってしまう可能性があります。

+

その代わり、Unicode文字が実際にどこから始まるのかを知るために utf-8 バイトのシーケンスを繰り返さなければなりません。(計算量は線形時間 O(n)

+

Ferris「水中にいるお友達の絵文字を表現するのに utf-8 があると嬉しいね!」

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_ko.html b/beta_60_ko.html new file mode 100644 index 000000000..29299ce53 --- /dev/null +++ b/beta_60_ko.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

utf-8이란 무엇인가

+

컴퓨터로 점점 더 많은 나라의 언어가 사용되면서, 세계는 ASCII가 허용하던 것보다 +(1 바이트는 256 문자 밖에 허용하지 않음) 더 많은 문자를 필요로 하게 되었습니다.

+

utf-8은 1에서 4 바이트의 가변 길이 바이트로 도입되어, 사용 가능한 문자의 범위를 엄청나게 늘려 주었습니다.

+

가변 크기 문자의 한 가지 장점은 매우 흔한 ASCII 문자(utf-8에서도 여전히 1 바이트만 필요로 함)에 쓸데 없는 바이트를 필요로 하지 않는다는 점입니다.

+

한 가지 단점은 단순한 인덱싱(예: my_text[3]으로 네 번째 문자를 가져옴)으로는 +더 이상 빠르게(O(1) 상수 시간으로) 문자를 찾을 수 없다는 점입니다. +바로 앞의 글자가 가변 길이를 가질 수 있어, 바이트 열에서 4번째 문자가 실제로 시작하는 위치가 달라질 수도 있습니다.

+

우리는 그 대신에 utf-8 바이트 열을 하나하나 돌면서 각각의 유니코드 문자가 실제로 어디에서 시작하는지 찾아야 합니다 (O(n) 선형 시간).

+

Ferris: "utf-8로 내 물밑 친구들의 이모지를 보여줄 수 있어서 기쁩니다."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_pl.html b/beta_60_pl.html new file mode 100644 index 000000000..b962412c9 --- /dev/null +++ b/beta_60_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What is utf-8

+

As more languages were used on computers, the world needed to represent more text characters +than ASCII allowed (1 byte only allowed 256 characters).

+

utf-8 was introduced with a variable byte length of 1-4 bytes greatly increasing the range of possible characters.

+

An advantage of variable sized characters is text did not have unnecessary bytes for very common ASCII (only requiring 1 byte still in utf-8).

+

A downside of variable sized characters is that character lookup can no longer be done quickly +(O(1) constant time) with a simple indexing (e.g. my_text[3] to get the 4th character). It's possible that the +preceding characters could have variable widths, altering where the 4th character actually begins in the sequence of bytes.

+

Instead we must iterate through a utf-8 byte sequence to understand where the Unicode characters actually begin (O(n) linear time).

+

Ferris: "I'm mostly just happy to have utf-8 for representing emojis of my underwater friends."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_pt-br.html b/beta_60_pt-br.html new file mode 100644 index 000000000..3a9058b62 --- /dev/null +++ b/beta_60_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O que é utf-8

+

À medida que mais idiomas eram usados nos computadores o mundo precisava representar mais caracteres de texto do que o permitido pelo ASCII (1 byte permitia apenas 256 caracteres).

+

O utf-8 foi introduzido com um comprimento em bytes variável de 1 a 4 bytes, aumentando bastante o intervalo de caracteres possíveis.

+

Uma vantagem dos caracteres de tamanho variável é que o texto não tem bytes desnecessários para os caracteres ASCII comumente usados (requer apenas 1 byte mesmo em utf-8).

+

Uma desvantagem dos caracteres de tamanho variável é que a pesquisa de caracteres não pode mais ser feita rapidamente (tempo constante de O(1)) com uma indexação simples (por exemplo my_text[3] para obter o 4º caractere). É possível que os caracteres anteriores tenham larguras variáveis, alterando onde o quarto caractere realmente começa na sequência de bytes.

+

Em vez disso, devemos iterar por uma sequência de bytes utf-8 para entender onde os caracteres Unicode realmente começam (tempo linear de O(n)).

+

Ferris: "Estou muito feliz por ter utf-8 para representar os emojis dos meus amigos subaquáticos."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_ro.html b/beta_60_ro.html new file mode 100644 index 000000000..25fe56075 --- /dev/null +++ b/beta_60_ro.html @@ -0,0 +1,54 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ce este utf-8

+

Pe măsură ce tot mai multe limbi au început a fi folosite pe calculatoare, lumea a avut nevoie de modalități de reprezentare a mai multor caractere de text +decat ASCII permitea (1 byte permitea numai 256 de caractere).

+

A fost introdus utf-8, având o lungime variabilă de bytes (1-4 bytes), lucru ce a crescut considerabil gama de caractere posibile.

+

Un avantaj al caracterelor de dimensiuni variabile este că textul nu mai are octeți inutili pentru caractere ASCII foarte comune (necesitând doar 1 octet în utf-8).

+

Un dezavantaj al caracterelor de dimensiuni variabile este faptul că căutarea caracterelor nu se mai poate face rapid +(timp constant O(1)) cu o simplă indexare (exemplu: my_text[3] pentru a obține al patrulea caracter). Este posibil ca +caracterele anterioare să aibă lățimi variabile, modificând locul în care începe de fapt al 4-lea caracter în secvența de octeți.

+

Trebuie în schimb să parcurgem o secvență utf-8 de octeți pentru a înțelege unde încep de fapt caracterele Unicode (timp liniar O(n)).

+

Ferris: "În mare parte, doar mă bucur că am utf-8 pentru a reprezenta emoticoane cu prietenii mei subacvatici."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_ru.html b/beta_60_ru.html new file mode 100644 index 000000000..6e74d1f8c --- /dev/null +++ b/beta_60_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Что такое utf-8

+

Поскольку на компьютерах использовалось все больше языков, то миру нужно было представлять больше текстовых символов, +чем допускала кодировка ASCII (где 1 байт допускал хранение только 256 символов).

+

utf-8 кодировка была введена с переменной длиной в 1-4 байта, значительно увеличивая диапазон возможных символов.

+

Преимуществом символов переменного размера является то, что текст не имеет не нужных байт для очень распространенной кодировки ASCII (для нее все также требуется только 1 байт в utf-8).

+

Недостатком символов переменного размера является то, что поиск символов больше не может быть выполнен быстро +(за постоянное время O(1)) простой индексацией (например, my_text[3] для получения 4-го символа). Вполне возможно, что +предшествующие символы могли иметь переменную ширину, влияя на место где 4-й символ фактически начинается в последовательности байт.

+

Вместо этого нам нужно пройти последовательность utf-8 байт, чтобы понять, где на самом деле Unicode символы начинаются (за линейное время O(n)).

+

Ferris: "Я в основном счастлив иметь utf-8 для представления смайликов моих подводных друзей."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_th.html b/beta_60_th.html new file mode 100644 index 000000000..f4856300d --- /dev/null +++ b/beta_60_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

utf-8 คืออะไร

+

ด้วยเหตุที่ว่ามีการใช้ภาษาที่หลากหลายมากบนคอมพิวเตอร์ โลกนี้จำเป็นต้องมีอะไรสักอย่าง ที่สามารถแสดงอักขระที่เกินกว่าที่ ACSII เคยทำได้ (1ไบต์แสดงได้เพียง 256 อักขระ)

+

utf-8 จึงถูกนำมาใช้แทนด้วยขนาดที่แปรผันได้ 1-4ไบต์ ทำให้การแสดงอักขระมีความเป็นไปได้เพิ่มขึ้นอย่างมาก

+

ข้อได้เปรียบของขนาดอักขระที่แปรผันได้ก็คือเราจะไม่ต้องมีอักขระที่ไม่จำเป็น แบบที่เคยพบใน ASCII (ใน utf-8 ยังมีบางตัวที่มีขนาด 1ไบต์อยู่ด้วย)

+

แต่ข้อเสียของมันก็มี นั่นคือมันทำให้การค้นหาอักขระจะไม่เร็วเหมือนเดิม(O(1) เสมอ) ด้วยการบอก index ไปตรงๆ (ตัวอย่างเช่น my_text[3] เพื่อรับอักขระตัวที่ 4 ออกมา) เพราะมันอาจเป็นไปได้ว่าอักขระก่อนหน้าจะมีขนาดแปรผัน ทำให้อักขระตัวที่ 4 อาจะเปลี่ยนตำแหน่งไป

+

นั่นทำให้เราจำเป็นต้องวนหาของตามลำดับไบต์ของ utf-8 เพื่อหาว่า Unicode ตัวนั้นจริงๆเริ่มต้นที่ไหน (O(n) ในเชิงเส้น)

+

Ferris: "ฉันมีความสุขมากที่เรามี utf-8 เพราะมันแสดงอิโมจิของเหล่าเพื่อนใต้น้ำของฉันได้"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_tr.html b/beta_60_tr.html new file mode 100644 index 000000000..542a0b518 --- /dev/null +++ b/beta_60_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8 Nedir?

+

Bilgisayarların ortaya çıkışının ilk dönemlerinde, karakterleri kodlamakta kullanılan ve +1 baytlık bilgi ile sadece 256 karakterin temsil edilebildiği ASCII sistemi, teknoloji gelişip +bilgiye erişim talebi arttıkça, daha fazla dilin temsil edilmesine ihtiyaç duyulduğundan yetersiz hale geldi.

+

Ardından gelen ve bir unicode standardı olan, 1-4 byte arası değişken karakter uzunluklarını destekleyen +utf-8 tanıtılarak, daha fazla karakterin temsil edilmesi sağlandı.

+

Değişken boyutlu karakterlerin avantajı, yaygın kullanılan ASCII karakterler tek 1 bayt ile temsil +edildiklerinden, gereksiz baytların kullanılmasına ihtiyaç duymamalarıdır.

+

Ancak bunların dezavantajı, karakter aramanın, örneğin; bir_metin[3] dizgisinin 4. karakterini elde etmenin, +artık basit bir indekslemeyle, yani O(1) sabit zamanda hızlı bir şekilde yapılamıyor olmasıdır. +Bununla birlikte, okunacak karakterden önceki karakterlerin değişken bir boyuta sahip olması ve bayt +dizisindeki 4. karakterin bulunduğu konumu değiştirmesi de mümkündür.

+

Bu nedenle, Unicode karakterlerinin gerçekte nerede başladığını anlayabilmek için utf-8 dizgisini, +bayt dizisi boyunca yani O(n) doğrusal zamanda yinelememiz gerekir.

+

Ferris: "Su altı arkadaşlarımın emojilerini temsil eden utf-8 kodlamasına sahip olduğum için çok mutluyum!"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_ua.html b/beta_60_ua.html new file mode 100644 index 000000000..aa20c9d0a --- /dev/null +++ b/beta_60_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Що таке utf-8

+

Чим більше мов використовувалось при роботі з комп'ютером, тим потрібніше світу було мати змогу +відображати більше символів ніж дозволяв ASCII( 1 байт міг передавати тільки 256 різних символів)

+

utf-8 була представлена зі змінною кількістю у 1-4 байтів. Це сильно збільшило діапазон доступних символів.

+

Перевага змінного розміру символів це те, що текст не містить зайвих байтів для простих символів з ASCII( у utf-8 вони так само потребують 1 байт).

+

Зворотньою стороною змінного розміру символів є те, що пошук символів більше не може бути швидким +(O(1) константний час) за допомогю простого індексування (наприклад my_text[3] для отримання 4 символу). Цілком +можливо, що попередні символи можуть мати змінну ширину, змінюючи місце фактичного початку 4 символу в послідовності байтів.

+

Натомість ми повинні пройти через послідовність байтів utf-8, щоб зрозуміти, де насправді починаються символи Unicode (O(n) лінійний час).

+

Ферріс: "Я просто щасливий, що маю utf-8 для використання емодзі, що зображують моїх підводних друзів."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_vi.html b/beta_60_vi.html new file mode 100644 index 000000000..57ce19c39 --- /dev/null +++ b/beta_60_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

utf-8 là gì?

+

Khi nhiều ngôn ngữ được sử dụng trên máy tính, thế giới cần phải biểu diễn nhiều ký tự văn bản hơn ASCII cho phép (1 byte chỉ cho phép 256 ký tự).

+

utf-8 đã được giới thiệu với độ dài byte thay đổi từ 1-4 byte làm tăng đáng kể phạm vi ký tự có thể có.

+

Một lợi thế của các ký tự có kích thước thay đổi là văn bản không có các byte không cần thiết cho những mã ASCII rất phổ biến (chỉ yêu cầu 1 byte vẫn ở trong utf-8).

+

Nhược điểm của các ký tự có kích thước thay đổi là việc tra cứu ký tự không còn được thực hiện nhanh chóng. + (O(1) thời gian không đổi) với một lập chỉ mục đơn giản (ví dụ: my_text[3] để lấy ký tự thứ 4). Việc các ký tự trước đó có thể có độ rộng thay đổi là khả thi, thay đổi vị trí của ký tự thứ 4 thực sự bắt đầu trong chuỗi byte.

+

Thay vào đó, chúng ta phải lặp qua chuỗi byte utf-8 để hiểu vị trí các ký tự Unicode thực sự bắt đầu (O(n) thời gian tuyến tính).

+

Ferris: "Tớ rất vui vẻ với utf-8, tớ có các emoji thú vị để đại diện cho những người bạn dưới nước của tớ."

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_zh-cn.html b/beta_60_zh-cn.html new file mode 100644 index 000000000..bd5aced07 --- /dev/null +++ b/beta_60_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什么是 utf-8

+

随着在计算机上使用的语言增加,需要一个能比 ASCII 编码(1 字节表示 1 个字符,总共可表示 256 个字符)表示更多字符的编码来容纳其它语言的字符。

+

utf-8 编码这时被引入来解决这个问题,它用 1-4 个字节来表示 1 个字符,这使得可以表示的字符数大大增加。

+

使用可变长度的字节来表示字符有一个优点,就是常见的 ASCII 编码字符在 utf-8 编码中无需使用更多的字节(也是 1 字节表示 1 个字符)。

+

但是这样做也有缺点,在 utf-8 文本中通过索引来匹配字符(例:my_text[3] 获取 my_text 的第 4 个字符)将不能像以前的编码标准那么快(以前编码标准花费 O(1) 常数时间)。 这是因为前面的字符具有可变的对应字节,从而无法直接确定第 4 个字符在字节序列中的起始字节。

+

我们需要遍历 utf-8 的字节序列才可以得到对应 Unicode 字符的起始位置(这将花费 O(n) 线性时间)。

+

Ferris:“我只是为 utf-8 编码有表示我水中好友的表情符号感到高兴。“

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_60_zh-tw.html b/beta_60_zh-tw.html new file mode 100644 index 000000000..7795dac38 --- /dev/null +++ b/beta_60_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什麼是 utf-8

+

隨著越來越多語言在電腦上使用,這個世界就需要顯示更多文字字元,而不是單單 ASCII 允許的 1 個位元、256 個字元。

+

utf-8 以有著 1-4 個位元組的可變長度登場,這大幅增加可能的字元。

+

使用可變長度有個優勢是,對於那些常用的 ASCII (在 utf-8 裡仍只需要一個位元組),文字將不會有不必要的位元組。

+

可變長度的缺點是,查找字元時無法快速地 (O(1) 常數時間) 用索引完成 (例如:my_text[3] 以取得第 4 個元)。 +的確有可能在前面的字元可以有可變的寬度,修改第 4 個字元事實上是從第一個位元組開始。

+

取而代之的是,我們必定得迭代整個 utf-8 位元序列,才有辦法知道萬國碼是從哪裡開始 (O(n) 線性時間)。

+

Ferris:「我非常高興有 utf-8 可以用 emoji 來表示我的水底朋友們。」"

+

🐠🐙🐟🐬🐋

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_61_ar.html b/beta_61_ar.html new file mode 100644 index 000000000..b22ce4913 --- /dev/null +++ b/beta_61_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

أحرف الهروب (Escaping Characters)

+

من الصعب تمثيل أحرف معينة بصريًا، لذا تسمح لنا رموز الهروب (escape codes) بوضع رمز في مكانها.

+

يدعم رست (Rust) رموز الهروب الشائعة في اللغات المستندة إلى لغة C:

+
    +
  • \n - سطر جديد
  • +
  • \r - الرجوع إلى أول السطر
  • +
  • \t - تبويبة (tab)
  • +
  • \\ - شرطة مائلة عكسية (backslash)
  • +
  • \0 - اللاشَيْء (null)
  • +
  • \' - علامة إقتباس أحادية (single-quote)
  • +
+

القائمة الكاملة موجودة هنا.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_de.html b/beta_61_de.html new file mode 100644 index 000000000..2fab97df1 --- /dev/null +++ b/beta_61_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escape-Sequenzen

+

Es ist eine Herausforderung, bestimmte Zeichen visuell darzustellen, daher müssen Escape-Sequenzen (Escape-Codes) Sie ermöglichen es uns, ein Symbol an ihre Stelle zu setzen.

+

Rust unterstützt gängige Escape-Codes von C-basierten Sprachen:

+
    +
  • \n - Neue Zeile
  • +
  • \r - Wagenrücklauf
  • +
  • \t - tab
  • +
  • \\\ - backslash
  • +
  • \0 - nul
  • +
  • \' - Einzelzitate
  • +
+

Die vollständige Liste ist vorhanden Hier.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_en.html b/beta_61_en.html new file mode 100644 index 000000000..704def38f --- /dev/null +++ b/beta_61_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_es.html b/beta_61_es.html new file mode 100644 index 000000000..48a6a4bc6 --- /dev/null +++ b/beta_61_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caracteres de Escape

+

Es un reto representar visualmente ciertos caracteres, pero los códigos de escape nos permiten usar símbolos.

+

Rust soporta los códigos de escape comunes de los lenguajes basados en C.

+
    +
  • \n - salto de línea.
  • +
  • \r - retorno de carro.
  • +
  • \t - tabulación.
  • +
  • \\ - barra invertida.
  • +
  • \0 - nulo.
  • +
  • \' - comilla simple.
  • +
+

Puedes encontrar la lista completa aquí.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_fa.html b/beta_61_fa.html new file mode 100644 index 000000000..2b3135a24 --- /dev/null +++ b/beta_61_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_fr.html b/beta_61_fr.html new file mode 100644 index 000000000..4d6d05ec3 --- /dev/null +++ b/beta_61_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caractères d'échappement

+

Certains caractères spéciaux posent problèmes dans les chaînes de caractères. +Mais fort heureusement, les caractères d'échappement nous permettent de les représenter.

+

Rust supporte la plupart des codes d'échappement communs aux langages de programmation basés sur le C:

+
    +
  • \n - nouvelle ligne
  • +
  • \r - retour charriot
  • +
  • \t - tabulation
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - apostrophe
  • +
+

La liste complète existe ici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_hu.html b/beta_61_hu.html new file mode 100644 index 000000000..380853153 --- /dev/null +++ b/beta_61_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escape-elt karakterek

+

Van pár karakter, amit nehéz vizuálisan reprezentálni, ezért ezekre úgynevezett escape +code-okat (kikerülési kódokat) alkalmazunk, amikkel szimbólumokra cserélhetjük ezeket a +karaktereket.

+

A Rust a már C-ben is megszokott escape code-okat támogatja:

+
    +
  • \n - soremelés / újsor
  • +
  • \r - kocsivissza / kurzor a sor elejére
  • +
  • \t - tab
  • +
  • \\ - rep-jel / visszaper
  • +
  • \0 - null karakter
  • +
  • \' - aposztróf
  • +
+

Az ilyen szimbólumok teljes listáját itt találod angolul.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_ie.html b/beta_61_ie.html new file mode 100644 index 000000000..66f59d5d6 --- /dev/null +++ b/beta_61_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caracteres de escapa

+

Quande representar un caractere es desfacil, un code de escapa fa it possibil.

+

In Rust es usat li comun codes de escapa trovat in lingues basat sur C.

+
    +
  • \n - nov linea
  • +
  • \r - coche-retorna (carriage return)
  • +
  • \t - tabellator
  • +
  • \\ - barre inversat
  • +
  • \0 - null
  • +
  • \' - quote singul
  • +
+

Li liste complet trova se ci

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_it.html b/beta_61_it.html new file mode 100644 index 000000000..10b4f5a2e --- /dev/null +++ b/beta_61_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Personaggi in fuga

+

È difficile rappresentare visivamente alcuni personaggi, quindi scappare i codici ci permettono di mettere un simbolo al loro posto.

+

Rust supporta i comuni codici di escape dei linguaggi basati su C:

+
    +
  • \n - nuova riga
  • +
  • \r - ritorno a capo
  • +
  • \t - tab
  • +
  • \\ - barra rovesciata
  • +
  • \0 - nullo
  • +
  • \' - virgoletta singola
  • +
+

L'elenco completo esiste here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_ja.html b/beta_61_ja.html new file mode 100644 index 000000000..3709fa5a7 --- /dev/null +++ b/beta_61_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

エスケープ文字

+

特定の文字を視覚的に表現するのは難しいので、エスケープ コード を使用することでその場所に記号を挿入することができます。

+

RustではC言語の共通エスケープコードがサポートされています。:

+
    +
  • \n - 改行
  • +
  • \r - キャリッジ・リターン
  • +
  • \t - タブ
  • +
  • \\ - バックスラッシュ
  • +
  • \0 - null
  • +
  • \' - シングルクォート
  • +
+

エスケープ文字の一覧はここにあります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_ko.html b/beta_61_ko.html new file mode 100644 index 000000000..62a524c1f --- /dev/null +++ b/beta_61_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

예외처리문자

+

어떤 문자들은 시각적으로 표현하기 어려우므로, 예외처리 코드(escape code) 로 대체하여 씁니다.

+

Rust는 C 기반 언어들의 일반적인 예외처리 코드를 지원합니다:

+
    +
  • \n - 줄바꿈
  • +
  • \r - 캐리지리턴
  • +
  • \t - 탭
  • +
  • \\ - 역슬래시
  • +
  • \0 - null
  • +
  • \' - 작은 따옴표
  • +
+

전체 목록은 여기서 보실 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_pl.html b/beta_61_pl.html new file mode 100644 index 000000000..178326377 --- /dev/null +++ b/beta_61_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escaping Characters

+

It's challenging to visually represent certain characters, so escape codes allow us to put a symbol in their place.

+

Rust supports the common escape codes from C-based languages:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

The complete list exists here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_pt-br.html b/beta_61_pt-br.html new file mode 100644 index 000000000..a462374e9 --- /dev/null +++ b/beta_61_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caractere de escape

+

É um desafio representar visualmente certos caracteres, portanto os códigos de escape nos permitem colocar um símbolo em seu lugar.

+

O Rust suporta códigos de escape comuns de linguagens baseadas em C:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

A lista completa está aqui.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_ro.html b/beta_61_ro.html new file mode 100644 index 000000000..e7adfde71 --- /dev/null +++ b/beta_61_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Secvențe Escape

+

Este o provocare să reprezinți vizual anumite caractere, așa că secvențele escape (eng. escape codes) ne permit să le înlocuim cu un simbol.

+

Rust permite folosirea secvențelor escape comune ale limbajelor bazate pe C:

+
    +
  • \n - linie nouă (eng. newline)
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - bară oblică inversă (eng. backslash)
  • +
  • \0 - nul (eng. null)
  • +
  • \' - apostrof (eng. single-quote)
  • +
+

Lista completă poate fi consultată aici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_ru.html b/beta_61_ru.html new file mode 100644 index 000000000..e745a6c6a --- /dev/null +++ b/beta_61_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Экранирующие символы (Escaping Characters)

+

Некоторые символы сложно представлять визуально, поэтому экранирующие коды (escape codes) позволяют размещать такие символы на их месте

+

Rust поддерживает общие экранирующие коды взятые из Cи-подобных яызков:

+
    +
  • \n - новая строка
  • +
  • \r - возврат каретки
  • +
  • \t - табуляция
  • +
  • \\ - обратный слэш
  • +
  • \0 - null
  • +
  • \' - одна кавычка
  • +
+

Полный список смотрите по ссылке здесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_th.html b/beta_61_th.html new file mode 100644 index 000000000..8ee88d2c4 --- /dev/null +++ b/beta_61_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Escaping Characters

+

มีอักขระหลายตัวที่ไม่สามารถเห็นได้ด้วยตา escape codes จึงเข้ามาช่วยในเรื่องนี้

+

Rust รับรอง escape codes ที่ภาษา C ใช้กันอยู่แล้ว:

+
    +
  • \n - newline
  • +
  • \r - carriage return
  • +
  • \t - tab
  • +
  • \\ - backslash
  • +
  • \0 - null
  • +
  • \' - single-quote
  • +
+

ดูทั้งหมดได้ ที่นี่.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_tr.html b/beta_61_tr.html new file mode 100644 index 000000000..3d804f751 --- /dev/null +++ b/beta_61_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kaçış Karakterleri

+

Bazı karakterleri görsel olarak temsil etmek zor olduğundan, onları gösterebilmek için yerlerine kaçış kodu sembolleri koymamız gerekir.

+

Rust, C tabanlı dillerde yaygın olarak kullanılan kaçış kodlarını destekler:

+
    +
  • \n - yeni satır
  • +
  • \r - satır başı
  • +
  • \t - sekme
  • +
  • \\ - ters eğik çizgi
  • +
  • \0 - boş sonlandırma karakteri
  • +
  • \' - tek tırnak
  • +
+

Desteklenen kaçış karakterleri Listesinin tam hali burada yer almaktadır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_ua.html b/beta_61_ua.html new file mode 100644 index 000000000..9ee4b0ad3 --- /dev/null +++ b/beta_61_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Екранування символів

+

Візуально представити певні символи складно, тому екранування дозволяє нам розмістити символ у потрібному місці.

+

Rust підтримує типові екрановані символи з С-подібних мов:

+
    +
  • \n - перехід на новий рядок
  • +
  • \r - повернення каретки
  • +
  • \t - табуляція
  • +
  • \\ - зворотній слеш
  • +
  • \0 - нуль
  • +
  • \' - одинарні лапки
  • +
+

Повний список знаходиться тут.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_vi.html b/beta_61_vi.html new file mode 100644 index 000000000..cd38edcc7 --- /dev/null +++ b/beta_61_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ký tự thoát(Escaping Characters)

+

Thật khó để thể hiện một cách trực quan các ký tự nhất định, vì vậy ** mã thoát ** cho phép chúng ta đặt một biểu tượng vào vị trí của chúng. +Rust hỗ trợ các mã thoát phổ biến từ các ngôn ngữ dựa trên C:

+
    +
  • \n - xuống dòng mới
  • +
  • \r - di chuyển con trỏ về đầu dòng
  • +
  • \t - tab
  • +
  • \\ - In ký tự \
  • +
  • \0 - NULL có mã ASII là 0
  • +
  • \' - In ký tự '
  • +
+

Danh sách hoàn chỉnh ở đây.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_zh-cn.html b/beta_61_zh-cn.html new file mode 100644 index 000000000..9fbcbfe1f --- /dev/null +++ b/beta_61_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

转义字符

+

有些字符难以使用可视字符表示,这时可通过转义字符来表示这些字符。

+

Rust 支持类 C 语言中的常见转义字符;

+
    +
  • \n - 换行符
  • +
  • \r - 回车符(回到本行起始位置)
  • +
  • \t - 水平制表符(即键盘 Tab 键)
  • +
  • \\ - 代表单个反斜杠 \
  • +
  • \0 - 空字符(null)
  • +
  • \' - 代表单引号 '
  • +
+

完整的转义字符表在这

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_61_zh-tw.html b/beta_61_zh-tw.html new file mode 100644 index 000000000..f4fcce97c --- /dev/null +++ b/beta_61_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

跳脫字元

+

在畫面上要表示某些特定的字元是非常有挑戰性的,所以 跳脫符號 (escape codes) 允許我們用一個符號來表示。

+

Rust 支援 C 語言相關的跳脫符號:

+
    +
  • \n - 換行 (newline)
  • +
  • \r - 回車 (carriage return)
  • +
  • \t - tab
  • +
  • \\ - 反斜線 (backslash)
  • +
  • \0 - 空字元 (null)
  • +
  • \' - 單引號 (single-quote)
  • +
+

完整列表在這裡.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_ar.html b/beta_62_ar.html new file mode 100644 index 000000000..bca723902 --- /dev/null +++ b/beta_62_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلاسل النصية الحرفية متعددة الأسطر (Multi-line String Literals)

+

تكون السلاسل النصية في رست (Rust) متعددة الأسطر بشكل افتراضي.

+

استخدم \ في نهاية السطر إذا كنت لا تريد فاصل الأسطر.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_de.html b/beta_62_de.html new file mode 100644 index 000000000..008b87fee --- /dev/null +++ b/beta_62_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String-Literale in mehreren Zeilen

+

Strings in Rust sind standardmäßig mehrzeilig.

+

Verwenden Sie am Ende der Zeile ein \, wenn Sie keinen Zeilenumbruch wünschen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_en.html b/beta_62_en.html new file mode 100644 index 000000000..a77aa0046 --- /dev/null +++ b/beta_62_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_es.html b/beta_62_es.html new file mode 100644 index 000000000..4209ebaa3 --- /dev/null +++ b/beta_62_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadenas de Texto Multilínea

+

Las cadenas de Rust son multilíneas por defecto.

+

Usa \ al final de una línea si no quieres un salto de línea.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_fa.html b/beta_62_fa.html new file mode 100644 index 000000000..d20e10ec5 --- /dev/null +++ b/beta_62_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_fr.html b/beta_62_fr.html new file mode 100644 index 000000000..7b1775dd4 --- /dev/null +++ b/beta_62_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chaînes de caractères sur plusieurs lignes

+

Avec Rust, les chaînes de caractères sont 'multi-lignes' par défaut.

+

Utilise \ à la fin d'une ligne si tu ne veux pas de retour à la ligne.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_hu.html b/beta_62_hu.html new file mode 100644 index 000000000..d51039c01 --- /dev/null +++ b/beta_62_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Többsoros szöveg értékek

+

A Rust nyelv szövegei alapból többsorosak.

+

Ha szükséges egy \ jelet tehetsz a sor végére, mely esetén nem kerül sortörés a szövegbe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_ie.html b/beta_62_ie.html new file mode 100644 index 000000000..f15a81ca4 --- /dev/null +++ b/beta_62_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals sur Lineas Multiplic

+

Catenes in Rust es predefinit quam multilineal.

+

On usa un \ al fine de un linea si on ne vole que li linea mey rupter se.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_it.html b/beta_62_it.html new file mode 100644 index 000000000..b1bd772d8 --- /dev/null +++ b/beta_62_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe letterali su più righe

+

Le stringhe di ruggine sono multiline per impostazione predefinita.

+

Usa un \ alla fine di una riga se non si desidera una pausa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_ja.html b/beta_62_ja.html new file mode 100644 index 000000000..0791c4454 --- /dev/null +++ b/beta_62_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

複数行の文字列リテラル

+

Rustにおける文字列はデフォルトで複数行に対応しています。

+

改行したくない場合は、行の最後に \ を挿入しましょう。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_ko.html b/beta_62_ko.html new file mode 100644 index 000000000..38cb385a0 --- /dev/null +++ b/beta_62_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

여러 줄로 된 문자열

+

Rust의 문자열은 기본적으로 여러 줄로 되어 있습니다.

+

줄바꿈 문자를 원하지 않을 경우, 줄 맨 뒤에 \를 사용하세요.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_pl.html b/beta_62_pl.html new file mode 100644 index 000000000..d6f5be782 --- /dev/null +++ b/beta_62_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-line String Literals

+

Rust strings are multiline by default.

+

Use a \ at the end of a line if you don't want a line break.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_pt-br.html b/beta_62_pt-br.html new file mode 100644 index 000000000..4606a2c8d --- /dev/null +++ b/beta_62_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literais de string multilinhas

+

As strings no Rust são multilinha por padrão.

+

Use um \ no final da linha se você não quiser uma quebra de linha.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_ro.html b/beta_62_ro.html new file mode 100644 index 000000000..c483d3a81 --- /dev/null +++ b/beta_62_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere literale pe mai multe linii

+

Șirurile de caractere din Rust se întind, în mod implicit, pe mai multe linii.

+

Folosiți un \ la sfârșitul rândului dacă nu doriți să se facă o întrerupere de rând.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_ru.html b/beta_62_ru.html new file mode 100644 index 000000000..1b9a741cd --- /dev/null +++ b/beta_62_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Многострочные строковые литералы (Multi-line)

+

Строки в Rust являются по умолчанию многострочными.

+

Используйте символ \ в конце строки, если не хотите разрыва строки.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_th.html b/beta_62_th.html new file mode 100644 index 000000000..1a3327887 --- /dev/null +++ b/beta_62_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Multi-line String Literals

+

สตริงใน Rust สามารถมีหลายบรรทัดมาตั้งแต่ต้น

+

หากไม่ต้องให้ตัดบรรทัดข้อความ ให้ใช้ \ ปิดท้ายบรรทัด

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_tr.html b/beta_62_tr.html new file mode 100644 index 000000000..f1ce958a1 --- /dev/null +++ b/beta_62_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Çok Satırlı Dizgi Değişmezleri

+

Rust'ta dizgilerin çok satırlı olduğu varsayılır.

+

Eğer metninize otomatik olarak yeni satırların eklenmesini istemiyorsanız, satır sonlarında \ kullanmalısınız.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_ua.html b/beta_62_ua.html new file mode 100644 index 000000000..0fb56119a --- /dev/null +++ b/beta_62_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Багаторядкові рядкові літерали

+

Текст у Rust є багаторядковим за замовчуванням.

+

Ви можете використовувати \ у кінці рядка, якщо ви не хочете +щоб він був перенесений на інший.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_vi.html b/beta_62_vi.html new file mode 100644 index 000000000..230ee79bf --- /dev/null +++ b/beta_62_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi ký tự nhiều dòng

+

Theo mặc định, các chuỗi của Rust là đa dòng(nhiều dòng).

+

Hãy dùng dấu \ ở cuối dòng nếu bạn không muốn ngắt dòng.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_zh-cn.html b/beta_62_zh-cn.html new file mode 100644 index 000000000..ba66c69cf --- /dev/null +++ b/beta_62_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多行字符串常量

+

Rust 中字符串默认支持分行。

+

使用 \ 可以使多行字符串不换行。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_62_zh-tw.html b/beta_62_zh-tw.html new file mode 100644 index 000000000..0a94613d2 --- /dev/null +++ b/beta_62_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

多行字串常量

+

Rust 字串預設是多行的。

+

如果你不想要換行,在行尾使用一個 \ 就可以達成。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_ar.html b/beta_63_ar.html new file mode 100644 index 000000000..0451b6d00 --- /dev/null +++ b/beta_63_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلاسل النصية الحرفية الخام (Raw String Literals)

+

تسمح لنا السلاسل النصية الخام (Raw strings) بكتابة سلسلة من الأحرف اللفظية (characters verbatim) تبدأ بـ r#" وتنتهي بـ "#. وهي تتيح لنا إدراج أحرف قد تخلط السلسلة النصية العادية عادية كونها حرفية (مثل علامات الاقتباس المزدوجة - double quotes - والخطوط المائلة العكسية - backslashes -).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_de.html b/beta_63_de.html new file mode 100644 index 000000000..76643d324 --- /dev/null +++ b/beta_63_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rohe Literalzeichenfolgen

+

Rohzeichenfolgen (auf Englisch raw strings) ermöglichen es uns, eine Folge von Zeichen zu schreiben, Wort für Wort, beginnend mit r# und endend mit #. Dies ermöglicht uns das Einfügen +Zeichen, die sonst dazu führen könnten, dass wir eine normale Zeichenfolge mit einem Literal verwechseln (z. B. doppelte Anführungszeichen und Backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_en.html b/beta_63_en.html new file mode 100644 index 000000000..d03c3c2f0 --- /dev/null +++ b/beta_63_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_es.html b/beta_63_es.html new file mode 100644 index 000000000..e421bcb06 --- /dev/null +++ b/beta_63_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadenas de Texto sin Formato

+

Estas cadenas sin formato (raw) nos permiten escribir una secuencia de caracteres al pie de la letra, comenzando con r#" y terminando con "#. Gracias a ellos podemos insertar caracteres que de otra manera podrían confundir los textos de una cadena normal (como comillas dobles y barras invertidas).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_fa.html b/beta_63_fa.html new file mode 100644 index 000000000..9ddbf5bee --- /dev/null +++ b/beta_63_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_fr.html b/beta_63_fr.html new file mode 100644 index 000000000..ff3ee485f --- /dev/null +++ b/beta_63_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chaînes de caractères bruts

+

Les chaînes de caractères bruts (en anglais raw string literals) permettent d'écrice textuellement +une séquence de caractères en commençant par r#" et finissant par "#. +Cela nous permet d'insérer des caractères qui seraient autrement pris +pour un autre (notamment les caractères " et **).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_hu.html b/beta_63_hu.html new file mode 100644 index 000000000..87f41193e --- /dev/null +++ b/beta_63_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Nyers szöveg értékek

+

Az úgynevezett raw string-ek (nyers szövegek) lehetővé teszik számunkra, hogy a fordító +bármiféle átalakítás nélkül értelmezze a szövegünk. Egy ilyet a következő módon tudunk +készíteni:

+

r#"Ide jön a szöveg"#

+

Ezt használva bátran írhatunk olyan karaktereket és szimbólumokat, amiknek egyéb esetben más +jelentése vagy hatása volna, mint például az idézőjelek vagy az előbb említett escape code-ok.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_ie.html b/beta_63_ie.html new file mode 100644 index 000000000..0219d76bb --- /dev/null +++ b/beta_63_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals Crud

+

Con raw strings (crud catenes de caracteres) noi posse scrir un sequentie de caracteres quel comensa con r#" e fini se con "# Talmen +noi posse inserter caracteres tales quam "" o \ queles normalmen es confusent in normal string literals.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_it.html b/beta_63_it.html new file mode 100644 index 000000000..44cab222e --- /dev/null +++ b/beta_63_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe letterali grezze

+

Le stringhe grezze ci consentono di scrivere una sequenza di caratteri parola per parola iniziando con r#" e termina con "#. Ci consente di inserire +caratteri che altrimenti potrebbero confondere una stringa normale come letterali (come virgolette doppie e barre rovesciate).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_ja.html b/beta_63_ja.html new file mode 100644 index 000000000..e4409a0af --- /dev/null +++ b/beta_63_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

生文字列リテラル

+

生文字列では、r#"で始まり"#で終わる文字列を逐語的に書くことができます。 +これによって、通常の文字列との区別がつかない可能性のある文字をリテラルとして挿入することができます。(二重引用符やバックスラッシュなど)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_ko.html b/beta_63_ko.html new file mode 100644 index 000000000..510141f2f --- /dev/null +++ b/beta_63_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

원시 문자열

+

원시 문자열은 r#"로 시작하고 "#로 끝나며 문자열을 있는 그대로 쓰는데 쓰입니다. +일반 문자열을 여럿으로 착각하게 할만한 문자들(큰 따옴표나 역슬래시처럼)을 넣을 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_pl.html b/beta_63_pl.html new file mode 100644 index 000000000..1bed620cf --- /dev/null +++ b/beta_63_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw String Literals

+

Raw strings allow us to write a sequence of characters verbatim by starting with r#" and ending with "#. It lets us insert +characters that might otherwise confuse a normal string as literals (like double quotes and backslashes).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_pt-br.html b/beta_63_pt-br.html new file mode 100644 index 000000000..f43bcd4f3 --- /dev/null +++ b/beta_63_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literais de string brutas

+

As strings brutas nos permitem escrever uma sequência de caracteres literais começando com r#" e terminando com "#. Ela nos permite inserir caracteres que, de outra forma, poderiam confundir uma string normal com literais (como aspas duplas e barras invertidas).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_ro.html b/beta_63_ro.html new file mode 100644 index 000000000..31b2b76f3 --- /dev/null +++ b/beta_63_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere literale brute

+

Șirurile de caractere brute (eng. raw strings) ne permit scrierea unei secvențe de caractere, cuvânt cu cuvânt, începând cu r#" și terminând cu "#. Acest lucru ne permite să inserăm +caractere care altfel ne-ar putea face să confundăm un șir de caractere normal cu unul literal (cum ar fi ghilimele duble și backslash-uri).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_ru.html b/beta_63_ru.html new file mode 100644 index 000000000..dbf68984b --- /dev/null +++ b/beta_63_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Сырые (необработанные) строковые литералы (Raw String Literals)

+

Необработанные строки позволяют написать дословно последовательность символов, начиная ее символом r#" и заканчивая символом "#. Это позволяет вставлять символы, +которые в противном случае могли бы сбивать с толку обычные литеральные строки (например, двойные кавычки и обратная косая черта).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_th.html b/beta_63_th.html new file mode 100644 index 000000000..93688a5f6 --- /dev/null +++ b/beta_63_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw String Literals

+

Raw strings ทำให้เราเขียนลำดับอักขระแบบตรงตัวได้โดยให้ขึ้นต้นด้วย r#" และปิดท้ายด้วย "# ทำแบบนี้ช่วยให้เราสามารถแทรกอักขระอาจทำให้สับสนว่า มันอยู่ในฐานะสตริง หรือควรเป็นข้อความ (อย่างเช่นเครื่องหมายคำพูด และ แบ็กสแลช)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_tr.html b/beta_63_tr.html new file mode 100644 index 000000000..6bbe845a2 --- /dev/null +++ b/beta_63_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ham Dizgi Değişmezleri

+

Ham dizgiler, r#" ile başlayan ve "# ile biten karakter dizileri olduklarından, içlerinde yer alan normal dizgi değerlerine çift tırnak, eğik çizgi gibi karakterleri, değişmez değerler olarak ekleyebilmemize izin verirler.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_ua.html b/beta_63_ua.html new file mode 100644 index 000000000..99f6a65b8 --- /dev/null +++ b/beta_63_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Необроблені рядкові літерали

+

Необроблені рядки дозволяють нам записати послідовність символів дослівно, починаючи з r#" і закінчуючи"#. Це дає нам можливість вставляти +символи, які інакше можуть сплутати звичайний рядок із літералами (наприклад подвійні лапки та зворотні слеші).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_vi.html b/beta_63_vi.html new file mode 100644 index 000000000..59ee4e445 --- /dev/null +++ b/beta_63_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi thô(Raw String Literals)

+

Chuỗi thô cho phép chúng ta viết một chuỗi ký tự nguyên văn bằng cách bắt đầu bằng r#"và kết thúc bằng "#. Nó cho phép chúng ta chèn các ký tự có thể gây nhầm lẫn cho một chuỗi bình thường là các ký tự (như dấu ngoặc kép và dấu gạch chéo ngược).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_zh-cn.html b/beta_63_zh-cn.html new file mode 100644 index 000000000..fa7d71416 --- /dev/null +++ b/beta_63_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

原始字符串常量

+

原始字符串支持写入原始的文本而无需为特殊字符转义,因而不会导致可读性下降(如双引号与反斜杠无需写为 \"\\),只需以 r#" 开头,以 "# 结尾。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_63_zh-tw.html b/beta_63_zh-tw.html new file mode 100644 index 000000000..c92021278 --- /dev/null +++ b/beta_63_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

原始字串常量 (raw string literals)

+

在開頭使用 r#" 且結尾使用 "#,就可以使用原始字串常量,它允許我們逐字寫下一連串的字元。 它讓我們可以插入一些可能會跟一般字串搞混的字元 (例如雙引號或是反斜線)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_64_ar.html b/beta_64_ar.html new file mode 100644 index 000000000..7139383cd --- /dev/null +++ b/beta_64_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلاسل النصية الحرفية من ملفات (String Literals From Files)

+

إذا كان لديك نص كبير جدًا، فكر في استخدام الماكرو include_str! لتضمين نص من الملفات المحلية في برنامجك:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_de.html b/beta_64_de.html new file mode 100644 index 000000000..dc0cf519a --- /dev/null +++ b/beta_64_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literale Zeichenfolgen aus Dateien

+

Wenn Sie sehr großen Text haben, sollten Sie das Makro „include_str!“ verwenden So fügen Sie Text aus lokalen Dateien in Ihr Programm ein:

+
let halo_html = include_str!("halo.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_en.html b/beta_64_en.html new file mode 100644 index 000000000..5345abbd8 --- /dev/null +++ b/beta_64_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_es.html b/beta_64_es.html new file mode 100644 index 000000000..ba9ab4b76 --- /dev/null +++ b/beta_64_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadenas de Texto desde Archivos

+

Si tienes un texto muy grande, puedes usar la macro include_str! para incluir texto de archivos locales en tu programa:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_fa.html b/beta_64_fa.html new file mode 100644 index 000000000..fb7447e73 --- /dev/null +++ b/beta_64_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_fr.html b/beta_64_fr.html new file mode 100644 index 000000000..13003d0d8 --- /dev/null +++ b/beta_64_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chaînes de caractères depuis un fichier

+

Si tu as du texte très volumineux à lire depuis un fichier en local, +tu peux utiliser la macro include_str!:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_hu.html b/beta_64_hu.html new file mode 100644 index 000000000..4248cf6f7 --- /dev/null +++ b/beta_64_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fájlokból betöltött szöveg értékek

+

Ha egy nagyon nagy szöveget szeretnél a programodban elhelyezni, az include_str! makróval +egy fájl szövegét egy-az-egyben be tudod másolni egy változóba.

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_ie.html b/beta_64_ie.html new file mode 100644 index 000000000..7e5b4e497 --- /dev/null +++ b/beta_64_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals ex Archives

+

Si on possede mult textu, on posse usar li macro include_str! por includer li textu de archives local in li programma:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_it.html b/beta_64_it.html new file mode 100644 index 000000000..8c7817440 --- /dev/null +++ b/beta_64_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe letterali da file

+

Se hai del testo molto grande, considera l'utilizzo della macro include_str! per includi testo da file locali nel tuo programma:

+

"ruggine". +let ciaohtml = includestr!("ciao.html"); +```

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_ja.html b/beta_64_ja.html new file mode 100644 index 000000000..9eeda3298 --- /dev/null +++ b/beta_64_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ファイルから文字列リテラルを読み込む

+

非常に大きなテキストがある場合は, include_str! というマクロを使って ローカルファイルのテキストをプログラムの中でインクルードしてみてください。:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_ko.html b/beta_64_ko.html new file mode 100644 index 000000000..b3f2a3f4f --- /dev/null +++ b/beta_64_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

파일에서 문자열 가져오기

+

매우 큰 텍스트가 필요하다면 include_str! macro를 이용하여 로컬 파일에서 텍스트를 읽어오는 것을 고려해보세요:

+
let 00_html = include_str!("00_ko.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_pl.html b/beta_64_pl.html new file mode 100644 index 000000000..c78f0ad64 --- /dev/null +++ b/beta_64_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals From Files

+

If you have some very large text, consider using the macro include_str! to include text from local files in your program:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_pt-br.html b/beta_64_pt-br.html new file mode 100644 index 000000000..fc4dbcdfc --- /dev/null +++ b/beta_64_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Literais de string de arquivos

+

Se você possui um texto muito grande, considere usar a macro include_str! para incluir texto de arquivos locais no seu programa:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_ro.html b/beta_64_ro.html new file mode 100644 index 000000000..0079a07e6 --- /dev/null +++ b/beta_64_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere literale din fișiere

+

Dacă aveți un text foarte mare, luați în considerare utilizarea macroului include_str! pentru a include text din fișiere locale în programul dumneavoastră:

+
let salut_html = include_str!("salut.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_ru.html b/beta_64_ru.html new file mode 100644 index 000000000..b06478c08 --- /dev/null +++ b/beta_64_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Строковые литераты из файлов

+

Если у вас очень большой текст, попробуйте использовать макрос include_str! для включения текста из локальных файлов в вашу программу:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_th.html b/beta_64_th.html new file mode 100644 index 000000000..9df011fe7 --- /dev/null +++ b/beta_64_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Literals From Files

+

หากคุณมีข้อความขนาดใหญ่มากให้ลองใช้มาโคร include_str! เพื่อนำข้อความจากไฟล์ในเครื่อง เข้ามาในโปรแกรมของคุณ:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_tr.html b/beta_64_tr.html new file mode 100644 index 000000000..6b41643b2 --- /dev/null +++ b/beta_64_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dosyadan Edinilen Dizgi Değişmezleri

+

Yerel dosyanızda bulunan büyükçe bir metni programınıza dahil etmek istediğinizde, include_str! makrosundan yararlanmaya çalışın:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_ua.html b/beta_64_ua.html new file mode 100644 index 000000000..50cd101fc --- /dev/null +++ b/beta_64_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Рядкові літерали з файлів

+

Якщо у вас є дуже великий текст, спробуйте використати для нього макрос include_str!, щоб включити текст із локальних файлів у вашу програму:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_vi.html b/beta_64_vi.html new file mode 100644 index 000000000..c2c170869 --- /dev/null +++ b/beta_64_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi ký tự từ File

+

Nếu bạn có một số văn bản rất lớn, hãy xem xét sử dụng macro include_str! để bao gồm văn bản từ các tệp cục bộ trong chương trình của bạn:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_zh-cn.html b/beta_64_zh-cn.html new file mode 100644 index 000000000..98cd4bcd6 --- /dev/null +++ b/beta_64_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文件中的字符串常量

+

如果你需要使用大量文本,可以尝试用宏 include_str! 来从本地文件中导入文本到程序中:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_64_zh-tw.html b/beta_64_zh-tw.html new file mode 100644 index 000000000..ca1c448a3 --- /dev/null +++ b/beta_64_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

從檔案來的字串常量

+

如果你有一些非常長的文字,可以考慮使用巨集 (marco) include_str! 將字串從本地檔案讀到你的程式裡:

+
let hello_html = include_str!("hello.html");
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_65_ar.html b/beta_65_ar.html new file mode 100644 index 000000000..fc72bc3b6 --- /dev/null +++ b/beta_65_ar.html @@ -0,0 +1,55 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

شريحة سلسلة نصية (String Slice)

+

شريحة سلسلة نصية (string slice) هي مرجع (reference) لسلسلة من البايتات (sequence of bytes) في الذاكرة والتي يجب أن تكون دائمًا رموز utf-8 صالحة.

+

يجب أن تكون شريحة السلسلة النصية (شريحة فرعية (sub-slice)) من شريحة str أيضًا رموز utf-8 صالحة.

+

توابع شائعة لـ &str :

+
    +
  • len ينتج طول السلسلة النصية الحرفية (string literal) بالبايت (ليس عدد الأحرف).
  • +
  • starts_with/ends_with للاختبار الأساسي.
  • +
  • is_empty يرجع صحيح (true) إذا كان الطول صفرا.
  • +
  • find ترجع Option<usize> للموضع الأول لبعض النص (some text).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_de.html b/beta_65_de.html new file mode 100644 index 000000000..276fd66bc --- /dev/null +++ b/beta_65_de.html @@ -0,0 +1,55 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zeichen-Teilzeichenfolgen

+

Eine Teilzeichenfolge von Zeichen (im Englischen string slice) ist ein Verweis auf eine Folge von Bytes im Speicher, die vorhanden sein müssen immer im gültigen UTF-8-Format vorliegen. +Ein Teilstring eines Teilstrings (auf Englisch sub-slice) von „str“ muss ebenfalls im gültigen UTF-8-Format vorliegen.

+

Gängige Methoden von &str:

+
    +
  • len ermitteln Sie die Länge des Zeichenfolgenliterals in Bytes (nicht die Anzahl der Zeichen).
  • +
  • starts_with/ends_with für Grundprüfungen.
  • +
  • is_empty gibt true zurück, wenn die Länge null ist.
  • +
  • find gibt einen zurück Option<usize> der ersten Stelle in einem Text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_en.html b/beta_65_en.html new file mode 100644 index 000000000..d2dfc4e28 --- /dev/null +++ b/beta_65_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_es.html b/beta_65_es.html new file mode 100644 index 000000000..99409a205 --- /dev/null +++ b/beta_65_es.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cadena Slice

+

Una cadena slice es una referencia a una secuencia de bytes en la memoria que siempre debe ser UTF-8.

+

Una cadena slice (un sub-slice) de un slice str, también debe ser UTF-8.

+

Métodos comunes de &str:

+
    +
  • len obtiene la longitud de la cadena literal en bytes (no el número de caracteres).
  • +
  • starts_with/ends_with para pruebas básicas.
  • +
  • is_empty para saber si una cadena no contiene caracteres.
  • +
  • find devuelve una Option<usize> de la primera posición de algún texto.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_fa.html b/beta_65_fa.html new file mode 100644 index 000000000..1767c2199 --- /dev/null +++ b/beta_65_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_fr.html b/beta_65_fr.html new file mode 100644 index 000000000..d6bf3ee59 --- /dev/null +++ b/beta_65_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

Une 'slice' (littéralement tranche) de chaîne de caractères est une référence +à une séquence de bytes en mémoire qui doit être de l'utf-8 valide. Elle fait référence +à une partie ou la totalité d'une chaîne de caractères.

+

Une 'slice' (également nommée 'sub-slice') d'une 'slice' str doit également être de l'utf-8 valide.

+

Méthodes utiles de &str:

+
    +
  • len retourne la taille de la chaîne de caractères en bytes (pas le nombre de caractères!).
  • +
  • starts_with/ends_with pour tester si la chaîne de caractères commence ou finit par un certain motif.
  • +
  • is_empty retourne vrai si la taille est zéro.
  • +
  • find retourne une structure de type Option<usize> donnant la première position du modif à trouver.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_hu.html b/beta_65_hu.html new file mode 100644 index 000000000..1c2adf594 --- /dev/null +++ b/beta_65_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szöveg szeletek

+

A string slice (szöveg szelet) egy memóriában lévő, csak érvényes utf-8 értékeket tartalmazó +bájtszekvenciára mutató referencia.

+

Egy str-ből készült slice-nál is teljesülnie kell ezeknek a feltételeknek.

+

A &str gyakran használt metódusai:

+
    +
  • len - A szöveg hosszát adja meg bájtokban (nem azt, hogy hány karakterből áll!)

  • +
  • starts_with/ends_with - Ellenőrizni lehet velük, hogy a szöveg egy bizonyos módon kezdődik +vagy végződik-e.

  • +
  • is_empty - Igaz, ha len == 0.

  • +
  • find - Megpróbálja megkeresni az első paraméter első előfordulását a szövegben, majd ennek +indexével tér vissza egy Option<usize> képében. Ha nem talál ilyet, a visszatérési érték +None.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ie.html b/beta_65_ie.html new file mode 100644 index 000000000..0883b9992 --- /dev/null +++ b/beta_65_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

Un string slice (tranche de un catene de caracteres) es un referentie a un sequentie de bytes in memorie quel deve sempre esser +valid utf-8

+

Anc un string slice (un tal-nominat sub-slice) de un str slice deve esser valid utf-8.

+

Metodes comun de &str:

+
    +
  • Con len on obtene li longore del string literal in bytes (ne li númere de caracteres).
  • +
  • starts_with/ends_with por comparar to quo trova se al comense o al fine del catene
  • +
  • is_empty retorna true si li longore es zero
  • +
  • find retorna un Option<usize> del unesim position de alquel textu
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_it.html b/beta_65_it.html new file mode 100644 index 000000000..bf51494f1 --- /dev/null +++ b/beta_65_it.html @@ -0,0 +1,55 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fetta di corda

+

Una porzione di stringa è un riferimento a una sequenza di byte in memoria che deve essere sempre valido utf-8.

+

Anche una porzione di stringa (una sotto-fetta) di una porzione str deve essere utf-8 valida.

+

Metodi comuni di &str:

+
    +
  • len ottiene la lunghezza della stringa letterale in byte (non il numero di caratteri).
  • +
  • starts_with/ends_with per test di base.
  • +
  • is_empty restituisce vero se la lunghezza è zero.
  • +
  • find restituisce una Option<usize> della prima posizione di del testo.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ja.html b/beta_65_ja.html new file mode 100644 index 000000000..4f67460cc --- /dev/null +++ b/beta_65_ja.html @@ -0,0 +1,55 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列スライス

+

文字列スライスは、常に有効な utf-8 でなければならないメモリ内のバイト列への参照です。

+

文字列のスライス(サブスライス)である str のスライスも有効な utf-8 でなければなりません。

+

&str の一般的なメソッド:

+
    +
  • len は文字列リテラルの長さをバイト単位で取得します。(文字数ではない)
  • +
  • 基本的なテストのための starts_with/ends_with
  • +
  • is_empty は長さがゼロの時にtrueを返します。
  • +
  • find はテキストの最初の位置の Option<usize> を返します。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ko.html b/beta_65_ko.html new file mode 100644 index 000000000..743996847 --- /dev/null +++ b/beta_65_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

문자열 슬라이스

+

문자열 slice는 메모리 상의 바이트 열에 대한 참조이며, 언제나 유효한 utf-8이어야 합니다.

+

str slice의 문자열 slice (sub-slice)도 역시 유효한 utf-8이어야 합니다.

+

&str의 흔히 사용되는 메소드는 다음과 같습니다:

+
    +
  • len은 문자열의 바이트 길이(글자수가 아닌)를 가져옵니다.
  • +
  • starts_with/ends_with는 기본적인 비교에 쓰입니다.
  • +
  • is_empty는 길이가 0일 경우 true를 리턴합니다.
  • +
  • find는 주어진 텍스트가 처음 등장하는 위치인 Option<usize> 값을 리턴합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_pl.html b/beta_65_pl.html new file mode 100644 index 000000000..43105a27f --- /dev/null +++ b/beta_65_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

A string slice is a reference to a sequence of bytes in memory that must always be valid utf-8.

+

A string slice (a sub-slice) of a str slice, must also be valid utf-8.

+

Common methods of &str:

+
    +
  • len gets the length of the string literal in bytes (not number of characters).
  • +
  • starts_with/ends_with for basic testing.
  • +
  • is_empty returns true if zero length.
  • +
  • find returns an Option<usize> of the first position of some text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_pt-br.html b/beta_65_pt-br.html new file mode 100644 index 000000000..f66c6ef82 --- /dev/null +++ b/beta_65_pt-br.html @@ -0,0 +1,55 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fatia de string

+

Uma fatia de string é uma referência a uma sequência de bytes na memória que deve ser sempre utf-8 válido.

+

Uma fatia de string (uma subfatia) de uma fatia de str também deve ser utf-8 válido.

+

Métodos comuns de &str:

+
    +
  • len obtém o comprimento da string literal em bytes (não o número de caracteres).
  • +
  • starts_with/ends_with para testes básicos.
  • +
  • is_empty retorna true se o comprimento for zero.
  • +
  • find retorna um Option<usize> da primeira posição de um texto.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ro.html b/beta_65_ro.html new file mode 100644 index 000000000..26eef48f0 --- /dev/null +++ b/beta_65_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Subșiruri de caractere

+

Un subșir de caractere (eng. string slice) este o referință la o secvență de octeți din memorie ce trebuie să fie întotdeauna în format utf-8 valid. +Un subșir al unui subșir (în engleză sub-slice) de str, trebuie să fie, de asemenea, în format utf-8 valid. +Metode comune ale &str:

+
    +
  • len obține lungimea șirului literal în octeți (nu numărul de caractere).
  • +
  • starts_with/ends_with pentru teste de bază.
  • +
  • is_empty returnează true dacă lungimea este zero.
  • +
  • find returnează un Option<usize> al primei poziții dintr-un text.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ru.html b/beta_65_ru.html new file mode 100644 index 000000000..5101e6c70 --- /dev/null +++ b/beta_65_ru.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Строковые срезы (String Slice)

+

Строковым срезом является ссылка на последовательность байт в памяти, которые всегда должны быть действительными символами в кодировке utf-8.

+

Строковый срез (саб-срез) от среза str, также должен быть действительным в utf-8.

+

Общие методы типа &str:

+
    +
  • len возвращает длину строкового литерала в байтах (а не количества символов)
  • +
  • starts_with/ends_with для базового тестирования (начинается с, заканчивается на).
  • +
  • is_empty возвращает true, если строка имеет нулевую длину.
  • +
  • find возвращает тип Option<usize> первой позиции некоторого текста.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_th.html b/beta_65_th.html new file mode 100644 index 000000000..102e6d1e9 --- /dev/null +++ b/beta_65_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String Slice

+

string slice ใดก็ตามคือการอ้างถึง ไบต์กลุ่มหนึ่งในหน่วยความจำที่อยู่ในรูป utf-8 ที่ถูกต้องเสมอ

+

string slice (ส่วนย่อย) แต่ละชิ้นของ str ก็ต้องเป็น utf-8 ที่ถูกต้องแน่นอนเช่นกัน

+

เมธอดที่ใช้โดยทั่วไปของ &str ได้แก่:

+
    +
  • len จะคือค่าความยาวของข้อความ string ในขนาดของไบต์ (ไม่ใช่ขนาดของตัวอักขระ)
  • +
  • starts_with/ends_with ใช้ทดสอบแบบง่ายๆ
  • +
  • is_empty คือค่า true ถ้าความยาวเป็นศูนย์
  • +
  • find คืน Option<usize> ที่เป็นตำแหน่งแรกของคำที่ต้องการค้นหา
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_tr.html b/beta_65_tr.html new file mode 100644 index 000000000..519beae56 --- /dev/null +++ b/beta_65_tr.html @@ -0,0 +1,55 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgi Dilimleri

+

Dizgi dilimleri, bellekteki bayt dizisini gösteren birer referans olduklarından, daima utf-8 biçiminde kodlanmış geçerli karakterlerden oluşturulmalıdırlar. Bunlar, bir karakter dizgisinin bir bölümünü yahut tamamını ifade ederken kullanılırlar.

+

Aynı zamanda alt dilim olarak adlandırılan, bir str dilimini gösteren başka dizgi dilimi de utf-8 biçiminde kodlanmış geçerli karakterlerden oluşmak zorundadır.

+

Yaygın olarak kullanılan &str yöntemleri:

+
    +
  • len metodu, dizgi değişmezinin uzunluğunu karakter sayısı olarak değil bayt cinsinden döndürür.
  • +
  • Dizginin belirli bir örüntü ile başlayıp başlamadığını test etmek için starts_with/ends_with metodları kullanılır.
  • +
  • Dizgi uzunluğu sıfır bayta eşitse is_empty metodu, true değer döndürecektir.
  • +
  • find metodu kullanıldığında, metnin ilk konumunu gösteren bir Option<usize> türü döndürlür.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_ua.html b/beta_65_ua.html new file mode 100644 index 000000000..c28cad6c9 --- /dev/null +++ b/beta_65_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Рядкові зрізи (String Slice)

+

Зріз рядка — це посилання на послідовність байтів у пам’яті, яка завжди має бути дійсною у utf-8.

+

Фрагмент рядка (підфрагмент) фрагмента str також має бути дійсним у utf-8. +Розповсюдженеі методи &str:

+
    +
  • len бере довжину рядка у байтах (не у кількості символів).
  • +
  • starts_with/ends_with для базового тестування.
  • +
  • is_empty повертає true, якщо рядок порожній.
  • +
  • find повертає Option<usize> першої позиції певного тексту.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_vi.html b/beta_65_vi.html new file mode 100644 index 000000000..7f1ea0b1d --- /dev/null +++ b/beta_65_vi.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lát cắt chuỗi (String Slice)

+

Một lát cắt chuỗi là một tham chiếu đến một chuỗi byte trong bộ nhớ mà phải luôn có giá trị utf-8.

+

Một lát chuỗi (một lát con) của một lát str- một str slice, cũng phải là utf-8 hợp lệ.

+

Các phương thức phổ biến của &str:

+
    +
  • len nhận độ dài của chuỗi theo nghĩa đen tính bằng byte (không phải số ký tự).
  • +
  • starts_with/ends_with để thử nghiệm cơ bản.
  • +
  • is_empty trả về true nếu độ dài bằng không.
  • +
  • find trả về một Option<usize> của vị trí đầu tiên của một số văn bản.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_zh-cn.html b/beta_65_zh-cn.html new file mode 100644 index 000000000..8507e93e8 --- /dev/null +++ b/beta_65_zh-cn.html @@ -0,0 +1,55 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串片段(String Slice)

+

字符串片段是对内存中字节序列的引用,而且这段字节序列必须是合法的 utf-8 字节序列。

+

str 片段的字符串片段(子片段),也必须是合法的 utf-8 字节序列。

+

&str 的常用方法:

+
    +
  • len 获取字符串常量的字节长度(不是字符长度)。
  • +
  • starts_with/ends_with 用于基础测试。
  • +
  • is_empty 长度为 0 时返回 true。
  • +
  • find 返回 Option<usize>,其中的 usize 为匹配到的第一个对应文本的索引值。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_65_zh-tw.html b/beta_65_zh-tw.html new file mode 100644 index 000000000..c759ccf5d --- /dev/null +++ b/beta_65_zh-tw.html @@ -0,0 +1,55 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串切片 (string slice)

+

一個字串切片是一個指到記憶體裡一連串位元組的參考,而且必定是合法的 utf-8。

+

一個 str 切片的字串切片 (一個子切片),必定也是合法的 utf-8。

+

常見的 &str 方法:

+
    +
  • len 取得該字串的位元組長度 (不是字元數量)。
  • +
  • starts_with/ends_with 為基本測試。
  • +
  • is_empty 回傳 true 如果長度是 0。
  • +
  • find 回傳第一個位置的 Option<usize>
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_ar.html b/beta_66_ar.html new file mode 100644 index 000000000..b90b81b9f --- /dev/null +++ b/beta_66_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الحرف (Chars)

+

نظرا لوجود صعوبة كبيرة في العمل مع Unicode، يقدم رست (Rust) طريقة لجلب تسلسل من بايتات utf-8 كمتجهة (vector) من الأحرف ذات النوع char.

+

يبلغ طول الحرف (char) دائمًا 4 بايت (مما يسمح بالبحث الفعال عن الأحرف الفردية).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_de.html b/beta_66_de.html new file mode 100644 index 000000000..55235a918 --- /dev/null +++ b/beta_66_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

der Typ `char`

+

Angesichts der vielen Schwierigkeiten bei der Arbeit mit Unicode bietet Rust eine Möglichkeit dazu Nimmt eine Folge von UTF-8-Bytes als Zeichenvektor vom Typ char.

+

Ein char ist immer 4 Bytes lang (was eine effiziente Suche nach einzelnen Zeichen ermöglicht).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_en.html b/beta_66_en.html new file mode 100644 index 000000000..72ae14a2c --- /dev/null +++ b/beta_66_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_es.html b/beta_66_es.html new file mode 100644 index 000000000..0b3247624 --- /dev/null +++ b/beta_66_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

Debido a la dificultad para trabajar con unicode, Rust ofrece una forma de recuperar una secuencia de bytes UTF-8 en un vector de caracteres de tipo char.

+

Un char siempre tiene 4 bytes de longitud (lo que permite una búsqueda eficiente de los caracteres individuales).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_fa.html b/beta_66_fa.html new file mode 100644 index 000000000..762aa1d57 --- /dev/null +++ b/beta_66_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_fr.html b/beta_66_fr.html new file mode 100644 index 000000000..9e2d8b991 --- /dev/null +++ b/beta_66_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

Du fait de la difficulté de travailler avec des caractères unicodes, +Rust offre un moyen de récupérer une séquence d'octets utf-8 sous forme +de vecteur de caractères de type char.

+

Un char possède toujours une taille de 4 bytes (rendant la recherche +d'un caractère particulier d'une chaîne de caractères plus rapide).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_hu.html b/beta_66_hu.html new file mode 100644 index 000000000..f75e2343c --- /dev/null +++ b/beta_66_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Char-ok

+

Mivel az Unicode használata igencsak nehézkes, a Rust lehetőséget ad arra, hogy egy utf-8 +bájtszekvenciát char típusú vektorként kérjünk le.

+

Az ilyen char-ok mindig 4 bájtosak, így a belőlük összeállított vektorba könnyű indexelni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_ie.html b/beta_66_ie.html new file mode 100644 index 000000000..697cc2cf7 --- /dev/null +++ b/beta_66_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

Nam utilisar unicode posse esser desfacil, in Rust on posse retrovar un sequentie de bytes in utf-8 quam un vector de caracteres del tip char (caractere).

+

Un char possede sempre un grandore de 4 bytes, con quel on posse facilmen trovar caracteres individual.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_it.html b/beta_66_it.html new file mode 100644 index 000000000..2fba15e28 --- /dev/null +++ b/beta_66_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caratteri

+

Con così tante difficoltà nel lavorare con Unicode, Rust offre un modo per farlo recupera una sequenza di byte utf-8 come vettore di caratteri di tipo "char".

+

Un "char" è sempre lungo 4 byte (consentendo una ricerca efficiente dei singoli file caratteri).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_ja.html b/beta_66_ja.html new file mode 100644 index 000000000..9aae7953e --- /dev/null +++ b/beta_66_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

Unicodeでの作業が非常に困難なため、Rustではutf-8バイトのシーケンスを char 型の文字のベクトルとして取得する方法が提供されています。

+

char` は常に 4 バイトの長さです。(これによって個々の文字を効率的に検索できるようになっています)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_ko.html b/beta_66_ko.html new file mode 100644 index 000000000..801565bf5 --- /dev/null +++ b/beta_66_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

문자

+

유니코드를 다루는 것이 꽤나 어렵다보니, Rust에서는 utf-8 바이트 열을 char 자료형의 vector로 돌려주는 기능을 제공합니다.

+

char 하나는 4 바이트입니다 (각각의 문자를 효율적으로 찾을 수 있습니다).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_pl.html b/beta_66_pl.html new file mode 100644 index 000000000..91e7a6b61 --- /dev/null +++ b/beta_66_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

With so much difficulty in working with Unicode, Rust offers a way to retrieve a sequence of utf-8 bytes as a vector of characters of type char.

+

A char is always 4 bytes long (allowing for efficient lookup of individual characters).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_pt-br.html b/beta_66_pt-br.html new file mode 100644 index 000000000..b024903cd --- /dev/null +++ b/beta_66_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Caracteres

+

Com tanta dificuldade para trabalhar com Unicode, o Rust oferece uma maneira de recuperar uma sequência de bytes utf-8 como um vetor de caracteres do tipo char.

+

Um char sempre tem 4 bytes de comprimento (permitindo uma pesquisa eficiente de caracteres individuais).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_ro.html b/beta_66_ro.html new file mode 100644 index 000000000..9f694faca --- /dev/null +++ b/beta_66_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tipul char

+

Cu atâtea dificultăți în lucrul cu Unicode, Rust oferă o modalitate de a prelua o secvență de octeți utf-8 ca un vector de caractere de tip char.

+

Un char are întotdeauna o lungime de 4 octeți (ceea ce permite o căutare eficientă după caractere individuale).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_ru.html b/beta_66_ru.html new file mode 100644 index 000000000..d19b98e4e --- /dev/null +++ b/beta_66_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Символы (Chars)

+

Несмотря на большие трудности при работе с Unicode, Rust предлагает способ получить последовательность utf-8 байт как вектор символов типа char.

+

Длина char всегда 4 байта (для эффективного поиска отдельных символов).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_th.html b/beta_66_th.html new file mode 100644 index 000000000..b3e4bea3e --- /dev/null +++ b/beta_66_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chars

+

การทำงานกับ Unicode นั้นค่อนข้างยุ่งยากมาก Rust จึงเสนอวิธีการดึงข้อมูล ไบต์ของ utf-8 ออกมาเป็นเวกเตอร์ของตัวแปรแบบ char

+

char แต่ละตัวจะยาว 4ไบต์เสมอ (ซึ่งจะช่วยให้การหาค่าแต่ละตัวทำได้อย่างมีประสิทธิภาพ)

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_tr.html b/beta_66_tr.html new file mode 100644 index 000000000..3f9d13e58 --- /dev/null +++ b/beta_66_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Karakterler

+

Rust, Unicode ile çalışmanın getirdiği zorluklardan dolayı, UTF-8 bayt dizisini char türündeki karakterlerden oluşan, vektörler şeklinde elde edip işlememize olanak sağlar.

+

char olarak temsil edilen karakterlerin her biri 4 bayt uzunluğunda olduğundan, ait oldukları dizi arandığında belirli bir karaktere ulaşmak kolaylaşır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_ua.html b/beta_66_ua.html new file mode 100644 index 000000000..9bd813abc --- /dev/null +++ b/beta_66_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип Char

+

З такими труднощами в роботі з Unicode, Rust пропонує спосіб отримати послідовність байтів utf-8 як вектор символів типу char.

+

char завжди має довжину 4 байти (що дозволяє ефективно шукати окремі символи).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_vi.html b/beta_66_vi.html new file mode 100644 index 000000000..23e512744 --- /dev/null +++ b/beta_66_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ký tự (Chars)

+

Với rất nhiều khó khăn khi làm việc với Unicode, Rust đưa ra một cách để lấy một chuỗi utf-8 byte dưới dạng vectơ gồm các ký tự kiểu char.

+

Một char luôn dài 4 byte (cho phép tra cứu hiệu quả các ký tự riêng lẻ).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_zh-cn.html b/beta_66_zh-cn.html new file mode 100644 index 000000000..24dfb288c --- /dev/null +++ b/beta_66_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Char

+

为了解决使用 Unicode 带来的麻烦,Rust 提供了将 utf-8 字节序列转化为类型 char 的 vector 的方法。

+

每个 char 长度都为 4 字节(可提高字符查找的效率)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_66_zh-tw.html b/beta_66_zh-tw.html new file mode 100644 index 000000000..7f9951fa9 --- /dev/null +++ b/beta_66_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字元 (chars)

+

與萬國碼一起工作有許多困難的地方,Rust 提供了一個方法可以取得一個 utf-8 位元組的字元向量,它的型別是 char

+

一個 char 的大小永遠是 4 個位元組 (為了有效率地查找各別的字元)。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_ar.html b/beta_67_ar.html new file mode 100644 index 000000000..a7f87e81e --- /dev/null +++ b/beta_67_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

السلسلة النصية (String)

+

السلسلة النصية (String) عبارة عن هيكل (struct) يمتلك سلسلة من بايتات utf-8 في ذاكرة الكومة (heap memory).

+

نظرًا لأن ذاكرتها موجودة في الكومة (heap)، فيمكن توسيعها وتعديلها وما إلى ذلك بطرق لا يمكن للسلسلة النصية الحرفية (string literals) أن تفعلها.

+

توابع شائعة:

+
    +
  • push_str لإضافة المزيد من بايتات utf-8 في نهاية السلسلة.
  • +
  • replace لاستبدال سلسلة بايت utf-8 بأخرى.
  • +
  • to_lowercase/to_uppercase لتغيير حالة الأحرف.
  • +
  • trim لتقليم المساحة الفارغة
  • +
+

عندما يتم إسقاط (drop) سلسلة نصية (String)، يتم أيضًا إسقاط ذاكرة الكومة الخاصة بها.

+

تحتوي String على عامل + يقوم بتمديد السلسلة النصية بإضافة شريحة سلسلة نصية &str ويرجع نفسه، ولكنه قد لا يكون مريحًا كما تأمل.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_de.html b/beta_67_de.html new file mode 100644 index 000000000..dfbd1dd87 --- /dev/null +++ b/beta_67_de.html @@ -0,0 +1,57 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zeichenfolgen

+

Eine Zeichenfolge (auf Englisch string) ist eine Struktur, die eine Folge von UTF-8-Bytes im Heap-Speicher enthält.

+

Da sich sein Speicher auf dem Heap befindet, kann er erweitert, geändert usw. werden. auf eine Weise, die Saiten hervorruft von Literalzeichen kann nicht geändert werden.

+

Gängige Methoden:

+
    +
  • push_str um mehrere UTF-8-Bytes an das Ende einer Zeichenfolge anzuhängen.
  • +
  • replace um UTF-8-Byte-Sequenzen durch andere zu ersetzen.
  • +
  • to_lowercase/to_uppercase um zwischen Groß- und Kleinschreibung zu wechseln.
  • +
  • trim um Leerzeichen zu entfernen.
  • +
+

Wenn eine Zeichenfolge gelöscht wird (drop), wird auch ihr Heapspeicher gelöscht.

+

Strings haben einen +-Operator, der den String mit einem &str erweitert. (Der String auf der linken Seite ist verbraucht und sein Puffer wird wiederverwendet, um den Endwert zu speichern. Die Zeichenfolge auf der rechten Seite wurde nur ausgeliehen, um die Verkettung durchzuführen.) aber es ist möglicherweise nicht so ergonomisch, wie Sie hoffen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_en.html b/beta_67_en.html new file mode 100644 index 000000000..92744283d --- /dev/null +++ b/beta_67_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_es.html b/beta_67_es.html new file mode 100644 index 000000000..8efcf8d09 --- /dev/null +++ b/beta_67_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

Un String es una estructura que posee una secuencia de UTF-8 bytes en la memoria de montículo.

+

Debido a que su memoria está en el montón, se puede extender, modificar, etc. de manera que las cadenas literales no pueden.

+

Métodos comunes:

+
    +
  • push_str para añadir más bytes UTF-8 al final de una cadena.
  • +
  • replace para reemplazar secuencias de bytes UTF-8 con otros.
  • +
  • to_lowercase/to_uppercase para cambios de mayúsculas y minúsculas.
  • +
  • trim para recortar el espacio.
  • +
+

Cuando liberamos (drop) un string, también liberamos su memoria dinámica.

+

String tiene un operador + que extiende el string con un &str y vuelve por sí mismo, pero puede que no sea tan ergonómico como esperas.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_fa.html b/beta_67_fa.html new file mode 100644 index 000000000..e5054f315 --- /dev/null +++ b/beta_67_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_fr.html b/beta_67_fr.html new file mode 100644 index 000000000..b3cf0445a --- /dev/null +++ b/beta_67_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

Une structure String possède une séquence de bytes utf-8 située sur le tas (en anglais heap).

+

Du fait que la donnée se trouve sur le tas, celle-ci peut être étendue, modifiée, etc., contrairement +aux chaînes de caractères (en anglais string literals).

+

Méthodes utiles:

+
    +
  • push_str pour ajouter d'autres bytes utf-8 à la fin.
  • +
  • replace pour remplacer une séquence de bytes utf-8 par une autre.
  • +
  • to_lowercase/to_uppercase pour tout mettre en minuscule ou en majuscule.
  • +
  • trim pour supprimer les espaces.
  • +
+

Lorsqu'une structure String est désallouée, ses données +se trouvant sur la pile le sont également.

+

Une structure String possède l'opérateur + qui permet d'étendre la structure +avec une autre chaîne de caractères de type &str et retourne la structure, +mais ce n'est peut-être pas aussi ergonomique que vous l'espérez.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_hu.html b/beta_67_hu.html new file mode 100644 index 000000000..c69f7deb0 --- /dev/null +++ b/beta_67_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String-ek

+

A String egy olyan struct, ami egy kupacmemórián tárolt utf-8 bájtszekvenciát birtokol. +Mivel a kupacon van tárolva, így a beágyazott szövegekkel ellentétben meg lehet hosszabbítani, +módosítani lehet, stb.

+

Gyakran használt metódusok:

+
    +
  • push_str - A szöveg végéhez illeszti a paraméterként átadott utf-8 bájtokat.
  • +
  • replace - Kicserél egy megadott utf-8 szekvenciát egy másikra.
  • +
  • to_lowercase/to_uppercase - Kisbetűssé vagy nagybetűssé alakítja a szöveget.
  • +
  • trim - A szöveg végi helykihagyásokat (space, tab) vágja le.
  • +
+

Amikor a String drop-ol, az általa birtokolt memória is felszabadításra kerül.

+

Bár a String rendelkezik a + operátorral, ami egy &str-t illeszt a végére majd visszaadja az +újonnan meghosszabbodott szöveget, de ez sajnos sokkal kevésbé ergonomikus, mint az elsőre +tűnhet.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_ie.html b/beta_67_ie.html new file mode 100644 index 000000000..16ffad692 --- /dev/null +++ b/beta_67_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

Un String es un struct quel possede un sequentie de bytes in utf-8 in memorie sur li heap.

+

Essente sur li heap, on posse extender e modificar it etc. con un flexibilitá quel ne trova se in string literals.

+

Metodes comun:

+
    +
  • push_str por adjunter plu bytes utf-8 al fine de un catene.
  • +
  • replace por remplazzar sequenties de bytes utf-8 con altris.
  • +
  • to_lowercase/to_uppercase por maju-/minusculisation.
  • +
  • trim por remover spacies
  • +
+

Quande un String cade, su memorie sur li heap cade junt con it.

+

String have un operator + con quel on extende it con un &str e retorna se self, ma it ne es tam ergonomic quam on vell esperar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_it.html b/beta_67_it.html new file mode 100644 index 000000000..9ce7315a0 --- /dev/null +++ b/beta_67_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Corda

+

Una String è una struttura che possiede una sequenza di byte utf-8 nella memoria heap.

+

Poiché la sua memoria è nell'heap, può essere estesa, modificata, ecc modi in cui i letterali stringa non possono.

+

Metodi comuni:

+
    +
  • push_str per aggiungere più byte utf-8 alla fine di una stringa.
  • +
  • replace per sostituire sequenze di byte utf-8 con altre.
  • +
  • to_lowercase/to_uppercase per le modifiche alle maiuscole.
  • +
  • trim per tagliare lo spazio
  • +
+

Quando una String viene eliminata, viene eliminata anche la sua memoria heap.

+

String ha un operatore + che estende la stringa con un &str e ritorna da solo, ma potrebbe non essere ergonomico come speri.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_ja.html b/beta_67_ja.html new file mode 100644 index 000000000..1517a725f --- /dev/null +++ b/beta_67_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

String はヒープにutf-8バイト列をもつ構造体です。

+

そのメモリはヒープ上にあるため、文字列リテラルでは出来ないような、拡張や修正などが可能です。

+

共通のメソッド:

+
    +
  • push_str 文字列の最後にutf-8バイトを追加します。
  • +
  • replace utf-8バイト列を他のutf-8バイト列で置換します。
  • +
  • to_lowercase/to_uppercase 大文字や小文字に変えます。
  • +
  • trim 空白を切り取ります。
  • +
+

Stringがドロップされると、そのヒープ内のメモリもドロップされます。

+

String には &strで文字列を拡張し、自分自身を返す + 演算子がありますが、 期待しているほど使い勝手は良くないかもしれません。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_ko.html b/beta_67_ko.html new file mode 100644 index 000000000..47163bd3a --- /dev/null +++ b/beta_67_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링

+

String은 utf-8 바이트 열을 heap memory에 소유하는 struct입니다.

+

String의 메모리는 heap에 있기 때문에, 문자열과는 달리 늘리거나 변경하거나 기타 등등을 할 수 있습니다.

+

흔히 쓰는 메소드입니다:

+
    +
  • push_str은 string의 맨 뒤에 utf-8 바이트들을 더 붙일 때 사용합니다.
  • +
  • replace는 utf-8 바이트 열을 다른 것으로 교체할 때 사용합니다.
  • +
  • to_lowercase/to_uppercase는 대소문자를 바꿀 때 사용합니다.
  • +
  • trim은 공백을 제거할 때 사용합니다.
  • +
+

String이 drop 되면, 그 heap memory도 함께 drop 됩니다.

+

String&str로 string을 확장하고 자신을 리턴하는 + 연산자를 갖고 있지만, 기대하는 것만큼 효율적이진 않을 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_pl.html b/beta_67_pl.html new file mode 100644 index 000000000..f03491d79 --- /dev/null +++ b/beta_67_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

A String is a struct that owns a sequence of utf-8 bytes in heap memory.

+

Because its memory is on the heap, it can be extended, modified, etc. in ways string literals cannot.

+

Common methods:

+
    +
  • push_str to add more utf-8 bytes to the end of a string.
  • +
  • replace to replace sequences of utf-8 bytes with others.
  • +
  • to_lowercase/to_uppercase for case changes.
  • +
  • trim for trimming space
  • +
+

When a String is dropped, its heap memory is also dropped.

+

String has a + operator that extends the string with a &str and returns itself, but it might not be as ergonomic as you hope for.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_pt-br.html b/beta_67_pt-br.html new file mode 100644 index 000000000..7f595caf0 --- /dev/null +++ b/beta_67_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Strings

+

Uma String é uma estrutura que contém uma sequência de bytes utf-8 na memória heap.

+

Como sua memória está na pilha, ela pode ser estendida, modificada etc. de tal maneira que os literais de string não podem.

+

Métodos comuns:

+
    +
  • push_str para adicionar mais bytes utf-8 ao final de uma string.
  • +
  • replace para substituir sequências de bytes utf-8 por outras.
  • +
  • to_lowercase/to_uppercase para alterações de maiúsculas e minúsculas.
  • +
  • trim para cortar espaços.
  • +
+

Quando uma String é descartada, sua memória heap também é descartada.

+

O tipo String possui um operador + que estende o string com um &str e retorna a si mesmo, mas pode não ser tão ergonômico quanto você espera.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_ro.html b/beta_67_ro.html new file mode 100644 index 000000000..81d6b9768 --- /dev/null +++ b/beta_67_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Șiruri de caractere

+

Un șir de caractere (eng. string) este o structură care deține o secvență de octeți utf-8 în memoria heap.

+

Deoarece memoria sa se află în heap, aceasta poate fi extinsă, modificată etc. în moduri în care șirurile de caractere literale nu pot fi modificate.

+

Metode comune:

+
    +
  • push_str pentru a adăuga mai mulți octeți utf-8 la sfârșitul unui șir de caractere.
  • +
  • replace pentru a înlocui secvențe de octeți utf-8 cu altele.
  • +
  • to_lowercase/to_uppercase pentru a schimba între majuscule și minuscule.
  • +
  • trim pentru eliminarea spațiilor.
  • +
+

Atunci când un șir de caractere este eliminat (drop), este eliminată și memoria heap a acestuia. +Șirurile de caractere au un operator + care extinde șirul cu un &str și se returnează pe sine însuși, dar s-ar putea să nu fie atât de ergonomic pe cât sperați (șirul din stânga este consumat, iar buffer-ul lui este refolosit pentru a stoca valoarea finală, șirul din dreapta este doar împrumutat pentru a efectua concatenarea).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_ru.html b/beta_67_ru.html new file mode 100644 index 000000000..d07efe077 --- /dev/null +++ b/beta_67_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Строковый тип (String)

+

Тип String является структурой, которая владеет последовательностью utf-8 байтов в куче.

+

Так как эта память в куче, то ее можно расширять, изменять и т.д. способами, которые не доступны для типа строковых литералов.

+

Общие методы:

+
    +
  • push_str добавить больше utf-8 байт к концу строки.
  • +
  • replace заменить последовательности utf-8 байт на другие.
  • +
  • to_lowercase/to_uppercase изменение регистра.
  • +
  • trim для уменьшения места
  • +
+

Когда String удаляется, ее память в куче также удаляется.

+

Тип String имеет оператор +, увеличивающий строку с помощью другого &str строкового литерала и возвращающий сам себя, но это может быть не так эргономично, как вы надеетесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_th.html b/beta_67_th.html new file mode 100644 index 000000000..af1e73f57 --- /dev/null +++ b/beta_67_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

String ก็คือ struct ที่ครอบครองลำดับของ ไบต์ของ utf-8 ที่อยู่ใน heap

+

และเพราะว่ามันอยู่ใน heap มันจึงสามารถขยายขนาด แก้ไขค่า หรืออื่นๆ แบบที่ ข้อความสตริงปกติทำไม่ได้

+

เมธอดที่ใช้ทั่วไปได้แก่:

+
    +
  • push_str ใช้เพิ่ม utf-8 ต่อท้ายสตริง
  • +
  • replace ใช้แทนลำดับคำในรูปแบบ utf-8 ด้วยค่าอื่น
  • +
  • to_lowercase/to_uppercase ใช้เปลี่ยนลักษณะตัวพิมพ์เล็กหรือใหญ่
  • +
  • trim ใช้ตัดแต่งช่องว่าง
  • +
+

เมื่อ String ถูก drop หน่วยความจำของมันที่อยู่ใน heap ก็จะ drop ตามไปด้วย

+

String มีตัวดำเนินการ + ไว้ใช้ต่อค่ากับ &str และคืนตัวมันเองมาให้ แต่มันอาจจะดูแปลกไปสักน้อยเวลาใช้งาน

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_tr.html b/beta_67_tr.html new file mode 100644 index 000000000..05df801a1 --- /dev/null +++ b/beta_67_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

String

+

String yani dilimizdeki karşılığı ile dizgi, belleğin öbek bölgesinde tutulan ve utf-8 baytlarından oluşan bir yapıyı temsil eder.

+

Sahip olduğu veriler belleğin öbek bölgesinde tutulduğundan, dizge değişmezleriyle olamayacak biçimde genişletilerek değiştirilebilirler.

+

Yaygın olarak kullanılan String yöntemlerini aşağıda yer almaktadır:

+
    +
  • Bir dizginin sonuna daha fazla utf-8 baytı eklemek içinpush_str yöntemi kullanılır.
  • +
  • UTF-8 bayt dizilerini bir başkasıyla değiştirmek için replace yönteminden faydalanılır.
  • +
  • Büyük/Küçük harf dönüşümlerinde to_lowercase/to_uppercase metodları kullanılır.
  • +
  • Boşluk temizleme işlemlerinde trim metodu oldukça kullanışlıdır.
  • +
+

Bir String türü düşürüldüğünde kendisine öbek üzerinde ayrılmış bulunan kaynaklar boşaltılır. +String türü, kendisini &str ile genişleterek, yine kendisini döndüren + işlecine sahiptir. Ancak bu olanak beklentilerinizi karşılayacak kadar ergonomik olmayabilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_ua.html b/beta_67_ua.html new file mode 100644 index 000000000..89e867c5d --- /dev/null +++ b/beta_67_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Структура String

+

String— це структура, яка зберігає у собі послідовність байтів utf-8 у купі (heap memory). +Оскільки його пам’ять знаходиться в купі, його можна розширювати, змінювати тощо так, як це неможливо зробити з рядковими літералами.

+

Розповсюдженні методи:

+
    +
  • push_str для додавання нових utf-8 байтів у кінець рядка.
  • +
  • replace для зміни однієї послідовності utf-8 байтів іншою.
  • +
  • to_lowercase/to_uppercase для зміни регістру.
  • +
  • trim для підрізання простору у пам'яті
  • +
+

Якщо String видалити, тоді його пам'ять у купі також видалиться.

+

String має + оператор, який розширює рядок за дорпомогою &str і повертає її, але це може бути не настільки зручним, як ви сподіваєтесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_vi.html b/beta_67_vi.html new file mode 100644 index 000000000..02d74357d --- /dev/null +++ b/beta_67_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuỗi(String)

+

Một String là một cấu trúc sở hữu một chuỗi utf-8 byte trong bộ nhớ heap.

+

Bởi vì bộ nhớ của nó nằm trên heap, nó có thể được mở rộng, sửa đổi, v.v. theo những cách mà các ký tự chuỗi không thể.

+

Các phương pháp phổ biến:

+
    +
  • push_str để thêm các byte utf-8 vào cuối chuỗi.
  • +
  • replace để thay thế chuỗi utf-8 byte bằng các chuỗi khác.
  • +
  • to_lowercase/to_uppercase để viết thường hoặc viết hoa.
  • +
  • trim để xoá các khoảng trắng ở đầu và cuối chuỗi.
  • +
+

Khi một chuỗi bị drop, bộ nhớ heap của nó cũng drop.

+

String có một toán tử + mà có thể mở rộng chuỗi bằng dấu &str và trả về chính nó, nhưng nó có thể không tiện dụng như bạn mong đợi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_zh-cn.html b/beta_67_zh-cn.html new file mode 100644 index 000000000..45dab92e1 --- /dev/null +++ b/beta_67_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串(String)

+

字符串String 是一个结构体,其持有以堆(heap)的形式在内存中存储的 utf-8 字节序列。

+

由于它以堆的形式来存储,字符串可以延长、修改等等。这些都是字符串常量(string literals)无法执行的操作。

+

常用方法:

+
    +
  • push_str 用于在字符串的结尾添加字符串常量(&str)。
  • +
  • replace 用于将一段字符串替换为其它的。
  • +
  • to_lowercase/to_uppercase 用于大小写转换。
  • +
  • trim 用于去除字符串前后的空格。
  • +
+

如果字符串String 被释放(drop)了,其对应的堆内存片段也将被释放。

+

字符串String 可以使用 + 运算符来在其结尾处连接一个 &str 并将其自身返回。但这个方法可能并不像你想象中的那么人性化。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_67_zh-tw.html b/beta_67_zh-tw.html new file mode 100644 index 000000000..1b2582c98 --- /dev/null +++ b/beta_67_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串 (string)

+

一個字串 是一個結構,它在堆記憶體 (heap memory) 裡擁有一連串的 utf-8 位元組。

+

因為它的記憶體在堆 (heap) 上,所以它可以被延長、修改…等,而字串常量 (string literals) 不能。

+

常見的方法:

+
    +
  • push_str 在一個字串的尾巴加入更多 utf-8 位元組。
  • +
  • replace 取代一連串的 utf-8 位元組。
  • +
  • to_lowercase/to_uppercase 切換大小寫。
  • +
  • trim 切除空白
  • +
+

當一個字串被徹下時,它的堆記憶體也同時被徹下。

+

String+ 運算子可以與一個 &str 延長字串,而且他會回傳自己,但它可能不如你想像中的好用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_ar.html b/beta_68_ar.html new file mode 100644 index 000000000..499024035 --- /dev/null +++ b/beta_68_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

النص كمعلمات دالة (Text As Function Parameters)

+

يتم بشكل عام تمرير السلاسل النصية والسلاسل النصية الحرفية كشريحة سلسلة نصية إلى الدوال. يوفر هذا قدرًا كبيرًا من المرونة لمعظم السيناريوهات التي لا يتعين عليك فيها تمرير الملكية فعليًا.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_de.html b/beta_68_de.html new file mode 100644 index 000000000..1581a9d5c --- /dev/null +++ b/beta_68_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text als Funktionsparameter

+

Zeichenfolgen (Literale) werden im Allgemeinen als Teilzeichenfolgen an Funktionen übergeben. +Dies bietet in den meisten Szenarien große Flexibilität, wenn es nicht benötigt wird das Eigentum tatsächlich zu übertragen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_en.html b/beta_68_en.html new file mode 100644 index 000000000..a17123397 --- /dev/null +++ b/beta_68_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_es.html b/beta_68_es.html new file mode 100644 index 000000000..db4ceea42 --- /dev/null +++ b/beta_68_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

El Texto como Parámetros de Función

+

Las cadenas de caracteres literales y strings se pasan generalmente como una cadena slice a las funciones. Esto ofrece mucha flexibilidad para la mayoría de los escenarios en los que no se tiene que pasar la propiedad.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_fa.html b/beta_68_fa.html new file mode 100644 index 000000000..2d9994acd --- /dev/null +++ b/beta_68_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_fr.html b/beta_68_fr.html new file mode 100644 index 000000000..b43463187 --- /dev/null +++ b/beta_68_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Texte en tant que paramètre de fonction

+

Les chaînes de caractères et les structures String sont généralement passées aux fonctions sous forme de 'string slice'. +Cela offre beaucoup de flexibilité pour la plupart des scénarios où vous n'avez pas besoin de transmettre la propriété (en anglais ownership).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_hu.html b/beta_68_hu.html new file mode 100644 index 000000000..fe3537620 --- /dev/null +++ b/beta_68_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szöveg mint funkció-paraméter

+

A szövegek általában szeletek formájában kerülnek átadásra a függvényeknek. Ez nagy +rugalmasságot biztosít anélkül, hogy a szöveg birtoklását át kéne adni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_ie.html b/beta_68_ie.html new file mode 100644 index 000000000..931efc6c3 --- /dev/null +++ b/beta_68_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Textu quam Parametres de Functiones

+

In general on transfere string literals e strings quam un string slice (tranche de caracteres) a functiones. Con to on have +flexibilitá in li pluparte de situationes quande on ne besona transferer proprietá.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_it.html b/beta_68_it.html new file mode 100644 index 000000000..575b800cd --- /dev/null +++ b/beta_68_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Testo come parametri di funzione

+

Le stringhe letterali e le stringhe vengono generalmente passate come porzioni di stringhe funzioni. Questo offre molta flessibilità per +nella maggior parte degli scenari in cui non è necessario trasferire effettivamente la proprietà.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_ja.html b/beta_68_ja.html new file mode 100644 index 000000000..55a1b0be3 --- /dev/null +++ b/beta_68_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数パラメータとしてのテキスト

+

文字列リテラルや文字列は、一般的に文字列スライスとして関数に渡されます。 これによって、実際には所有権を渡す必要がないほとんど場合において柔軟性が増します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_ko.html b/beta_68_ko.html new file mode 100644 index 000000000..c004a637b --- /dev/null +++ b/beta_68_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

함수의 매개변수로서의 텍스트

+

문자열과 string은 일반적으로 함수에 문자열 slice 형태로 전달됩니다. +이 방법은 소유권을 넘길 필요가 없어 대부분의 경우에 유연성을 제공합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_pl.html b/beta_68_pl.html new file mode 100644 index 000000000..b188c56f9 --- /dev/null +++ b/beta_68_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text As Function Parameters

+

String literals and strings are generally passed around as a string slice to functions. This offers a lot of flexibility for +most scenarios where you don't actually have to pass ownership.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_pt-br.html b/beta_68_pt-br.html new file mode 100644 index 000000000..75093bb62 --- /dev/null +++ b/beta_68_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Texto como parâmetros de função

+

As literais de string e strings geralmente são passados como uma fatia de string para as funções. Isso oferece muita flexibilidade para a maioria dos cenários em que você realmente não precisa passar a propriedade.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_ro.html b/beta_68_ro.html new file mode 100644 index 000000000..5a512f1ae --- /dev/null +++ b/beta_68_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Text ca parametru de funcție

+

Șirurile de caractere (literale) sunt în general transmise către funcții sub forma unui subșir. +Acest lucru oferă o mare flexibilitate în majoritatea scenariilor, când nu este nevoie să transmiteți de fapt proprietatea (ownership).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_ru.html b/beta_68_ru.html new file mode 100644 index 000000000..6a5d6cc05 --- /dev/null +++ b/beta_68_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Текст как параметр функции (Function Parameter)

+

Строковые литералы и строки обычно передаются в функции в виде среза строк (тип &str). Это обеспечивает большую гибкость в большинстве сценариев, +когда вам фактически не нужно передавать параметр во владение.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_th.html b/beta_68_th.html new file mode 100644 index 000000000..9b9d24873 --- /dev/null +++ b/beta_68_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การส่งพารามิเตอร์ด้วยข้อความ

+

โดยปกติ ไม่ว่าจะเป็นข้อความของ String หรือ string ก็สามารถส่งเข้าไปให้ฟังก์ชัน ในรูปแบบ slice ของ string ได้อยู่แล้ว ซึ่งมันช่วยให้ยืดหยุ่นกับทุกสถานการณ์ โดยไม่จำเป็นต้องส่งผ่านความเป็นเจ้าของเข้าไป

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_tr.html b/beta_68_tr.html new file mode 100644 index 000000000..d11f00a94 --- /dev/null +++ b/beta_68_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

İşlev Parametrelerinde Kullanılan Metinler

+

Dizgeler ve dizge değişmezleri genellikle işlevlere dizge dilimleri şeklinde iletilirler. Mülkiyetin devredilmesini gerektirmeyen pek çok senaryo için bu kullanım şekli yeterince esnektir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_ua.html b/beta_68_ua.html new file mode 100644 index 000000000..dc269b30c --- /dev/null +++ b/beta_68_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Текст,як параметр функції

+

Рядкові літерали та рядки зазвичай передаються функціям як рядкові зрізи. Це забезпечує велику гнучкість для більшості +сценаріїв, коли вам фактично не потрібно передавати право володіння.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_vi.html b/beta_68_vi.html new file mode 100644 index 000000000..fea1e344a --- /dev/null +++ b/beta_68_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Văn bản dưới dạng tham số hàm

+

Các ký tự chuỗi và chuỗi thường được chuyển xung quanh như một lát chuỗi(string slice) cho các hàm. Điều này cung cấp rất nhiều tính linh hoạt cho hầu hết các trường hợp mà bạn không thực sự phải chuyển quyền sở hữu.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_zh-cn.html b/beta_68_zh-cn.html new file mode 100644 index 000000000..161fd7a4c --- /dev/null +++ b/beta_68_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

将文本作为函数的参数

+

字符串常量(String literals)和字符串(String)一般以字符串片段(string slice)的形式传递给函数。这给许多场景提供了充足的灵活性,因为所有权并未被传递。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_68_zh-tw.html b/beta_68_zh-tw.html new file mode 100644 index 000000000..f88869d79 --- /dev/null +++ b/beta_68_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

將文字當作函式參數

+

字串常量及字串都以字串切片的方式傳給函式。這給了大部份場景許多彈性,當你並不是真的想要傳遞擁有權的時候。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_ar.html b/beta_69_ar.html new file mode 100644 index 000000000..3b0432722 --- /dev/null +++ b/beta_69_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

بناء السلاسل النصية (Building Strings)

+

concat وjoin هما طريقتان بسيطتان ولكنهما فعالتان لبناء السلاسل النصية (building strings).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_de.html b/beta_69_de.html new file mode 100644 index 000000000..fc3dfee8d --- /dev/null +++ b/beta_69_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konstruktion und Charaktercharakter

+

concat und join sind zwei einfache, aber effektive Möglichkeiten, Strings zu erstellen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_en.html b/beta_69_en.html new file mode 100644 index 000000000..1df913379 --- /dev/null +++ b/beta_69_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_es.html b/beta_69_es.html new file mode 100644 index 000000000..b39d4737f --- /dev/null +++ b/beta_69_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Construir Strings

+

Usar concat y join son dos formas simples pero muy efectivas de construir strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_fa.html b/beta_69_fa.html new file mode 100644 index 000000000..9c41d876d --- /dev/null +++ b/beta_69_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_fr.html b/beta_69_fr.html new file mode 100644 index 000000000..9bcf29cef --- /dev/null +++ b/beta_69_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Construction de String

+

concat etjoin sont deux façons simples mais puissantes de construire les structures String.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_hu.html b/beta_69_hu.html new file mode 100644 index 000000000..e5f473c0f --- /dev/null +++ b/beta_69_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szövegek építése

+

A concat és join két egyszerű, de erőteljes módszer arra, hogy szövegeket építsünk.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_ie.html b/beta_69_ie.html new file mode 100644 index 000000000..f7b094e5f --- /dev/null +++ b/beta_69_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Construction de Strings

+

Li simplic ma potent concat e join possibilisa li creation de catenes.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_it.html b/beta_69_it.html new file mode 100644 index 000000000..e73d82d14 --- /dev/null +++ b/beta_69_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Costruire stringhe

+

"concat" e "join" sono due modi semplici ma potenti per creare stringhe.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_ja.html b/beta_69_ja.html new file mode 100644 index 000000000..3b526dad5 --- /dev/null +++ b/beta_69_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列の構築

+

concatjoin は、文字列を構築するためのシンプルだが強力な方法です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_ko.html b/beta_69_ko.html new file mode 100644 index 000000000..09925e1f3 --- /dev/null +++ b/beta_69_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링 만들기

+

concatjoin은 string을 만드는 간단하지만 강력한 방법입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_pl.html b/beta_69_pl.html new file mode 100644 index 000000000..4ccbf16ba --- /dev/null +++ b/beta_69_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Building Strings

+

concat and join are two simple but powerful ways for building strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_pt-br.html b/beta_69_pt-br.html new file mode 100644 index 000000000..934906afa --- /dev/null +++ b/beta_69_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Criando Strings

+

O concat e o join são duas maneiras simples, mas poderosas, de criar strings.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_ro.html b/beta_69_ro.html new file mode 100644 index 000000000..f75342a1f --- /dev/null +++ b/beta_69_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Construirea șirurilor de caractere

+

concat și join sunt două moduri simple, dar eficiente de a construi șiruri de caractere.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_ru.html b/beta_69_ru.html new file mode 100644 index 000000000..1012bf06c --- /dev/null +++ b/beta_69_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Создание строк

+

Методы concat и join являются двумя простыми, но мощными способами для создания строк.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_th.html b/beta_69_th.html new file mode 100644 index 000000000..7471e6818 --- /dev/null +++ b/beta_69_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การสร้าง Strings

+

concat และ join เป็นสองวิธีง่ายๆที่ดีมากในการสร้างสตริง

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_tr.html b/beta_69_tr.html new file mode 100644 index 000000000..ea014436c --- /dev/null +++ b/beta_69_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgiyi Oluşturmak

+

String, yani dizgi yapılarını oluşturmanın basit fakat etkili iki yolu, concat ve join metodlarını kullanmaktır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_ua.html b/beta_69_ua.html new file mode 100644 index 000000000..09fc50f51 --- /dev/null +++ b/beta_69_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Побудова рядків

+

concat і join - два прості, але потужні способи створення рядків.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_vi.html b/beta_69_vi.html new file mode 100644 index 000000000..b2d369589 --- /dev/null +++ b/beta_69_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xây dựng chuỗi

+

concatjoin là hai cách đơn giản nhưng mạnh mẽ để xây dựng chuỗi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_zh-cn.html b/beta_69_zh-cn.html new file mode 100644 index 000000000..1d891d961 --- /dev/null +++ b/beta_69_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串构建

+

concatjoin 可以以简洁而有效的方式构建字符串。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_69_zh-tw.html b/beta_69_zh-tw.html new file mode 100644 index 000000000..f2a9af103 --- /dev/null +++ b/beta_69_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

建立字串

+

concatjoin 是兩個簡單但強大的建位字串的方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_ar.html b/beta_70_ar.html new file mode 100644 index 000000000..988947d67 --- /dev/null +++ b/beta_70_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تنسيق السلاسل النصية (Formatting Strings)

+

يتيح لنا الماكرو format! إنشاء سلسلة نصية (string) عن طريق تعريف سلسلة تحتوي على معلمات (parameters) في عناصر نائبة (placeholders) للتوضيح مكان وكيفية وضع القيم (على سبيل المثال، {}).

+

يستخدم format! نفس السلاسل النصية التي تحتوي على معلمات مثل println!

+

إمكانيات هذا الماكرو واسعة جدًا بالنسبة لنطاق جولة في رست؛ للمزيد تحقق من الوثائق هنا.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_de.html b/beta_70_de.html new file mode 100644 index 000000000..986006244 --- /dev/null +++ b/beta_70_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Zeichenfolgen formatieren

+

Mit dem Makro format! können wir eine Zeichenfolge erstellen, indem wir eine parametrisierte Zeichenfolge definieren mit Platzhaltern dafür, wo und wie die Werte platziert werden sollen (Beispiel: {}).

+

format! verwendet die gleichen parametrisierten Strings wie println!.

+

Die Möglichkeiten dieser Funktion sind zu groß für die Rundgang durch Rust; siehe Dokumentation Hier.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_en.html b/beta_70_en.html new file mode 100644 index 000000000..74f18afa9 --- /dev/null +++ b/beta_70_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_es.html b/beta_70_es.html new file mode 100644 index 000000000..0de6468bf --- /dev/null +++ b/beta_70_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatear Strings

+

La macroformat! nos permite crear una cadena (strings) definiendo una cadena parametrizada con placeholders para indicar dónde y cómo deben colocarse los valores (por ejemplo {}).

+

format! utiliza los mismos parámteros que println!

+

Las capacidades de esta función son demasiado amplias para el Tour del Rust, pero puedes echarle un vistazo a la documentación aquí.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_fa.html b/beta_70_fa.html new file mode 100644 index 000000000..0353f07c4 --- /dev/null +++ b/beta_70_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_fr.html b/beta_70_fr.html new file mode 100644 index 000000000..0fd9a64d5 --- /dev/null +++ b/beta_70_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatage de Strings

+

La macro format! nous permet de créer une chaîne de caractères en définissant +une chaîne paramétrée avec des espaces réservés (e.g. {}) qui seront remplacés +par certaines valeurs.

+

format! utilise les mêmes chaînes de caractères paramétrées que println!.

+

Les possibilités offertes par cette fonction sont trop larges pour être toutes +vues dans note modeste * Tour de Rust *. Si vous souhaitez cependant en savoir plus, +vous pouvez consulter la documentation ici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_hu.html b/beta_70_hu.html new file mode 100644 index 000000000..b381baed6 --- /dev/null +++ b/beta_70_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szövegek formázása

+

A format! makró használatával egy paraméterezett szöveget hozhatunk létre, amiben meg vannak +harározva, hogy hova és milyen módon kell értékeknek kerülnie. Az ilyen "lyukak" elhelyezésére a +{}-t használjuk a szövegben.

+

A format! ugyanúgy használja a paraméterezett szövegeket, mint a már megszokott println!.

+

Ez a függvény túlságosan sokat tud ahhoz, hogy a Rust-túra keretei között ennél jobban +átnézzük, de érdemes átolvasni az angol nyelvű dokumentációt +a témával kapcsolatban.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_ie.html b/beta_70_ie.html new file mode 100644 index 000000000..4b3317295 --- /dev/null +++ b/beta_70_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formate de Strings

+

Con li macro format! noi posse crear un catene per definir un tal quel es parametrisat con placeholders (marcas substitutiv) pri u e qualmen li valores deve esser plazzat (usante {}).

+

format! usa li sam catenes parametrisat quam tis in println!

+

Li capabilitás de ti-ci function es tro grand por nor litt Tour of Rust; plu detallies trova se in li documentation

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_it.html b/beta_70_it.html new file mode 100644 index 000000000..4b8368745 --- /dev/null +++ b/beta_70_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Stringhe di formattazione

+

La macro format! ci consente di creare una stringa definendo un file parametrizzato stringa con segnaposto per dove e come posizionare i valori (ad es. "{}`).

+

format! utilizza le stesse stringhe parametrizzate di println!

+

Le capacità di questa funzione sono troppo ampie per Tour of Rust; consulta la documentazione qui.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_ja.html b/beta_70_ja.html new file mode 100644 index 000000000..7cb3b575f --- /dev/null +++ b/beta_70_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列のフォーマット

+

format!マクロを使うと、パラメータ化された文字列を定義して文字列を作成することができ、 値をどこにどのように配置すべきかはプレースホルダ(例:{})で指定します。

+

format!println! と同じパラメータ付きの文字列を使用します。

+

この関数の機能は、Tour of Rust では説明しきれません。 ドキュメント をチェックしてください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_ko.html b/beta_70_ko.html new file mode 100644 index 000000000..d5ecc4e04 --- /dev/null +++ b/beta_70_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링 양식 만들기

+

format! macro는 값이 어디에 어떻게 놓일지 매개변수화 된 (예: {}) string을 정의하여 string을 생성합니다.

+

format!println!과 동일한 매개변수화 된 string을 사용합니다.

+

이 함수의 기능은 너무 방대해서 Tour of Rust의 범위를 넘어가니, 이 문서를 확인하시기 바랍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_pl.html b/beta_70_pl.html new file mode 100644 index 000000000..60a6aecb9 --- /dev/null +++ b/beta_70_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatting Strings

+

The format! macro allows us to create a string by defining a parameterized string with placeholders for where and how values should be placed (e.g. {}).

+

format! uses the same parameterized strings as println!

+

The capabilities of this function are too large of scope for Tour of Rust; check out the documentation here.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_pt-br.html b/beta_70_pt-br.html new file mode 100644 index 000000000..a58f96d69 --- /dev/null +++ b/beta_70_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatando Strings

+

A macro format! nos permite criar uma string definindo uma string parametrizada com espaços reservados para onde e como os valores devem ser colocados (por exemplo, {}).

+

O format! usa as mesmas strings parametrizadas que o println!.

+

Os recursos desta função têm um escopo muito maior que o do Um tour por Rust. Confira a documentação aqui.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_ro.html b/beta_70_ro.html new file mode 100644 index 000000000..7c63a8fd6 --- /dev/null +++ b/beta_70_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Formatarea șirurilor de caractere

+

Macroul format! ne permite să creăm un șir de caractere prin definirea unui șir parametrizat cu poziții pentru locul și modul în care trebuie plasate valorile (ex.: {}).

+

format! utilizează aceleași șiruri parametrizate ca și println!.

+

Capabilitățile acestei funcții sunt de o amploare prea mare pentru Turul limbajului Rust; puteți consulta documentația aici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_ru.html b/beta_70_ru.html new file mode 100644 index 000000000..994393cc8 --- /dev/null +++ b/beta_70_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Форматирование строк (Formatting)

+

Макрос format! позволяет создать строку, с помощью определения параметризованной строки с заполнителями, указывающими где и как нужно разместить фактические значения (например заполнитель {}).

+

format! использует такие же параметризованные строки как и макрос println!

+

Возможности данного макроса являются слишком обширными для Tour of Rust; проверьте документацию здесь.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_th.html b/beta_70_th.html new file mode 100644 index 000000000..78582035b --- /dev/null +++ b/beta_70_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดรูปแบบ Strings

+

มาโคร format! ช่วยให้เราสร้างสตริงด้วยการ กำหนดรูปแบบด้วยพารามิเตอร์ โดยยึดตำแหน่งที่จะนำค่ามาแทนที่เอาไว้(เข่น {})

+

format! ใช้วิธีการกำหนดพารามิเตอร์แบบเดียวกับ println!

+

ความสามารถของมันค่อนข้างกว้างเกินกว่าขอบเขตที่ Tour of Rust จะอธิบายได้ทั้งหมด แต่สามารถไปดูเพิ่มเติมได้ ที่นี่.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_tr.html b/beta_70_tr.html new file mode 100644 index 000000000..1ad23443e --- /dev/null +++ b/beta_70_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgileri Biçimlendirmek

+

Karakter dizgelerini format! makrosu kullanarak, format!("buraya {} gelecek", deger); örneğindeki gibi biçimlendirebiliriz. +Tıpkı println! makrosu gibi, format! makrosu da, parametreleştirilmiş dizgiler kullandığından, tanımı içinde belirli değerlerle değiştirilmek üzere bulundurulan yer tutuculara sahiptir.

+

Bu makronun sunduğu olanaklar, mütevazı Rust Turu notlarına sığdırılamayacak kadar geniş olduğundan, daha fazlasını öğrenebilmek için, burada bulunan belgeleri inceleyebilirsiniz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_ua.html b/beta_70_ua.html new file mode 100644 index 000000000..bfd70637d --- /dev/null +++ b/beta_70_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Форматування рядків

+

Макрос format! дозволяє нам створювати параметризовані рядки з пропусками і даними, якими їх потрібно заповнити (наприклад {}).

+

format! використовує такі саме параметризовані рядки, як і println!

+

Можливості цієї функції занадто великі для Tour of Rust; перегляньте документацію тут.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_vi.html b/beta_70_vi.html new file mode 100644 index 000000000..0376c8b8f --- /dev/null +++ b/beta_70_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Định dạng chuỗi

+

The format! cho phép chúng tôi tạo một chuỗi bằng cách xác định một chuỗi được tham số hóa với các trình giữ chỗ cho vị trí và cách các giá trị nên được đặt (ví dụ: {}).

+

format! sử dụng các chuỗi được tham số hóa giống như println!

+

Các khả năng của chức năng này có phạm vi quá lớn đối với Tour of Rust; Bạn có thể đọc thêm tài liệu ở đây.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_zh-cn.html b/beta_70_zh-cn.html new file mode 100644 index 000000000..5fe71a876 --- /dev/null +++ b/beta_70_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串格式化

+

format! 可用于创建一个使用占位符的参数化字符串。(例:{}

+

format!println! 生成的参数化字符串相同,只是 format! 将其返回而 println! 将其打印出来。

+

这个函数涉及的内容太过广泛,因而不可能在 Rust 语言之旅 中详细介绍, 如需了解完整的内容可看这里

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_70_zh-tw.html b/beta_70_zh-tw.html new file mode 100644 index 000000000..a4800ff76 --- /dev/null +++ b/beta_70_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串格式化

+

巨集 format! 允許我們產生一個定義好在哪、該怎麼表示的占位符 (placeholders) 的字串 (例如:{})。

+

format! 使用與 println! 相同的參數字串

+

這個函式的使用方法實在太多了,已經超出 Tour of Rust 的範圍了,可以查看這裡的文件。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_ar.html b/beta_71_ar.html new file mode 100644 index 000000000..0216409c3 --- /dev/null +++ b/beta_71_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تحويل السلاسل النصية (Converting Strings)

+

يمكن تحويل العديد من الأنواع إلى سلسلة نصية (string) باستخدام to_string.

+

يمكن استخدام الدالة المعممة parse لتحويل السلاسل النصية أو السلاسل النصية الحرفية إلى قيمة مكتوبة. ترجع هذه الدالة Result لأنها قد تفشل.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_de.html b/beta_71_de.html new file mode 100644 index 000000000..02e74b931 --- /dev/null +++ b/beta_71_de.html @@ -0,0 +1,49 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Konvertieren von Zeichenfolgen

+

Viele Typen können mit to_string in einen String konvertiert werden.

+

Die generische Funktion parse kann zum Konvertieren von Zeichenfolgen (Literalen) verwendet werden. +in einem typisierten Wert. Diese Funktion gibt ein Result zurück, da sie möglicherweise fehlschlägt.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_en.html b/beta_71_en.html new file mode 100644 index 000000000..77af88e25 --- /dev/null +++ b/beta_71_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_es.html b/beta_71_es.html new file mode 100644 index 000000000..d14ca23d0 --- /dev/null +++ b/beta_71_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversión de Strings

+

Muchos tipos de datos se pueden convertir en una cadena (o string) usando to_string.

+

La función genérica parse se puede usar para convertir cadenas literales (strings) en un tipo de datos explícito (o valor tipado). Esta función devuelve un Result porque puede fallar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_fa.html b/beta_71_fa.html new file mode 100644 index 000000000..686293fbc --- /dev/null +++ b/beta_71_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_fr.html b/beta_71_fr.html new file mode 100644 index 000000000..8be39da43 --- /dev/null +++ b/beta_71_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversion en String

+

Plusieurs types peuvent être convertis en String en utilisant to_string.

+

La fonction générique parse peut être utilisée pour convertir une structure String +ou une chaîne de caratères en un autre type.

+

La fonction de l'exemple ci-contre retourne une structure Result car elle pourrait échouer.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_hu.html b/beta_71_hu.html new file mode 100644 index 000000000..0ef688b11 --- /dev/null +++ b/beta_71_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Szövegek átalakítása

+

Sokféle típus alakítható szöveggé a to_string metódus segítségével.

+

A generikus parse függvény pedig a szövegeket alakítja más típusú értékekké (pl. számokká). +Ennek a visszatérési értéke egy Result, mivel ha átalakíthatatlan értékre hívjuk meg, hibát +dob.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_ie.html b/beta_71_ie.html new file mode 100644 index 000000000..f0ac7ad14 --- /dev/null +++ b/beta_71_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversion de Strings

+

On posse utilisar to_string por converter mult tipes a un string.

+

Li function géneric parse posse esser usat por converter strings o string literals +ad-in un altri tip. Ti-ci function retorna un Result pro li possibilitá +de falliment.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_it.html b/beta_71_it.html new file mode 100644 index 000000000..841117ad4 --- /dev/null +++ b/beta_71_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Conversione di stringhe

+

Molti tipi possono essere convertiti in una stringa utilizzando "to_string".

+

La funzione generica "parse" può essere utilizzata per convertire stringhe +o valori letterali stringa in un valore tipizzato. Questa funzione ritorna +un "Risultato" perché potrebbe fallire.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_ja.html b/beta_71_ja.html new file mode 100644 index 000000000..938a48cee --- /dev/null +++ b/beta_71_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

文字列変換

+

多くの型は to_string を用いて文字列に変換することができます。

+

ジェネリック関数 parse を用いることで文字列や文字列リテラルを型付きの値に変換できます。この関数は失敗する可能性があるので、Resultを返します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_ko.html b/beta_71_ko.html new file mode 100644 index 000000000..87df60855 --- /dev/null +++ b/beta_71_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스트링 변환

+

많은 자료형이 to_string을 이용하여 string으로 변환될 수 있습니다.

+

generic 함수인 parse로 string이나 문자열을 다른 자료형을 가진 값으로 변환할 수 있습니다. +이 함수는 실패할 수도 있기 때문에 Result를 리턴합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_pl.html b/beta_71_pl.html new file mode 100644 index 000000000..45ca4e5df --- /dev/null +++ b/beta_71_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Converting Strings

+

Many types can be converted to a string using to_string.

+

The generic function parse can be used to convert strings +or string literals into a typed value. This function returns +a Result because it could fail.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_pt-br.html b/beta_71_pt-br.html new file mode 100644 index 000000000..d1475b354 --- /dev/null +++ b/beta_71_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Convertendo Strings

+

Muitos tipos podem ser convertidos em uma string usando to_string.

+

A função genérica parse pode ser usada para converter strings ou literais de strings em um valor digitado. Esta função retorna um Result porque pode falhar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_ro.html b/beta_71_ro.html new file mode 100644 index 000000000..e6b6b4d89 --- /dev/null +++ b/beta_71_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Convertirea șirurilor de caractere

+

Multe tipuri pot fi convertite într-un șir de caractere folosind to_string.

+

Funcția generică parse poate fi utilizată pentru a converti șiruri de caractere (literale) +într-o valoare tipizată. Această funcție returnează un Result deoarece ar putea eșua.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_ru.html b/beta_71_ru.html new file mode 100644 index 000000000..4e7678f97 --- /dev/null +++ b/beta_71_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Преобразование строк (Converting Strings)

+

Многие типы могут быть преобразованы в тип строки используя метод to_string.

+

Обобщеную функцию parse можно использовать для преобразования строк +или строковых литералов в типизированное значение. Данная фунция +возвращает тип Result, потому что преобразование может завершится ошибкой.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_th.html b/beta_71_th.html new file mode 100644 index 000000000..ab4fd26cd --- /dev/null +++ b/beta_71_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การแปลงค่า Strings

+

มีหลาย type ที่สามารถแปลงมาเป็นสตริงได้ด้วยการใช้ to_string

+

มี generic ฟังก์ชันตัวนึงคือ parse นำมาใช้แปลงค่าสตริง หรือข้อความสตริง +ไปเป็น type อื่นได้ โดยมันจะคืนค่ามาเป็น Result เพราะว่ามันอาจเกิดข้อผิดพลาดได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_tr.html b/beta_71_tr.html new file mode 100644 index 000000000..41fcd46a0 --- /dev/null +++ b/beta_71_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dizgileri Dönüştürmek

+

Birçok tür to_string metodu kullanılarak dizgelere dönüştürülebilir.

+

Genellenmiş türlerin ayrıştırılmasında kullanılan parse yöntemi, bir dizge yapısını veya bir karakter dizgesini, başka bir türe dönüştürmek +için oldukça kullanışlıdır. Bu yöntem başarısız olma ihtimaline karşın Result türü döndürür.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_ua.html b/beta_71_ua.html new file mode 100644 index 000000000..01cde681a --- /dev/null +++ b/beta_71_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Конвертація рядків

+

Багато типів можна конвертувати у string використовуючи to_string.

+

Загальна функція parse можна використовувати для конвертування рядків +або рядкові літерали у введене значення. Ця функція повертає +Result тому, що воно може не виконатися.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_vi.html b/beta_71_vi.html new file mode 100644 index 000000000..2ca33e88a --- /dev/null +++ b/beta_71_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chuyển đổi chuỗi

+

Nhiều loại có thể được chuyển đổi thành một chuỗi bằng cách sử dụng to_string.

+

Hàm generic parse có thể được sử dụng để chuyển đổi chuỗi hoặc ký tự chuỗi thành một giá trị đã nhập. Hàm này trả về một Result vì nó có thể bị lỗi.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_zh-cn.html b/beta_71_zh-cn.html new file mode 100644 index 000000000..428888869 --- /dev/null +++ b/beta_71_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字符串转换

+

许多类型都可以通过 to_string 转换为字符串。

+

而泛型函数 parse 则可将字符串或是字符串常量转换为其它类型,该函数会返回 Result 因为转换有可能失败。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_71_zh-tw.html b/beta_71_zh-tw.html new file mode 100644 index 000000000..ab1b26a7f --- /dev/null +++ b/beta_71_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

字串轉換

+

許多型別都能用 to_string 轉換成字串。

+

parse 可以被用來轉換字串或字串常量為一個型別的值。這個函式回傳一個 Result 因為它可能會失敗。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_72_ar.html b/beta_72_ar.html new file mode 100644 index 000000000..9a789e277 --- /dev/null +++ b/beta_72_ar.html @@ -0,0 +1,46 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 6 - الخلاصة

+

الآن أنت تعرف أساسيات النص! كما رأيت، يجعل Unicode العمل مع النص أمرًا صعبًا بعض الشيء، لكن المكتبة القياسية لديها الكثير من الوظائف لتسهيل إدارة النصوص.

+

حتى الآن، إطلعنا عموما إلى رست (Rust) من منظور النموذج الإجرائي - procedural paradigm - (أي الوظائف والبيانات فقط)، ولكن حان الوقت الآن لنتحدث عن السمات (traits) والقدرات التي فتحها رست (Rust) من خلال نموذج كائنية التوجه (object oriented paradigm).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_de.html b/beta_72_de.html new file mode 100644 index 000000000..653eb531f --- /dev/null +++ b/beta_72_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 6 - Schlüssig

+

Jetzt kennen Sie die Grundlagen des Textes! Wie Sie gesehen haben, erledigt Unicode den Zweck mit dem etwas komplizierteren Text, aber der Standardbibliothek +es verfügt über viele Funktionen, die die Verwaltung erleichtern.

+

Bisher haben wir die Rust-Sprache hauptsächlich durch die Linse eines prozeduralen Paradigmas betrachtet (also nur Funktionen und Daten), +Aber es ist jetzt an der Zeit, über die Eigenschaften und Fähigkeiten zu sprechen, die sich daraus ergeben das objektorientierte Paradigma der Rust-Programmiersprache.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_en.html b/beta_72_en.html new file mode 100644 index 000000000..5536c33dd --- /dev/null +++ b/beta_72_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_es.html b/beta_72_es.html new file mode 100644 index 000000000..e0f49e683 --- /dev/null +++ b/beta_72_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 6 - Conclusión

+

¡Ya sabes lo básico! Como habrás visto, es algo difícil trabajar el texto con unicode, pero gracias a la librería estándar es algo más fácil de manejar.

+

Hasta ahora, hemos visto Rust desde la perspectiva de un paradigma procedimental (es decir, sólo funciones y datos), es hora de que hablemos de los rasgos y las capacidades desbloqueadas por el paradigma orientado a objetos de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_fa.html b/beta_72_fa.html new file mode 100644 index 000000000..203137822 --- /dev/null +++ b/beta_72_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_fr.html b/beta_72_fr.html new file mode 100644 index 000000000..6a2de4250 --- /dev/null +++ b/beta_72_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 6 - Conclusion

+

Maintenant, tu sais tout ce que tu as à connaître sur la gestion des textes avec Rust! +Comme tu l'as vu, l'encodage unicode rend le travail avec le texte un peu délicat, +mais la bibliothèque standard de Rust possède beaucoup de fonctionnalités pour nous +éviter ce travail.

+

Jusqu'à présent, nous avons principalement utilisé Rust avec le paradigme de programmation +procédural (e.g. uniquement des fonctions avec des données). +Il est temps que nous parlions maintenant des traits (c'est le même terme en anglais) +et des capacités débloquées par le paradigme de programmation orienté objet de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_hu.html b/beta_72_hu.html new file mode 100644 index 000000000..1a3cf3331 --- /dev/null +++ b/beta_72_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

6. Fejezet - Konklúzió

+

Most már ismered a szövegek alapjait! A Unicode miatt kicsit nehézkes a velük való munka, de az +alapkönyvtár épp ezért sok olyan funkcióval rendelkezik, ami megkönnyíti ezt.

+

Egészen eddig a Rust nyelv a procedúrális paradigmához releváns részeivel foglalkoztunk csak +(tehát, hogy mit tudnak a függvények meg az adatok), de épp ideje, hogy beszéljünk a trait-ekről +(tulajdonságokról) és a Rust objektum-orientált paradigmája által nyújtott lehetőségekről.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_ie.html b/beta_72_ie.html new file mode 100644 index 000000000..ea5abf918 --- /dev/null +++ b/beta_72_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 6 - Conclusion

+

Nu tu comprende li basic coses a saver pri textu! Quam ja videt, unicode fa li manipulation de textu un poc desfacil, ma in li +standard library trova se mult functionalitá con quel it deveni plu facil.

+

Til nu noi ha videt Rust del vispunctu procedural (a saver solmen functiones e data), ma li témpor ha venit +por parlar pri traits (trates) e li capabilitás liberat del paradigma "object oriented" (object-orientat) de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_it.html b/beta_72_it.html new file mode 100644 index 000000000..a008d7f71 --- /dev/null +++ b/beta_72_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 6 - Conclusione

+

Ora conosci le basi del testo! Come hai visto, Unicode fa funzionare con testo un po' complicato, ma la libreria standard +ha molte funzionalità per renderlo facile da gestire.

+

Finora abbiamo guardato Rust principalmente dalla lente di un procedurale paradigma (cioè solo funzioni e dati), +ma è giunto il momento di parlare dei tratti e delle capacità sbloccate da Il paradigma orientato agli oggetti di Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_ja.html b/beta_72_ja.html new file mode 100644 index 000000000..7f05a16a0 --- /dev/null +++ b/beta_72_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 6 章 - まとめ

+

これで、テキストの基本が分かりましたね!これまで見てきたようにUnicodeによってテキストの操作は少し厄介になりますが、標準ライブラリにはその管理を簡単にするための多くの機能があります。

+

これまでほとんどの場合、手続き的なパラダイム(つまり、関数とデータだけ)からRustを見てきましたが、今回はRustのオブジェクト指向パラダイムによって開放されるtraitsと能力について話します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_ko.html b/beta_72_ko.html new file mode 100644 index 000000000..c9742acb6 --- /dev/null +++ b/beta_72_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

6장 - 마무리

+

이제 텍스트의 기본을 배웠습니다! 보셨다시피 유니코드는 텍스트를 다루기 까다롭게 하지만, +standard library에는 이를 쉽게 관리할 수 있는 기능들이 많이 있습니다.

+

지금까지는 주로 절차적 패러다임의 관점으로 Rust를 보아 왔지만 (i.e. 함수와 데이터만), +이제 trait과 더불어 Rust의 객체지향적 패러다임에 의해 잠금 해제될 기능들에 대해 얘기해 볼 시간입니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_pl.html b/beta_72_pl.html new file mode 100644 index 000000000..83131d956 --- /dev/null +++ b/beta_72_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Conclusion

+

Now you know the basics of text! As you have seen, Unicode makes working with text a bit tricky, but the standard library +has plenty of functionality to make it easy to manage.

+

Up to now, we've mostly looked at Rust from the lens of a procedural paradigm (i.e. just functions and data), +but it's time we now talk about traits and the capabilities unlocked by Rust's object oriented paradigm.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_pt-br.html b/beta_72_pt-br.html new file mode 100644 index 000000000..2bb78dc47 --- /dev/null +++ b/beta_72_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 6 - Conclusão

+

Agora você conhece o básico de texto! Como você viu, o Unicode torna o trabalho com texto um pouco complicado, mas a biblioteca padrão tem muitas funcionalidades que facilitam o seu gerenciamento.

+

Até agora olhamos principalmente para Rust a partir da ótica de um paradigma procedural (ou seja, apenas funções e dados), mas já é a hora de falarmos das características e capacidades liberadas pelo paradigma orientado a objetos do Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_ro.html b/beta_72_ro.html new file mode 100644 index 000000000..7a55cfd39 --- /dev/null +++ b/beta_72_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 6 - Concluzie

+

Acum cunoașteți elementele de bază ale textului! După cum ați văzut, Unicode face lucrul cu textul puțin mai complicat, dar biblioteca standard +are o mulțime de funcționalități care facilitează gestionarea acestuia.

+

Până acum, am privit limbajul Rust în mare parte prin prisma unei paradigme procedurale (adică doar funcții și date), +dar este momentul să vorbim acum despre trăsături (eng. traits) și despre capacitățile oferite de paradigma orientată pe obiecte a limbajului Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_ru.html b/beta_72_ru.html new file mode 100644 index 000000000..bdb25529a --- /dev/null +++ b/beta_72_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 6 - Заключение

+

Теперь у вас есть базовые знания про текст! Как вы увидели, Unicode делает работу с текстом немного каверзной, но стандартная библиотека +обладает множеством функциональных возможностей, которыми легко управлять.

+

До сих пор мы в основном смотрели на Rust с точки зрения процедурной парадигмы (т.е. только функции и данные), +но теперь пришло время поговорить о типажах и возможностях, раскрытых объектно-ориентированной парадигмой Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_th.html b/beta_72_th.html new file mode 100644 index 000000000..d538f1918 --- /dev/null +++ b/beta_72_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 6 - สรุป

+

ตอนนี้คุณก็ได้รู้เกี่ยวกับเรื่องพื้นฐานของข้อความแล้ว และอย่างที่คุณเห็นว่า Unicode ทำให้มันค่อนข้างยุ่งยากนิดหน่อยแต่ ไลบรารีมาตรฐานก็มีฟังก์ชันมากเพียงพอให้จัดการมันได้ง่ายขึ้น

+

จนถึงตอนนี้ เรายังมอง Rust ด้วยมุมมองในเชิง procedural paradigm (เช่นเรื่อง ฟังก์ชัน และข้อมูล) อยู่เลย แต่ก็ถึงเวลาที่เราจะมาพูดเรื่อง traits และความสามารถอื่นที่ถูกปลดล็อก ด้วยการมองจากมุมของ object oriented paradigm ของ Rust กันบ้างแล้ว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_tr.html b/beta_72_tr.html new file mode 100644 index 000000000..6194affc0 --- /dev/null +++ b/beta_72_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 6 - Sonuç

+

Artık Rust'un metin işleme yöntemleri konusunda bilmeniz gereken şeylerin çoğunu öğrenmiş bulunuyorsunuz! Her ne kadar Unicode standartları ile metin işlemlemleri kod yazma sürecimizi zorlaştırıyor olsa da, Rust'un standart kütüphanesinde yönetilmesi kolay çok sayıda kullanışlı işlev yer alır.

+

Şu ana kadar Rust diline prosedürel, yani işlev ve veri odaklı programlama açısından yaklaştık. İlerleyen bölümlerimizde, Rust'un nesne yönelimli programlama değerlerinin ortaya çıkardığı özellik ve yetenekler hakkında konuşmaya başlayacağız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_ua.html b/beta_72_ua.html new file mode 100644 index 000000000..eeb92cb89 --- /dev/null +++ b/beta_72_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 6 - Висновки

+

Тепер ви знаєте основи роботи з текстом! Як ви побачили, Unicode робить роботу з текстом трошки складною, але стандартна бібліотека

+

має багато функціональних можливостей, що полегшує управління ним.

+

Дотепер ми здебільшого дивилися на Rust через призму парадигми процедурного програмування (тобто лише функції та дані), +але настав час поговорити про характеристики та можливості, які відкриває Об'єктно-орієнтоване програмування Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_vi.html b/beta_72_vi.html new file mode 100644 index 000000000..e35fac3ae --- /dev/null +++ b/beta_72_vi.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 6 - Tổng kết

+

Bây giờ bạn đã biết những điều cơ bản về văn bản! Như bạn đã thấy, Unicode làm việc với văn bản hơi phức tạp, nhưng thư viện tiêu chuẩn có nhiều chức năng giúp bạn dễ dàng quản lý.

+

Cho đến nay, chúng ta hầu như chỉ nhìn Rust từ lăng kính của một mô hình thủ tục (tức là chỉ các chức năng và dữ liệu), nhưng bây giờ đã đến lúc chúng ta nói về các đặc điểm và các khả năng được mở khóa bởi mô hình hướng đối tượng của Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_zh-cn.html b/beta_72_zh-cn.html new file mode 100644 index 000000000..4856a0098 --- /dev/null +++ b/beta_72_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 总结

+

现在你已经懂得 Rust 中文本的基础了!正如你所见,Unicode 编码的应用使文本相关操作有些棘手,但标准库中丰富的功能弥补了这一缺陷。

+

到目前为止,我们主要是从程序化范式的角度来看待 Rust(即只是函数和数据),但现在是时候让我们来了解一些 Rust 的面向对象范式的特性和能力了。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_72_zh-tw.html b/beta_72_zh-tw.html new file mode 100644 index 000000000..34eb87c4d --- /dev/null +++ b/beta_72_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 總結

+

現在你知道文字的基本了!如同你所看到的,萬國碼使得文字處理有一點難處理,但標準函式庫 (standard library) 有很多函式讓它容易被管理。

+

截至目前為止,我們大部份都以程序化程式設計 (procedural paradigm) 的角度來看待 Rust (即,單單只有函式跟資料), 但現在是時候讓我們討論特徵 (traits) 及 Rust 物件導向程式設計 (object oriented paradigm) 的能力了。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_ar.html b/beta_74_ar.html new file mode 100644 index 000000000..11cfc4943 --- /dev/null +++ b/beta_74_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ماهي البرمجة كائنية التوجه (OOP)؟

+

تشير البرمجة كائنية التوجه (Object oriented programming) تقريبًا إلى لغة البرمجة التي تحتوي على عدد من الميزات البارزة منها:

+
    +
  • التغليف (Encapsulation) - ربط البيانات والدوال في وحدة تصورية من نوع واحد يسمى الكائن (object).
  • +
  • التجريد (Abstraction) - إخفاء أعضاء من بيانات و دوال للتعتيم (obfuscate) على تفاصيل تنفيذ (implementation) الكائن.
  • +
  • تعدد الأشكال (Polymorphism) - القدرة على التفاعل مع كائنات (objects) من أنواع مختلفة من خلال واجهة واحدة.
  • +
  • الوراثة (Inheritance) - القدرة على وراثة البيانات والسلوك (behavior) من كائنات أخرى.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_en.html b/beta_74_en.html new file mode 100644 index 000000000..952d37540 --- /dev/null +++ b/beta_74_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interact with objects of different types through one interface.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_es.html b/beta_74_es.html new file mode 100644 index 000000000..4c78ab931 --- /dev/null +++ b/beta_74_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

¿Qué Es POO?

+

La Programación Orientada a Objetos (POO) se refiere a los lenguajes de programación que tienen una serie de características distintivas:

+
    +
  • Encapsulación: Asociar datos y funciones en la unidad conceptual de un solo tipo llamado objeto.
  • +
  • Abstracción: Ocultar datos y miembros de la función para obstruir los detalles de implementación de un objeto.
  • +
  • Polimorfismo: La capacidad de interactuar con un objeto desde diferentes perspectivas funcionales.
  • +
  • Herencia: Como su propio nombre indica, es la habilidad de heredar datos y comportamiento de otros objetos.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_fa.html b/beta_74_fa.html new file mode 100644 index 000000000..e0ec6ffb4 --- /dev/null +++ b/beta_74_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interacting with an object from different functional perspectives.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_fr.html b/beta_74_fr.html new file mode 100644 index 000000000..369bcf311 --- /dev/null +++ b/beta_74_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Qu'est-ce que la POO?

+

La programmation orientée objet se réfère grossièrement aux langages de +programmation qui possèdent un certain nombre des fonctionnalités suivantes:

+
    +
  • Encapsulation - Association de champs et de fonctions dans une seule unitée +appelée objet.
  • +
  • Abstraction - Dissimulation des champs et des fonctions pour cacher les +détails de l'implémentation d'un objet.
  • +
  • Polymorphisme - Mettre à disposition une interface unique pour des entités +pouvant avoir des types différents.
  • +
  • Héritage - La capacité d'un objet d'hériter des caractéristiques d'un autre +objet.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_hu.html b/beta_74_hu.html new file mode 100644 index 000000000..4bd3f83ed --- /dev/null +++ b/beta_74_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mi az az OOP?

+

Az Objektum-Orientált Programozás többé-kevésbé olyan nyelvekre utal, amik a következő +tulajdonságokkal rendelkeznek:

+
    +
  • Egységbezárás - Mind az adatok, mind a függvények egy egységes típusba az objektum-ba való +tömörítése.
  • +
  • Absztrakció - A nem-releváns adattagok és függvények elrejtése, mellyel az implementáció +részleteit nem tárjuk fölöslegesen a programozó elé.
  • +
  • Polimorfizmus - Annak a módja, hogy egy függvényt sokféle módon implementálhassunk, így +különböző esetekre mindig a megfelelő verziót használhassuk.
  • +
  • Öröklés - Annak a lehetősége, hogy más objektumokból adatokat és viselkedést örökölhessünk.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_ie.html b/beta_74_ie.html new file mode 100644 index 000000000..f38b293a9 --- /dev/null +++ b/beta_74_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quo es OOP?

+

Object-orientat programmation, curtmen dit, parla pri lingues de programmation con quelc trates iconic:

+
    +
  • Objectes - Ili converge data e functiones ad-in li unitá conceptional de un singul tip nominat un objecte.
  • +
  • Incapsulation - On cela data e membres de functiones por obfuscacr detallies de implementation de un objecte.
  • +
  • Polimorfisme - Li habilitá de interacter con un objecte ex diferent perspectives functional.
  • +
  • Heredantie (inheritance) - Li habilitá de heredar data e conduida de altri objectes.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_it.html b/beta_74_it.html new file mode 100644 index 000000000..51b39ceb0 --- /dev/null +++ b/beta_74_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cos'è l'OOP?

+

La programmazione orientata agli oggetti si riferisce approssimativamente ai linguaggi di programmazione che hanno una serie di caratteristiche iconiche:

+
    +
  • Incapsulamento - Associazione di dati e funzioni nell'unità concettuale di un singolo tipo chiamato oggetto.
  • +
  • Astrazione: nascondere dati e membri di funzioni per offuscare l'implementazione dettagli di un oggetto.
  • +
  • Polimorfismo - La capacità di interagire con oggetti di diverso tipo attraverso un'unica interfaccia.
  • +
  • Ereditarietà: la capacità di ereditare dati e comportamenti da altri oggetti.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_ja.html b/beta_74_ja.html new file mode 100644 index 000000000..5e0cae027 --- /dev/null +++ b/beta_74_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

オブジェクト指向プログラミングとは?

+

オブジェクト指向プログラミングとは、大まかに以下のようないくつかの象徴的な特徴を持つプログラミング言語のことです。

+
    +
  • カプセル化 - データと関数を オブジェクト という一つの型の概念的な単位で関連付けること。
  • +
  • 抽象化 - データや関数のメンバを隠して、オブジェクトの実装の詳細を難読化すること。
  • +
  • ポリモーフィズム - 1つのインターフェースを通して、異なるタイプのオブジェクトと相互作用する能力のこと。
  • +
  • 継承 - 他のオブジェクトからデータや振る舞いを引き継ぐこと。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_ko.html b/beta_74_ko.html new file mode 100644 index 000000000..e420256ee --- /dev/null +++ b/beta_74_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

OOP란 무엇인가?

+

객체 지향 프로그래밍은 대충 다음과 같은 상징적 특징을 가진 프로그래밍 언어를 뜻합니다:

+
    +
  • 캡슐화 (encapsulation) - 객체라 불리는 단일 유형의 개념적 단위에 데이터와 함수를 연결지음.
  • +
  • 추상화 (abstraction) - 데이터와 함수를 숨겨 객체의 상세 구현 사항을 알기 어렵게 함.
  • +
  • 다형성 (polymorphism) - 다른 기능적 관점에서 객체와 상호작용하는 능력.
  • +
  • 상속 (inheritance) - 다른 객체로부터 데이터와 동작을 상속받는 능력.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_pl.html b/beta_74_pl.html new file mode 100644 index 000000000..1bc773fbd --- /dev/null +++ b/beta_74_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

What Is OOP?

+

Object oriented programming roughly refers to programming languages that have a number of iconic features:

+
    +
  • Encapsulation - Associating data and functions into the conceptual unit of a single type called an object.
  • +
  • Abstraction - Hiding data and function members to obfuscate implementation details of an object.
  • +
  • Polymorphism - The ability to interacting with an object from different functional perspectives.
  • +
  • Inheritance - The ability to inherit data and behavior from other objects.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_pt-br.html b/beta_74_pt-br.html new file mode 100644 index 000000000..728aedcd5 --- /dev/null +++ b/beta_74_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O que é OOP?

+

A programação orientada a objetos refere-se grosso modo a linguagens de programação que possuem vários recursos icônicos:

+
    +
  • Encapsulamento - associando dados e funções à unidade conceitual de um único tipo chamado objeto.
  • +
  • Abstração - ocultando dados e membros da função para obscurecer detalhes da implementação de um objeto.
  • +
  • Polimorfismo - a capacidade de interagir com um objeto de diferentes perspectivas funcionais.
  • +
  • Herança - a capacidade de herdar dados e comportamentos de outros objetos.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_ro.html b/beta_74_ro.html new file mode 100644 index 000000000..b83ab8b50 --- /dev/null +++ b/beta_74_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ce este POO?

+

Programarea orientată pe obiecte se referă, în linii mari, la limbajele de programare ce prezintă anumite caracteristici reprezentative:

+
    +
  • Încapsularea - Asocierea datelor și funcțiilor într-o unitate conceptuală de un singur tip numită obiect.
  • +
  • Abstractizarea - Ascunderea datelor și funcțiilor pentru a acoperi detaliile implementării unui obiect
  • +
  • Polimorfismul - Abilitatea de a interacționa cu obiecte de tipuri diferite prin intermediul unei interfețe.
  • +
  • Moștenirea - Abilitatea de a moșteni date și comportamente de la alte obiecte.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_ru.html b/beta_74_ru.html new file mode 100644 index 000000000..acaf09203 --- /dev/null +++ b/beta_74_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Что такое ООП (OOP)?

+

Объектно-ориентированное программирование грубо говоря относится к языкам программирования, которые имеют некоторое количество символических особенностей:

+
    +
  • Инкапсуляция (Encapsulation) - объединение данных и функций в концептуальную единицу единого типа, называемую объектом.
  • +
  • Абстракция (Abstraction) - сокрытие данных и членов функции, чтобы скрыть детали реализации объекта.
  • +
  • Полиморфизм (Polymorphism) - способность взаимодействовать с объектом с помощью разных функциональных точек зрения.
  • +
  • Наследование (Inheritance) - способность наследовать данные и поведение от других объектов.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_th.html b/beta_74_th.html new file mode 100644 index 000000000..7fa744c4b --- /dev/null +++ b/beta_74_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

แล้ว OOP มันคืออะไร?

+

Object oriented programming หรือการโปรแกรมเชิงวัตถุ โดยทั่วไปมักจะหมายถึง คุณสมบัติที่โดดเด่นเหล่านี้:

+
    +
  • Encapsulation - การเชื่อมโยงข้อมูลและฟังก์ชันไว้ใน type เดียวกัน และด้วยแนวคิดนี้ เราเรียกมันว่า object
  • +
  • Abstraction - การซ่อนสมาชิกที่เป็นข้อมูลและฟังก์ชันไว้ เพื่อป้องกันการนำไปใช้อย่างไม่ถูกจุดประสงค์
  • +
  • Polymorphism - วิธีการที่วัตถุโต้ตอบจะแตกต่างกัน ขึ้นอยู่กับมุมมองต่อวัตถุนั้น
  • +
  • Inheritance - การสืบทอดพฤติกรรมจากวัตถุอื่น
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_tr.html b/beta_74_tr.html new file mode 100644 index 000000000..8b73d375a --- /dev/null +++ b/beta_74_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Nesne Yönelimli Programlama Nedir?

+

Nesne yönelimli programlama aşağıda kabaca özetlenen, bir dizi ikonik özelliğe sahip programlama dillerini ifade eder:

+
    +
  • Kapsülleme - Veri ve işlevleri, tek bir türden oluşan ve nesne adı verilen kavramsal birimle ilişkilendirebilmek.
  • +
  • Soyutlama - Bir nesnenin uygulama ayrıntılarını gizlemek için veri ve üye işlevlerini saklayabilmek.
  • +
  • Çok biçimlilik - Bir nesneyle farklı işlevsel perspektiflerden etkileşim kurma yeteneği.
  • +
  • Kalıtım - Diğer nesnelerin veri ve davranışlarını devralma yeteneği.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_ua.html b/beta_74_ua.html new file mode 100644 index 000000000..2a33acb2d --- /dev/null +++ b/beta_74_ua.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Що таке ООП?

+

Об'єктно-орієнтоване програмування має наступні принципи:

+
    +
  • Інкапсуляція - об'єднання даних і функцій у концептуальну одиницю, єдиний тип, який називається об'єкт.
  • +
  • Абстрагування - приховування даних і членів функцій для того, щоб приховати деталі реалізації об'єкта.
  • +
  • Поліморфізм - здатність взаємодіяти з об'єктами різних типів через один інтерфейс.
  • +
  • Спадкування - можливість успадковувати дані та поведінку від інших об'єктів.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_vi.html b/beta_74_vi.html new file mode 100644 index 000000000..33a2f59b8 --- /dev/null +++ b/beta_74_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

OOP là gì?

+

Lập trình hướng đối tượng đề cập đến các ngôn ngữ lập trình có một số tính năng mang tính biểu tượng:

+
    +
  • Đóng gói - Liên kết dữ liệu và chức năng thành đơn vị khái niệm của một kiểu duy nhất được gọi là đối tượng (object).
  • +
  • Trừu tượng - Ẩn dữ liệu và các thành viên hàm để làm xáo trộn các chi tiết triển khai của một đối tượng.
  • +
  • Tính đa hình - Khả năng tương tác với các đối tượng thuộc các loại khác nhau thông qua một giao diện.
  • +
  • Tính kế thừa - Khả năng kế thừa dữ liệu và hành vi từ các đối tượng khác.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_zh-cn.html b/beta_74_zh-cn.html new file mode 100644 index 000000000..0b823fca3 --- /dev/null +++ b/beta_74_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什么是 OOP?

+

面向对象编程大致是指具有如下一些标志性特征的编程语言:

+
    +
  • 封装——将数据和函数关联到单一类型的概念单元中,称为对象
  • +
  • 抽象——将数据和函数成员隐藏起来,以隐藏对象的实现细节。
  • +
  • 多态——从不同的功能角度与对象进行交互的能力。
  • +
  • 继承——从其他对象继承数据和行为的能力。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_74_zh-tw.html b/beta_74_zh-tw.html new file mode 100644 index 000000000..d0946a913 --- /dev/null +++ b/beta_74_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

什麼是 OOP?

+

物件導向程式的語言,大致上會有這些明顯的特徵:

+
    +
  • 封裝 (encapsulation) - 將有關的資料及函式放入一個概念上稱作單一型別的物件
  • +
  • 抽象化 (Abstraction) - 將資料及函式成員藏起來,使物件的實作細節不被察覺
  • +
  • 多型 (polymorphism) - 只透過一個介面,使用不同型別與該物件互動
  • +
  • 繼承 (inheritance) - 有能力從其他物件繼承資料及行為
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_ar.html b/beta_75_ar.html new file mode 100644 index 000000000..7f99e747d --- /dev/null +++ b/beta_75_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

رست (Rust) ليست OOP

+

يفتقر رست (Rust) إلى وراثة البيانات والسلوك في نفس الوقت.

+
    +
  • لا يمكن للهياكل أن ترث الحقول من الهيكل الأب.
  • +
  • لا يمكن للهياكل أن ترث دوال من الهيكل الأب.
  • +
+

ومع ذلك، تنفذ رست (Rust) العديد من ميزات لغة البرمجة كائنية التوجه، لذلك قد لا يهمك نقصها.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_en.html b/beta_75_en.html new file mode 100644 index 000000000..229725a3e --- /dev/null +++ b/beta_75_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_es.html b/beta_75_es.html new file mode 100644 index 000000000..528149d90 --- /dev/null +++ b/beta_75_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust No Es POO

+

Rust carece de herencia de datos y comportamiento de un modo significativo.

+
    +
  • Las estructuras no pueden heredar los campos ni las funciones de una estructura madre.
  • +
  • Las estructuras no pueden heredar funciones de una estructura madre.
  • +
+

Dicho esto, Rust implementa muchas características del lenguaje de programación que compensa esas ausencias/carencias.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_fa.html b/beta_75_fa.html new file mode 100644 index 000000000..19f377c63 --- /dev/null +++ b/beta_75_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_fr.html b/beta_75_fr.html new file mode 100644 index 000000000..c57bb4457 --- /dev/null +++ b/beta_75_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust n'est pas POO

+

Il n'y a pas d'héritage avec Rust.

+
    +
  • Les structures ne peuvent pas hériter des champs d'une structure parente.
  • +
  • Les structures ne peuvent pas hériter des fonctions d'une structure parente.
  • +
+

Cela dit, Rust implémente de nombreuses fonctionnalités qui nous permettent +de ne pas regretter l'héritage.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_hu.html b/beta_75_hu.html new file mode 100644 index 000000000..51ccb4c6d --- /dev/null +++ b/beta_75_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A Rust nem OOP

+

A Rust nyelvből hiányzik az adatok és viselkedés öröklése. Tehát:

+
    +
  • A struct-ok nem képesek mezőket örökölni az őket szülő struct-ból.
  • +
  • Ugyanígy függvényeket se képesek átvenni.
  • +
+

Ennek ellenére, a Rust elég sok más nyelvekben megszokott képességgel rendelkezik, így ezek a +limitációk talán nem is fognak annyira hiányozni, mint gondolod.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_ie.html b/beta_75_ie.html new file mode 100644 index 000000000..da9d7574d --- /dev/null +++ b/beta_75_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust ne es OOP

+

A Rust manca li grand trates de heredantie de data e conduida.

+
    +
  • Structs ne posse heredar campes de un struct genitori.
  • +
  • Structs ne posse heredar functiones de un struct genitori.
  • +
+

Malgré to, Rust implementa mult trates programmistic con queles tu certmen ne va suciar te pri lor absentie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_it.html b/beta_75_it.html new file mode 100644 index 000000000..2bffb5bc4 --- /dev/null +++ b/beta_75_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust non è OOP

+

A Rust manca l'ereditarietà dei dati e del comportamento in modo significativo.

+
    +
  • Le strutture non possono ereditare i campi da una struttura genitore.
  • +
  • Le strutture non possono ereditare funzioni da una struttura genitore.
  • +
+

Detto questo, Rust implementa molte funzionalità del linguaggio di programmazione, in modo che tu potrebbe non dispiacere questa mancanza.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_ja.html b/beta_75_ja.html new file mode 100644 index 000000000..73d532039 --- /dev/null +++ b/beta_75_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rustはオブジェクト指向プログラミング言語ではない

+

Rustは、データと動作の継承機能を意図的に持っていません。

+
    +
  • 構造体は親構造体からフィールドを継承することはできない。
  • +
  • 構造体は親構造体から関数を継承することができない。
  • +
+

しかし、Rustは多くのプログラミング言語機能を実装しているので、この不足は気にならないかもしれません。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_ko.html b/beta_75_ko.html new file mode 100644 index 000000000..65f41bd53 --- /dev/null +++ b/beta_75_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust는 OOP가 아니다

+

Rust에서는 어떠한 방법으로도 데이터와 동작의 상속이 불가능합니다.

+
    +
  • struct는 부모 struct로부터 field를 상속받을 수 없습니다.
  • +
  • struct는 부모 struct로부터 함수를 상속받을 수 없습니다.
  • +
+

어쨌거나, Rust는 여러가지 프로그래밍 언어 기능을 구현하고 있으므로, 이런 기능이 부족한 것을 신경쓰실 필요는 없습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_pl.html b/beta_75_pl.html new file mode 100644 index 000000000..721aca090 --- /dev/null +++ b/beta_75_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Is Not OOP

+

Rust lacks inheritance of data and behavior in any meaningful way.

+
    +
  • Structs cannot inherit fields from a parent struct.
  • +
  • Structs cannot inherit functions from a parent struct.
  • +
+

That said, Rust implements many programming language features, so that you might not mind this lacking.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_pt-br.html b/beta_75_pt-br.html new file mode 100644 index 000000000..b81e709b0 --- /dev/null +++ b/beta_75_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust não é OOP

+

O Rust carece de herança de dados e comportamentos de qualquer maneira significativa.

+
    +
  • Structs não podem herdar campos de uma struct pai.
  • +
  • Structs não podem herdar funções de uma struct pai.
  • +
+

Dito isto, o Rust implementa muitos recursos da linguagem de programação para que você não se importe com isso.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_ro.html b/beta_75_ro.html new file mode 100644 index 000000000..27dafcdda --- /dev/null +++ b/beta_75_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust nu este POO

+

Rust nu dispune de o metodă semnificativă de moștenire a datelor și comportamentelor.

+
    +
  • Structurile nu pot moșteni câmpuri de la o structura părinte.
  • +
  • Structurile nu pot moșteni funcții de la o structură părinte.
  • +
+

Acestea fiind spuse, Rust implementează o mulțime de caracteristici ale unui limbaj de programare, deci probabil nu vă vor deranja aceste lipsuri.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_ru.html b/beta_75_ru.html new file mode 100644 index 000000000..67013d503 --- /dev/null +++ b/beta_75_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust не является ООП (OOP) языком

+

В Rust отсутствует каким-либо осмысленное наследование данных и поведения.

+
    +
  • Структуры не могут наследовать поля от родительской структуры.
  • +
  • Структуры не могут наследовать функции от родительской структуры.
  • +
+

Тем не менее, Rust реализует множество функций языка программирования, так что вы можете не обращать на это внимания.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_th.html b/beta_75_th.html new file mode 100644 index 000000000..a0c30fe28 --- /dev/null +++ b/beta_75_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust ไม่ได้เป็น OOP

+

อย่างไรก็ดี Rust ยังขาดคุณสมบัติในเรื่องการสืบทอด ทั้งข้อมูลและพฤติกรรมในความหมายนั้น

+
    +
  • Structs ไม่สามารถสืบทอดฟิลด์จาก struct ต้นแบบ
  • +
  • Structs ไม่สามารถสืบทอดฟังก์ชันจาก struct ต้นแบบ
  • +
+

ที่อยากจะบอกก็คือ Rust เองก็มีวิธีการอีกมากมายมาทดแทน คุณก็แค่อย่าสนใจเรื่องนี้ก็พอ

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_tr.html b/beta_75_tr.html new file mode 100644 index 000000000..ae8c5c63e --- /dev/null +++ b/beta_75_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust Bir Nesne Yönelimli Programlama Dili Değildir

+

Rust, veri ve davranışları anlamlı olacak şekilde miras alma yeteneğinden yoksundur.

+
    +
  • Yapılar alanlarını bir üst yapıdan kalıtım yoluyla devralamazlar.
  • +
  • Yapılar işlevlerini bir üst yapıdan kalıtım yoluyla edinemezler.
  • +
+

Ancak Rust, bu eksiklikleri giderecek pek çok özellik sunduğundan, kalıtımın yokluğunu hissetmeyeceksiniz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_ua.html b/beta_75_ua.html new file mode 100644 index 000000000..ba74cff26 --- /dev/null +++ b/beta_75_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust не є ООП-орієнтованим

+

У Rust відсутнє успадкування даних.

+
    +
  • Структури не можуть успадковувати поля від батьківської структури.
  • +
  • Структури не можуть успадковувати функції від батьківської структури.
  • +
+

Тим не менш, у Rust є багато інших реалізацій, так що ви ви можете не звертати уваги на цей недолік.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_vi.html b/beta_75_vi.html new file mode 100644 index 000000000..aa32674f4 --- /dev/null +++ b/beta_75_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust không phải là OOP

+

Rust thiếu tính kế thừa của dữ liệu và hành vi theo bất kỳ cách nào có ý nghĩa.

+
    +
  • Struct không thể kế thừa các trường từ struct mẹ.

  • +
  • Struct không thể kế thừa các chức năng từ struct mẹ.

  • +
+

Điều đó nói rằng, Rust thực hiện nhiều tính năng của ngôn ngữ lập trình, vì vậy bạn có thể không bận tâm về điều này.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_zh-cn.html b/beta_75_zh-cn.html new file mode 100644 index 000000000..a3ed29179 --- /dev/null +++ b/beta_75_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 不是 OOP

+

Rust 缺乏任何有意义的数据和行为的继承。

+
    +
  • 结构体不能从父结构继承字段。
  • +
  • 结构体不能从父结构继承函数。
  • +
+

尽管如此,Rust 实现了许多编程语言的特性,所以你可能不会在意这个缺失。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_75_zh-tw.html b/beta_75_zh-tw.html new file mode 100644 index 000000000..e05478fab --- /dev/null +++ b/beta_75_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rust 不是 OOP

+

Rust 沒有任何方式可以繼承資料及行為。

+
    +
  • 結構 (struct) 不能從一個父結構繼承欄位 (field)
  • +
  • 結構不能從一個父結構繼承函式
  • +
+

但是,Rust 實作許多程式語言的特徵,所以你可能不會注意到這些缺少的東西。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_76_ar.html b/beta_76_ar.html new file mode 100644 index 000000000..9094a2bfd --- /dev/null +++ b/beta_76_ar.html @@ -0,0 +1,60 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التغليف بالتوابع (Encapsulation With Methods)

+

يدعم رست (Rust) مفهوم الكائن (object) وهو عبارة عن هيكل (struct) مرتبط ببعض الدوال (المعروفة أيضًا باسم التوابع (methods)).

+

يجب أن تكون المعلمة (parameter) الأولى لأي تابعة (method) مرجعًا (reference) للمثيل (instance) المرتبط باستدعاء التابعة (على سبيل المثال، instanceOfObj.foo()). استخدامات رست:

+
    +
  • &self - مرجع للمثيل غير قابل للتغيير.
  • +
  • &mut self - مرجع للمثيل قابل للتغيير.
  • +
+

يتم تعريف التوابع (Methods) ضمن كتلة التنفيذ (implementation block) عن طريق الكلمة المفتاحية impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_en.html b/beta_76_en.html new file mode 100644 index 000000000..89d20d77c --- /dev/null +++ b/beta_76_en.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_es.html b/beta_76_es.html new file mode 100644 index 000000000..296dec324 --- /dev/null +++ b/beta_76_es.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulación Con Métodos

+

Rust admite el concepto de un objeto que es una estructura asociada a algunas funciones (también conocidas como métodos).

+

El primer parámetro de cualquier método debe ser una referencia a la instancia asociada a la llamada de dicho método (por ejemplo, instanceOfObj.foo()). Rust utiliza:

+
    +
  • &self - para una referencia inmutable a la instancia.

  • +
  • &mut self - para una referencia mutable a la instancia.

  • +
+

Los métodos se definen dentro de un bloque de implementación haciendo uso de impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_fa.html b/beta_76_fa.html new file mode 100644 index 000000000..ca715d5a4 --- /dev/null +++ b/beta_76_fa.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_fr.html b/beta_76_fr.html new file mode 100644 index 000000000..6891d9872 --- /dev/null +++ b/beta_76_fr.html @@ -0,0 +1,64 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation avec des méthodes

+

Avec Rust, un objet est représenté par une structure. On peut associer +à celle-ci certaines fonctions (également appelées méthodes).

+

Le premier paramètre de toute méthode doit être une référence de l'instance +associée à l'appel de la méthode (par exemple instanceOfObj.foo()). +Rust utilise:

+
    +
  • &self - Référence immuable de l'instance.
  • +
  • &mut self - Référence mutable de l'instance.
  • +
+

Les méthodes sont définies dans un bloc d'implémentation +avec le mot clé impl:

+
impl MyStruct { 
+  ... 
+  fn foo(&self){
+    ...
+  }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_hu.html b/beta_76_hu.html new file mode 100644 index 000000000..7e6f3b2cc --- /dev/null +++ b/beta_76_hu.html @@ -0,0 +1,63 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Egységbezárás metódusok segítségével

+

A Rust támogatja az objektumok-at, ami egy olyan struct-ot jelent, ami függvényekkel +rendelkezik (vagyis metódusokkal).

+

Minden metódus első paraméterének az azt meghívó példánynak kell lennie (tehát: +objektumPeldany.foo()). A Rust a következő jelöléseket használja:

+
    +
  • &self - Egy megváltoztathatatlan referencia a példányra.
  • +
  • &mut self - Egy megváltoztatható referencia a példányra.
  • +
+

A metódusok az úgynevezett implementációs blokkon belül kerülnek létrehozásra, melyet az impl +kulcsszóval jelölünk:

+
impl MyStruct {
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_ie.html b/beta_76_ie.html new file mode 100644 index 000000000..47293cf75 --- /dev/null +++ b/beta_76_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metodes por Objectes

+

Rust subtene li concepte de un object quam un struct con functiones associat (anc conosset quam metodes).

+

Li unesim parametre de quelcunc metode deve esser un referentie al instantie associat con li voca del metode (p.ex. instantieDeObj.foo()) Rust usa:

+
    +
  • &self - Ínmutabil referentie al instantie.
  • +
  • &mut self - Mutabil referentie al instantie.
  • +
+

Metodes es definat inter:

+
impl MyStruct {
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_it.html b/beta_76_it.html new file mode 100644 index 000000000..b3a18a9b7 --- /dev/null +++ b/beta_76_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Incapsulamento con metodi

+

Rust supporta il concetto di oggetto a cui è associata una struttura alcune funzioni (conosciute anche come metodi).

+

Il primo parametro di qualsiasi metodo deve essere un riferimento all'istanza associato alla chiamata del metodo (ad esempio instanceOfObj.foo()). La ruggine utilizza:

+
    +
  • &self - Riferimento immutabile all'istanza.
  • +
  • &mut self - Riferimento mutabile all'istanza.
  • +
+

I metodi sono definiti all'interno di un blocco di implementazione con la parola chiave "impl":

+
impl MiaStruttura {
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_ja.html b/beta_76_ja.html new file mode 100644 index 000000000..c6e7ad1a6 --- /dev/null +++ b/beta_76_ja.html @@ -0,0 +1,60 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メソッドによるカプセル化

+

Rustは、いくつかの関数(メソッド とも呼ばれる)に関連付けられた構造体である オブジェクト の概念をサポートしています。

+

どのメソッドの最初のパラメータも、メソッド呼び出しに関連付けられたインスタンスへの参照でなければなりません(例: instanceOfObj.foo())。Rustが使うのは下記の通り:

+
    +
  • &self - インスタンスへの不変の参照。
  • +
  • &mut self - インスタンスへの可変の参照。
  • +
+

メソッドは、キーワード impl を持つ実装ブロックの中で定義されます。

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_ko.html b/beta_76_ko.html new file mode 100644 index 000000000..0b594f2c0 --- /dev/null +++ b/beta_76_ko.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

메소드 캡슐화 하기

+

Rust는 함수(메소드라고도 하는)가 연결된 struct인 객체라는 개념을 지원합니다.

+

모든 메소드의 첫번째 매개변수는 메소드 호출과 연관된 인스턴스에 대한 참조여야 합니다 (예: instanceOfObj.foo()). Rust에서는 다음을 사용합니다:

+
    +
  • &self - 인스턴스에 대한 immutable한 참조.
  • +
  • &mut self - 인스턴스에 대한 mutable한 참조.
  • +
+

메소드는 impl 키워드를 쓰는 구현 블록 안에 정의합니다:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_pl.html b/beta_76_pl.html new file mode 100644 index 000000000..a063153ba --- /dev/null +++ b/beta_76_pl.html @@ -0,0 +1,60 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation With Methods

+

Rust supports the concept of an object that is a struct associated with some functions (also known as methods).

+

The first parameter of any method must be a reference to the instance associated with the method call (e.g. instanceOfObj.foo()). Rust uses:

+
    +
  • &self - Immutable reference to the instance.
  • +
  • &mut self - Mutable reference to the instance.
  • +
+

Methods are defined within an implementation block with keyword impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_pt-br.html b/beta_76_pt-br.html new file mode 100644 index 000000000..b9e6b95d8 --- /dev/null +++ b/beta_76_pt-br.html @@ -0,0 +1,60 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulamento com métodos

+

O Rust suporta o conceito de um objeto que é uma estrutura associada a algumas funções (também conhecidas como métodos).

+

O primeiro parâmetro de qualquer método deve ser uma referência à instância associada à chamada do método (por exemplo, instanceOfObj.foo()). O Rust usa:

+
    +
  • &self - referência imutável da instância.
  • +
  • &mut self - referência mutável da instância.
  • +
+

Os métodos são definidos dentro de um bloco de implementação com a palavra-chave impl:

+
impl MinhaStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_ro.html b/beta_76_ro.html new file mode 100644 index 000000000..60dfe80f5 --- /dev/null +++ b/beta_76_ro.html @@ -0,0 +1,60 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Încapsulare prin metode

+

Rust suportă conceptul de obiect ce reprezintă o structură asociată unor funcții (cunoscute și ca metode).

+

Primul parametru al oricărei metode trebuie să fie o referință la instanța asociată apelului de metodă (exemplu: instantaObiectului.foo()). Rust folosește:

+
    +
  • &self - Referință imutabilă la instanță.
  • +
  • &mut self - Referință mutabilă la instanță.
  • +
+

Metodele sunt definite în cadrul unuia sau mai multor blocuri de implementare prin cuvântul cheie impl:

+
impl StructuraMea {
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_ru.html b/beta_76_ru.html new file mode 100644 index 000000000..2a5475fb3 --- /dev/null +++ b/beta_76_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Инкапсуляция с помощью методов

+

Rust поддерживает концепцию объекта, который представляет собой структуру, связанную с некоторыми функциями (также известными как методы).

+

Первый параметр любого метода (а не функции) должен быть ссылкой на сам экземпляр, связанный с вызовом этого метода (например, instanceOfObj.foo()). Rust использует для этого параметра типы:

+
    +
  • &self - Не изменяемая ссылка на экземпляр.
  • +
  • &mut self - Изменяемая ссылка на экземпляр.
  • +
+

Методы определяются в блоке реализации начинающемся с ключевого слова impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_th.html b/beta_76_th.html new file mode 100644 index 000000000..8454d0c78 --- /dev/null +++ b/beta_76_th.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encapsulation ด้วยการมีเมธอด

+

Rust สนับสนุนแนวคิดของ object ด้วยการผูกฟังก์ชันบางตัวไว้กับ struct ได้ (เราเรียกมันว่า เมธอด แทน)

+

โดยที่พารามิเตอร์ตัวแรกของเมธอดจะต้องอ้างถึง อินสแตนซ์ ที่มันยึดโยงอยู่ เพื่อให้เรียกใช้เป็นเมธอดได้ (ตัวอย่างเช่น instanceOfObj.foo()) วิธีที่ Rust ทำก็คือ

+
    +
  • &self - ใช้อ้างถึงอินสแตนซ์แบบเปลี่ยนแปลงค่าไม่ได้
  • +
  • &mut self - ใช้อ้างถึงอินสแตนซ์แบบเปลี่ยนแปลงค่าได้
  • +
+

การกำหนดการทำงานของมันจะทำภายในบล็อกของคีย์เวิร์ด impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_tr.html b/beta_76_tr.html new file mode 100644 index 000000000..e03737195 --- /dev/null +++ b/beta_76_tr.html @@ -0,0 +1,60 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metotlarla Kapsülleme

+

Rust, metot veya yöntem olarak adlandırabileceğimiz, belirli işlevlerle ilişkilendirilmiş bir veri yapısı olan nesne kavramını destekler.

+

Herhangi bir metodun ilk parametresi, nesne_ornegi.metot() söz dizimindeki gibi, o metoda yapılan çağrı ile ilişkili olan, örneğin kendisini referans almalıdır. Bu ilk parametre için Rust aşağıdaki referans türlerini kullanmaktadır:

+
    +
  • &self - Örnek için değişmez bir referans.
  • +
  • &mut self - Örnek için değişken bir referans.
  • +
+

Metotlar, impl anahtar kelimesiyle başlayan bir uygulama bloğunda tanımlanır:

+
impl BirYapi { 
+    ...
+    fn ornekle(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_ua.html b/beta_76_ua.html new file mode 100644 index 000000000..b41cf3c15 --- /dev/null +++ b/beta_76_ua.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Інкапсуляція в методах

+

Rust підтримує концепцію об'єкта, який є структурою, пов'язаною з деякими функціями (також відомими як методи).

+

Першим параметром будь-якого методу має бути посилання на екземпляр пов'язаний з викликом методу (наприклад, instanceOfObj.foo()). Rust використовує:

+
    +
  • &self - незмінне посилання на екземпляр.
  • +
  • &mut self - змінне посилання на екземпляр.
  • +
+

Методи визначаються в блоці реалізації з ключовим словом impl:

+
impl MyStruct {
+    ...
+    fn foo(&self) { ...
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_vi.html b/beta_76_vi.html new file mode 100644 index 000000000..45edf3616 --- /dev/null +++ b/beta_76_vi.html @@ -0,0 +1,60 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đóng gói với các phương thức

+

Rust hỗ trợ khái niệm về một object(đối tượng) là một struct được liên kết với một số hàm (còn được gọi là method hay các phương thức).

+

Tham số đầu tiên của bất kỳ phương thức nào phải là một tham chiếu đến cá thể được liên kết với lời gọi phương thức (ví dụ: instanceOfObj.foo()). Rust sử dụng:

+
    +
  • &self - Tham chiếu bất biến đến cá thể.
  • +
  • &mut self - Tham chiếu khả biến đến cá thể.
  • +
+

Các phương thức được định nghĩa trong một khối triển khai với từ khóa impl:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_zh-cn.html b/beta_76_zh-cn.html new file mode 100644 index 000000000..f236ecee8 --- /dev/null +++ b/beta_76_zh-cn.html @@ -0,0 +1,60 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

使用方法进行封装

+

Rust 支持对象的概念。“对象”是一个与一些函数(也称为方法)相关联的结构体。

+

任何方法的第一个参数必须是与方法调用相关联的实例的引用。(例如 instanceOfObj.foo())。Rust 使用:

+
    +
  • &self —— 对实例的不可变引用。
  • +
  • &mut self —— 对实例的可变引用。
  • +
+

方法是在一个有 impl 关键字的实现块中定义的:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_76_zh-tw.html b/beta_76_zh-tw.html new file mode 100644 index 000000000..584a03b7b --- /dev/null +++ b/beta_76_zh-tw.html @@ -0,0 +1,60 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

封裝方法 (encapsulation with methods)

+

Rust 支援物件的概念,即是一個結構與它的一些函式 (或稱方法)。

+

方法呼叫時的第一個參數一定要是一個指向該實體的參考 (例如:instanceOfObj.foo())。 Rust 使用:

+
    +
  • &self - 指向該實體不可變動的參考
  • +
  • &mut self - 指向該實體可變動的參考
  • +
+

方法定義在實作區塊裡,並且用關鍵字 impl 包起來:

+
impl MyStruct { 
+    ...
+    fn foo(&self) {
+        ...
+    }
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_ar.html b/beta_77_ar.html new file mode 100644 index 000000000..c176f170b --- /dev/null +++ b/beta_77_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التجريد بالعرض الإنتقائي (Abstraction With Selective Exposure)

+

رست (Rust) يمكن أن يخفي الأعمال الداخلية للكائنات.

+

بشكل افتراضي، لا يمكن الوصول إلى الحقول والتوابع إلا من خلال الوحدة (module) التي تنتمي إليها.

+

تكشف الكلمة المفتاحية pub عن حقول وتوابع الهيكل خارج الوحدة (module).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_en.html b/beta_77_en.html new file mode 100644 index 000000000..8f6af731f --- /dev/null +++ b/beta_77_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_es.html b/beta_77_es.html new file mode 100644 index 000000000..5e18710ac --- /dev/null +++ b/beta_77_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstracción Con Exposición Selectiva

+

Rust puede ocultar el funcionamiento interno de los objetos.

+

Por defecto, los campos y métodos son accesibles sólo al módulo al que pertenecen.

+

El uso de la palabra reservada pub expone los campos y métodos de las estructuras fuera del módulo.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_fa.html b/beta_77_fa.html new file mode 100644 index 000000000..e2d98417c --- /dev/null +++ b/beta_77_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_fr.html b/beta_77_fr.html new file mode 100644 index 000000000..1f161a0bb --- /dev/null +++ b/beta_77_fr.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction avec différents niveaux de visibilité

+

Rust peut encapsuler le fonctionnement interne des objets.

+

Par défaut, les champs et les méthodes ne sont accessibles +qu'à l'intérieur du module auquel ils appartiennent.

+

Le mot-clé pub permet d'exposer un champ ou une méthode +pour qu'il ou elle soit visible en dehors d'un module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_hu.html b/beta_77_hu.html new file mode 100644 index 000000000..31bc8a2b0 --- /dev/null +++ b/beta_77_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Absztrakció csak bizonyos mezők elérhetővé tételével

+

A Rust képes elrejteni az objektumok belső működésést.

+

Alapvetően a metódusok és mezők csak az őket tartalmazó modulok számára elérhetőek. A pub +kulcsszó segítségével a modulon kívül is elérhetővé lehet őket tenni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_ie.html b/beta_77_ie.html new file mode 100644 index 000000000..986242107 --- /dev/null +++ b/beta_77_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Incapsulation in Objectes

+

Rust posse celar li activitá intern de objectes.

+

Predefinitmen, campes e metodes es accessibil solmen al modul a quel ili apartene.

+

Li clave-parol pub exposi campes e metodes del structes éxter li modul.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_it.html b/beta_77_it.html new file mode 100644 index 000000000..7b01f920b --- /dev/null +++ b/beta_77_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Astrazione con esposizione selettiva

+

Rust può nascondere il funzionamento interno degli oggetti.

+

Per impostazione predefinita campi e metodi sono accessibili solo al modulo a cui appartengono A.

+

La parola chiave "pub" espone campi e metodi della struttura all'esterno del modulo.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_ja.html b/beta_77_ja.html new file mode 100644 index 000000000..3c215a7a9 --- /dev/null +++ b/beta_77_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

選択的な公開による抽象化

+

Rustは物体の内部構造を隠すことができます。

+

デフォルトでは、フィールドとメソッドは、それらが属しているモジュールにのみアクセス可能です。

+

pub キーワードは、構造体のフィールドとメソッドをモジュールの外部に公開します。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_ko.html b/beta_77_ko.html new file mode 100644 index 000000000..7c54735af --- /dev/null +++ b/beta_77_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

선택적 노출을 통한 추상화

+

Rust는 객체의 내부 동작을 숨길 수 있습니다.

+

기본적으로, filed와 메소드들은 그들이 속한 module에서만 접근 가능합니다.

+

pub 키워드는 struct의 field와 메소드를 module 밖으로 노출시켜 줍니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_pl.html b/beta_77_pl.html new file mode 100644 index 000000000..bfd502ec5 --- /dev/null +++ b/beta_77_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction With Selective Exposure

+

Rust can hide the inner workings of objects.

+

By default fields and methods are accessible only to the module they belong to.

+

The pub keyword exposes struct fields and methods outside of the module.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_pt-br.html b/beta_77_pt-br.html new file mode 100644 index 000000000..d96175a72 --- /dev/null +++ b/beta_77_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstração com exposição seletiva

+

O Rust pode esconder o funcionamento interno dos objetos.

+

Por padrão, os campos e métodos são acessíveis apenas ao módulo ao qual pertencem.

+

A palavra-chave pub expõe os campos e métodos do struct fora do módulo.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_ro.html b/beta_77_ro.html new file mode 100644 index 000000000..2823e9dc0 --- /dev/null +++ b/beta_77_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstracție prin expunere selectivă

+

Rust poate ascunde implementările interioare ale obiectelor. +În mod implicit, câmpurile și metodele sunt accesibile doar modulului de care aparțin.

+

Cuvântul cheie pub expune câmpurile și metodele structurii în afara modulului.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_ru.html b/beta_77_ru.html new file mode 100644 index 000000000..6d089247a --- /dev/null +++ b/beta_77_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Абстракция с выборочной экспозицией (Abstraction With Selective Exposure)

+

Rust может скрывать внутреннюю работу и структуру объектов (абстракций).

+

По умолчанию все поля и методы объявленные структурой являются доступными только самому модулю, которому они принадлежат.

+

Ключевое слово pub делает публичными поля и методы структуры вне модуля.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_th.html b/beta_77_th.html new file mode 100644 index 000000000..76aeeda21 --- /dev/null +++ b/beta_77_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abstraction ด้วยการทำ Selective Exposure

+

Rust สามารถซ่อนการทำงานภายใน objects ได้

+

เพราะโดยปกติแล้วการเข้าถึง ฟิดล์และเมธอด จะทำได้เฉพาะในโมดูลเดียวกันเท่านั้น

+

ถ้าอยากจะเปิดเผย ฟิลด์และเมธอดของ struct ออกสู่ภายนอกโมดูลให้ใช้คีย์เวิร์ด pub

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_tr.html b/beta_77_tr.html new file mode 100644 index 000000000..fe1319e40 --- /dev/null +++ b/beta_77_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Farklı Görünürlük Seviyelerindeki Soyutlamalar

+

Rust, nesnelerin iç işleyişi ve yapılarını gizleyebilir.

+

Halihazırda yapı tarafından bildirilen tüm alan ve metodlara, yalnızca ait oldukları modül tarafından erişilebileceği varsayılır.

+

Yapı alan ve metodlarının modül dışından erişilebilir olması için pub anahtar sözcüğü kullanılır.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_ua.html b/beta_77_ua.html new file mode 100644 index 000000000..91610a18d --- /dev/null +++ b/beta_77_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Абстракція з вибірковою експозицією

+

Rust може приховувати внутрішню роботу об'єктів.

+

За замовчуванням поля і методи доступні лише для модуля, до якого вони належать.

+

Ключове слово pub відкриває поля і методи структур за межами модуля.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_vi.html b/beta_77_vi.html new file mode 100644 index 000000000..e07cf82b3 --- /dev/null +++ b/beta_77_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trừu tượng hóa với sự tiếp xúc có chọn lọc

+

Rust có thể che giấu hoạt động bên trong của các đối tượng.

+

Theo mặc định, các trường và phương thức chỉ có thể truy cập được đối với mô-đun mà chúng thuộc về.

+

Từ khóa pub hiển thị các trường và phương thức cấu trúc bên ngoài mô-đun.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_zh-cn.html b/beta_77_zh-cn.html new file mode 100644 index 000000000..06c699013 --- /dev/null +++ b/beta_77_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

抽象与选择性暴露

+

Rust 可以隐藏对象的内部实现细节。

+

默认情况下,字段和方法只有它们所属的模块才可访问。

+

pub 关键字可以将字段和方法暴露给模块外的访问者。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_77_zh-tw.html b/beta_77_zh-tw.html new file mode 100644 index 000000000..da3ded518 --- /dev/null +++ b/beta_77_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

暴露指定的抽象化 (abstraction with selective exposure)

+

Rust 可以隱藏物件的實作細節。

+

欄位及方法預設只有屬於該模組 (module) 可以存取。

+

關鍵字 pub 可以暴露結構欄位及方法給外部模組使用。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_ar.html b/beta_78_ar.html new file mode 100644 index 000000000..63ccfb0cd --- /dev/null +++ b/beta_78_ar.html @@ -0,0 +1,62 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

تعدد الأشكال باستخدام السمات (Polymorphism With Traits)

+

رست (Rust) يدعم تعدد الأشكال (Polymorphism) باستخدام السمات (Traits). تسمح لنا السمات (Traits) بربط مجموعة من التوابع (methods) بنوع هيكل (struct).

+

نحدد أولاً تواقيع (signatures) توابع السمة كما يلي:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

عندما ينفذ الهيكل (struct) سمة (trait) ما، فإنه ينشئ عقدًا يسمح لنا بالتفاعل بشكل غير مباشر مع الهيكل من خلال نوع سمة - trait type - (على سبيل المثال &dyn MyTrait) دون الحاجة إلى معرفة النوع الحقيقي.

+

يتم تعريف توابع السمة (traits methods) المراد تنفيذها في الهيكل ضمن كتلة التنفيذ (implementation block):

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_en.html b/beta_78_en.html new file mode 100644 index 000000000..aa41d73c4 --- /dev/null +++ b/beta_78_en.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_es.html b/beta_78_es.html new file mode 100644 index 000000000..8f7e354ee --- /dev/null +++ b/beta_78_es.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfismo Con Traits

+

Rust permite el polimorfismo con traits. Los traits nos permiten asociar un conjunto de métodos con una estructura.

+

Primero definimos las especificaciones de los métodos en un trait:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

Cuando una estructura implementa un trait, establece un contrato que nos permite interactuar indirectamente con la estructura a través del Trait (e.g. &dyn MyTrait) sin tener que conocer el tipo real.

+

Los métodos de traits implementados en una estructura se definen dentro de un bloque de implementación:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_fa.html b/beta_78_fa.html new file mode 100644 index 000000000..970edaf38 --- /dev/null +++ b/beta_78_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_fr.html b/beta_78_fr.html new file mode 100644 index 000000000..465b4efe9 --- /dev/null +++ b/beta_78_fr.html @@ -0,0 +1,67 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphisme avec les traits

+

Rust rend possible le polymorphisme grâce aux 'traits'. Les traits +nous permettent d'associer un ensemble de méthodes à une structure.

+

Il faut tout d'abord définir la signature des méthodes d'un trait:

+
trait MyTrait {
+  fn foo(&self);
+  ...
+}
+
+

Quand une structure implémente un trait, le trait établit un contrat entre +la structure et les méthodes que la structure doit implémenter. Cela nous +permetra d'interagir avec la structure à travers le type du trait +(par exemple &dyn MyTrait) sans avoir à connaître le type réel.

+

Les méthodes du trait implémentées par la structure sont définies dans un bloc +d'implémentation:

+
impl MyTrait for MyStruct { 
+  fn foo(&self){
+    ...
+  }
+  ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_hu.html b/beta_78_hu.html new file mode 100644 index 000000000..dbad406f9 --- /dev/null +++ b/beta_78_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfizmus Trait-ek segítségével

+

A Rust az úgynevezett trait-ek segítségével oldja meg a polimorfizmust. Minden trait meghatároz +metódusokat, amikkel a struct-okat fel lehet ruházni.

+

Először is meghatározzuk, hogy is néz ki a trait és az általa nyújtott metódusok paraméterei:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

A trait-ekre gondolhatunk úgy, mint egy "szerződés," ami kimondja, hogy a trait-et megvalósító +struct-okra innentől a trait-en át is hivatkozhatunk (&dyn MyTrait), anélkül is, hogy tudnánk +a struct pontos típusát.

+

A struct-ok trait által előírt metódusait szintén egy implementációs blokkon belül írhatjuk meg:

+
impl MyTrait for MyStruct {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_ie.html b/beta_78_ie.html new file mode 100644 index 000000000..98755176a --- /dev/null +++ b/beta_78_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfisme con Trates

+

Rust subtene polimorfisme con trates (traits). Con trates noi posse associar un gruppe de metodes con un tip de struct.

+

Ante omno, noi defina li signaturas de metodes de un trate intra:

+
trait MiTrate {
+    fn foo(&self);
+    ...
+}
+
+

Quande un struct implementa un trate, it etablisse un contracte secun quel noi posse índirectmen interacter con li struct +tra li tip del trate (p.ex. &dyn MiTrate) sin dever conossen li ver tip.

+

Li implementat trate-metodes de un struct es definat intra:

+
impl MiTrate for MyStruct {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_it.html b/beta_78_it.html new file mode 100644 index 000000000..9bbe31478 --- /dev/null +++ b/beta_78_it.html @@ -0,0 +1,63 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfismo con tratti

+

Rust supporta il polimorfismo con i tratti. I tratti ci permettono di associare un insieme di metodi con un tipo struct.

+

Per prima cosa definiamo le firme dei metodi di un tratto all'interno di:

+
trait MiaCaratteristica {
+    fn foo(&self);
+    ...
+}
+
+

Quando una struttura implementa un tratto, stabilisce un contratto che ce lo consente per interagire indirettamente con la struttura +attraverso il tipo di tratto (ad esempio &dyn MyTrait) senza dover conoscere il reale tipo.

+

I metodi dei tratti implementati di una struttura sono definiti all'interno di un'implementazione bloccare:

+
impl MiaCaratteristica per MiaStruttura {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_ja.html b/beta_78_ja.html new file mode 100644 index 000000000..c4baeaa88 --- /dev/null +++ b/beta_78_ja.html @@ -0,0 +1,62 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

トレイトを用いたポリモーフィズム

+

Rustは、トレイトによるポリモーフィズムをサポートしています。トレイトを使うと、構造体型にメソッド群を関連付けることができます。

+

まず、トレイト内のメソッドのシグネチャを定義します。

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

構造体がトレイトを実装すると、実際の型を知らなくてもトレイトの型(例:&dyn MyTrait)を通じて間接的に構造体と対話できる契約が確立されます。

+

構造体に実装されたトレイトメソッドは、実装ブロックの中で定義されます。

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_ko.html b/beta_78_ko.html new file mode 100644 index 000000000..1e10bd420 --- /dev/null +++ b/beta_78_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

다형성과 Trait

+

Rust는 trait으로 다형성을 지원합니다. trait은 메소드의 집합을 struct 자료형에 연결할 수 있게 해줍니다.

+

먼저 trait 안에 메소드 원형을 정의합니다:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

struct가 trait을 구현할 때, 실제 자료형이 무엇인지 알지 못하더라도 +그 trait 자료형을 통해 간접적으로 struct와 상호작용할 수 있도록 (예: &dyn MyTrait) 협약을 맺게 됩니다.

+

struct의 구현된 trait 메소드들은 구현 블록 안에 정의됩니다:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_pl.html b/beta_78_pl.html new file mode 100644 index 000000000..308ebcc16 --- /dev/null +++ b/beta_78_pl.html @@ -0,0 +1,63 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphism With Traits

+

Rust supports polymorphism with traits. Traits allow us to associate a set of methods with a struct type.

+

We first define the signatures of methods of a trait within:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

When a struct implements a trait, it establishes a contract that allows us to indirectly interact with the struct +through the trait type (e.g. &dyn MyTrait) without having to know the real type.

+

A struct's implemented traits methods are defined within an implementation block:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_pt-br.html b/beta_78_pt-br.html new file mode 100644 index 000000000..e18ee8dac --- /dev/null +++ b/beta_78_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfismo com traits

+

O Rust suporta o polimorfismo com traits. As traits nos permitem associar um conjunto de métodos a um tipo struct.

+

Primeiro definimos as assinaturas dos métodos de uma trait internamente:

+
trait MinhaTrait {
+    fn foo(&self);
+    ...
+}
+
+

Quando uma estrutura implementa uma trait, ela estabelece um contrato que nos permite interagir indiretamente com a struct por meio do tipo da trait (por exemplo, &dyn MinhaTrait) sem precisar conhecer o tipo real.

+

Os métodos da trait implementados na struct são definidos dentro de um bloco de implementação:

+
impl MinhaTrait for MinhaStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_ro.html b/beta_78_ro.html new file mode 100644 index 000000000..b91902716 --- /dev/null +++ b/beta_78_ro.html @@ -0,0 +1,62 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polimorfismul prin trăsături

+

Rust suportă polimorfismul prin trăsături (în engleză traits). Trăsăturile ne permit asocierea unui set de metode cu o structura.

+

Prima dată definim semnăturile metodelor unei trăsături în:

+
trait TrasaturaMea {
+    fn foo(&self);
+    ...
+}
+
+

Când o structură implementează o trăsătură, este stabilit un contract ce permite interacțiunea noastră indirectă cu structura, prin tipul trăsăturii (exemplu: &dyn TrasaturaMea ), fără a fi nevoie să cunoaștem tipul real al structurii.

+

Metodele trăsăturii implementate de structură sunt definite în cadrul unui bloc de implementare:

+
impl TrasaturaMea for StructuraMea {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_ru.html b/beta_78_ru.html new file mode 100644 index 000000000..2f12ab6c7 --- /dev/null +++ b/beta_78_ru.html @@ -0,0 +1,62 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Полиморфизм с помощью типажей (Traits)

+

Rust поддерживает полиморфизм с помощью типажей. Типажи позволяют связывать набор методов со структурным типом (struct, enum).

+

Сначала мы определяем сигнатуры методов типажа в коде как:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

Когда структура реализует типаж, она устанавливает контракт поведения, который позволяет нам косвенно взаимодействовать со структурой через тип данного типажа (например, &dyn MyTrait) без необходимости знать реальный тип.

+

Методы типажа, реализованные структурой определяются в блоке реализации:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_th.html b/beta_78_th.html new file mode 100644 index 000000000..0ccea64fe --- /dev/null +++ b/beta_78_th.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Polymorphism ด้วย Traits

+

Rust สนับสนุน polymorphism ด้วย traits โดย Traits จะช่วยให้เราเชื่อมโยงกลุ่มของเมธอด เข้ากับ struct type ได้

+

ขั้นแรกเราต้องกำหนดลักษณะเฉพาะของเมธอดใน trait ก่อน:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

เมื่อมี struct ใดต้องการอิมพลีเมนต์ trait มันจะสร้างสัญญาขึ้นมาเพื่ออนุญาต ให้เราใช้วิธีการโต้ตอบกับ struct แบบที่ trait กำหนดไว้ (จากตัวอย่าง &dyn MyTrait)

+

โดยไม่ต้องรู้เลยว่า type ที่แท้จริงของมันคืออะไร

+

วิธีการทำให้ struct ใช้เมธอดของ traits ทำภายในบล็อกแบบนี้:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_tr.html b/beta_78_tr.html new file mode 100644 index 000000000..d8894896b --- /dev/null +++ b/beta_78_tr.html @@ -0,0 +1,62 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Özellikler ve Çok Biçimlilik

+

Rust'ta bir dizi yöntemi struct ve enum gibi yapılandırılmış türlerle ilişkilendirmemize izin veren yapılara özellik adını veririz. Ve Rust çok biçimlilik özellikler aracılığıyla desteklenir.

+

Bir özelliğe ait yöntemi aşağıdaki gibi tanımlayabilirsiniz:

+
trait BirOzellik {
+    fn bir_yontem(&self);
+    ...
+}
+
+

Bir yapı bir özelliği uyguladığında, &dyn BirOzellik şeklindeki özellik türü sayesinde ve gerçek tür bilgisine ihtiyaç duymaksızın, kendisiyle dolaylı şeklide etkileşebileceğimiz bir sözleşme oluşturur.

+

Yapı tarafından uygulanması istenen özellik yöntemleri, bir uygulama bloğunda tanımlanmak zorundadır:

+
impl BirOzellik for BirYapi { 
+    fn bir_yontem(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_ua.html b/beta_78_ua.html new file mode 100644 index 000000000..02796094c --- /dev/null +++ b/beta_78_ua.html @@ -0,0 +1,63 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Поліморфізм у Traits

+

Rust підтримує поліморфізм за допомогою ознак (Traits). Властивості дозволяють нам пов'язати набір методів зі структурним типом.

+

Спочатку ми визначаємо сигнатури методів, що входять до складу ознаки (Trait):

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

Коли структура реалізує трейт, вона встановлює контракт, який дозволяє нам опосередковано взаємодіяти зі структурою +через тип риси (наприклад, &dyn MyTrait) без необхідності знати реальний тип.

+

Реалізовані методи трейтів структури визначаються в межах реалізації блоку реалізації:

+
impl MyTrait for MyStruct {
+    fn foo(&self) {
+        ...
+    }
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_vi.html b/beta_78_vi.html new file mode 100644 index 000000000..4fe40c503 --- /dev/null +++ b/beta_78_vi.html @@ -0,0 +1,62 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tính đa hình với các đặc điểm

+

Rust hỗ trợ tính đa hình với các đặc điểm(trait). Các đặc điểm cho phép chúng ta liên kết một tập hợp các phương thức với một kiểu cấu trúc.

+

Đầu tiên chúng ta xác định các dấu hiệu của các phương thức của một đặc điểm trong:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

Khi một struct triển khai một đặc điểm, nó sẽ thiết lập một hợp đồng cho phép chúng ta tương tác gián tiếp với struct thông qua loại đặc điểm (ví dụ: &dyn MyTrait) mà không cần biết loại thực sự.

+

Các đặc điểm của struct được xác định trong một khối thực hiện(implementation block):

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_zh-cn.html b/beta_78_zh-cn.html new file mode 100644 index 000000000..b786d19ab --- /dev/null +++ b/beta_78_zh-cn.html @@ -0,0 +1,62 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

使用 Trait 实现多态

+

Rust 支持多态的特性。Trait 允许我们将一组方法与结构类型关联起来。

+

我们首先在 Trait 里面定义函数签名:

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

当一个结构体实现一个 trait 时,它便建立了一个契约,允许我们通过 trait 类型与结构体进行间接交互(例如 &dyn MyTrait),而不必知道其真实的类型。

+

结构体实现 Trait 方法是在实现块中定义要实现的方法:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_78_zh-tw.html b/beta_78_zh-tw.html new file mode 100644 index 000000000..0ff6d7cce --- /dev/null +++ b/beta_78_zh-tw.html @@ -0,0 +1,62 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵多型 (polymorphism with traits)

+

Rust 支援特徵 (trait) 多型。特徵允許我們將一組方法與一個結構型別關聯在一起。

+

我們首先定義一個特徵的方法的簽章 (signature):

+
trait MyTrait {
+    fn foo(&self);
+    ...
+}
+
+

當一個結構實作一個特徵時,它建立了一個契約允許我們透過該特徵 (例如:&dyn MyTrait) 間接的與該結構互動, 而不需要知道它真正的型別。

+

一個結構實作特徵方法被定義在實作區塊裡:

+
impl MyTrait for MyStruct { 
+    fn foo(&self) {
+        ...
+    }
+    ... 
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_ar.html b/beta_79_ar.html new file mode 100644 index 000000000..f04c7753b --- /dev/null +++ b/beta_79_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التوابع المنفذة في السمات (Implemented Methods On Traits)

+

يمكن أن يكون للسمات (Traits) توابع منفذة (implemented methods). ويمكن تسميتها بالتوابع الإفتراضية.

+

لا تتمتع هذه التوابع بإمكانية الوصول المباشر إلى الحقول الداخلية للهيكل، ولكنها قد تكون مفيدة لمشاركة السلوك بين العديد من منفذي السمات (trait implementors).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_en.html b/beta_79_en.html new file mode 100644 index 000000000..d549f9535 --- /dev/null +++ b/beta_79_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_es.html b/beta_79_es.html new file mode 100644 index 000000000..0a77721a3 --- /dev/null +++ b/beta_79_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Métodos Implementados en Traits

+

Los traits pueden tener métodos implementados.

+

Las funciones no tienen acceso directo a los campos internos de una estructura, pero puede ser útil para compartir el comportamiento entre muchos implementadores de traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_fa.html b/beta_79_fa.html new file mode 100644 index 000000000..d1bd375d9 --- /dev/null +++ b/beta_79_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_fr.html b/beta_79_fr.html new file mode 100644 index 000000000..518890b81 --- /dev/null +++ b/beta_79_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Méthodes implémentées sur les traits

+

Un 'trait' peut lui-même implémenter une ou plusieurs méthodes.

+

Les méthodes d'un trait n'ont pas accès aux champs des structures +mais elles peuvent être utiles pour partager un comportement +entre plusieurs implémentations de traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_hu.html b/beta_79_hu.html new file mode 100644 index 000000000..2f8f29a97 --- /dev/null +++ b/beta_79_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait-ek által megvalósított metódusok

+

A trait-ek maguk is megvalósíthatnak metódusokat.

+

Az ilyen metódusok nem képesek elérni a struct-ok mezőit, de hasznosak lehetnek olyan esetekben, +amikor olyan viselkedlst szeretnénk leírni, ami sokféle struct-ban előfordul.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_ie.html b/beta_79_ie.html new file mode 100644 index 000000000..23e729e3f --- /dev/null +++ b/beta_79_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Implementat Metodes sur Trates

+

Trates posse haver metodes implementat.

+

Li functiones have null direct accesse al inter campes de un struct, ma it posse esser +util por partiprender conduida inter mani implementatores de trates.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_it.html b/beta_79_it.html new file mode 100644 index 000000000..9dc948995 --- /dev/null +++ b/beta_79_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metodi implementati sui tratti

+

I tratti possono avere metodi implementati.

+

Le funzioni non hanno accesso diretto ai campi interni di una struttura, ma esso Potere +essere utile per condividere il comportamento tra molti implementatori di tratti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_ja.html b/beta_79_ja.html new file mode 100644 index 000000000..fd18eb924 --- /dev/null +++ b/beta_79_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

トレイトに実装されたメソッド

+

トレイトは実装されたメソッドを持つことができます。

+

この関数は構造体の内部フィールドに直接アクセスすることはできませんが、多くのトレイトの実装の間で動作を共有するのに便利です。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_ko.html b/beta_79_ko.html new file mode 100644 index 000000000..a1dce4974 --- /dev/null +++ b/beta_79_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait에 구현된 메소드

+

trait에 메소드를 구현해 넣을 수 있습니다.

+

함수가 struct 내부의 field에 직접 접근할 수는 없지만, +trait 구현체들 사이에서 동작을 공유할 때 유용하게 쓰입니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_pl.html b/beta_79_pl.html new file mode 100644 index 000000000..402b7457e --- /dev/null +++ b/beta_79_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Implemented Methods On Traits

+

Traits can have implemented methods.

+

The functions have no direct access to the inner fields of a struct, but it can +be useful for sharing behavior between many trait implementors.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_pt-br.html b/beta_79_pt-br.html new file mode 100644 index 000000000..dadea4eed --- /dev/null +++ b/beta_79_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Métodos implementados nas traits

+

As traits podem ter métodos implementados.

+

As funções não têm acesso direto aos campos internos de uma struct, mas podem ser úteis para compartilhar comportamentos entre muitos implementadores de traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_ro.html b/beta_79_ro.html new file mode 100644 index 000000000..aec1ce350 --- /dev/null +++ b/beta_79_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Metode implementate trăsăturilor

+

Trăsăturile pot avea metode implementate.

+

Funcțiile nu au acces direct asupra câmpurilor interioare ale unei structuri, dar aceste metode implementate trăsăturilor pot fi folositoare în distribuirea comportamentelor între mai mulți implementatori ai trăsăturilor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_ru.html b/beta_79_ru.html new file mode 100644 index 000000000..9f7ca34ab --- /dev/null +++ b/beta_79_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Реализация методов в самих типажах

+

Типажи могут иметь реализованные методы.

+

Функции не имеют прямого доступа к внутренним полям структуры, но могут быть полезны для обмена поведением между многими реализациями типажа.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_th.html b/beta_79_th.html new file mode 100644 index 000000000..030ec988e --- /dev/null +++ b/beta_79_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การสร้างเมธอดไว้ใน Traits

+

ตัว Traits เองสามารถมีเมธอดที่ทำงานจริงได้ด้วย

+

แต่ฟังก์ชันพวกนี้จะไม่มีการเข้าถึงฟิลด์ใน struct ตรงๆ แต่จะได้ประโยชน์ในแง่ ที่มันเห็นพฤติกรรมที่ trait มีไว้ใช้ทั้งหมด

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_tr.html b/beta_79_tr.html new file mode 100644 index 000000000..ed7a37ebe --- /dev/null +++ b/beta_79_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Özelliklere Uygulanan Yöntemler

+

Özelliklerin de uyguladıkları kendi yöntemleri olabilir.

+

Ancak özelliklerin uyguladığı yöntemler yapı alanlarına erişimediklerinden, çeşitli özellik uygulamaları arasındaki davranışları paylaşırken yararlıdırlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_ua.html b/beta_79_ua.html new file mode 100644 index 000000000..f3a510eb0 --- /dev/null +++ b/beta_79_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Імплементація методів у Traits

+

Трейт може мати імплементовані методи.

+

Функції не мають прямого доступу до внутрішніх полів структури, але вони можуть бути корисним для спільного використання поведінки між багатьма реалізаторами трейтів.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_vi.html b/beta_79_vi.html new file mode 100644 index 000000000..d5fe5dfb8 --- /dev/null +++ b/beta_79_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Các phương thức được triển khai trên các đặc điểm

+

Các đặc điểm có thể thực hiện các phương thức.

+

Các hàm không có quyền truy cập trực tiếp vào các trường bên trong của struct, nhưng nó có thể hữu ích cho việc chia sẻ hành vi giữa nhiều đặc tính.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_zh-cn.html b/beta_79_zh-cn.html new file mode 100644 index 000000000..f7f5ba546 --- /dev/null +++ b/beta_79_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 自带方法

+

Trait 可以有已实现的方法。

+

这些函数并不能直接访问结构体的内部字段,但它可以在许多 trait 实现者之间共享行为。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_79_zh-tw.html b/beta_79_zh-tw.html new file mode 100644 index 000000000..80e3348bd --- /dev/null +++ b/beta_79_zh-tw.html @@ -0,0 +1,48 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵上的方法 (implemented methods on traits)

+

特徵可以有方法。

+

函式沒有直接存取一個結構內部欄位的權限,但它可以被所有特徵實作者共享。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_ar.html b/beta_80_ar.html new file mode 100644 index 000000000..f0fe6b59f --- /dev/null +++ b/beta_80_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

وراثة السمات (Trait Inheritance)

+

يمكن أن ترث السمات (Traits) توبع من سمات أخرى.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_en.html b/beta_80_en.html new file mode 100644 index 000000000..333cd4349 --- /dev/null +++ b/beta_80_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_es.html b/beta_80_es.html new file mode 100644 index 000000000..6d8f490e9 --- /dev/null +++ b/beta_80_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Herencia de Traits

+

Los traits pueden heredar los métodos de otros traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_fa.html b/beta_80_fa.html new file mode 100644 index 000000000..9eb32dada --- /dev/null +++ b/beta_80_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_fr.html b/beta_80_fr.html new file mode 100644 index 000000000..4a148deed --- /dev/null +++ b/beta_80_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hériter d'un trait

+

Un trait peut hériter d'un autre trait.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_hu.html b/beta_80_hu.html new file mode 100644 index 000000000..be5fcb3fa --- /dev/null +++ b/beta_80_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait-ek öröklése

+

A trait-ek képesek más trait-ekből metódusokat örökölni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_ie.html b/beta_80_ie.html new file mode 100644 index 000000000..fd3f5f7d4 --- /dev/null +++ b/beta_80_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Heredantie de Trates

+

Trates posse heredar metodes ex altri trates.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_it.html b/beta_80_it.html new file mode 100644 index 000000000..e6d956f53 --- /dev/null +++ b/beta_80_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Eredità dei tratti

+

I tratti possono ereditare metodi da altri tratti.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_ja.html b/beta_80_ja.html new file mode 100644 index 000000000..68583f48a --- /dev/null +++ b/beta_80_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

トレイトの継承

+

トレイトは他のトレイトからメソッドを継承することができます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_ko.html b/beta_80_ko.html new file mode 100644 index 000000000..13f0fb665 --- /dev/null +++ b/beta_80_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 상속

+

trait은 다른 trait의 메소드들을 상속 받을 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_pl.html b/beta_80_pl.html new file mode 100644 index 000000000..ec54f56a0 --- /dev/null +++ b/beta_80_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Inheritance

+

Traits can inherit methods from other traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_pt-br.html b/beta_80_pt-br.html new file mode 100644 index 000000000..446630c4f --- /dev/null +++ b/beta_80_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Herança das traits

+

As traits podem herdar métodos de outras traits.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_ro.html b/beta_80_ro.html new file mode 100644 index 000000000..c7b4f27e4 --- /dev/null +++ b/beta_80_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Moștenirea trăsăturilor

+

Trăsăturile pot moșteni metode de la alte trăsături.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_ru.html b/beta_80_ru.html new file mode 100644 index 000000000..8e1e0909e --- /dev/null +++ b/beta_80_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Наследование типажа (Trait Inheritance)

+

Типажи могут наследовать методы от других типажей.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_th.html b/beta_80_th.html new file mode 100644 index 000000000..22f911bbd --- /dev/null +++ b/beta_80_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait สืบทอดได้

+

Traits ทำการสือทอดเมธอดจาก traits ตัวอื่นได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_tr.html b/beta_80_tr.html new file mode 100644 index 000000000..e8d2f1a8b --- /dev/null +++ b/beta_80_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Özellik Kalıtımı

+

Bir özellik kendi yöntemlerini, diğer özelliklerden kalıtım yoluyla edinebilir.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_ua.html b/beta_80_ua.html new file mode 100644 index 000000000..24f177355 --- /dev/null +++ b/beta_80_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Наслідування у Traits

+

Трейти можуть наслідувати методи з інших трейтів.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_vi.html b/beta_80_vi.html new file mode 100644 index 000000000..61302fda0 --- /dev/null +++ b/beta_80_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Thừa kế đặc điểm

+

Các đặc điểm có thể kế thừa phương thức từ các đặc điểm khác.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_zh-cn.html b/beta_80_zh-cn.html new file mode 100644 index 000000000..f0ac5aad7 --- /dev/null +++ b/beta_80_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 继承

+

Traits 可以从其他 trait 继承方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_80_zh-tw.html b/beta_80_zh-tw.html new file mode 100644 index 000000000..546b15fc4 --- /dev/null +++ b/beta_80_zh-tw.html @@ -0,0 +1,47 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵繼承 (trait inheritance)

+

特徵可以從其他特徵繼承方法。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ar.html b/beta_81_ar.html new file mode 100644 index 000000000..d116ca5ab --- /dev/null +++ b/beta_81_ar.html @@ -0,0 +1,57 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الإرسال الحيوي والساكن (Dynamic vs Static Dispatch)

+

التوابع تنفذ بطريقتين:

+
    +
  • الإرسال الساكن (static dispatch) - عندما يكون نوع المثيل (instance) معروفًا، تكون لدينا معرفة مباشرة بالدلة التي يجب استدعاؤها.
  • +
  • الإرسال الحيوي (dynamic dispatch) - عندما لا يكون نوع المثيل (instance) معروفًا، يجب علينا اكتشاف طريقة ما لاستدعاء الدالة الصحيحة.
  • +
+

أنواع السمات (Trait types) أي &dyn MyTrait القدرة على العمل مع مثلاء الكائنات (instances of objects) بشكل غير مباشر باستخدام الإرسال الحيوي أو الديناميكي.

+

عند استخدام الإرسال الحيوي (dynamic dispatch)، سيشجعك رست (Rust) على وضع dyn قبل نوع السمة الخاصة بك حتى يكون الناس على علم بذلك.

+

تفاصيل الذاكرة:

+
    +
  • الإرسال الحيوي (dynamic dispatch) أبطأ قليلاً بسبب تعقب المؤشر (pointer) من أجل العثور على استدعاء الدلية الحقيقية.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_en.html b/beta_81_en.html new file mode 100644 index 000000000..857f1591e --- /dev/null +++ b/beta_81_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_es.html b/beta_81_es.html new file mode 100644 index 000000000..7daf2743d --- /dev/null +++ b/beta_81_es.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Resolución Dinámica y Estática

+

Los métodos se ejecutan de dos maneras:

+
    +
  • Resolución estática - Cuando se conoce el tipo de instancia, tenemos conocimiento directo de qué función llamar.
  • +
  • Resolución dinámica - Cuando no se conoce el tipo de instancia, debemos encontrar alguna forma de llamar a la función correcta.
  • +
+

Los tipos de traits &dyn MyTrait nos dan la capacidad de trabajar con instancias de objetos indirectamente usando la resolución dinámica.

+

Al usar resolución dinámica, Rust te recomendará anteponer dyn al tipo de trait para que quede reflejado.

+

Detalles de la memoria:

+
    +
  • La resolución dinámica es ligeramente más lenta debido a que el puntero tiene que buscar la llamada a la función correcta.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_fa.html b/beta_81_fa.html new file mode 100644 index 000000000..5396e4de7 --- /dev/null +++ b/beta_81_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_fr.html b/beta_81_fr.html new file mode 100644 index 000000000..db7ae8a52 --- /dev/null +++ b/beta_81_fr.html @@ -0,0 +1,63 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dispatch dynamique ou statique

+

Une méthode est exécutée de deux manières:

+
    +
  • Dispatch statique - Lorsque le type de l'instance est connu, nous avons +une connaissance directe de la méthode à appeler.
  • +
  • Dispatch dynamique - Lorsque le type de l'instance n'est pas connu, Rust +doit se débrouiller pour appeler la bonne méthode.
  • +
+

Les types de traits &dyn MyTrait nous permettent de travailler indirectement +avec des instances d'objets en utilisant un dispatch dynamique.

+

Lorsque qu'un dispach dynamique est utilisé, Rust nous encouragera (il affichera +un warning) à placer dyn devant le type du trait pour indiquer que c'est un +trait.

+

Détails de la mémoire:

+
    +
  • Le dispach dynamique est légèrement plus lent que le dispatch statique car +il faut trouver la méthode à appeler.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_hu.html b/beta_81_hu.html new file mode 100644 index 000000000..64bdb7a6a --- /dev/null +++ b/beta_81_hu.html @@ -0,0 +1,62 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dinamikus és statikus meghívás

+

A metódusok kétféleképp hívhatóak meg:

+
    +
  • statikus meghívás - Tudjuk mi a típus, így pontosan tudjuk azt is, melyik függvény kerül +meghívásra.
  • +
  • dinamikus meghívás - Nem tudjuk mi a típus, így először meg kell találnunk, melyik függvényt +is kell meghívni.
  • +
+

A trait-típusok, mint például &dyn MyTrait lehetővé teszik számunkra, hogy a dinamikus +meghívás segítségével hívjuk meg az ezt megvalósító struct-ok példányait.

+

Amikor dinamikus meghívást használsz, erősen ajánlott a dyn kulcsszó használata, hogy a többi +kódon dolgozó ember is tisztában legyen azzal, hogy mi történik.

+

Hogyan érinti ez a memóriát:

+
    +
  • A dinamikus meghívás kissé lassabb, mert először le kell követnünk egy mutatót, hogy +megtaláljuk, melyik függvényről is van szó.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ie.html b/beta_81_ie.html new file mode 100644 index 000000000..841dfa3ee --- /dev/null +++ b/beta_81_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dinamic contra Static Dispatch (Depeche)

+

On execute metodes secun du manieres quam seque:

+
    +
  • dispatch static - Quande on save li tip del instantie, noi save directmen pri quel function a vocar.
  • +
  • dispatch dinamic - Quande on ne save li tip del instantie, noi deve trovar un maniere por vocar li function corect.
  • +
+

Li tip de un trate &dyn MyTrait possibilisa li manipulation de objectes índirectmen con dispatch dinamic.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_it.html b/beta_81_it.html new file mode 100644 index 000000000..e34e4ba11 --- /dev/null +++ b/beta_81_it.html @@ -0,0 +1,57 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Invio dinamico e statico

+

I metodi vengono eseguiti in due modi:

+
    +
  • invio statico: quando il tipo di istanza è noto, abbiamo direct conoscenza di quale funzione chiamare.
  • +
  • invio dinamico: quando un tipo di istanza non è noto, dobbiamo scoprirlo un modo per chiamare la funzione corretta.
  • +
+

I tipi di tratto "&dyn MyTrait" ci danno la possibilità di lavorare con istanze di oggetti indirettamente utilizzando l'invio dinamico.

+

Quando viene utilizzato l'invio dinamico, Rust ti incoraggerà a mettere dyn prima il tuo tipo di tratto in modo che le persone ne siano consapevoli.

+

Dettagli della memoria:

+
    +
  • L'invio dinamico è leggermente più lento a causa del puntatore che cerca di trovare la vera chiamata di funzione.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ja.html b/beta_81_ja.html new file mode 100644 index 000000000..9f0666f5f --- /dev/null +++ b/beta_81_ja.html @@ -0,0 +1,57 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

動的ディスパッチと静的ディスパッチ

+

メソッドは2つの方法で実行されます。

+
    +
  • 静的ディスパッチ - インスタンスの型がわかっている場合、どの関数を呼び出せばよいかを直接知ることができる。
  • +
  • 動的ディスパッチ - インスタンスタイプが不明な場合、正しい関数を呼び出す方法を見つけなければならない。
  • +
+

トレイト型である &dyn MyTrait は、動的ディスパッチを使って間接的にオブジェクトのインスタンスを操作する機能を提供します。

+

動的ディスパッチを使用する場合、Rustは、人々が認識できるように、トレイト型の前に dyn を置くことを推奨します。

+

メモリの詳細:

+
    +
  • 動的ディスパッチは、実際の関数呼び出しを見つけるためにポインタを追跡するため、わずかに遅くなります。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ko.html b/beta_81_ko.html new file mode 100644 index 000000000..18f25da75 --- /dev/null +++ b/beta_81_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

동적 vs 정적 디스패치

+

메소드는 다음의 두 가지 방식으로 실행됩니다:

+
    +
  • 정적 디스패치 (static dispatch) - 인스턴스의 자료형을 알고 있는 경우, 어떤 함수룰 호출해야 하는지 정확히 알고 있습니다.
  • +
  • 동적 디스패치 (dynamic dispatch) - 인스턴스의 자료형을 모르는 경우, 올바른 함수를 호출할 방법을 찾아야 합니다.
  • +
+

trait 자료형인 &dyn MyTrait은 동적 디스패치를 통해 객체의 인스턴스들을 간접적으로 작동시킬 수 있게 해줍니다.

+

동적 디스패치를 사용할 경우, Rust에서는 사람들이 알 수 있도록 trait 자료형 앞에 dyn을 붙일 것을 권고합니다.

+

메모리 상세:

+
    +
  • 동적 디스패치는 실제 함수 호출을 위한 포인터 추적으로 인해 조금 느릴 수 있습니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_pl.html b/beta_81_pl.html new file mode 100644 index 000000000..04de063b6 --- /dev/null +++ b/beta_81_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dynamic vs Static Dispatch

+

Methods are executed in two ways:

+
    +
  • static dispatch - When the instance type is known, we have direct knowledge of what function to call.
  • +
  • dynamic dispatch - When an instance type is not known, we must find out some way of calling the correct function.
  • +
+

Trait types &dyn MyTrait give us the ability to work with instances of objects indirectly using dynamic dispatch.

+

When dynamic dispatch is used, Rust will encourage you to put dyn before your trait type so people are aware.

+

Memory details:

+
    +
  • Dynamic dispatch is slightly slower because of the pointer chasing to find the real function call.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_pt-br.html b/beta_81_pt-br.html new file mode 100644 index 000000000..d8d0e7fb3 --- /dev/null +++ b/beta_81_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dispatch dinâmico x estático

+

Os métodos são executados de duas maneiras:

+
    +
  • static dispatch - quando o tipo da instância é conhecido, temos conhecimento direto de qual função chamar.
  • +
  • dynamic dispatch - quando o tipo da instância não é conhecido precisamos descobrir uma maneira de chamar a função correta.
  • +
+

Os tipos de trait &dyn MinhaTrait nos permite a habilidade de trabalhar com instâncias de objetos indiretamente usando dispatch dinâmico.

+

Quando o dispatch dinâmico é usado, o Rust irá encorajar você a pôr o dyn antes do seu tipo da trait, assim os outros ficarão cientes.

+

Detalhes da memória:

+
    +
  • O dispatch dinâmico é um pouco mais lento por causa da procura que o ponteiro realiza para localizar a verdadeira chamada da função.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ro.html b/beta_81_ro.html new file mode 100644 index 000000000..aecaf5bac --- /dev/null +++ b/beta_81_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Expediere dinamică vs statică

+

Metodele sunt executate în două moduri:

+
    +
  • expediere statică (static dispatch) - când tipul instanței este cunoscut, știm în mod direct ce funcție să apelăm.
  • +
  • expediere dinamică (dynamic dispatch) - când tipul instanței nu este cunoscut trebuie să găsim o modalitate de a apela funcția corectă.
  • +
+

Tipurile trăsăturilor &dyn TrasaturaMea ne dau abilitatea de a lucra cu instanțe ale obiectelor în mod indirect, folosind expedierea dinamică.

+

Când expedierea dinamică este folosită, este necesar să puneți dyn înaintea trăsăturii.

+

Detalii cu privire la memorie:

+
    +
  • Expedierea dinamică este puțin mai lentă, din cauza urmăririi prin pointeri pentru a determina apelul de funcție real.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ru.html b/beta_81_ru.html new file mode 100644 index 000000000..9761743f1 --- /dev/null +++ b/beta_81_ru.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Динамическая vs Статическая диспетчеризация (Dynamic vs Static Dispatch)

+

Методы выполняются двумя способами:

+
    +
  • статическая диспетчеризация (static dispatch) - Когда тип экземпляра для вызываемого метода известен, мы имеем ясное представление о том какую функцию вызывать.
  • +
  • динамическая диспетчеризация (dynamic dispatch) - Когда тип экземпляра неизвестен, мы должны найти способ вызова на нем правильной функции.
  • +
+

Типы типажа в виде &dyn MyTrait дают возможность работать с экземплярами объектов косвенно, используя динамическую диспетчеризацию.

+

Когда используется динамическая диспетчеризация (dynamic dispatch), Rust будет просить вас поставить dyn перед типом типажа, чтобы люди знали об этом.

+

Детали для запоминания:

+
    +
  • Динамическая диспетчеризация является более медленным вызовом методов из-за просмотра указателя (pointer chasing), чтобы найти реальный адрес вызываемой функции.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_th.html b/beta_81_th.html new file mode 100644 index 000000000..40c46fe36 --- /dev/null +++ b/beta_81_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dynamic vs Static Dispatch

+

เมธอดถูกเรียกได้จากสองวิธี:

+
    +
  • static dispatch - เมื่อรู้ type ของอินสแตนซ์เราก็รู้อยู่แล้วว่ามันจะเรียกใช้อย่างไร
  • +
  • dynamic dispatch -เมื่อเราไม่รู้ว่าอินสแตนซ์นั้นเป็น type อะไรกันแน่ เราจึงต้อง หาวิธีที่รู้ให้ได้ว่าจะเรียกใช้ฟังก์ชันอะไรถึงจะถูกต้อง
  • +
+

&dyn MyTrait เป็นประเภทของ trait ที่จะทำให้เราทำงานกับอินสแตนซ์นั้นได้ โดยทางอ้อม ผ่านทาง dynamic dispatch

+

เมื่อจะใช้ dynamic dispatch เมื่อไหร่ Rust แนะนำให้ใส่ dyn เข้าไปหน้าตัวแปร trait เพื่อให้คนอื่นรับรู้

+

รายละเอียดหน่วยความจำ:

+
    +
  • Dynamic dispatch นั้นจะทำงานได้ช้า เพราะว่า ต้องเสียเวลาค้นหาฟังก์ชันตัวจริงมาใช้งาน
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_tr.html b/beta_81_tr.html new file mode 100644 index 000000000..a24acf270 --- /dev/null +++ b/beta_81_tr.html @@ -0,0 +1,57 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ya Dinamik Ya Statik İletim

+

Yöntemler iki şekilde işletilir:

+
    +
  • Statik iletim - Bu çağrı şeklinde örneğin türü zaten bilindiğinden, çağrılacak işlev hakkında doğrudan bilgimiz vardır.

  • +
  • Dinamik iletim - Bu çağrı şeklinde örnek türü bilinmediğinden, doğru işlevi çağırmanın bir yolunu bulmamız gerekir.

  • +
+

&dyn BirOzellik şeklinde sembolize edebileceğimiz özellik türleri, dinamik iletimi kullanarak, nesne örnekleriyle dolaylı şekilde çalışmamızı sağlarlar.

+

Dinamik iletim çağrılarında Rust, kullanıcıların bu çağrıyı fark edebilmeleri için, özellik türünün önüne dyn belirtecini eklememizi ister.

+

Bellek ayrıntıları:

+
    +
  • Dinamik iletim, çağrılan işlevin gerçek adresini bulmak için işaretçi takibi gerektirdiğinden, daha yavaş bir yöntem çağrısı olarak kabul edilir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_ua.html b/beta_81_ua.html new file mode 100644 index 000000000..f95366553 --- /dev/null +++ b/beta_81_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Динамічна та статична диспетчеризації.

+

Методи виконуються двома способами:

+
    +
  • статична диспетчеризація - коли відомий тип екземпляра, і ми знаємо яку функцію викликати.
  • +
  • динамічна диспетчеризація - коли тип екземпляра невідомий, і ми повинні з'ясувати якийсь спосіб виклику правильної функції.
  • +
+

Типи трейтів &dyn MyTrait дають нам можливість працювати з екземплярами об'єктів опосередковано, використовуючи динамічну диспетчеризацію.

+

Коли використовується динамічна диспетчеризація, Rust рекомендуватиме вам поставити dyn перед вашим типом ознаки, щоб інші знали про це.

+

Деталі роботи за памяттю:

+
    +
  • Динамічна диспетчеризація працює дещо повільніше через покажчик, котрий займається пошуком функції, і її виконанням.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_vi.html b/beta_81_vi.html new file mode 100644 index 000000000..655a676cb --- /dev/null +++ b/beta_81_vi.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Điều phối động vs điều phối tĩnh

+

Các phương thức được thực thi theo hai cách:

+
    +
  • static dispatch(điều phối tĩnh) - Khi kiểu thể hiện được biết, chúng ta biết trực tiếp về hàm nào sẽ gọi.
  • +
  • dynamic dispatch(điều phối động) - Khi một kiểu thể hiện không được biết, chúng ta phải tìm ra một số cách gọi hàm chính xác.
  • +
+

Các kiểu đặc điểm &dyn MyTrait cho chúng ta khả năng làm việc với các trường hợp của đối tượng một cách gián tiếp bằng cách sử dụng điều phối động.

+

Khi sử dụng điều phối động, Rust sẽ khuyến khích bạn đặt dyn trước loại đặc điểm của bạn để mọi người nhận biết.

+

Chi tiết bộ nhớ:

+
    +
  • Điều phối động hơi chậm hơn do con trỏ đuổi theo để tìm lệnh gọi hàm thực.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_zh-cn.html b/beta_81_zh-cn.html new file mode 100644 index 000000000..29224668a --- /dev/null +++ b/beta_81_zh-cn.html @@ -0,0 +1,57 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

动态调度和静态调度

+

方法的执行有两种方式:

+
    +
  • 静态调度——当实例类型已知时,我们直接知道要调用什么函数。
  • +
  • 动态调度——当实例类型未知时,我们必须想方法来调用正确的函数。
  • +
+

Trait 类型 &dyn MyTrait 给我们提供了使用动态调度间接处理对象实例的能力。

+

当使用动态调度时,Rust 会鼓励你在你的 trait 类型前加上dyn,以便其他人知道你在做什么。

+

内存细节:

+
    +
  • 动态调度的速度稍慢,因为要追寻指针以找到真正的函数调用。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_81_zh-tw.html b/beta_81_zh-tw.html new file mode 100644 index 000000000..edd926299 --- /dev/null +++ b/beta_81_zh-tw.html @@ -0,0 +1,57 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

動態與靜態的發送 (dynamic vs static ispatch)

+

執行方法有兩種方式:

+
    +
  • 靜態發送 - 當一個實體型別是已知的,那我們就直接知道有哪些函式可以呼叫。
  • +
  • 動態發送 - 當一個實體型別是未知的,我們就必須找出某種呼叫函式的正確方式。
  • +
+

&dyn MyTrait 這個特徵型別讓我們有能力間接使用動態發送操作該實體物件。

+

當動態發送被使用時,Rust 鼓勵你將 dyn 放在你的特徵型別前面,這樣其他人才會知道。

+

記憶體細節:

+
    +
  • 動態發送稍稍慢了一點,因為需要追蹤指標 (pointer) 找到真正的函式呼叫。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_82_ar.html b/beta_82_ar.html new file mode 100644 index 000000000..bc453a78d --- /dev/null +++ b/beta_82_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

كائنات السمة (Trait Objects)

+

عندما نقوم بتمرير مثيل (instance) الكائن إلى معلمة (parameter) من النوع &dyn MyTrait، فإننا نمرر ما يسمى بـ كائن السمة (trait object).

+

كائن السمة (trait object) هو ما يسمح لنا باستدعاء غير مباشر للتوابع الصحيحة للمثيل (instance). كائن السمة عبارة عن هيكل يحمل مؤشر (pointer) المثيل الخاص بنا مع قائمة مؤشرات الدوال (function pointers) لتوابعه.

+

تفاصيل الذاكرة:

+
    +
  • تُعرف قائمة الدوال هذه في لغة ++C باسم vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_en.html b/beta_82_en.html new file mode 100644 index 000000000..10e8b2610 --- /dev/null +++ b/beta_82_en.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_es.html b/beta_82_es.html new file mode 100644 index 000000000..2cd756ebf --- /dev/null +++ b/beta_82_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Objetos Trait

+

Cuando pasamos una instancia de un objeto a un parámetro de tipo &dyn MyTrait pasamos lo que se llama objeto trait.

+

Un objeto trait es lo que nos permite llamar indirectamente a los métodos correctos de una instancia. Un objeto trait es una estructura que contiene el puntero de nuestra instancia con una lista de puntero de función a los métodos de nuestra instancia.

+

Detalles de la memoria:

+
    +
  • Esta lista de funciones se conoce en C++ como un vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_fa.html b/beta_82_fa.html new file mode 100644 index 000000000..68ec6f8d5 --- /dev/null +++ b/beta_82_fa.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_fr.html b/beta_82_fr.html new file mode 100644 index 000000000..ce81d1fa3 --- /dev/null +++ b/beta_82_fr.html @@ -0,0 +1,55 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Objets trait

+

Lorsque nous transmettons l'instance d'un objet à un paramètre de +type &dyn MyTrait, nous transmettons ce que l'on appelle un +objet trait (en anglais trait object).

+

Un objet trait est ce qui nous permet d'appeler indirectement les bonnes +méthodes d'une instance via un dispach dynamique. Un objet trait est une +structure qui contient le pointeur de l'instance ainsi qu'une liste de +pointeurs vers les méthodes de cette instance.

+

Détails de la mémoire:

+
    +
  • Cette liste de fonctions est connue en C++ sous le nom de vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_hu.html b/beta_82_hu.html new file mode 100644 index 000000000..4826dc61c --- /dev/null +++ b/beta_82_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait objektumok

+

Amikor egy &dyn MyTraittípusú objektumot paraméterként adunk át, akkor ezt az objektumot +trait objektumnak nevezzük.

+

A trait objektumok segítségével egy példány megfelelő metódusait tudjuk meghívni. A trait +objektum nem más, mint egy struct, ami egy listára mutat, ami a példány metódusaira mutató +referenciákat tartalmazza.

+

Hogyan érinti ez a memóriát:

+
    +
  • Az ilyen függvényeket tartalmazó listát a C++ nyelvben vtable-nek nevezzük.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_ie.html b/beta_82_ie.html new file mode 100644 index 000000000..9ea36e76c --- /dev/null +++ b/beta_82_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trate-Objectes

+

Quande noi transfere un instantie de un objecte a un parametre del tip &dyn MyTrait noi transfere un cose nominat un trait object.

+

Un trait object es to quel auxilia nos índirectmen vocar li corect metodes de un instantie. Un trait object es un struct quel tene li puntator de +nor instantie con un liste de puntatores del functiones al metodes de nor instantie.

+

Detallies pri memorie:

+
    +
  • On conosse ti-ci liste de functiones in C++ quam un vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_it.html b/beta_82_it.html new file mode 100644 index 000000000..342aec242 --- /dev/null +++ b/beta_82_it.html @@ -0,0 +1,51 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Oggetti tratti

+

Quando passiamo un'istanza di un oggetto a un parametro di tipo &dyn MyTrait passiamo quello che viene chiamato oggetto tratto.

+

Un oggetto tratto è ciò che ci consente di chiamare indirettamente i metodi corretti di un caso. Un oggetto tratto è una struttura che contiene il puntatore di +la nostra istanza con un elenco di puntatori a funzioni ai metodi della nostra istanza.

+

Dettagli della memoria:

+
    +
  • Questo elenco di funzioni è noto in C++ come vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_ja.html b/beta_82_ja.html new file mode 100644 index 000000000..20b05f228 --- /dev/null +++ b/beta_82_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

トレイトオブジェクト

+

オブジェクトのインスタンスを &dyn MyTrait 型のパラメータに渡すとき、 トレイトオブジェクト と呼ばれるものを渡します。

+

インスタンスの正しいメソッドを間接的に呼び出すことを可能にするのがトレイトオブジェクトです。 トレイトオブジェクトは、インスタンスのポインタと、インスタンスのメソッドへの関数ポインタのリストを保持する構造体です。

+

メモリの詳細:

+
    +
  • この関数のリストをC++ではvtableと呼んでいます。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_ko.html b/beta_82_ko.html new file mode 100644 index 000000000..f8cbf0bbe --- /dev/null +++ b/beta_82_ko.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 객체

+

객체의 인스턴스를 &dyn MyTrait 자료형을 가진 매개변수로 넘길 때, 이를 trait 객체라고 부릅니다.

+

trait 객체는 인스턴스의 올바른 메소드를 간접적으로 호출할 수 있게 해줍니다. +trait 객체는 인스턴스에 대한 포인터와 인스턴스 메소드들에 대한 함수 포인터 목록을 갖고있는 struct입니다.

+

메모리 상세:

+
    +
  • 이런 함수 목록을 C++에서는 vtable이라고 합니다.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_pl.html b/beta_82_pl.html new file mode 100644 index 000000000..ab904cdb9 --- /dev/null +++ b/beta_82_pl.html @@ -0,0 +1,51 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Objects

+

When we pass an instance of an object to a parameter of type &dyn MyTrait we pass what is called a trait object.

+

A trait object is what allows us to indirectly call the correct methods of an instance. A trait object is a struct that holds the pointer of +our instance with a list of function pointers to our instance's methods.

+

Memory details:

+
    +
  • This list of functions is known in C++ as a vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_pt-br.html b/beta_82_pt-br.html new file mode 100644 index 000000000..0e83ad385 --- /dev/null +++ b/beta_82_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Objetos trait

+

Quando passamos uma instância de um objeto para um parâmetro do tipo &dyn MinhaTrait, passamos o que é chamado de objeto trait.

+

Um objeto trait é o que nos permite chamar indiretamente os métodos corretos de uma instância. Um objeto trait é uma estrutura que contém o ponteiro de nossa instância com uma lista de ponteiros de função para os métodos de nossa instância.

+

Detalhes da memória:

+
    +
  • Essa lista de funções é conhecida em C ++ como vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_ro.html b/beta_82_ro.html new file mode 100644 index 000000000..da3c1c338 --- /dev/null +++ b/beta_82_ro.html @@ -0,0 +1,51 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait objects

+

Când pasăm o instanța a unui obiect ca parametru de tipul &dyn TrasaturaMea, pasăm ceea ce se numește obiect al trăsăturii (în engleză trait object).

+

Acestea sunt ceea ce ne permite să apelăm în mod indirect metodele corecte ale unei instanțe. +Un obiect al trăsăturii este o structura ce conține un pointer al instanței noastre, alături de o lista de pointeri la funcții către metodele acesteia.

+

Detalii cu privire la memorie:

+
    +
  • Această lista de funcții este cunoscută în C++ sub denumirea de vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_ru.html b/beta_82_ru.html new file mode 100644 index 000000000..b8e68ed29 --- /dev/null +++ b/beta_82_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Типаж объекты (Trait Objects)

+

Когда мы передаем экземпляр объекта в параметр типа &dyn MyTrait, мы передаем то, что называется типаж объект (trait object).

+

Типаж объект (trait object) - это то, что позволяет нам косвенно вызывать правильные методы экземпляра объекта. Типаж объект - это структура, которая содержит указатель нашего экземпляра со списком указателей функций на методы этого экземпляра.

+

Детали для запоминания:

+
    +
  • Этот список функций известен в языке C++ как vtable (таблица виртуальных методов).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_th.html b/beta_82_th.html new file mode 100644 index 000000000..3dab5864a --- /dev/null +++ b/beta_82_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait Objects

+

เมื่อเราส่งผ่านอินสแตนซ์ของ object ลงไปเป็นพารามิเตอร์ด้วยประเภท &dyn MyTrait หมายถึงเรากำลังส่งวิธีเรียก trait object ลงไป

+

แปลว่า trait object ก็คือวิธีการ ที่จะเรียกเมธอดของอินสแตนซ์ แบบอ้อมๆ ซึ่งความจริง trait object ก็คือ struct ที่ครอบครอง พอยเตอร์ ที่ชี้ไปที่อินสแตนซ์ของเรา กับลิสต์ พอยเตอร์ของฟังก์ชัน ที่ชี้ไปเมธอดของอินสแตนซ์ตัวนั้น

+

รายละเอียดหน่วยความจำ:

+
    +
  • ลิสต์ของฟังก์ชันนี้ในภาษา C++ เรียกว่า vtable
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_tr.html b/beta_82_tr.html new file mode 100644 index 000000000..2c103a020 --- /dev/null +++ b/beta_82_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Özellik Nesneleri

+

Bir nesne örneğini &dyn BirOzellik türündeki bir parametreye ilettiğimizde, özellik nesnesini adını verdiğimiz seyi iletmiş oluruz.

+

O halde bir özellik nesnesi: "Bir örneğin doğru metotlarını, dinamik iletim yoluyla ve dolaylı olarak çağırmamıza izin veren, hem örneğin kendi işaretçisini, hem örneğin işlevlerine yönelik işaretçilerin listesini tutan yapıdır" denilebilir.

+

Bellek ayrıntıları:

+
    +
  • C++' da bu işlevler listesi vtable olarak bilinmektedir.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_ua.html b/beta_82_ua.html new file mode 100644 index 000000000..44c793546 --- /dev/null +++ b/beta_82_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Об'єкти в Traits

+

Коли ми передаємо екземпляр об'єкту в параметр типу `&dyn MyTrait' ми передаємо те, що називається об'єкт-трайтер.

+

Об'єкт-трейт - це те, що дозволяє нам опосередковано викликати коректні методи екземпляру. Об'єкт трейту - це структура, яка містить вказівник на на наш екземпляр зі списком вказівників функцій на методи нашого екземпляру.

+

Деталі роботи за памяттю:

+
    +
  • Цей список функцій відомий у C++ як vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_vi.html b/beta_82_vi.html new file mode 100644 index 000000000..1384d16c6 --- /dev/null +++ b/beta_82_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Đối tượng đặc điểm(trait object)

+

Khi chúng ta truyền một thể hiện(một instance) của một đối tượng cho một tham số kiểu &dyn MyTrait, chúng ta truyền cái được gọi là trait object.

+

Một đối trait object là thứ cho phép chúng ta gián tiếp gọi các phương thức chính xác của một instance.

+

Một đối trait object là một cấu trúc chứa con trỏ của instance của chúng ta với một danh sách các con trỏ hàm(function pointer) đến các phương thức của instance của chúng ta.

+

Chi tiết bộ nhớ:

+
    +
  • Danh sách các hàm này được biết đến trong C ++ dưới dạng một vtable.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_zh-cn.html b/beta_82_zh-cn.html new file mode 100644 index 000000000..4c9ae0357 --- /dev/null +++ b/beta_82_zh-cn.html @@ -0,0 +1,50 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Trait 对象

+

当我们将一个对象的实例传递给类型为 &dyn MyTrait 的参数时,我们传递的是所谓的 trait 对象

+

Trait 对象允许我们间接调用一个实例的正确方法。一个 trait 对象对应一个结构。 它保存着我们实例的指针,并保有一个指向我们实例方法的函数指针列表。

+

内存细节:

+
    +
  • 这个函数列表在 C++ 中被称为 vtable
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_82_zh-tw.html b/beta_82_zh-tw.html new file mode 100644 index 000000000..77f783849 --- /dev/null +++ b/beta_82_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

特徵物件 (trait objects)

+

當我們傳遞一個物件的實體給一個型別為 &dyn MyTrait 當作參數時,我們傳遞的就是特徵物件

+

一個特徵物件允許我們間接正確地呼叫一個實體的方法。一個特徵物件是一個擁有實體指標的結構, 該體實有一個函式指標的列表,這些函式指標指向實體的方法。

+

記憶體細節:

+
    +
  • 這個函式列表在 C++ 稱作 vtable
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_ar.html b/beta_83_ar.html new file mode 100644 index 000000000..c38795c6d --- /dev/null +++ b/beta_83_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التعامل مع البيانات غير المحجمة (Handling Unsized Data)

+

تقدم السمات (Traits) تحديًا مثيرًا للاهتمام عندما نريد تخزينها ضمن هيكل آخر. بحيث تعمل السمات على تشويش الهيكل الأصلي وبالتالي تشوه الحجم الأصلي أيضًا. تتم معالجة القيم غير المحجمة (Unsized values) المخزنة في الهياكل (structs) بطريقتين في رست (Rust):

+
    +
  • التعميم generics - يؤدي استخدام الأنواع عن طريق معلمات إلى إنشاء هياكل/دوال معروفة النوع وبالتالي أحجام معروفة.
  • +
  • المراوغة indirection - يمنحنا وضع المثلاء (instances) في الكومة (heap) مستوى من المراوغة الذي يسمح لنا بعدم القلق بشأن حجم النوع الحالي والإكتفاء بتخزين مؤشر (pointer) له فقط. توجد طرق أخرى أيضا!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_en.html b/beta_83_en.html new file mode 100644 index 000000000..e77c59d0a --- /dev/null +++ b/beta_83_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_es.html b/beta_83_es.html new file mode 100644 index 000000000..bc8271920 --- /dev/null +++ b/beta_83_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manejo de Datos Sin Tamaño (Unsized)

+

Los traits introducen un reto interesante cuando queremos almacenarlos dentro de otra estructura. Estos ofuscan la estructura original y por lo tanto también obstruyen el tamaño original. Los valores sin tamaño (unsized) que se almacenan en las estructuras se manejan de dos maneras en Rust:

+
    +
  • Tipos genéricos - Al usar tipos parametrizados se crean de forma efectiva estructuras/funciones de tipos conocidos y por lo tanto tamaños conocidos.
  • +
  • indirección - Poner instancias en el montículo os da un nivel de indirección que nos permite no tener que preocuparnos por el tamaño del tipo y sólo almacenar un puntero. ¡También hay otras maneras de hacerlo!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_fa.html b/beta_83_fa.html new file mode 100644 index 000000000..9183ebdbb --- /dev/null +++ b/beta_83_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_fr.html b/beta_83_fr.html new file mode 100644 index 000000000..22ba4bf6b --- /dev/null +++ b/beta_83_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gestion de données sans taille

+

Les traits présentent un défi intéressant lorsque nous voulons les stocker +dans une autre structure. Les traits masquent la structure originelle et +notamment sa taille. Avec Rust, les éléments sans taille connue et qui sont +stockées dans une structure sont traitées de deux manières:

+
    +
  • génériques - Le compilateur Rust créer des structures ou des fonctions +dont la taille est connue par l'utilisation de types paramétrés (génériques).
  • +
  • données sur le tas - En mettant l'instance sur le tas et en stockant +uniquement un pointeur vers cette instance. Cela nous donne un niveau +d'indirection nous évitant d'avoir à se soucier de la taille du type. Il +existe également d'autres moyens!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_hu.html b/beta_83_hu.html new file mode 100644 index 000000000..02bcd93be --- /dev/null +++ b/beta_83_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ismeretlen méretű adatok kezelése

+

A trait-ek magukban hordoznak egy érdekes kihívást is azokban az esetekben, amikor egy másik +struct-ban akarjuk tárolni őket. Mivel a trait-ek elrejtik az eredeti struct-ot, így +értelemszerűen annak mérete is elérhetetlenné válik.

+

Az ilyen ismeretlen méretű értékek tárolását a Rust kétféleképp oldja meg:

+
    +
  • generikus értékek használatával - A paraméterezett típusok segítségével egyszerűen tudunk +ismert méretű struct-okat és függvényeket létrehozni.
  • +
  • indirekt tárolás - Ha a példányokat a kupacon tároljuk, az lehetővé teszi számunkra, hogy ne +törődjunk magával az adat méretével, csak a rámutató pointer-ével.
  • +
+

Ezen kívül még vannak módszerek, de ebben az útmutatóban nem kerül szó róluk.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_ie.html b/beta_83_ie.html new file mode 100644 index 000000000..d0950f527 --- /dev/null +++ b/beta_83_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Gerer Data sin Grandore

+

Trates introducte un defí interessant quande noi intente plazzar les in un altri struct. Trates obfusca li original struct +e pro to obfusta anc li grandore original. In Rust on plazza valores sin grandore in structs secun li metodes a sequer:

+
    +
  • génerics - Usante tipes parametrisat on crea conosset tipes de structs/functiones (e pro to con un grandore conosset) con efectivitá.
  • +
  • data sur li heap - Plazzante instanties sur li heap da nos un nivelle de índirection con quel noi ne deve suciar pri li grandore del ver tip - on plazza un puntator e li afere es liquidat.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_it.html b/beta_83_it.html new file mode 100644 index 000000000..3f9dc59b6 --- /dev/null +++ b/beta_83_it.html @@ -0,0 +1,58 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funzioni generiche

+

I generici in Rust lavorano di pari passo con i tratti. Quando descriviamo a tipo parametrizzato "T" possiamo limitare quali tipi +può essere utilizzato come argomento elencando i tratti richiesti dall'argomento strumento.

+

In questo esempio il tipo "T" deve implementare il tratto "Foo":

+
fn mia_funzione<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Utilizzando i generici creiamo funzioni tipizzate statiche in fase di compilazione che lo faranno hanno tipologie e dimensioni conosciute, permettendocelo +eseguire l'invio statico e archiviarlo come valore dimensionato.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_83_ja.html b/beta_83_ja.html new file mode 100644 index 000000000..6ec8ae284 --- /dev/null +++ b/beta_83_ja.html @@ -0,0 +1,51 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

サイズの合わないデータの処理

+

トレイトを別の構造体の中に格納する場合、興味深い問題が発生します。 +トレイトは元の構造体を難読化するため、元のサイズも難読化されます。 +Rustでは、構造体に格納されるサイズの合わない値は、2つの方法で処理されます。

+
    +
  • generics - パラメータ化された型を使用して、既知の型、つまり既知のサイズの構造体/関数を効果的に作成します。
  • +
  • indirection - ヒープ上にインスタンスを置くことで、実際の型のサイズを気にすることなく、単にそのポインタを格納することができるインダイレクトのレベルを得ることができます。 他の方法もあります。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_ko.html b/beta_83_ko.html new file mode 100644 index 000000000..8026c7511 --- /dev/null +++ b/beta_83_ko.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

크기를 알 수 없는 데이터 다루기

+

trait을 다른 struct에 저장하는 것도 흥미로운 도전과제입니다. +trait은 원본 struct를 알기 어렵게 하느라 원래 크기 또한 알기 어렵게 합니다. Rust에서 크기를 알 수 없는 값이 struct에 저장될 때는 다음의 두 가지 방법으로 처리됩니다:

+
    +
  • generics - 매개변수의 자료형을 효과적으로 활용하여 알려진 자료형 및 크기의 struct/함수를 생성합니다.
  • +
  • indirection - 인스턴스를 heap에 올림으로써 실제 자료형의 크기 걱정 없이 그 포인터만 저장할 수 있는 간접적인 방법을 제공합니다. 또 다른 방법도 있습니다!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_pl.html b/beta_83_pl.html new file mode 100644 index 000000000..f7bbf6ff1 --- /dev/null +++ b/beta_83_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Handling Unsized Data

+

Traits introduce an interesting challenge when we want to store them within another struct. Traits obfuscate the original +struct thus it also obfuscates the original size. Unsized values being stored in structs are handled in two ways in Rust:

+
    +
  • generics - Using parameterized types effectively create struct/functions known types and thus known sizes.
  • +
  • indirection - Putting instances on the heap gives us a level of indirection that allow us to not have to worry about the size of the actual type and just store a pointer to it. There are other ways as well!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_pt-br.html b/beta_83_pt-br.html new file mode 100644 index 000000000..f6a67e63c --- /dev/null +++ b/beta_83_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manipulando dados não dimensionados

+

As traits introduzem um desafio interessante quando queremos armazená-las em outra struct. As traits obscurecem a struct original, portanto, também obscurecem o tamanho original. Os valores não dimensionados armazenados em structs são tratados de duas maneiras no Rust:

+
    +
  • generics - usando tipos parametrizados cria efetivamente tipos conhecidos de structs/funções e, portanto, tamanhos conhecidos.
  • +
  • indirection - colocando instâncias no heap fornece um contorno que permite que não nos preocupemos com o tamanho do tipo atual e apenas armazenar um ponteiro nele.
  • +
+

Há outras maneiras também!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_ro.html b/beta_83_ro.html new file mode 100644 index 000000000..f2c5b162c --- /dev/null +++ b/beta_83_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Manevrarea tipurilor de date fără dimensiune fixă

+

Trăsăturile introduc o provocare interesantă când dorim să le stocăm în interiorul altei structuri. +Trăsăturile ascund structura originală, astfel ascunzând și dimensiunea originală. Tipurile de date fără dimensiune fixa sunt manevrate în două moduri în Rust:

+
    +
  • tipuri generice - Folosind tipuri parametrizate creăm structuri/funcții cu tipuri de date generice, a căror dimensiune va fi cunoscută în momentul folosirii lor, când programatorul va specifica un tip de date +efectiv, care va avea și dimensiuni cunoscute.
  • +
  • indirecție - Punerea instanțelor pe heap ne oferă avantajul de a nu fi necesar să cunoaștem dimensiunea tipului de date la compilare, aceasta fiind folosita doar în momentul rulării, când programatorul poate +folosi orice tip de date care se potrivește. Accesarea valorii efective se realizează printr-un pointer (presupune o indirecție), iar acest lucru poate fi considerat un dezavantaj. +Mai există și alte modalități!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_ru.html b/beta_83_ru.html new file mode 100644 index 000000000..3402ccca6 --- /dev/null +++ b/beta_83_ru.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обработка не размерных данных (Unsized Data)

+

Типажи представляют интересную проблему, когда мы хотим сохранить их в другой структуре. Типажи обфусцируют (obfuscate - запутывает) оригинальную структуру, +таким образом это также запутывает ее оригинальный размер. Не размерные значения, хранящиеся в структурах, обрабатываются в Rust двумя способами:

+
    +
  • generics (обобщенные типы) - Использование обощенных типов эффективно создает структуру/функции известных типов и, следовательно, известных размеров
  • +
  • indirection (косвенность) - Размещение экземпляров класса в куче дает нам уровень косвенности, который позволяет нам не беспокоиться о размере фактического типа и просто хранить указатель на него. Есть и другие способы
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_th.html b/beta_83_th.html new file mode 100644 index 000000000..f04ef7eb2 --- /dev/null +++ b/beta_83_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดการข้อมูลที่ไม่รู้ไซส์

+

Traits ทำให้เกิดความยุ่งยากเมื่อเราอยากจะเก็บมันไว้ใน struct ตัวอื่น เพราะว่า Traits ทำให้เรามองเห็น struct ไม่ชัดเจน และความไม่ชัดเจนยังส่งผลไปที่ไซส์อีกด้วย +ตอนที่เราเอา ของที่เราไม่รู้ไซส์ที่แน่นอนนี้ไปใส่ใน struct จะมีวิธีจัดการมัน 2 วิธีคือ:

+
    +
  • generics - โดยใช้ type เป็นพารามิเตอร์ในการสร้าง struct/ฟังก์ชัน เพื่อที่เราจะได้รู้ขนาดที่แน่นอน
  • +
  • indirection - นำอินสแตนซ์ไปไว้ใน heap ซะเลย จะได้ไม่ต้องกังวลว่า ขนาดของ type จริงๆมันจะเป็นเท่าไร เราแค่เก็บพอยเตอร์ชี้ไปที่มันก็พอ นี่เป็นแค่วิธีหนึ่งเท่านั้น
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_tr.html b/beta_83_tr.html new file mode 100644 index 000000000..86072fa25 --- /dev/null +++ b/beta_83_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Boyutlandırılmamış Verilerle Çalışmak

+

Bir özelliği yapı içinde saklamak istediğimizde, asıl yapı ve bu yapının boyutuna dair bilgilerin, özellik tarafından gizlendiği görülür. Özelliklerin karşımıza çıkardığı bu ilginç durum, yani yapılarda saklanan boyutlandırılmamış öğeler iki şekilde ele alınır:

+
    +
  • Genel türler - Genel türler gibi parametreleştirilmiş türlerden faydalanmak, yapı ve işlevleri bilinen tür ve boyutlarıyla, etkin şekilde oluşturmamıza izin verirler.
  • +
  • Dolaylama - Her ne kadar dolaylamanın başka yolları olsa da, örneği öbek üzerine konumlandırmak ve bu örneğe yalnızca bir işaretçi depolamak, tür boyutu hakkında güvenebileceğimiz bir dolaylılık düzeyi sağlar.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_ua.html b/beta_83_ua.html new file mode 100644 index 000000000..ff4a4133d --- /dev/null +++ b/beta_83_ua.html @@ -0,0 +1,50 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обробка нерозмірних даних

+

Трейти створюють цікавий виклик, коли ми хочемо зберігати їх у в іншій структурі. Трейти затушовують оригінальну структуру, +таким чином, вони також приховують оригінальний розмір. Безрозмірні значення, що зберігаються у структурах, у Rust можна обробляти двома способами:

+
    +
  • "узагальнення" - використання параметризованих типів для ефективного створення структур/функцій з відомими типами і, відповідно, відомими розмірами.
  • +
  • "непрямий" - Розміщення екземплярів на купі дає нам рівень непрямої непрямості, що дозволяє нам не турбуватися про розмір фактичного типу і просто зберігати вказівник на нього. Існують і інші способи!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_vi.html b/beta_83_vi.html new file mode 100644 index 000000000..914773909 --- /dev/null +++ b/beta_83_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Xử lý dữ liệu unsized

+

Các đặc điểm giới thiệu một thách thức thú vị khi chúng ta muốn lưu trữ chúng trong một struct khác. Các đặc điểm làm xáo trộn struct ban đầu do đó nó cũng làm xáo trộn kích thước ban đầu. Các giá trị chưa được kích thước(Unsized values) đang được lưu trữ trong struct được xử lý theo hai cách trong Rust:

+
    +
  • generics - Sử dụng các kiểu tham số hóa một cách hiệu quả sẽ tạo ra các kiểu struct/function đã biết và do đó kích thước đã biết.
  • +
  • indirection - Việc đặt các instance trên heap cung cấp cho chúng ta một mức độ định hướng mà cho phép chúng ta không phải lo lắng về kích thước của kiểu thực tế và chỉ cần lưu trữ một con trỏ tới nó. Và thực tế là vẫn còn các cách khác!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_zh-cn.html b/beta_83_zh-cn.html new file mode 100644 index 000000000..f1fac953d --- /dev/null +++ b/beta_83_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

处理未知大小的数据

+

当我们想把 Trait 存储在另一个结构中时,它们亦带来了一个有趣的挑战。 Trait 混淆了原始结构,因此它也混淆了原来的结构体的大小。在 Rust 中,在结构体中存储未知大小的值有两种处理方式。

+
    +
  • 泛型(generics)——使用参数化类型创建已知类型的结构/函数,因此大小变成已知的。
  • +
  • 间接存储(indirection)——将实例放在堆上,给我们提供了一个间接的层次,让我们不必担心实际类型的大小,只需存储一个指向它的指针。不过还有其他方法!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_83_zh-tw.html b/beta_83_zh-tw.html new file mode 100644 index 000000000..31a3ed6bb --- /dev/null +++ b/beta_83_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

處理末知大小的資料 (handling unsized data)

+

當我們想要將它們儲存在另一個結構時,特徵引入了一個有趣的挑戰。 特徵使原本的結構模糊不清,也使得原本的大小不清楚。在 Rust 裡,未知大小的數值被這兩種方式處理:

+
    +
  • 泛型 (generics) - 使用參數化的型別,有效率地產生結構及函式這種已知型別,也因此能知道大小
  • +
  • 間接 (indirection) - 將實體放在堆 (heap) 上,我們就能間接使用它們而不需要擔心實際大小, 只要儲存它的指標就好。而我們還是有其他方式的!
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_84_ar.html b/beta_84_ar.html new file mode 100644 index 000000000..15c05e7e8 --- /dev/null +++ b/beta_84_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الدوال المعممة (Generic Functions)

+

التعميم (generics) في رست (Rust) يعمل جنبًا إلى جنب مع السمات (Traits). عندما نصف نوعًا عن طريق معلمة T، يمكننا تقييد الأنواع التي يمكن استخدامها كوسيطة (argument) من خلال سرد السمات المطلوبة التي يجب على الوسيطة تنفيذها.

+

في هذا المثال، يجب على النوع T تنفيذ السمة Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

باستخدام التعميم(generics)، نقوم بإنشاء دوال مكتوبة ساكنة (static typed functions) في وقت الترجمة (compile time) والتي سيكون لها أنواع وأحجام معروفة، مما يسمح لنا بإجراء إرسال ساكن (static dispatch) والتخزين كقيمة ذات حجم.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_en.html b/beta_84_en.html new file mode 100644 index 000000000..ed20c5701 --- /dev/null +++ b/beta_84_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_es.html b/beta_84_es.html new file mode 100644 index 000000000..3f1f00c82 --- /dev/null +++ b/beta_84_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funciones Genéricas

+

Los genéricos y los traits trabajan codo con codo en Rust. Cuando describimos un tipo parametrizado T podemos restringir qué tipos pueden se pueden usar como argumento listando los traits requeridos que debe implementar el argumento. +En este ejemplo, el tipo T debe implementar el trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Al crear una función estática, el sistema sabrá de antemano cuanta memoria reservar para esta acción, la cual quedará almacenada en un espacio con el tamaño adecuado y no lo resolverá de forma dinámica.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_fa.html b/beta_84_fa.html new file mode 100644 index 000000000..db3e2dba8 --- /dev/null +++ b/beta_84_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_fr.html b/beta_84_fr.html new file mode 100644 index 000000000..feeabe1e0 --- /dev/null +++ b/beta_84_fr.html @@ -0,0 +1,62 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fonctions géneriques

+

Avec Rust les génériques vont de pair avec les traits. Lorsqu'un paramètre +de fonction est un type paramétré T, le compilateur contraint les types qui +peuvent être utilisés comme argument de la fonction. Le mot-clé where permet +de lister les traits que l'argument doit implémenter.

+

Dans cet exemple, le type T doit implémenter le traitFoo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

En utilisant des génériques, nous créons des fonctions statiquement typées +au moment de la compilation dont le type et la taille seront connus. Cela +nous permet d'effectuer un dispatch statique et de stocker des valeurs dont +la taille est connue.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_hu.html b/beta_84_hu.html new file mode 100644 index 000000000..b8c736489 --- /dev/null +++ b/beta_84_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generikus függvények

+

A Rust generikus függvényei kéz a kézben járnak a trait-ekkel. Például egy paraméterezett T +típus esetén meghatározhatjuk, hogy mely típusok is illhetnek T helyére, az által, hogy +felsorolunk traiteket, amiket az adott típusparaméternek meg kell valósítania (trait-megkötés).

+

Az alábbi példában T-nek meg kell valósítania a Foo trait-et:

+
fn my_function<T>(foo: T)
+
+where
+    T: Foo
+{
+    ...
+}
+
+

A generikus függvények használatával olyan típusos függvényeket tudunk létrehozni, amik mérete +és típusa már a fordítás idején ismert, így ezeken lehetővé válik a statikus meghívás és +ismert-méretű értékekként lehet őket tárolni.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_ie.html b/beta_84_ie.html new file mode 100644 index 000000000..6464e532e --- /dev/null +++ b/beta_84_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Functiones Géneric

+

Génerics in Rust labora manu a manu con trates. Quande noi descri un parametrisat tip T noi posse limitar li tipes queles +posse esser usat quam argument per un inlistation del trates queles li argument deve implementar.

+

In ti-ci exemple, li tip T deve implementar li trate Foo:

+
fn mi_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Usante génerics noi posse crear functiones static tipat durant li compilation con conosset tipes e grandores, con quel noi posse +usar dispatch static e plazzar les quam valores con grandores conosset.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_it.html b/beta_84_it.html new file mode 100644 index 000000000..bb34b4008 --- /dev/null +++ b/beta_84_it.html @@ -0,0 +1,56 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abbreviazione di funzioni generiche

+

Rust ha una scorciatoia per esprimere i generici vincolati da un tratto: +rust fn mia_funzione(foo: impl Foo) { + ... +} +Ciò equivale a scrivere: +rust fn mia_funzione<T>(foo: T) where + T:Foo +{ + ... +}

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_ja.html b/beta_84_ja.html new file mode 100644 index 000000000..44ff592c0 --- /dev/null +++ b/beta_84_ja.html @@ -0,0 +1,56 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ジェネリック関数

+

Rustのジェネリクスは、トレイトと密接に連携しています。パラメータ化された型 T を記述するとき、引数に実装しなければならない必須のトレイトを列挙することで、引数として使用できる型を制限することができます。

+

この例では、型 T はトレイト Foo を実装していなければなりません。

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

ジェネリクスを使うことで、コンパイル時に型とサイズが既知の静的型付け関数を作成し、静的ディスパッチとサイズ付きの値としての保存を可能にします。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_ko.html b/beta_84_ko.html new file mode 100644 index 000000000..ae6506c98 --- /dev/null +++ b/beta_84_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic 함수

+

Rust의 generic은 trait과 함께 작동합니다. 매개변수 자료형 T를 정의할 때 해당 인자가 어떤 trait을 구현해야 하는지 나열함으로써 +인자에 어떤 자료형을 쓸 수 있는지 제한할 수 있습니다.

+

아래 예제에서 T 자료형은 Foo trait을 반드시 구현해야 합니다:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

generic을 이용하면 컴파일 시 자료형과 크기를 알 수 있는 정적 자료형의 함수가 만들어지며, +따라서 정적 디스패치와 함께 크기가 정해진 값으로 저장할 수 있게 됩니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_pl.html b/beta_84_pl.html new file mode 100644 index 000000000..70493b977 --- /dev/null +++ b/beta_84_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Functions

+

Generics in Rust work hand in hand with traits. When we describe a parameterized type T we can constrain what types +can be used as an argument by listing what required traits the argument must implement.

+

In this example type T must implement trait Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

By using generics we create static typed functions at compile time that will have known types and sizes, allowing us to +perform static dispatch and store as a sized value.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_pt-br.html b/beta_84_pt-br.html new file mode 100644 index 000000000..97fbea293 --- /dev/null +++ b/beta_84_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funções genéricas

+

Os genéricos no Rust trabalham lado a lado com as traits. Quando descrevemos um tipo parametrizado T, podemos restringir quais tipos podem ser usados como argumento listando as traits necessárias que o argumento deve implementar.

+

Neste exemplo o tipo T deve implementar a trait Foo:

+
fn minha_funcao<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Usando genéricos criamos funções tipadas estáticas em tempo de compilação que terão tipos e tamanhos conhecidos, permitindo executar dispatchs estáticos e armazená-lo como um valor dimensionado.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_ro.html b/beta_84_ro.html new file mode 100644 index 000000000..afa10ec7e --- /dev/null +++ b/beta_84_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Funcții generice

+

Tipurile generice în Rust funcționează mâna în mâna cu trăsăturile. Când descriem un tip parametrizat T, putem constrânge ce tipuri pot fi folosite ca argumente, +listând trăsăturile necesare (în engleză „trait bound”) pe care argumentul trebuie să le implementeze.

+

În acest exemplu, tipul T trebuie să implementeze trăsătură Foo:

+
fn functia_mea<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Folosind tipurile generice, creăm șabloane de funcții care au tipuri de date ce vor fi înlocuite la momentul compilării cu tipuri de date cunoscute, permițându-ne să utilizăm apelarea statică.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_ru.html b/beta_84_ru.html new file mode 100644 index 000000000..2c47e167f --- /dev/null +++ b/beta_84_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обобщенные функции (Generic Functions)

+

Обобщенные типы (generics) в Rust работают рука об руку с типажами. Когда мы описываем обобщенный тип T, мы можем ограничить, какие типы можно использовать в качестве аргумента, перечисляя какие обязательные типажи должен реализовывать данный обобщенный аргумент.

+

В данном примере тип T должен реализовывать типаж Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Используя обобщенный тип (generics), мы создаем статические типизированные функции во время компиляции, которые будут иметь известные типы и размер, что позволяет нам выполнять статическую диспетчеризацию вызова и сохранять (функцию) в виде значения известного размера.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_th.html b/beta_84_th.html new file mode 100644 index 000000000..0ad432b75 --- /dev/null +++ b/beta_84_th.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Functions

+

Generics ใน Rust ทำงานประสานกับ traits เมื่อเราประกาศพารามิเตอร์ type T เราสามารถระบุว่า type ไหนที่สามารถใช้เป็นอาร์กิวเมนต์ได้บ้าง ด้วยการลิสต์รายการ ว่าเราอยากได้อาร์กิวเมนต์ที่อิมพลีเมนต์ traits ใดบ้าง

+

จากตัวอย่างนี้ type T ต้องอิมพลีเมนต์ ตาม trait Foo

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

ด้วยการใช้ generics ทำให้เราสามารถสร้าง static typed functions ได้ตอน compile time เราจึงสามารถรู้ type และขนาดของมัน และสามารถทำ static dispatch และเก็บ ขนาดของมันได้

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_tr.html b/beta_84_tr.html new file mode 100644 index 000000000..bd4ce2357 --- /dev/null +++ b/beta_84_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Genel İşlevler

+

Rust'ta özellikler ve genel türler birbirleriyle uyum içinde çalışırlar. Bir T türünü parametrelerle ifade etmeye çalıştığımızda, argüman olarak hangi türlerin kullanılabileceğini ve argümanın uygulaması gereken özellikleri sınırlayabiliriz. Böyle bir durumda, where anahtar sözcüğü argümanın uygulaması gereken özellikleri listeler.

+

Aşağıdaki örnekte yer alan T türü, Tur özelliğini uygulamak zorundadır:

+
fn bir_islev<T>(tur: T)
+where
+    T:Tur
+{
+    ...
+}
+
+

Genel türler kullanarak hem türü hem de boyutu bilinen ve derleme zamanında statik yazılmış gibi değerlendirilecek işlevler oluşturabilir, bunları statik iletim yoluyla, boyutları belirgin değerler olarak saklayabiliriz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_ua.html b/beta_84_ua.html new file mode 100644 index 000000000..96ec391d1 --- /dev/null +++ b/beta_84_ua.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Узагальнені функції

+

Узагальнені типи (generics) у Rust працюють пліч-о-пліч із трейтами. Коли ми описуємо узагальнений тип T, ми можемо обмежити, які типи можна використовувати як аргумент, перераховуючи які обов'язкові трейти повинні реалізовувати даний узагальнений аргумент.

+

У цьому прикладі тип T має реалізовувати трейт Foo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Використовуючи узагальнений тип (generics), ми створюємо статичні типізовані функції під час компіляції, які матимуть відомі типи та розмір, що дозволяє нам виконувати статичну диспетчеризацію виклику і зберігати (функцію) у вигляді значення відомого розміру.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_vi.html b/beta_84_vi.html new file mode 100644 index 000000000..58bf95874 --- /dev/null +++ b/beta_84_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hàm Generic

+

Generics trong Rust có tác dụng với các đặc điểm. Khi chúng ta mô tả một kiểu tham số hóa T, chúng ta có thể hạn chế những kiểu nào có thể được sử dụng làm đối số bằng cách liệt kê những đặc điểm bắt buộc mà đối số phải triển khai.

+

Trong ví dụ này, kiểu T phải triển khai đặc điểmFoo:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

Bằng cách sử dụng generic, chúng ta tạo ra các hàm được định kiểu tĩnh tại thời điểm biên dịch mà sẽ có các loại và kích thước đã biết, cho phép chúng ta thực hiện điều phối tĩnh và lưu trữ dưới dạng giá trị có kích thước(sized value).

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_zh-cn.html b/beta_84_zh-cn.html new file mode 100644 index 000000000..91eea8cb1 --- /dev/null +++ b/beta_84_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型函数

+

Rust中的泛型与 Trait 是相辅相成的。 当我们描述一个参数化类型 T 时,我们可以通过列出参数必须实现的 Trait 来限制哪些类型可以作为参数使用。

+

在以下例子中,类型 T 必须实现 Foo 这个 Trait:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

通过使用泛型,我们在编译时创建静态类型的函数,这些函数有已知的类型和大小,允许我们对其执行静态调度,并存储为有已知大小的值。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_84_zh-tw.html b/beta_84_zh-tw.html new file mode 100644 index 000000000..3a4054fd5 --- /dev/null +++ b/beta_84_zh-tw.html @@ -0,0 +1,56 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型函式 (generic functions)

+

在 Rust 裡,泛型與特徵攜手合作。當我們描述一個參數的型別 T 時, 我們可以藉由列出特徵來限制該型別一定要實作這些特徵。

+

在這個例子裡,型別 T 一定要實作特徵 Foo

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+

藉由使用泛型,我們能產生靜態型別,如此在編譯期間就能知道型別及大小, 允許我們使用靜態發送,並且將它以已知大小的數值儲存起來。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_ar.html b/beta_85_ar.html new file mode 100644 index 000000000..64c4c3e0f --- /dev/null +++ b/beta_85_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

دالة معممة مختصرة (Generic Function Shorthand)

+

يحتوي رست (Rust) على اختصار للتعبير عن التعميم المقيد بسمة ما:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

وهذا يعادل الكتابة كما يلي:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_en.html b/beta_85_en.html new file mode 100644 index 000000000..1f6ff1ca8 --- /dev/null +++ b/beta_85_en.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_es.html b/beta_85_es.html new file mode 100644 index 000000000..3d05f09f0 --- /dev/null +++ b/beta_85_es.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Función Genérica Abreviada

+

Rust tiene una forma abreviada para expresar genéricos limitados por un trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Esto equivale a escribir:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_fa.html b/beta_85_fa.html new file mode 100644 index 000000000..404dd39a6 --- /dev/null +++ b/beta_85_fa.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_fr.html b/beta_85_fr.html new file mode 100644 index 000000000..1b2f99ec3 --- /dev/null +++ b/beta_85_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Fonctions génériques condensées

+

Rust possède un raccourci pour exprimer les génériques contraintes par +un trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Cela équivaut à écrire:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_hu.html b/beta_85_hu.html new file mode 100644 index 000000000..37bd58ec1 --- /dev/null +++ b/beta_85_hu.html @@ -0,0 +1,59 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A generikus függvények rövidebb írásmódja

+

Az előzőleg tárgyalt generikus függvényeket rövidebb módon is le lehet írni:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Ez ugyanazt teszi, mintha a következőt írnánk:

+
fn my_function<T>(foo: T)
+where
+    T: Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_ie.html b/beta_85_ie.html new file mode 100644 index 000000000..305678326 --- /dev/null +++ b/beta_85_ie.html @@ -0,0 +1,59 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Abreviation de Functiones Géneric

+

In Rust on posse abreviar li expression de génerics limitat per un trate:

+
fn mi_function(foo: impl Foo) {
+    ...
+}
+
+

equivale scrir:

+
fn miFunction<T>(foo: T)
+where
+    T: Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_it.html b/beta_85_it.html new file mode 100644 index 000000000..224c2a188 --- /dev/null +++ b/beta_85_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box è una struttura dati che ci consente di spostare i nostri dati dallo stack a il mucchio.

+

Box è una struttura conosciuta come puntatore intelligente che contiene il puntatore a our dati nell'heap.

+

Poiché Box è una struttura con una dimensione nota (perché contiene solo un file puntatore), lo è +spesso usato come modo per memorizzare un riferimento a qualcosa in una struttura che deve conoscere la dimensione +dei suoi campi.

+

Box è così comune che può essere utilizzato ovunque:

+
Casella::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_ja.html b/beta_85_ja.html new file mode 100644 index 000000000..fe9749ad8 --- /dev/null +++ b/beta_85_ja.html @@ -0,0 +1,59 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ジェネリクス関数の省略記法

+

Rustには、トレイトに制約されたジェネリクスを表現するための略記法があります。

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

上記の記法は下記のものと同等です。

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_ko.html b/beta_85_ko.html new file mode 100644 index 000000000..9aa427458 --- /dev/null +++ b/beta_85_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic 함수 줄여쓰기

+

trait으로 제한한 generic은 다음과 같이 줄여쓸 수 있습니다:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

이는 다음과 동일한 의미입니다:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_pl.html b/beta_85_pl.html new file mode 100644 index 000000000..ff0e4d433 --- /dev/null +++ b/beta_85_pl.html @@ -0,0 +1,59 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Function Shorthand

+

Rust has a shorthand for expressing generics constrained by a trait:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

This is equivalent to writing:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_pt-br.html b/beta_85_pt-br.html new file mode 100644 index 000000000..3299cb411 --- /dev/null +++ b/beta_85_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Função genérica abreviada

+

O Rust possui uma abreviação para expressar genéricos restritos por uma trait:

+
fn minha_funcao(foo: impl Foo) {
+    ...
+}
+
+

Isso é equivalente a escrever:

+
fn minha_funcao<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_ro.html b/beta_85_ro.html new file mode 100644 index 000000000..abee7b972 --- /dev/null +++ b/beta_85_ro.html @@ -0,0 +1,59 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Prescurtare a funcțiilor generice

+

Rust are o prescurtare pentru exprimarea tipurilor generice constrânse de o trăsătură:

+
fn functia_mea(foo: impl Foo) {
+    ...
+}
+
+

Este echivalent cu a scrie:

+
fn functia_mea<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_ru.html b/beta_85_ru.html new file mode 100644 index 000000000..0151cebd8 --- /dev/null +++ b/beta_85_ru.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Сокращение в обобщенной функции (Generic Function Shorthand)

+

В Rust есть сокращение для записи факта того, что обобщенный тип ограничен каким-то типажом:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Что эквивалентно записи:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_th.html b/beta_85_th.html new file mode 100644 index 000000000..1835a0c3c --- /dev/null +++ b/beta_85_th.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Function แบบย่อ

+

Rust ย่อรูปแบบการประกาศ generics ที่กำหนด trait ได้แบบนี้:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

ซึ่งจะเหมือนกับการเขียแบบนี้:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_tr.html b/beta_85_tr.html new file mode 100644 index 000000000..80806fa49 --- /dev/null +++ b/beta_85_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Genel İşlev Kısaltmaları

+

Bir özellik tarafından kısıtlanmış genel türleri kısaltmalar kullanarak bildirebilirsiniz:

+
fn bir_islev(tur: impl Tur) {
+    ...
+}
+
+

Yukarıdaki ifadenin eşdeğeridir:

+
fn bir_islev<T>(tur: T)
+where
+    T:Tur
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_ua.html b/beta_85_ua.html new file mode 100644 index 000000000..edb85b25d --- /dev/null +++ b/beta_85_ua.html @@ -0,0 +1,59 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Скорочення в узагальнених функціях

+

У Rust є скорочення для запису факту того, що узагальнений тип обмежений якимось трейтом:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Що еквівалентно запису:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_vi.html b/beta_85_vi.html new file mode 100644 index 000000000..e6a654961 --- /dev/null +++ b/beta_85_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tốc ký hàm generic

+

Rust có một cách viết tắt để diễn đạt các số liệu generic bị hạn chế bởi một đặc điểm:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

Điều này tương đương với việc viết:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_zh-cn.html b/beta_85_zh-cn.html new file mode 100644 index 000000000..6d00362f1 --- /dev/null +++ b/beta_85_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型函数简写

+

Rust 为由 Trait 限制的泛型函数提供了简写形式:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

这段代码等价于:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_85_zh-tw.html b/beta_85_zh-tw.html new file mode 100644 index 000000000..0863d8b93 --- /dev/null +++ b/beta_85_zh-tw.html @@ -0,0 +1,59 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

泛型函式簡寫 (generic function shorthand)

+

Rust 有一個簡寫可以用來表示一個被特徵限制的泛型:

+
fn my_function(foo: impl Foo) {
+    ...
+}
+
+

這等價於:

+
fn my_function<T>(foo: T)
+where
+    T:Foo
+{
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_ar.html b/beta_86_ar.html new file mode 100644 index 000000000..a81570896 --- /dev/null +++ b/beta_86_ar.html @@ -0,0 +1,52 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

العلبة (Box)

+

Box عبارة عن هيكل بيانات (data structure) يسمح لنا بنقل بياناتنا من المكدس (stack) إلى الكومة (heap).

+

Box عبارة عن هيكل (struct) يعرف باسم المؤشر الذكي (smart pointer) الذي يحمل مؤشر (pointer) إلى بياناتنا الموجودة في الكومة (heap).

+

نظرًا لأن Box عبارة عن هيكل (struct) ذو حجم معروف (لأنه يحتوي فقط على مؤشر pointer)، فغالبًا ما يتم استخدامه كطريقة لتخزين مرجع (reference) إلى شيء ما في هيكل يجب أن تكون حقوله معروفة الحجم.

+

يعد Box شائعًا جدًا ويمكن استخدامه من أي مكان:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_en.html b/beta_86_en.html new file mode 100644 index 000000000..64b7b89ee --- /dev/null +++ b/beta_86_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_es.html b/beta_86_es.html new file mode 100644 index 000000000..d1d905a1a --- /dev/null +++ b/beta_86_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box es una estructura de datos que nos permite mover nuestros datos de la pila (stack) al montículo (heap).

+

Box es una estructura conocida como un puntero inteligente (smart pointer) que almacena un puntero a nuestros datos en el montículo.

+

Debido a que Box es una estructura con un tamaño conocido (porque sólo contiene un puntero), a menudo se utiliza como una forma de almacenar una referencia a algo en una estructura que debe conocer el tamaño de sus campos.

+

Box es tan común que se puede usar desde cualquier lugar:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_fa.html b/beta_86_fa.html new file mode 100644 index 000000000..98a1b799f --- /dev/null +++ b/beta_86_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_fr.html b/beta_86_fr.html new file mode 100644 index 000000000..aea0b2b21 --- /dev/null +++ b/beta_86_fr.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box est une structure de données qui permet de déplacer les données +de la pile vers le tas.

+

Box est également appelé pointeur intelligent (en anglais smart +pointer) qui contient un pointeur vers des données sur le tas.

+

Box étant de taille connue (la taille du pointeur), on l'utilise +souvent comme un moyen de stocker une référence dans une structure +lorsque cette dernière doit connaître la taille de certains éléments.

+

Box est très souvent utilisé et on le fait de cette manière:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_hu.html b/beta_86_hu.html new file mode 100644 index 000000000..5084766e2 --- /dev/null +++ b/beta_86_hu.html @@ -0,0 +1,55 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box - Doboz

+

A Box vagyis Doboz olyan adatstruktúra, aminek segítségével egy értéket a veremből a kupacra +helyezhetünk.

+

A adatstruktúra valójában nem más mint egy smart pointer ("okos mutató"-nak) nevezett struct, +ami a kupacon elhelyezett adatainkra mutat. Mivel ennek a mérete ismert (a pointer-ek mérete +meghatározott), így általában olyan más adatokra is mutató structokban használjuk, ahol fontos +az előre meghatározott méret.

+

A Box olyan gyakori, hogy bárhol használhatjuk:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_ie.html b/beta_86_ie.html new file mode 100644 index 000000000..94cc7743d --- /dev/null +++ b/beta_86_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Buxe

+

Un buxe (Box) es un structura de data quel auxilia nos transferer nor data del stack al heap.

+

Box es un struct conosset quam un smart pointer (puntator inteligent) quel tene li puntator a nor data sur li heap.

+

Nam Box es un struct con grandore conosset (nam it tene solmen un puntator), on usa it sovente +por plazzar un referentie a alquo in un struct quel deve conosser li grandore de su campes.

+

Box es tam frequentmen usat que on posse usar it omniloc:

+
Box::new(Foo { ...})
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_it.html b/beta_86_it.html new file mode 100644 index 000000000..ecaa94be0 --- /dev/null +++ b/beta_86_it.html @@ -0,0 +1,60 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Strutture generiche rivisitate

+

Le strutture generiche possono anche avere i propri tipi parametrizzati vincolati da tratti.

+
struct MiaStruttura<T>
+where
+    T: MiaCaratteristica
+{
+    foo: T
+    ...
+}
+
+

Le strutture generiche hanno il loro tipo parametrizzato nella loro implementazione blocchi:

+
impl<T: MiaCaratteristica> MiaStruttura<T> {
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_ja.html b/beta_86_ja.html new file mode 100644 index 000000000..8d528ad8c --- /dev/null +++ b/beta_86_ja.html @@ -0,0 +1,52 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ボックス

+

Box は、データをスタックからヒープに移動させるためのデータ構造です。

+

Box はスマートポインタと呼ばれる構造体で、ヒープ上のデータへのポインタを保持します。

+

Box はサイズが既知の構造体であるため(ポインタを保持しているだけなので)、 フィールドのサイズを知っていなければならない構造体の中で、何かの参照を格納する方法としてよく使われます。

+

Box は一般的なものなので、どこからでも使うことができます。

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_ko.html b/beta_86_ko.html new file mode 100644 index 000000000..fffcfcfe4 --- /dev/null +++ b/beta_86_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box는 stack에 있는 데이터를 heap으로 옮길 수 있게 해주는 데이터 구조입니다.

+

Boxsmart pointer로도 알려진 struct이며 heap에 있는 데이터를 가리키는 포인터를 들고 있습니다.

+

Box는 크기가 알려져 있는 struct이므로 (왜냐하면 그저 포인터만 들고 있으므로) +field의 크기를 알아야 하는 struct에 뭔가의 참조를 저장할 때 종종 사용됩니다.

+

Box는 어디서나 사용될 정도로 흔합니다:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_pl.html b/beta_86_pl.html new file mode 100644 index 000000000..d55bbc3c3 --- /dev/null +++ b/beta_86_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box is a data structure that allows us to move our data from the stack to the heap.

+

Box is a struct known as a smart pointer that holds the pointer to our data on the heap.

+

Because Box is a struct with a known size (because it just holds a pointer), it is +often used as a way to store a reference to something in a struct that must know the size +of its fields.

+

Box is so common it can be used from anywhere:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_pt-br.html b/beta_86_pt-br.html new file mode 100644 index 000000000..ff92b9dd4 --- /dev/null +++ b/beta_86_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box é uma estrutura de dados que nos permite mover nossos dados da stack para a heap.

+

Box é uma estrutura conhecida como ponteiro inteligente que contém o ponteiro dos nossos dados na heap.

+

Como o Box é uma struct com tamanho conhecido (porque apenas contém um ponteiro), é frequentemente usada como uma maneira de armazenar uma referência a algo em uma struct que deve saber o tamanho de seus campos.

+

O Box é tão comum que pode ser usado de qualquer lugar:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_ro.html b/beta_86_ro.html new file mode 100644 index 000000000..780f8050b --- /dev/null +++ b/beta_86_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box este o structura de date ce ne permite să mutăm date de pe stivă în heap.

+

Box este o structura cunoscută sub denumirea de smart pointer, ce conține pointerul către datele noastre în heap.

+

Deoarece Box este o structură de dimensiune cunoscută (conține doar un pointer), este adesea folosit atunci când o structură trebuie să cunoască dimensiunea câmpurilor sale. Astfel, în interiorul structurii, +vom stoca o referință prin intermediul lui Box.

+

Box este atât de comun încât poate fi utilizat de oriunde:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_ru.html b/beta_86_ru.html new file mode 100644 index 000000000..a87652a8d --- /dev/null +++ b/beta_86_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Тип умного указателя Box

+

Box - это структура данных, которая позволяет нам размешать, перемещать наши данные из стека в кучу.

+

Box - это структура, известная как smart pointer (умный указатель), который содержит указатель на наши данные хранящиеся в куче.

+

Поскольку Box является структурой с известным размером (поскольку он просто содержит указатель), то он часто используется как способ хранения ссылки на что-то в структуре, которая должна иметь известные размеры ее полей.

+

Тип Box является настолько общим, что может использоваться почти в любом месте:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_th.html b/beta_86_th.html new file mode 100644 index 000000000..332166abf --- /dev/null +++ b/beta_86_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box เป็นโครงสร้างข้อมูลที่ยอมให้เราย้ายข้อมูลจาก stack ไปไว้ใน heap ได้

+

Box คือโครงสร้างที่รู้จักกันในอีกชื่อว่า smart pointer เพราะว่ามันครอบครองพอยเตอร์ ที่ชี้ไปยังข้อมูลของเราใน heap

+

และด้วยเหตุที่ Box เป็น struct ที่เรารู้ขนาดแน่นอน (เพราะว่ามันแค่ถือครองพอยเตอร์) มันจึงเป็นตัวเลือกที่ถูกนำมาใช้บ่อยๆ เพื่อเก็บการอ้างอิงไปยังของชิ้นอื่นใน struct เมื่อต้องการขนาดของฟิลด์ที่แน่นอน

+

โดยปกติ Box สามารถใช้ได้จากทุกที่:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_tr.html b/beta_86_tr.html new file mode 100644 index 000000000..ea239f5f3 --- /dev/null +++ b/beta_86_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Dilimize Kutu olarak çevirebileceğimiz Box, verilerimizi belleğin yığın bölgesinden öbek bölgesine taşımamıza izin veren bir veri yapısı olup, öbek üzerinde tutulan verileri gösteren bir akıllı işaretçi olarak da bilinir.

+

Box sadece bir işaretçi tuttuğundan, boyutu bilinen bir yapıdır ve genellikle alan boyutlarını bilen yapıya referans vermek amacıyla kullanılmaktadır.

+

Box Rust programlarında oldukça fazla tercih edilmekte ve neredeyse her yerde kullanılmaktadır:

+
Box::new(Tur { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_ua.html b/beta_86_ua.html new file mode 100644 index 000000000..d429535ed --- /dev/null +++ b/beta_86_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box - це структура даних, яка дозволяє нам розміщувати, переміщати наші дані зі стека в купу.

+

Box - це структура, відома як smart pointer (розумний покажчик), який містить покажчик на наші дані що зберігаються в купі.

+

Оскільки Box є структурою з відомим розміром (оскільки він просто містить покажчик), то він часто використовується як спосіб зберігання посилання на щось у структурі, яка повинна мати відомі розміри її полів.

+

Тип Box є настільки загальним, що може використовуватися майже в будь-якому місці:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_vi.html b/beta_86_vi.html new file mode 100644 index 000000000..8be498089 --- /dev/null +++ b/beta_86_vi.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box là một cấu trúc dữ liệu cho phép chúng ta di chuyển dữ liệu của mình từ stack sang heap.

+

Box là một struct được gọi là smart pointer(con trỏ thông minh) mà sẽ giữ con trỏ tới dữ liệu của chúng ta trên heap.

+

Bởi vì Box là một struct với kích thước đã biết (vì nó chỉ chứa một con trỏ), nó thường được sử dụng như một cách để lưu trữ một tham chiếu đến một cái gì đó trong một cấu trúc mà phải biết kích thước các trường của nó.

+

Box rất phổ biến, nó có thể được sử dụng ở mọi nơi:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_zh-cn.html b/beta_86_zh-cn.html new file mode 100644 index 000000000..372368453 --- /dev/null +++ b/beta_86_zh-cn.html @@ -0,0 +1,52 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box 是一个允许我们将数据从栈上移到堆上的数据结构。

+

Box 是一个被称为智能指针的结构,它持有指向我们在堆上的数据的指针。

+

由于 Box 是一个已知大小的结构体(因为它只是持有一个指针), 因此它经常被用在一个必须知道其字段大小的结构体中存储对某个目标的引用。

+

Box 非常常见,它几乎可以被用在任何地方:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_86_zh-tw.html b/beta_86_zh-tw.html new file mode 100644 index 000000000..0cea71f08 --- /dev/null +++ b/beta_86_zh-tw.html @@ -0,0 +1,52 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Box

+

Box 是一種資料結構,允許我們將資料從堆疊 (stack) 搬到推 (heap) 上。

+

Box 是一種結構,也被稱為智慧指標 (smart pointer),它擁有指向在堆上的資料的指標。

+

因為 Box 是一個已經大小的結構 (因為它只擁有一個指標),所以當我們一定要知道某個結構的欄位大小時, 它就常常被用到。

+

Box 非常常見,它可以被用在任何地方:

+
Box::new(Foo { ... })
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_87_ar.html b/beta_87_ar.html new file mode 100644 index 000000000..5d9cb0796 --- /dev/null +++ b/beta_87_ar.html @@ -0,0 +1,58 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مراجعة للهياكل المعممة (Generic Structs Revisited)

+

الهياكل المعممة يمكنها أيضًا أن تملك أنواع عن طريق معلمات (parameterized types) مقيدة بسمات.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

الهياكل المعممة لها نوع عن طريق معلمات خاص بها في كتلة التنفيذها (implementation blocks):

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_en.html b/beta_87_en.html new file mode 100644 index 000000000..2ce81f196 --- /dev/null +++ b/beta_87_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_es.html b/beta_87_es.html new file mode 100644 index 000000000..75d63ebdc --- /dev/null +++ b/beta_87_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Repaso de Estructuras Genéricas

+

Las estructuras genéricas también pueden tener sus tipos parametrizados restringidos por traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Las estructuras genéricas tienen su tipo parametrizado en sus bloques de implementación:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_fa.html b/beta_87_fa.html new file mode 100644 index 000000000..5949704f9 --- /dev/null +++ b/beta_87_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_fr.html b/beta_87_fr.html new file mode 100644 index 000000000..19255d2df --- /dev/null +++ b/beta_87_fr.html @@ -0,0 +1,61 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structures génériques revisitées

+

Les types d'une structure générique peuvent également être contraints par des +traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Quant à la définition des méthodes d'une structure paramétrée, celle-ci +est faite de la manière suivante (le type paramétré peut être utilisé +dans le bloc d'implémentation):

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_hu.html b/beta_87_hu.html new file mode 100644 index 000000000..766cc1f99 --- /dev/null +++ b/beta_87_hu.html @@ -0,0 +1,60 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Visszatekintés a generikus struct-okra

+

A generikus struct-ok szintén rendelkezhetnek olyan típusparaméterekkel, melyeknek meghatározott +trait-eket meg kell valósítaniuk (trait-megkötés).

+
struct MyStruct<T>
+
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

A generikus struct-ok típusparaméterei az implementációs blokkban is megjelennek:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_ie.html b/beta_87_ie.html new file mode 100644 index 000000000..cf7cb2d77 --- /dev/null +++ b/beta_87_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Un Revisitation al Structs Géneric

+

Anc structs géneric posse usar trates por limitar lor tipes parametrisat.

+
struct MiStruct<T>
+where
+    T: MiTrate
+{
+    foo: T
+    ...
+}
+
+

Struct-metodes e implementat trate-metodes por géneric structs have li parametrisat tip del struct sur li clave-parol impl:

+
impl<T> MiStruct<T> {
+    ...
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_87_it.html b/beta_87_it.html new file mode 100644 index 000000000..d4709f821 --- /dev/null +++ b/beta_87_it.html @@ -0,0 +1,54 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 7 - Conclusione

+

Ora abbiamo più funzionalità linguistiche a portata di mano per rappresentare chiaramente le nostre idee! +Le astrazioni di Rust potrebbero essere semplici ma sono abbastanza potenti da essere realizzate +lavorare con il codice è una gioia. In questo capitolo abbiamo intravisto il concetto di smart puntatori +con "Scatola". Nel prossimo capitolo impareremo come possono farlo i puntatori intelligenti aiutaci con altro +situazioni di memoria specializzate.

+

Risorse:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_ja.html b/beta_87_ja.html new file mode 100644 index 000000000..7a0b2490c --- /dev/null +++ b/beta_87_ja.html @@ -0,0 +1,58 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ジェネリクス構造体のおさらい

+

ジェネリクス構造体は、そのパラメータ化された型がtraitによって制約されることもあります。

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

ジェネリクス構造体は、その実装ブロックにパラメータ化された型を持っています。

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_ko.html b/beta_87_ko.html new file mode 100644 index 000000000..8a9b41adc --- /dev/null +++ b/beta_87_ko.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic 구조체 다시 보기

+

generic struct는 trait으로 제한된 매개변수 자료형을 가질 수도 있습니다.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

매개변수 자료형은 generic structure의 구현 블록 안에 표시합니다:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_pl.html b/beta_87_pl.html new file mode 100644 index 000000000..73a7b58dd --- /dev/null +++ b/beta_87_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Generic Structs Revisited

+

Generic structs can also have their parameterized types constrained by traits.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs have their parameterized type in their implementation blocks:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_pt-br.html b/beta_87_pt-br.html new file mode 100644 index 000000000..0926a145c --- /dev/null +++ b/beta_87_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structs genéricas revisitada

+

As structs genéricas também podem ter seus tipos parametrizados restritos por traits.

+
struct MinhaStruct<T>
+where
+    T: MinhaTrait
+{
+    foo: T
+    ...
+}
+
+

As structs genéricas têm seu tipo parametrizado em seus blocos de implementação:

+
impl<T> MinhaStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_ro.html b/beta_87_ro.html new file mode 100644 index 000000000..369df1ddb --- /dev/null +++ b/beta_87_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Structuri generice revizuite

+

Structurile generice pot, de asemenea, să-și aibă tipurile parametrizate constrânse de trăsături:

+
struct StructuraMea<T>
+where
+    T: StructuraMea
+{
+    foo: T
+    ...
+}
+
+

Structurile generice își au tipurile parametrizate în blocul lor de implementare:

+
impl<T> StructuraMea<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_ru.html b/beta_87_ru.html new file mode 100644 index 000000000..e31a8017a --- /dev/null +++ b/beta_87_ru.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обощенные структуры снова (Generic Structs Revisited)

+

Обобщенные структуры также могут иметь свои обобщенные, параметризованные типы, ограниченные типажами.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Обобщенная структура имеет обобщенный, параметризованный тип в блоке реализации:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_th.html b/beta_87_th.html new file mode 100644 index 000000000..39a7bd19f --- /dev/null +++ b/beta_87_th.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

กลับมาหา Generic Structs อีกรอบ

+

Generic structs ก็สามารถมีพารามิเตอร์แบบระบุ traits ได้เช่นเดียวกัน

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Generic structs มีพารามิเตอร์เพื่อใช้ระบุ type ในบล็อกที่อิมพลีเมนต์ตัวมันด้วย:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_tr.html b/beta_87_tr.html new file mode 100644 index 000000000..ad16c185a --- /dev/null +++ b/beta_87_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Genellenmiş Yapılara Yeniden Bakış

+

Genellenmiş bir yapının parametreleştirilmiş türleri de niteliklerine göre sınırlandırılmış olabilir.

+
 struct BirYapi<T>
+
+where
+    T: BirOzellik
+{
+    tur: T
+    ...
+}
+
+

Genellenmiş yapıların uygulama bloklarında, kendi parametreleştirilmiş türleri bulunur:

+
impl<T> BirYapi<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_ua.html b/beta_87_ua.html new file mode 100644 index 000000000..f84267d88 --- /dev/null +++ b/beta_87_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Узагальнені структури

+

Узагальнені структури також можуть мати свої узагальнені, параметризовані типи, обмежені трейтами.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Узагальнена структура має узагальнений, параметризований тип у блоці реалізації:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_vi.html b/beta_87_vi.html new file mode 100644 index 000000000..d92768570 --- /dev/null +++ b/beta_87_vi.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Các cấu trúc generic đã được duyệt lại(Generic Structs Revisited)

+

Cấu trúc generic cũng có thể có các kiểu tham số bị ràng buộc bởi các đặc điểm.

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

Cấu trúc generic có kiểu được tham số hóa trong các khối triển khai(implementation block) của chúng:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_zh-cn.html b/beta_87_zh-cn.html new file mode 100644 index 000000000..7103c8daa --- /dev/null +++ b/beta_87_zh-cn.html @@ -0,0 +1,58 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

重温泛型结构体

+

泛型结构体也可以通过 Trait 来约束其参数化类型:

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

泛型结构体在它的实现块中有其参数化的类型:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_87_zh-tw.html b/beta_87_zh-tw.html new file mode 100644 index 000000000..7c1848a79 --- /dev/null +++ b/beta_87_zh-tw.html @@ -0,0 +1,58 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

重訪泛型結構 (generic structs revisited)

+

泛型結構也可以要求它們的參數型別被特徵所限制。

+
struct MyStruct<T>
+where
+    T: MyTrait
+{
+    foo: T
+    ...
+}
+
+

泛型結構的參數型別有自己的實作區塊:

+
impl<T> MyStruct<T> {
+    ...
+}
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_ar.html b/beta_88_ar.html new file mode 100644 index 000000000..5e94447c9 --- /dev/null +++ b/beta_88_ar.html @@ -0,0 +1,50 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 7 - الخلاصة

+

لدينا الآن المزيد من ميزات اللغة في متناول اليد لتمثيل أفكارنا بوضوح! قد تكون التجريدات (abstractions) في رست (Rust) بسيطة لكنها قوية بما يكفي لجعل العمل مع التعليمات البرمجية أمرًا ممتعًا. في هذا الفصل، ألقينا نظرة على المؤشرات الذكية (smart pointers) باستخدام Box. في الفصل التالي سنتعرف على كيف يمكن للمؤشرات الذكية أن تساعدنا في وضعيات خاصة أخرى للذاكرة.

+

موارد:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_en.html b/beta_88_en.html new file mode 100644 index 000000000..4c699d6ca --- /dev/null +++ b/beta_88_en.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_es.html b/beta_88_es.html new file mode 100644 index 000000000..036be0f28 --- /dev/null +++ b/beta_88_es.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 7 - Conclusión

+

Ahora tenemos más características del lenguaje a mano para representar nuestras ideas. +Las técnicas de Rust pueden ser simples pero son lo suficientemente eficaces para hacer que sea un placer trabajar con el código. +En este capítulo, hemos visto algunos consejos prácticos con Box. En el próximo capítulo aprenderemos cómo los punteros inteligentes pueden ayudarnos con otras situaciones de memoria específicas.

+

Recursos (en inglés):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_fa.html b/beta_88_fa.html new file mode 100644 index 000000000..f4b7a035b --- /dev/null +++ b/beta_88_fa.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_fr.html b/beta_88_fr.html new file mode 100644 index 000000000..f9f4daca4 --- /dev/null +++ b/beta_88_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 7 - Conclusion

+

Nous en savons désormais beaucoup pour pouvoir représenter clairement +nos idées avec Rust! Les abstractions peuvent sembler simples mais elles +sont suffisamment puissantes pour faire en sorte qu'écrire un programme +Rust devienne une partie de plaisir. Dans ce chapitre, nous avons vu très +brièvement les pointeurs intelligents avec Box. Dans le chapitre suivant, +nous découvrirons comment les pointeurs intelligents peuvent nous aider +dans d'autre cas où une gestion spéciale de la mémoire est requise.

+

Bien que les ressources suivantes soient en anglais, nous vous recommendons +celles-ci. Car de toute façon il faudra bien se mettre à l'anglais, +pas vrai \U0001F604?

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_hu.html b/beta_88_hu.html new file mode 100644 index 000000000..963902d6e --- /dev/null +++ b/beta_88_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

7. Fejezet - Konklúzió

+

Így már még több eszköz áll a rendelkezésünkre, hogy a gondolatainkat tisztán fejezhessük ki! A +Rust absztrakciói lehet egyszerűnek tűnnek, de elég erősek ahhoz, hogy örömmé tegyék a velük +való kódolást. Ebben a fejezetben egy pillantást vetettünk a smart pointer-ekre a Box +képében. A következő fejezetben részletesebben fogunk ezekről beszélni, többek között arról is, +hogy hogy segíthetnek bizonyos memóriaproblémák feloldásában.

+

További anyagok (angolul):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_ie.html b/beta_88_ie.html new file mode 100644 index 000000000..3100818a4 --- /dev/null +++ b/beta_88_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 7 - Conclusion

+

Noi ja conosse plu caractersticas del lingue por auxilia nos clarmen representar nor idés! +Benque abstractiones in Rust es simplic, ili es tam potent que ili da nos joya quande noi +scri nor code. In ti-ci capitul noi brevmen videt puntatores inteligent con Box. +In li capitul a sequer noi va aprender pri qualmen puntatores inteligent posse auxiliar nos +in altri situationes specialisat in li gerentie de memorie.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_ja.html b/beta_88_ja.html new file mode 100644 index 000000000..0cdaad67b --- /dev/null +++ b/beta_88_ja.html @@ -0,0 +1,53 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 7 章 - まとめ

+

私たちのアイデアを明確に表現するために、本章でより多くの言語機能を学んできました。 +Rustの抽象化機能はシンプルかもしれませんが、コードを書くのが楽しくなるような強力なものです。 +この章では、 Box を使用してスマートポインタを垣間見ることができました。 +次の章では、スマートポインタが他の特殊なメモリの状況でどのように役立つかについて学びます。

+

参考:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_ko.html b/beta_88_ko.html new file mode 100644 index 000000000..d4f0ecec7 --- /dev/null +++ b/beta_88_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

7장 - 마무리

+

이제 우리의 아이디어를 말끔히 표현할 더 많은 기능들을 알게 되었습니다! +Rust의 추상화는 단순할 수도 있지만 코딩을 즐겁게 하기에 충분한 위력을 갖고 있습니다. +이번 장에서는 Box를 통해 smart pointer에 대해 어렴풋이 살펴 보았습니다. +다음 장에서는 smart pointer가 다른 특수한 메모리 상황에서 어떤 도움을 줄 수 있는지 알아보도록 하겠습니다.

+

자료:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_pl.html b/beta_88_pl.html new file mode 100644 index 000000000..7f2709d0f --- /dev/null +++ b/beta_88_pl.html @@ -0,0 +1,54 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Conclusion

+

We now have more language features at hand to represent our ideas clearly! +Rust abstractions might be simple but they are powerful enough to make +working with code a joy. In this chapter, we caught a glimpse of smart pointers +with Box. In the next chapter we'll learn about how smart pointers can help us with other +specialized memory situations.

+

Resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_pt-br.html b/beta_88_pt-br.html new file mode 100644 index 000000000..e1ec7b336 --- /dev/null +++ b/beta_88_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 7 - Conclusão

+

Agora temos mais recursos da linguagem em mãos para representar nossas idéias com clareza! As abstrações do Rust podem ser simples, mas são poderosas o suficiente para tornar o trabalho de codar uma alegria. Neste capítulo vislumbramos ponteiros inteligentes com o Box. No próximo capítulo aprenderemos como os ponteiros inteligentes podem nos ajudar com outras situações especiais de memória.

+

Recursos:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_ro.html b/beta_88_ro.html new file mode 100644 index 000000000..4fdf23e51 --- /dev/null +++ b/beta_88_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 7 - Concluzie

+

Acum avem mai multe particularități ale limbajului prin care să ne exprimăm ideile într-un mod clar! +Abstractizările făcute de limbajul pot fi simple, însă sunt suficient de puternice pentru a face lucrul cu codul o bucurie. +În acest capitol am aruncat o privire asupra smart pointerilor prin Box. În următorul capitol vom învață despre cum aceștia ne pot ajuta în alte situații de memorie specializate.

+

Resurse:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_ru.html b/beta_88_ru.html new file mode 100644 index 000000000..55823cec9 --- /dev/null +++ b/beta_88_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 7 - Заключение

+

Теперь у нас есть больше языковых возможностей для ясного представления наших идей! +Абстракции Rust могут быть простыми, но они достаточно мощные, чтобы сделать работу с кодом приятной. +В этой главе мы увидели умные указатели Box. В следующей главе вы изучите о том, как умные указатели могут помочь нам в других специализированных ситуациях работы с памятью.

+

Ресурсы для изучения на английском:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_th.html b/beta_88_th.html new file mode 100644 index 000000000..8d5f70a93 --- /dev/null +++ b/beta_88_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 7 - สรุป

+

ตอนนี้เราได้รู้จักคุณสมบัติของตัวภาษามากขึ้น พอให้เห็นแนวคิดของเราชัดเจนขึ้น ในเชิงนามธรรมของ Rust นั้นเรียบง่ายแต่ก็ทรงพลังมากพอที่จะทำให้การเขียนโค้ดสนุกขึ้น +ในบทนี้เราได้ผ่านตาเรื่อง smart pointer จาก Box ไปบ้างแล้ว ในบทต่อไป เราจะมาเรียนเกี่ยวกับ smart pointer ว่ามันจะมาช่วยอะไรเราได้ เมื่อต้องพบสถานการณ์พิเศษเกี่ยวกับหน่วยความจำ

+

แหล่งข้อมูล:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_tr.html b/beta_88_tr.html new file mode 100644 index 000000000..2c8472521 --- /dev/null +++ b/beta_88_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 7 - Sonuç

+

Artık fikirlerimizi açık biçimde sunabileceğimiz daha fazla dil özelliğini öğrenmiş durumdayız! Rust'ın soyutlamaları basit görünmekle birlikte, kod yazmayı zevkli hale dönüştürecek kadar güçlü ve yeteneklidirler. Bu bölümde, Box ile giriş yaptığımız akıllı işaretçilerin, özel bellek yönetimi gerektiren hallerde nasıl yararlı olduklarına ise bir sonraki bölümde değineceğiz.

+

Ek kaynaklar (İngilizce):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_ua.html b/beta_88_ua.html new file mode 100644 index 000000000..508d4c0ea --- /dev/null +++ b/beta_88_ua.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 7 - Висновки

+

Тепер у нас під рукою більше мовних можливостей для чіткого представлення наших ідей! +Абстракції Rust можуть бути простими, але вони досить потужні, щоб зробити +роботу з кодом в радість. У цій главі ми побіжно познайомилися з розумними вказівниками +за допомогою Box. У наступній главі ми дізнаємося про те, як смарт-покажчики можуть допомогти нам в інших +спеціалізованих ситуаціях з пам'яттю.

+

Ресурси:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_vi.html b/beta_88_vi.html new file mode 100644 index 000000000..ee64ca0a9 --- /dev/null +++ b/beta_88_vi.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 7 - Tổng kết

+

Giờ đây, chúng ta có nhiều tính năng ngôn ngữ hơn để thể hiện ý tưởng của chúng ta một cách rõ ràng! Các bản tóm tắt của Rust có thể đơn giản nhưng chúng đủ mạnh để làm cho việc làm việc với code trở thành một niềm vui. Trong chương này, chúng ta đã tìm hiểu sơ qua về các con trỏ thông minh(smart pointer) với Box. Trong chương tiếp theo, chúng ta sẽ tìm hiểu về cách con trỏ thông minh có thể giúp chúng ta trong các tình huống ghi nhớ chuyên biệt khác.

+

Nguồn:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_zh-cn.html b/beta_88_zh-cn.html new file mode 100644 index 000000000..bdb1a8929 --- /dev/null +++ b/beta_88_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 总结

+

现在我们手头有了更多可以清晰地表达我们的想法的语言功能! +Rust 的抽象可能很简单,但它们强大到足以让我们写代码写得很愉快。 在本章中,我们通过 Box 简单瞥见了智能指针。在下一章中,我们将了解智能指针如何帮助我们处理其他特定的内存情况。

+

其他资源(英文):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_88_zh-tw.html b/beta_88_zh-tw.html new file mode 100644 index 000000000..68e64f958 --- /dev/null +++ b/beta_88_zh-tw.html @@ -0,0 +1,51 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 總結

+

我們現在學會更多方式來清楚地表達我們的點子了! +Rust 的抽象化可能很簡單,但它們威力足夠使你快樂的 coding。 在此章節,我們也偷看了一下智慧指標 Box。下個章節我們將會學到更多有關智慧指標怎麼在其他特別的記憶體情況下幫助我們。

+

外部資源:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_ar.html b/beta_90_ar.html new file mode 100644 index 000000000..010cda1a6 --- /dev/null +++ b/beta_90_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مراجعة لمفهوم المراجع (References Revisited)

+

المرجع (reference) هو في الأساس مجرد رقم يمثل موضع البداية لبعض البايتات في الذاكرة. الغرض الوحيد منه هو تمثيل مفهوم مكان وجود بيانات من نوع معين. ما يجعل المرجع مختلفًا عن مجرد رقم هو أن رست (Rust) سيتحقق من أن عمر (lifetime) المراجع لا يدوم لفترة أطول مما يشير إليه (وإلا فسنحصل على خطأ عندما نستخدمه!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_en.html b/beta_90_en.html new file mode 100644 index 000000000..f417dfba4 --- /dev/null +++ b/beta_90_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_es.html b/beta_90_es.html new file mode 100644 index 000000000..4efa3abb6 --- /dev/null +++ b/beta_90_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Repaso de Referencias

+

Una referencia es principalmente un número que refiere la ubicación inicial de algunos bytes en la memoria. Su único propósito es representar el concepto de dónde existen datos de un tipo específico. Lo que hace que una referencia sea diferente de un número simple es que Rust comprobará que la vida útil de las referencias no dure más de lo que se indica (de lo contrario, al usarlo nos daría error).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_fa.html b/beta_90_fa.html new file mode 100644 index 000000000..e531c3f7a --- /dev/null +++ b/beta_90_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_fr.html b/beta_90_fr.html new file mode 100644 index 000000000..7780b8c0c --- /dev/null +++ b/beta_90_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Références revisitées

+

Une référence est fondamentalement juste un nombre qui donne la position +de départ d'octets en mémoire, son seul but est d'indiquer où des données +d'un type spécifique sont situés en mémoire. Une référence n'est pas juste +qu'un nombre, Rust va valider la durée de vie de la référence pour qu'elle ne +dépasse par celle de l'objet qu'elle réfère (sinon nous obtiendrions une +erreur dès que nous essayerions de l'utiliser!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_hu.html b/beta_90_hu.html new file mode 100644 index 000000000..8cef6079c --- /dev/null +++ b/beta_90_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referenciák Ismét

+

Egy referencia lényegében csak egy szám, ami azt jelenti, hogy hol kezdődik a memóriában egy +marék bájt. Egyetlen feladata annak reprezentálása, hogy egy adott típusú adat hol található. +Egy egyszerű számtól az különbözteti meg, hogy a Rust biztosítja, hogy a referencia élettartama +nem tart tovább, mint az adaté, amire az hivatkozik. (Ellenkező esetben ha megpróbálnánk +használni, a programunk hülyeséget csinálna!)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_ie.html b/beta_90_ie.html new file mode 100644 index 000000000..d4ba766ed --- /dev/null +++ b/beta_90_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Denov pri Referenties

+

Li concepte de un referentie es quam seque: it es solmen un numeró quel +monstra li position de comensa de quelc bytes in memorie; it servi solmen por representar +li concepte de ú existe li data de un cert tip. To quo fa un referentie diferent de un +simplic numeró es que Rust va far cert que li viv-témpore de un referentie ne dura plu +long quam li cose a quel it refere (altrimen noi vell incontrar un errore in su usation!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_ko.html b/beta_90_ko.html new file mode 100644 index 000000000..2db13e076 --- /dev/null +++ b/beta_90_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

참조 다시 보기

+

참조는 근본적으로 메모리 상의 어떤 바이트들의 시작 위치를 가리키는 숫자일 뿐입니다. +참조의 유일한 용도는 특정 자료형의 데이터가 어디에 존재하는지에 대한 개념을 나타내는 것입니다. +일반 숫자와의 차이점은 Rust에서 참조가 가리키는 값보다 더 오래 살지 않도록 +lifetime을 검증한다는 것입니다 (안그러면 그걸 사용했을 때 오류가 날 것입니다!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_pl.html b/beta_90_pl.html new file mode 100644 index 000000000..09fc2e404 --- /dev/null +++ b/beta_90_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

References Revisited

+

A reference is fundamentally just a number that is the start position +of some bytes in memory. Its only purpose is to represent the concept of +where data of a specific type exists. What makes a reference different from just a number is that Rust +will validate the lifetime of references doesn't last longer than what +it refers to (otherwise we'd get an error when we used it!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_pt-br.html b/beta_90_pt-br.html new file mode 100644 index 000000000..2117d0895 --- /dev/null +++ b/beta_90_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Revisitando referências

+

Uma referência é fundamentalmente apenas um número que é a posição inicial de alguns bytes na memória. Seu único propósito é representar o conceito de onde os dados de um tipo específico estão. O que torna uma referência diferente de apenas um número é que o Rust validará o tempo de vida das referências para que não dure mais do que a o que ele se refere (caso contrário, obteríamos um erro quando o usarmos!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_ro.html b/beta_90_ro.html new file mode 100644 index 000000000..1d9004a58 --- /dev/null +++ b/beta_90_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Să revizuim referințele

+

O referință este doar un număr ce marchează începutul unei zone în memorie. +Singurul său scop este să reprezinte conceptual locul în care se află un +anumit tip de dată. Ceea ce deosebește o referință de un simplu număr este +faptul că limbajul Rust se asigură că durata de viață a unei referințe nu este +mai mare decât cea a valorii referențiate (altfel ar apărea erori când o folosim).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_ru.html b/beta_90_ru.html new file mode 100644 index 000000000..4ad153b11 --- /dev/null +++ b/beta_90_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ссылки снова (References Revisited)

+

Ссылка является по сути только числом, которое указывает на начальную позицию некоторых байт в памяти. Единственная их цель представить концепцию того, где находятся данные указанного типа. Ссылка отличается от простого числа в Rust только тем, что компилятор будет проверять время жизни ссылки, что она не живет дольше, чем то, на что она ссылается (иначе мы получим ошибку при использовании такой ссылки!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_th.html b/beta_90_th.html new file mode 100644 index 000000000..9caa2c108 --- /dev/null +++ b/beta_90_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

กลับมาเรื่อง การอ้างอิง อีกรอบ

+

ความจริงแล้วการอ้างอิงมันก็แค่ตัวเลขที่บอกจุดเริ่มต้นของไบต์หนึ่งในหน่วยความจำ จุดประสงค์ก็เพื่อบอกให้รู้การมีอยู่ ว่าข้อมูลที่ระบุ type นั้นอยู่ที่ไหน +สิ่งที่ทำให้การอ้างอิงแตกต่างจากตัวเลขปกติก็คือ Rust จะตรวจสอบ lifetime ของการอ้างอิงอยู่ตลอด ไม่ให้มันมีอายุยาวนานกว่าสิ่งที่มันชี้ไป (เพราะไม่เช่นนั้นเราจะเจอข้อผิดพลาดตอนที่ใช้มัน)

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_tr.html b/beta_90_tr.html new file mode 100644 index 000000000..2cbdbdbeb --- /dev/null +++ b/beta_90_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referanslara Yeniden Bakış

+

Aslında referanslar, bellekteki bazı baytların başlangıç konumunu gösteren sayılardan ibarettir. Ve bu sayıların tek amacı, belirli türden verilerin belleğin neresinde bulunduğunu belirtmektir. Ancak Rust açısından referanslar, bir sayıdan daha fazla anlam taşırlar. Derleyici olası bir hatanın önüne geçmek için, referansın yaşam süresinin, başvurduğu nesne ömründen daha uzun olup olmadığını daima bilmek ister.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_ua.html b/beta_90_ua.html new file mode 100644 index 000000000..564878c72 --- /dev/null +++ b/beta_90_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Про посилання

+

По суті, посилання - це просто число, яке є стартовою позицією певних +байтів у пам'яті. Його єдина мета - дати уявлення, де знаходиться данні
+конкретного типу. Посилання відрізняється від звичайного числа тим, що Rust перевіряє, чи час життя посилання +відповідає часу життя того, на що воно посилається (інакше ми отримали +б повідомлення про помилку, під час використання!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_vi.html b/beta_90_vi.html new file mode 100644 index 000000000..a0e690b7d --- /dev/null +++ b/beta_90_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Tham chiếu đã duyệt lại

+

Một tham chiếu về cơ bản chỉ là một số mà số đó là vị trí bắt đầu của một số byte trong bộ nhớ. Mục đích duy nhất của nó là đại diện cho khái niệm về nơi dữ liệu của một loại cụ thể tồn tại. Điều làm cho một tham chiếu khác với một số bình thường là Rust sẽ xác thực thời gian tồn tại của các tham chiếu không kéo dài hơn những gì nó đề cập đến (nếu không chúng ta sẽ gặp lỗi khi sử dụng nó!).

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_90_zh-cn.html b/beta_90_zh-cn.html new file mode 100644 index 000000000..e47a1b8d0 --- /dev/null +++ b/beta_90_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

重温引用

+

引用本质上只是表示内存中某些字节起始位置的数字。 它唯一的目的就是表示特定类型的数据存在于何处。 引用与数字的不同之处在于,Rust 将验证引用自身的生命周期不会超过它指向的内容(否则我们在使用它时会出错!)。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_91_ar.html b/beta_91_ar.html new file mode 100644 index 000000000..616ebff57 --- /dev/null +++ b/beta_91_ar.html @@ -0,0 +1,59 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المؤشرات الخام (Raw Pointers)

+

يمكن تحويل المراجع (References) إلى نوع أكثر بدائية (primitive type) يسمى المؤشر الخام (Raw Pointer) ويطلق عليه المؤشر الأولي. وكما هو الحال مع الأرقام، يمكن نسخها (copy) وتحريكها (move) دون قيود تذكر. ولا يقدم رست (Rust) أي ضمانات بشأن صحة موقع الذاكرة الذي يشير إليه.

+

يوجد نوعان من المؤشرات الخام:

+
    +
  • *const T - مؤشر خام لبيانات من نوع T لا يمكن تغييرها
  • +
  • *mut T - مؤشر خام لبيانات من نوع T لا يمكن تغييرها
  • +
+

يمكن تحويل المؤشرات الخام من وإلى الأرقام (على سبيل المثال، usize).

+

يمكن للمؤشرات الخام الوصول إلى البيانات باستخدام التعليمة البرمجية غير آمن (unsafe) (المزيد حول هذا لاحقًا).

+

تفاصيل الذاكرة:

+
    +
  • المرجع (reference) في رست (Rust) يشبه إلى حد كبير المؤشر (pointer) في لغة C من حيث الاستخدام، ولكن مع المزيد من القيود وقت الترجمة (compile time) متعلقة بكيفية تخزينه ونقله إلى دوال أخرى.
  • +
  • المؤشر الخام (raw pointer) في رست (Rust) يشبه المؤشر (pointer) في لغة C وهو يمثل رقمًا يمكن نسخه أو تمريره، بل وتحويله إلى أنواع رقمية وأين يمكن تعديله كرقم لإجراء عمليات حسابية للمؤشر.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_en.html b/beta_91_en.html new file mode 100644 index 000000000..c4768095c --- /dev/null +++ b/beta_91_en.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modified as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_es.html b/beta_91_es.html new file mode 100644 index 000000000..8f9dfa5fc --- /dev/null +++ b/beta_91_es.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Punteros Sin Procesar

+

Las referencias pueden convertirse en un tipo más primitivo llamado puntero sin procesar. Al igual que un número, se puede copiar y mover sin mucha restricción. Rust no asegura la validez de la ubicación de la memoria a la que apunta.

+

Existen dos tipos de punteros sin procesar:

+
    +
  • *const T - para los datos tipo T que no deben cambiar.
  • +
  • *mut T - para datos tipo T que pueden cambiar.
  • +
+

Los punteros sin procesar se pueden convertir en números y a partir de números. (Por ejemplo, usize).

+

Los punteros sin procesar pueden acceder a los datos con un código no seguro unsafe (Lo veremos más adelante).

+

Detalles de la memoria:

+
    +
  • Una referencia en Rust es muy similar a un puntero en C en términos de uso, pero con muchas más restricciones en tiempo de compilación en cuanto a cómo se puede almacenar y trasladar a otras funciones. * Un puntero sin procesar en Rust es similar a un puntero en C que representa un número que se puede copiar, pasar de un lado a otro, e incluso convertir en tipos numéricos donde se pueden modificar como un número para hacer aritmética de punteros.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_fa.html b/beta_91_fa.html new file mode 100644 index 000000000..b526ae0f0 --- /dev/null +++ b/beta_91_fa.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be copied +passed around, and even turned into numerical types where it can be modifed as a number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_fr.html b/beta_91_fr.html new file mode 100644 index 000000000..871738aa3 --- /dev/null +++ b/beta_91_fr.html @@ -0,0 +1,72 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pointeurs bruts (en anglais raw pointers)

+

Les références peuvent être converties en un type plus primitif appelé +pointeurs bruts (en anglais raw pointers). Ce type de pointeur peut +être copié et déplacé avec peu de restrictions. Cependant, Rust ne garantit +pas la validité de l'emplacement de mémoire vers lequel il pointe.

+

Il existe deux types de pointeurs bruts:

+
    +
  • *const T - Un pointeur brut vers des données de type T qui ne devraient +jamais changer.
  • +
  • *mut T - Un pointeur brut vers des données de type T qui peuvent +changer.
  • +
+

Les pointeurs bruts peuvent être convertis en et à partir de nombres +(par exemple usize).

+

Les pointeurs bruts peuvent accéder aux données avec un code unsafe +(plus d'informations à ce sujet plus tard).

+

Détails de la mémoire:

+
    +
  • En termes d'utilisation, une référence en Rust est très similaire +à un pointeur en C mais avec beaucoup plus de restrictions lors de la +compilation (notamment sur la manière dont la référence peut être stockée +et déplacée vers d'autres fonctions).
  • +
  • Un pointeur brut en Rust est similaire à un pointeur en C du fait qu'ils +représentent tous les deux un nombre qui peut être copié, passé en argument +de fonction ou même transformé en un type numérique avec lequel on pourra +faire certaines opérations arithmétiques (i.e. arithmétique des pointeurs).
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_hu.html b/beta_91_hu.html new file mode 100644 index 000000000..a29f25076 --- /dev/null +++ b/beta_91_hu.html @@ -0,0 +1,65 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Nyers Mutatók

+

A referenciákat át lehet alakítani egy valamivel primitívebb típussá, úgynevezett nyers +mutatóvá. Hasonlóan a számokhoz, ezeket is lehet másolni, mozgatni különösebb megkötések +nélkül. A Rust nem garantál semmit azzal a memóriahellyel kapcsolatban, amire a mutató mutat.

+

Kétféle nyers mutatót különböztetünk meg:

+
    +
  • *const T - Olyan, T típusú adatra mutat, aminek nem szabad megváltoznia.
  • +
  • mut T - Olyan, T típusú adatra mutat, ami megváltoztatható.
  • +
+

Nyers mutatók szabadon konvertálhatók számokká (pl. usize), és vissza. +Nyers mutatók nem biztonságos (unsafe) kódban használhatók adatok elérésére. (Erre még +visszatérünk.)

+

Hogyan érinti ez a memóriát:

+
    +
  • Egy Rust-beli referencia felhasználását tekintve nagyon hasonló egy C-beli mutatóhoz, +ugyanakkor sokkal erősebb fordítási időben biztosított megkötései vannak annak, hogyan lehet +őket tárolni és más függvényeknek átadni.

  • +
  • Egy Rust-beli nyers mutató egy C-beli mutatóhoz hasonlóan egy szám, ami szabadon másolható, +átadható, számmá alakítható, így akár matekozhatunk is vele.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ie.html b/beta_91_ie.html new file mode 100644 index 000000000..1dbc3385f --- /dev/null +++ b/beta_91_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw (crud) Puntatores

+

On posse converter referenties a un tip plu primitiv nominat un raw pointer. Just quam un numeró, on +posse copiar e mover it sin grand restrictiones. Rust da nos null certitá pri li validitá del loc +de memorie a quel it punta.

+

Hay du tipes de crud puntatores:

+
    +
  • *const T - Un crud puntator a data del tip T quel deve ne changear se.
  • +
  • *mut T - Un crud puntator a data del tip T quel posse changear se. +On posse converter crud puntatores ad-in e ex ciffres (p.ex. usize). +Crud puntatores posse accesser data usante code unsafe (on parla pri to plu tard).
  • +
+

Detallies de memorie:

+
    +
  • Un referentie in Rust es tre simil a un puntator in C in su usada, ma con mult plu restrictiones ye +témpor de compilation pri qualmen on posse plazzar e mover it ad altri functiones.
  • +
  • Un crud puntator in Rust es simil a un puntator in C nam it representa un numeró quel on posse copiar +e mover, e mem converter a tipes numeric quel on posse modificar it por far matematica puntatori.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ko.html b/beta_91_ko.html new file mode 100644 index 000000000..f85c78439 --- /dev/null +++ b/beta_91_ko.html @@ -0,0 +1,63 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

원시 포인터

+

참조는 더 원시적인 자료형인 raw pointer로 변환될 수 있습니다. +raw pointer는 숫자와 마찬가지로 거의 제한 없이 여기저기 복사하고 이동할 수 있습니다. +Rust는 raw pointer가 가리키는 메모리 위치의 유효성을 보증하지 않습니다.

+

raw pointer에는 두 종류가 있습니다:

+
    +
  • *const T - 자료형 T의 데이터를 가리키는 절대 변경되지 않는 raw pointer.
  • +
  • *mut T - 자료형 T의 데이터를 가리키는 변경될 수 있는 raw pointer.
  • +
+

raw pointer는 숫자와 상호 변환이 가능합니다 (예: usize).

+

raw pointer는 unsafe한 코드의 데이터에 접근할 수 있습니다 (이에 대해서는 뒤에 다루겠습니다).

+

메모리 상세:

+
    +
  • Rust에서의 참조는 사용 방법에 있어서 C의 pointer와 매우 유사하나, +저장되는 방식이나 다른 함수에 전달되는 부분에 있어 훨씬 많은 컴파일 타임의 제약을 받습니다.
  • +
  • Rust에서의 raw pointer는 복사하고 전달하고 심지어 pointer 연산을 할 수 있는 숫자 자료형으로 변환할 수도 있다는 점에서 +C의 pointer와 유사합니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_pl.html b/beta_91_pl.html new file mode 100644 index 000000000..b9e3545b9 --- /dev/null +++ b/beta_91_pl.html @@ -0,0 +1,64 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw Pointers

+

References can be converted into a more primitive type called a raw pointer. Much like a number, it +can be copied and moved around with little restriction. Rust +makes no assurances of the validity of the memory location it points to.

+

Two kinds of raw pointers exist:

+
    +
  • *const T - A raw pointer to data of type T that should never change.
  • +
  • *mut T - A raw pointer to data of type T that can change.
  • +
+

Raw pointers can be converted to and from numbers (e.g. usize).

+

Raw pointers can access data with unsafe code (more on this later).

+

Memory Details:

+
    +
  • A reference in Rust is very similar to a pointer in C in terms of usage, but with much more compile time restrictions on +how it can be stored and moved around to other functions.
  • +
  • A raw pointer in Rust is similar to a pointer in C that it represents a number that can be +copied or passed around, and even turned into numerical types where it can be modifed as a +number to do pointer math.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_pt-br.html b/beta_91_pt-br.html new file mode 100644 index 000000000..f6a5b258e --- /dev/null +++ b/beta_91_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ponteiros brutos

+

As referências podem ser convertidas em um tipo mais primitivo chamado ponteiro bruto. Muito parecido com um número, ele pode ser copiado e movido com poucas restrições. O Rust não garante a validade da localização da memória para o qual aponta.

+

Há dois tipos de indicadores brutos:

+
    +
  • *const T - um ponteiro bruto para dados do tipo T que nunca deve mudar.
  • +
  • *mut T - um ponteiro bruto para dados do tipo T que podem mudar.
  • +
+

Os ponteiros brutos podem ser convertidos de e para números (por exemplo, usize).

+

Os ponteiros brutos podem acessar dados com código inseguro (falaremos a respeito mais tarde).

+

Detalhes da memória:

+
    +
  • Uma referência em Rust é muito semelhante a um ponteiro em C em termos de uso, mas com muito mais restrições de tempo de compilação sobre como pode ser armazenado e movido para outras funções.
  • +
  • Um ponteiro bruto em Rust é semelhante a um ponteiro em C, pois representa um número que pode ser copiado, passado e até transformado em tipos numéricos onde pode ser modificado como um número para fazer cálculos de ponteiro.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ro.html b/beta_91_ro.html new file mode 100644 index 000000000..d8e3b3d3d --- /dev/null +++ b/beta_91_ro.html @@ -0,0 +1,65 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pointeri simpli

+

Referințele pot fi transformate într-un tip de date mai simplu, +numit pointer simplu. La fel ca un număr, acesta poate fi copiat si mutat +fără prea multe restricții. Limbajul Rust nu ne asigură cu nimic de +valabilitatea zonei de memorie la care pointează.

+

Există două feluri de pointeri simpli:

+
    +
  • *const T - Un pointer simplu către un tip de date T care nu va fi modificat.
  • +
  • *mut T - Un pointer simplu către un tip de date T ce poate fi modificat.
  • +
+

Pointerii simpli pot fi convertiți în și din numere (ex usize).

+

Pointerii simpli pot accesa date din cod nesigur (mai multe despre acest subiect mai târziu).

+

Detalii despre memorie:

+
    +
  • O referință în Rust este foarte asemănătoare cu un pointer din C în ceea ce privește utilizarea, dar cu mult mai multe restricții privind cum poate +fi stocat și folosit de alte funcții.
  • +
  • Un pointer simplu în Rust este asemănător unui pointer din C ce reprezintă un număr care poate fi +copiat și pasat ca argument, ba chiar poate fi transformat într-o valoare numerică și modificat +pentru a face aritmetică pe pointeri.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ru.html b/beta_91_ru.html new file mode 100644 index 000000000..9ed13e9d0 --- /dev/null +++ b/beta_91_ru.html @@ -0,0 +1,60 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Сырые указатели (Raw Pointers)

+

Ссылки можно сконвертировать в более примитивные типы, называемые raw pointer (сырой указатель). Почти как с числом, его можно копировать и передавать с небольшими ограничениями. +Rust не дает никаких гарантий относительно того места памяти, на которое он указывает.

+

Существует два типа сырых указателей:

+
    +
  • *const T - сырой указатель на данные типа T, которые никогда не должны меняться.
  • +
  • *mut T - сырой указатель на данные типа T, которые могут меняться.
  • +
+

Сырые указатели могут быть сконвертированы "из" или "в" числа (например, usize).

+

Сырые указатели могут обращаться к данным с помощью unsafe кода (детальнее позже).

+

Детали для запоминания:

+
    +
  • Ссылка в Rust очень похожа на указатель в Cи с точки зрения использования, но имеет гораздо большие ограничения во время компиляции относительно того, как она может храниться и перемещаться в другие функции.
  • +
  • Сырой указатель в Rust похож на указатель в Cи в том смысле, что он представляет число, которое можно скопировать, передать и даже превратить в числовые типы, где его можно изменить как число для выполнения вычислений над указателем.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_th.html b/beta_91_th.html new file mode 100644 index 000000000..bf0cb46ea --- /dev/null +++ b/beta_91_th.html @@ -0,0 +1,64 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Raw Pointers

+

การอ้างอิงสามารถเปลี่ยนไปเป็น type ตั้งต้นที่เรียกว่า raw pointer ได้ ซึ่งมันมีลักษณะเหมือนเลขปกติที่ คัดลอกได้เคลื่อนที่ได้โดยแทบจะไม่มีข้อจำกัด +ซึ่ง Rust จะไม่รับประกันความถูกต้องของตำแหน่งในหน่วยความจำที่มันจะชี้ไปถึง

+

raw pointer มีสองแบบ:

+
    +
  • *const T - คือ raw pointer ของข้อมูลจาก type T ที่ไม่ควรมีการเปลี่ยนแปลงเกิดขึ้น
  • +
  • *mut T - คือ raw pointer ของข้อมูลจาก type T ที่เปลี่ยนแปลงได้
  • +
+

Raw pointers สามารถแปลงค่าไปเป็นตัวเลขและแปลงกลับได้ (เช่น usize)

+

Raw pointers สามารถเข้าถึงข้อมูลได้ด้วยการใช้ unsafe (กล่าวเพิ่มเติมภายหลัง)

+

รายละเอียดหน่วยความจำ:

+
    +
  • การอ้างอิงใน Rust มีความคล้ายกับพอยเตอร์ในภาษา C มากในแง่ของการใช้งาน +แต่จะมีข้อจำกัดมากหน่อยในช่วง compile time ที่ต้องคิดว่าจะจัดเก็บมันอย่างไร +และจะย้ายไปฟังก์ชันอื่นอย่างไร
  • +
  • raw pointer ของ Rust นั้นคล้ายกับพอยเตอร์ของภาษา C ตรงที่มันแสดงตัวเป็นตัวเลขปกติ +ทำให้สามารถคัดลอกหรือส่งต่อไปที่อื่นได้ แถมยังเอาไปเข้ากระบวนการทางคณิตศาสตร์ +เพื่อแก้ค่าได้ เรียกว่า pointer math
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_tr.html b/beta_91_tr.html new file mode 100644 index 000000000..5590850d9 --- /dev/null +++ b/beta_91_tr.html @@ -0,0 +1,59 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ham İşaretçiler

+

Referanslar ham işaretçi adı verilen daha ilkel bir türe dönüştürülebilirler. Bu onların azıcık kısıtlama ile tıpkı bir sayıymış gibi kopyalanabilecekleri ve taşınabililecekleri anlamına gelmektedir. Bununla birlikte Rust bu dönüşüm işleminde, işaret edilen bellek konumunun geçerli olduğunu garantilemez.

+

Rust'un iki türlü ham işareçisi vardır:

+
    +
  • *const T - Asla değişmemesi gereken T türündeki verilere yönelik ham işaretçi.
  • +
  • *mut T - Değişebilen T türündeki verilere yönelik ham işaretçi.
  • +
+

Ham işaretçiler usize gibi sayılara dönüştürülebildikleri gibi, bu tür sayılardan da dönüştürülebilirler.

+

Bu tür işaretçiler, ayrıntılarına ileride değineceğimiz güvenli olmayan Rust kodları aracılığıyla verilere erişebilirler.

+

Bellek ayrıntıları:

+
    +
  • Rust'ın referansları, kullanım açısından C'nin işaretçilerine benzemekle birlikte, saklanma ve taşınma aşamalarında daha çok derleme zamanı kısıtlaması içerirler.
  • +
  • Rust'ın ham işaretçileri, C'nin işaretçilerine benzemekle beraber; kopyalanabilen, bir işleve bağımsız değişken olarak iletilebilen, hatta tıpkı işaretçi aritmediğinde olduğu gibi, aritmetik işlemlerin yapılabileceği sayısal türe dönüştürülebilen bir sayıyı temsil eder.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_ua.html b/beta_91_ua.html new file mode 100644 index 000000000..b113e42f7 --- /dev/null +++ b/beta_91_ua.html @@ -0,0 +1,64 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Необробленні покажчики (Raw Pointers)

+

Посилання можна перетворити у більш примітивний тип, який називається необробленні покажчики. Так само, як і числа їх +можна копіювати і переміщувати з невеликими обмеженнями. Rust не +гарантує існування місця у пам'яті на які вони вказують.

+

Існує 2 види необроблених покажчиків:

+
    +
  • *const T - необроблений покажчик на дані типу T, які ніколи не зміняться.
  • +
  • *mut T - необроблений покажчик на дані типу T, які можуть змінюватися.
  • +
+

Необроблені покажчики можна перетворювати на числа та з них (наприклад, usize). +Необроблені покажчики можуть отримати доступ до даних за допомогою небезпечного коду (детальніше про це пізніше). +Деталі про роботу з пам'яттю:

+
    +
  • Посилання в Rust дуже схоже на покажчик у C з точки зору використання, але з набагато більшими обмеженнями часу компіляції по тому, +як його можна зберігати та переміщувати до інших функцій.
  • +
  • Необроблений вказівник у Rust схожий на вказівник у C, оскільки він представляє число, +яке можна копіювати або передавати, і навіть перетворювати на числові типи, де його +можна модифікувати як число для виконання математики вказівника.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_vi.html b/beta_91_vi.html new file mode 100644 index 000000000..e778bd2af --- /dev/null +++ b/beta_91_vi.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Con trỏ thô(Raw Pointer)

+

Các tham chiếu có thể được chuyển đổi thành một kiểu nguyên thủy hơn được gọi là raw pointer(con trỏ thô). Giống như một số, nó có thể được sao chép và di chuyển xung quanh mà không bị hạn chế nhiều. Rust không đảm bảo tính hợp lệ của vị trí bộ nhớ mà nó trỏ tới.

+

Tồn tại hai loại con trỏ thô:

+
    +
  • *const T - Một con trỏ thô tới dữ liệu kiểu T mà không bao giờ thay đổi.
  • +
  • *mut T - Một con trỏ thô tới dữ liệu kiểu T mà có thể thay đổi.
  • +
+

Con trỏ thô có thể được chuyển đổi thành số và từ số (ví dụ: usize).

+

Con trỏ thô có thể truy cập dữ liệu bằng code không an toàn (sẽ tìm hiểu thêm về điều này sau).

+

Chi tiết bộ nhớ:

+
    +
  • Một tham chiếu trong Rust rất giống với một con trỏ trong C về cách sử dụng, nhưng với nhiều hạn chế về thời gian biên dịch hơn về cách nó có thể được lưu trữ và di chuyển sang các chức năng khác.

  • +
  • Một con trỏ thô trong Rust tương tự như một con trỏ trong C ở chỗ nó đại diện cho một số có thể được sao chép hoặc chuyển xung quanh, và thậm chí được chuyển thành các kiểu số nơi nó có thể được sửa đổi thành một số để thực hiện phép toán con trỏ.

  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_91_zh-cn.html b/beta_91_zh-cn.html new file mode 100644 index 000000000..0e02ff19e --- /dev/null +++ b/beta_91_zh-cn.html @@ -0,0 +1,59 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

指针

+

引用可以转换成一个更原始的类型,指针(raw pointer)。 像数字一样,它可以不受限制地复制和传递,但是Rust 不保证它指向的内存位置的有效性。 +有两种指针类型:

+
    +
  • *const T - 指向永远不会改变的 T 类型数据的指针。
  • +
  • *mut T - 指向可以更改的 T 类型数据的指针。
  • +
+

指针可以与数字相互转换(例如usize)。
+指针可以使用 unsafe 代码访问数据(稍后会详细介绍)。

+

内存细节:

+
    +
  • Rust中的引用在用法上与 C 中的指针非常相似,但在如何存储和传递给其他函数上有更多的编译时间限制。
  • +
  • Rust中的指针类似于 C 中的指针,它表示一个可以复制或传递的数字,甚至可以转换为数字类型,可以将其修改为数字以进行指针数学运算。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_92_ar.html b/beta_92_ar.html new file mode 100644 index 000000000..71f74bb55 --- /dev/null +++ b/beta_92_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الوصول لمحتويات المؤشر (Dereferencing)

+

تسمى عملية الوصول إلى/معالجة البيانات التي تتم الإشارة إليها بواسطة مرجع (reference) (على سبيل المثال &i32) إلغاء الإشارة (dereferencing).

+

يتم استخدام المراجع للوصول إلى/معالجة البيانات بطريقتين:

+
    +
  • الوصول إلى البيانات المشار إليها أثناء تعيين المتغيرات.
  • +
  • الوصول إلى حقول (fields) أو توابع (methods) البيانات المشار إليها.
  • +
+

لدى رست (Rust) بعض العوامل القوية التي تسمح لنا بالقيام بذلك.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_en.html b/beta_92_en.html new file mode 100644 index 000000000..78172e08c --- /dev/null +++ b/beta_92_en.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_es.html b/beta_92_es.html new file mode 100644 index 000000000..514f1b078 --- /dev/null +++ b/beta_92_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Indirección

+

El proceso de acceso/manipulación de los datos a los que indica mediante una referencia (es decir, &i32) se denomina indirección.

+

Las referencias se utilizan para acceder/manipular los datos de dos maneras:

+
    +
  • Acceso a los datos indicados durante la asignación de variables.
  • +
  • Acceso a los campos o métodos de los datos indicados.
  • +
+

Rust tiene algunos operadores eficaces que nos permiten hacerlo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_fa.html b/beta_92_fa.html new file mode 100644 index 000000000..ed3995ea2 --- /dev/null +++ b/beta_92_fa.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_fr.html b/beta_92_fr.html new file mode 100644 index 000000000..b98bd5ce2 --- /dev/null +++ b/beta_92_fr.html @@ -0,0 +1,53 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Déréférencement

+

Le fait d'accéder ou de manipuler des données à partir d'une référence +(i.e. un &i32) est appelé déréférencement (en anglais dereferencing).

+

Les références sont utilisées pour accéder ou manipuler des données de deux +manières:

+
    +
  • Accéder à la donnée référencée lors de l'affectation d'une variable.
  • +
  • Accéder aux champs ou méthodes de la donnée référencée.
  • +
+

Pour cela, Rust met à notre disposition des opérateurs très puissants.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_hu.html b/beta_92_hu.html new file mode 100644 index 000000000..6600a70d2 --- /dev/null +++ b/beta_92_hu.html @@ -0,0 +1,52 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lekövetés

+

Egy referencia (pl.: &i32) által hivatkozott adat olvasását/módosítását lekövetésnek +nevezzük.

+

Referenciákat kétféleképpen használhatunk adatok elérésére, vagy módosítására:

+
    +
  • Változók értékadásakor hozzáférünk a hivatkozott adathoz.
  • +
  • A hivatkozott adat mezőihez vagy metódusaihoz férünk hozzá.
  • +
+

A Rust ismer néhány hasznos operátort, amik segítenek nekünk ezeket megtenni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_ie.html b/beta_92_ie.html new file mode 100644 index 000000000..bb35ef157 --- /dev/null +++ b/beta_92_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferentiation

+

Li processe de accesser/manipular data a quel on referer se con un referentie +(p.ex. &i32) es nominat dereferentiation (dereferencing).

+

Con du metodes on accesse/manipular data con un referentie:

+
    +
  • Accesse al data referet durant li assignation de variabiles.
  • +
  • Accesse a campes o metodes del data referet. +Rust possede quelc potent operatores queles fa to possibil por nos.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_ko.html b/beta_92_ko.html new file mode 100644 index 000000000..9a6e1d460 --- /dev/null +++ b/beta_92_ko.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

역참조

+

참조 (i.e. &i32)를 통해 참조되는 데이터를 접근/변경하는 과정을 +역참조라고 합니다.

+

참조로 데이터에 접근/변경하는 데에는 다음의 두 가지 방법이 있습니다:

+
    +
  • 변수 할당 중에 참조되는 데이터에 접근.
  • +
  • 참조되는 데이터의 field나 메소드에 접근.
  • +
+

Rust에는 이를 가능케 하는 강력한 연산자가 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_pl.html b/beta_92_pl.html new file mode 100644 index 000000000..e1e6273cd --- /dev/null +++ b/beta_92_pl.html @@ -0,0 +1,52 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

The process of accessing/manipulating data that is being referred to +by a reference (i.e. &i32) is called dereferencing.

+

References are used to access/manipulate data in two ways:

+
    +
  • Access to the referred data during assignment of variables.
  • +
  • Access to fields or methods of the referred data.
  • +
+

Rust has some powerful operators that allow us to do this.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_pt-br.html b/beta_92_pt-br.html new file mode 100644 index 000000000..5818db536 --- /dev/null +++ b/beta_92_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desreferenciamento

+

O processo de acessar/manipular dados que está sendo referido por uma referência (ou seja, &i32) é chamado de desreferenciamento.

+

As referências são usadas para acessar/manipular dados de duas maneiras:

+
    +
  • Acesso aos dados referidos durante a atribuição de variáveis.

  • +
  • Acesso a campos ou métodos dos dados referidos.

  • +
+

O Rust tem alguns operadores poderosos que nos permitem fazer isso.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_ro.html b/beta_92_ro.html new file mode 100644 index 000000000..56232008c --- /dev/null +++ b/beta_92_ro.html @@ -0,0 +1,52 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferențierea

+

Procesul prin care se accesează/utilizează datele care sunt referențiate +de către o referință (adică &i32) se numește dereferențiere.

+

Referințele sunt folosite pentru a accesa/utiliza datele în două feluri:

+
    +
  • Accesează datele referențiate în timpul declarării variabilei.
  • +
  • Accesează câmpurile sau metodele datelor referențiate.
  • +
+

Limbajul Rust are câțiva operatori utili care ne permit să facem asta.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_ru.html b/beta_92_ru.html new file mode 100644 index 000000000..09b78b3a3 --- /dev/null +++ b/beta_92_ru.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Разыменование (Dereferencing)

+

Процесс доступа/изменения данных на которые ссылается ссылка (reference) +(например &i32) называется разыменованием (dereferencing).

+

Ссылки используются для доступа/изменения данных двумя способами:

+
    +
  • Доступ к данным по ссылке при назначении данных переменным.
  • +
  • Доступ к полям и методам ссылочных данных (доступных по ссылке).
  • +
+

В Rust есть несколько мощных операторов, которые позволяют это делать.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_th.html b/beta_92_th.html new file mode 100644 index 000000000..6f2b9e865 --- /dev/null +++ b/beta_92_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

กระบวนการในการ เข้าถึง/จัดการ ข้อมูลที่ถูกอ้างอิงด้วย reference (เช่น &i32) +เราเรียกว่า dereferencing

+

การ เข้าถึง/จัดการ ด้วยการอ้างอิงทำได้ 2ทาง:

+
    +
  • เข้าถึงในระหว่างการกำหนดค่า ให้ตัวแปรที่ถูกอ้างถึง
  • +
  • เข้าถึงผ่านฟิลด์หรือเมธอดของข้อมูลที่ถูกอ้างถึง
  • +
+

แน่นอนว่า Rust เตรียมตัวดำเนินการเหมาะๆไว้ให้เราใช้อยู่แล้ว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_tr.html b/beta_92_tr.html new file mode 100644 index 000000000..7a97d5606 --- /dev/null +++ b/beta_92_tr.html @@ -0,0 +1,52 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Referansı Kaldırmak

+

Bir referansın atıfta bulunduğu verilere erişme ve/veya o verileri değiştirme işlemine dereferencing, dilimizdeki yaklaşık +karşılığıyla referansı kaldırmak adı verilir.

+

Referansları verilere erişmek veya verileri değiştirmek amacıyla kullanmanın iki sebebi vardır:

+
    +
  • Değişkenlerin atanması sırasında başvurulan verilere erişmek.

  • +
  • Başvurulan verilerin alan veya metotlarına erişmek.

  • +
+

Rust, bunları gerçekleştirebilmemiz için güçlü işleçler sunar.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_ua.html b/beta_92_ua.html new file mode 100644 index 000000000..c3312670d --- /dev/null +++ b/beta_92_ua.html @@ -0,0 +1,52 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розіменування

+

Процес доступу/управління даними, на які посилаються +за посиланням (тобто &i32) називається розіменуванням.

+

Посилання використовуються для доступу/управління даними двома способами:

+
    +
  • Доступ до зазначених даних під час призначення змінних.
  • +
  • Доступ до полів або методів зазначених даних.
  • +
+

У Rust є кілька потужних операторів, які дозволяють нам це робити.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_vi.html b/beta_92_vi.html new file mode 100644 index 000000000..ece567cf1 --- /dev/null +++ b/beta_92_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dereferencing

+

Quá trình truy cập/thao tác dữ liệu đang được tham chiếu bởi một tham chiếu (ví dụ &i32) được gọi là Dereferencing.

+

Tham chiếu được sử dụng để truy cập/thao tác dữ liệu theo hai cách:

+
    +
  • Truy cập vào dữ liệu được gọi trong quá trình gán các biến.
  • +
  • Truy cập vào các trường hoặc phương thức của dữ liệu được gọi.
  • +
+

Rust có một số toán tử mạnh mẽ cho phép chúng ta làm điều này.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_92_zh-cn.html b/beta_92_zh-cn.html new file mode 100644 index 000000000..96daaa23a --- /dev/null +++ b/beta_92_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

解引用

+

访问或操作 由引用(例如&i32)指向的数据的过程称为解除引用
+有两种方式通过引用来访问或操作数据:

+
    +
  • 在变量赋值期间访问引用的数据。
  • +
  • 访问引用数据的字段或方法。
  • +
+

Rust 有一些强大的运算符可以让我们做到这一点。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_93_ar.html b/beta_93_ar.html new file mode 100644 index 000000000..493d38bc8 --- /dev/null +++ b/beta_93_ar.html @@ -0,0 +1,56 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

العامل *

+

يعد العامل * طريقة واضحة لإلغاء الإشارة.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

تفاصيل الذاكرة:

+
    +
  • نظرًا لأن i32 هو نوع بدائي (primitive type) ينفذ السمة (trait) Copy، فسيتم نسخ بايتات المتغير a الموجود على المكدس (stack) إلى بايتات المتغير b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_en.html b/beta_93_en.html new file mode 100644 index 000000000..ab9205528 --- /dev/null +++ b/beta_93_en.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_es.html b/beta_93_es.html new file mode 100644 index 000000000..7b95cadcd --- /dev/null +++ b/beta_93_es.html @@ -0,0 +1,56 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

El operador *

+

El operador * es una forma explícita de indireccionar una referencia.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Detalle de la memoria:

+
    +
  • Debido a que i32 es un tipo primitivo que incorpora el trait de copia (Copy), los bytes de la variable a en la pila se copian en los bytes de la variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_fa.html b/beta_93_fa.html new file mode 100644 index 000000000..9cac75743 --- /dev/null +++ b/beta_93_fa.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_fr.html b/beta_93_fr.html new file mode 100644 index 000000000..788cf40a1 --- /dev/null +++ b/beta_93_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

L'opérateur *

+

L'opérateur * est un moyen explicite de déréférencer une référence.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Détail de la mémoire:

+
    +
  • Parce que i32 est un type primitif qui implémente le trait Copy, +les octets de la variable a sur la pile sont copiés dans les octets +de la variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_hu.html b/beta_93_hu.html new file mode 100644 index 000000000..28d2d9079 --- /dev/null +++ b/beta_93_hu.html @@ -0,0 +1,57 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A * Operátor

+

A * operátor a referenciák lekövetésének kifejezésére használható.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Hogyan érinti ez a memóriát:

+
    +
  • Mivel az i32 egy primitív típus ami a Copy traitet megvalósítja, az a változó bájtjai a +veremmemóriában a b változóba másolódnak.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ie.html b/beta_93_ie.html new file mode 100644 index 000000000..5a79d75e8 --- /dev/null +++ b/beta_93_ie.html @@ -0,0 +1,57 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Li Operator *

+

Li operator * es un metode explicit por dereferentiar un referentie.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Detallies pri memorie:

+
    +
  • Nam i32 es un tip primitiv quel implementa li trate Copy, li bytes del variabil a +sur li stack es copiat ad-in li bytes de variabil b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ko.html b/beta_93_ko.html new file mode 100644 index 000000000..ba71de55d --- /dev/null +++ b/beta_93_ko.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

* 연산자

+

* 연산자는 참조를 역참조 하는 명시적인 방법입니다.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

메모리 상세:

+
    +
  • i32는 Copy trait을 구현하는 기본 자료형이기 때문에, +stack에 있는 변수 a의 바이트들은 변수 b의 바이트들로 복사됩니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_pl.html b/beta_93_pl.html new file mode 100644 index 000000000..c68fdf50c --- /dev/null +++ b/beta_93_pl.html @@ -0,0 +1,57 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The * Operator

+

The * operator is an explicit way to dereference a reference.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Memory detail:

+
    +
  • Because i32 is a primitive type that implements the Copy trait, +the bytes of variable a on stack are copied into the bytes of variable b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_pt-br.html b/beta_93_pt-br.html new file mode 100644 index 000000000..12c264b8e --- /dev/null +++ b/beta_93_pt-br.html @@ -0,0 +1,56 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O operador *

+

O operador * é uma forma explícita de desreferenciamento de uma referência.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Detalhes da memória:

+
    +
  • Como i32 é um tipo primitivo que implementa a trait Copy, os bytes da variável a na pilha são copiados para os bytes da variável b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ro.html b/beta_93_ro.html new file mode 100644 index 000000000..bebb81d0b --- /dev/null +++ b/beta_93_ro.html @@ -0,0 +1,57 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Operatorul `*`

+

Operatorul * reprezintă o modalitate explicită pentru a dereferenția o referință.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Detaliu despre memorie:

+
    +
  • Deoarece i32 este un tip primitiv ce implementează trait-ul Copy, +byții variabilei a sunt copiați de pe stivă în octeții variabilei b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ru.html b/beta_93_ru.html new file mode 100644 index 000000000..d866e9217 --- /dev/null +++ b/beta_93_ru.html @@ -0,0 +1,56 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Оператор * (звездочка)

+

Оператор * является явным способом разыменовать ссылку.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Детали для запоминания:

+
    +
  • Так как i32 является примитивным типом, который реализует типаж Copy, байты из переменной a в стеке копируются в байты переменной b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_th.html b/beta_93_th.html new file mode 100644 index 000000000..dc4199462 --- /dev/null +++ b/beta_93_th.html @@ -0,0 +1,57 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The * Operator

+

ตัวดำเนินการ * เป็นวิธีที่ชัดเจนที่นำมาใช้ dereference ตัวอ้างอิง

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

รายละเอียดหน่วยความจำ:

+
    +
  • เนื่องจาก i32 เป็น type ตั้งต้น ที่อิมพลีเมนต์ trait ชื่อCopy +ไบต์ของตัวแปร a บนแสต็กจึงถูกคัดลอกไปยัง ไบต์ของตัวแปร b
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_tr.html b/beta_93_tr.html new file mode 100644 index 000000000..136732826 --- /dev/null +++ b/beta_93_tr.html @@ -0,0 +1,56 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yıldız İmi * İşleci

+

Bir referans tarafından atıfta bulunulan verilere açık biçimde erişmenin yolu, asteriks olarak da bilinen yıldız imi * işlecini kullanmaktan geçer.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Bellek ayrıntıları:

+
    +
  • Temel bir tür olan i32, Copy özelliğini uygulayacağından, yığın üzerindeki a değişkeninin baytları, b değişkeninin baytlarına kopyalanmış olacaktır.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_ua.html b/beta_93_ua.html new file mode 100644 index 000000000..2432031f7 --- /dev/null +++ b/beta_93_ua.html @@ -0,0 +1,57 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Оператор *

+

Оператор * є явним способом для розіменування посилання.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Деталі про роботу з пам'яттю:

+
    +
  • Оскільки i32 є примітивним типом, який реалізує властивість Copy, +байти змінної a у стеку копіюються в байти змінної b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_vi.html b/beta_93_vi.html new file mode 100644 index 000000000..e4f1b282e --- /dev/null +++ b/beta_93_vi.html @@ -0,0 +1,56 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Toán tử *

+

Toán tử * là một cách rõ ràng để dereference một tham chiếu.

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

Chi tiết bộ nhớ:

+
    +
  • Vì i32 là kiểu nguyên thủy thực hiện đặc điểm Copy, các byte của biến a trên stack được sao chép vào các byte của biến b.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_93_zh-cn.html b/beta_93_zh-cn.html new file mode 100644 index 000000000..240a259f5 --- /dev/null +++ b/beta_93_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

运算符 *

+

* 运算符是一种很明确的解引用的方法。

+
let a: i32 = 42;
+let ref_ref_ref_a: &&&i32 = &&&a;
+let ref_a: &i32 = **ref_ref_ref_a;
+let b: i32 = *ref_a;
+
+

内存细节:

+
    +
  • 因为 i32 是实现了 Copy 特性的原始类型,堆栈上变量 a 的字节被复制到变量 b 的字节中。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_ar.html b/beta_94_ar.html new file mode 100644 index 000000000..51c819ebf --- /dev/null +++ b/beta_94_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

العامل .

+

يُستخدم العامل . في الوصول إلى حقول (fields) وتوابع (methods) المرجع. إنه يعمل بدقة أكبر قليلاً.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

حسنًا، لماذا لم نكن بحاجة إلى إضافة *** قبل ref_ref_ref_f؟ وذلك لأن العامل . يقوم تلقائيًا بإلغاء الإشارة (dereferences) إلى سلسلة من المراجع (sequence of references). يتم تحويل ذلك السطر الأخير إلى ما يلي بواسطة المترجم (compiler) تلقائيًا.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_en.html b/beta_94_en.html new file mode 100644 index 000000000..8a6b0dc9d --- /dev/null +++ b/beta_94_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_es.html b/beta_94_es.html new file mode 100644 index 000000000..1b80239a2 --- /dev/null +++ b/beta_94_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

El operador .

+

El operador . se utiliza para acceder a los campos y métodos de una referencia. Funciona de manera un poco más sutil.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

¿Por qué no hace falta añadir *** antes de ref_ref_ref_f? Pues porque el operador . operator indirecciona automáticamente una secuencia de referencias. La última línea se convierte automáticamente en la siguiente por el compilador.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_fa.html b/beta_94_fa.html new file mode 100644 index 000000000..d64699e8b --- /dev/null +++ b/beta_94_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_fr.html b/beta_94_fr.html new file mode 100644 index 000000000..63dbba598 --- /dev/null +++ b/beta_94_fr.html @@ -0,0 +1,58 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

L'opérateur .

+

L'opérateur . est utilisé pour accéder aux champs et aux méthodes d'une +référence. Cela fonctionne un peu plus subtilement que l'opérateur *.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, pourquoi n'avons-nous pas dû ajouter *** avant ref_ref_ref_f? +La raison est que l'opérateur . déréférence automatiquement une +séquence de références. La dernière instruction du bloc ci-dessus est +automatiquement transformée par le compilateur en:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_hu.html b/beta_94_hu.html new file mode 100644 index 000000000..4d689ae77 --- /dev/null +++ b/beta_94_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

A . Operátor

+

A . operátor mezők és metódusok elérésére való. Egy kicsit kifinomultabb, mint a * volt.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Hűha, miért nem kellett ***-ot írnunk a ref_ref_ref_f elé? Azért, mert a . operátor +automatikusan visszaköveti a referenciák láncát! Az utolsó sort a fordító automatikusan átírja +ilyenre:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_ie.html b/beta_94_ie.html new file mode 100644 index 000000000..9512b3ddc --- /dev/null +++ b/beta_94_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Li Operator .

+

On usa li operator . por accesser li campes e metodes de un referentie. It efectua se con un poc plu subtilitá.

+
let f = Foo { valore: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.valore);
+
+

+Ma atende, pro quo noi ne besonat adjunter***avanrefrefref_f? To es pro que li operator.` dereferentia +automaticmen un sequentie de referenties. Ti ultim linea changea se automaticmen per li compilator quam seque:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_ko.html b/beta_94_ko.html new file mode 100644 index 000000000..839716c22 --- /dev/null +++ b/beta_94_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

. 연산자

+

. 연산자는 참조의 field와 메소드에 접근하는 데에 쓰입니다. 이건 좀 더 미묘하게 동작합니다.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

아니, 왜 ref_ref_ref_f 앞에 ***을 안넣어도 되는거죠? 그건 바로 . 연산자가 참조 열을 자동으로 역참조 했기 때문입니다. +저 마지막 줄은 컴파일러에 의해 자동적으로 다음과 같이 바뀌게 됩니다:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_pl.html b/beta_94_pl.html new file mode 100644 index 000000000..8fb867df1 --- /dev/null +++ b/beta_94_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The . Operator

+

The . operator is used in accessing fields and methods of a reference. It works a bit more subtly.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, why didn't we need to add *** before ref_ref_ref_f? This is because the . operator automatically dereferences +a sequence of references. That last line is turned into the following by the compiler automatically.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_pt-br.html b/beta_94_pt-br.html new file mode 100644 index 000000000..07771a743 --- /dev/null +++ b/beta_94_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

O operador .

+

O operador . é usado para acessar campos e métodos de uma referência. Ele funciona de uma maneira mais sutil.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Uau! Por que não precisamos adicionar *** antes de ref_ref_ref_f? Isso ocorre porque o operador . desreferencia automaticamente uma sequência de referências. Essa última linha é transformada na seguinte pelo compilador automaticamente.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_ro.html b/beta_94_ro.html new file mode 100644 index 000000000..2c7f7b89f --- /dev/null +++ b/beta_94_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Operatorul `.`

+

Operatorul . este folosit pentru a accesa câmpurile și metodele unei referințe. Acesta funcționează într-un mod ceva mai subtil.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Whoa, de ce nu a trebuit să adaugăm *** înainte de ref_ref_ref_f? Pentru că operatorul . dereferențiază automat +o secvență de referințe. Ultima linie de cod este transformată de către compilator astfel:

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_ru.html b/beta_94_ru.html new file mode 100644 index 000000000..50b5e7e3f --- /dev/null +++ b/beta_94_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Оператор . (точка)

+

Оператор . используется для доступа к полям и методам ссылки. Он работает более тонко.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Опа, почему нам не нужно добавлять *** (три звездочки) перед ref_ref_ref_f? Это потому, что оператор . автоматически разыменовывает последовательность ссылок. Последняя строка превращена компилятром в следующий код автоматически.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_th.html b/beta_94_th.html new file mode 100644 index 000000000..f7f7a6b75 --- /dev/null +++ b/beta_94_th.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

The . Operator

+

ตัวดำเนินการ . ถูกใช้เมื่อทำการเข้าถึงฟิลด์หรือเมธอดของตัวอ้างอิง ซึ่งมันค่อนข้างฉลาดอยู่บ้าง

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

ว้าวดูสิ เราไม่ต้องใส่ *** ข้างหน้า ref_ref_ref_f เลยเห็นไหม นี่ก็เพราะเจ้าตัวดำเนินการ . มัน dereference ตัวอ้างอิงให้อัตโนมัติ โดยตัวคอมไพเลอร์จะเป็นตัวเปลี่ยนบรรทัดสุดท้ายให้เป็นบรรทัดต่อไปนี้เอง

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_tr.html b/beta_94_tr.html new file mode 100644 index 000000000..7c08339f5 --- /dev/null +++ b/beta_94_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Nokta . İşleci

+

Bir noktadan ibaret olan . işleci ise, bir referansın alan ve yöntemlerine erişirken kullanılır. Zekice çalışan bu işlece bir örnek yardımıyla daha yakından bakalım:

+
let f = Tur { deger: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.deger);
+
+

ref_ref_ref_f'den önce *** işleçlerinin eklenmediğini fark ettiniz değil mi?. Bu şaşırtıcı durum . işlecinin, bir dizi referansı otomatik olarak kaldırmasından kaynaklanır. Oysa gerçekte örneğin son satırı, derleyici tarafından otomatik olarak aşağıda gösterildiği gibi değerlendirilmektedir.

+
println!("{}", (***ref_ref_ref_f).deger);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_ua.html b/beta_94_ua.html new file mode 100644 index 000000000..73c9551c3 --- /dev/null +++ b/beta_94_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Оператор .

+

Оператор . використовується для доступу до полів і методів посилання. Це працює дещо тонше.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Ого, а чому ми не додали *** перед ref_ref_ref_f? Це тому, що оператор . автоматично роздиференціює +послідовність посилань. Останній рядок автоматично перетворюється компілятором.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_vi.html b/beta_94_vi.html new file mode 100644 index 000000000..fe75a438d --- /dev/null +++ b/beta_94_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Toán tử .

+

Toán tử . được sử dụng để truy cập các trường và phương thức của một tham chiếu. Nó hoạt động tinh tế hơn một chút.

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

Wow wow, tại sao chúng ta không cần thêm *** trước ref_ref_ref_f? Điều này là do toán tử . tự động dereference đến một chuỗi các tham chiếu. Dòng cuối cùng đó được trình biên dịch tự động chuyển thành dòng sau.

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_94_zh-cn.html b/beta_94_zh-cn.html new file mode 100644 index 000000000..7fb54d7f0 --- /dev/null +++ b/beta_94_zh-cn.html @@ -0,0 +1,54 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

运算符 .

+

.运算符用于访问引用的字段和方法,它的工作原理更加巧妙。

+
let f = Foo { value: 42 };
+let ref_ref_ref_f = &&&f;
+println!("{}", ref_ref_ref_f.value);
+
+

哇,为什么我们不需要在ref_ref_ref_f之前添加***?这是因为 . 运算符会做一些列自动解引用操作。 最后一行由编译器自动转换为以下内容。

+
println!("{}", (***ref_ref_ref_f).value);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_ar.html b/beta_95_ar.html new file mode 100644 index 000000000..7dcf59c92 --- /dev/null +++ b/beta_95_ar.html @@ -0,0 +1,49 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

المؤشرات الذكية (Smart Pointers)

+

بالإضافة إلى القدرة على إنشاء مراجع (references) للبيانات المكتوبة (typed data) الموجودة باستخدام العامل &، يمنحنا رست (Rust) القدرة على إنشاء هياكل (structs) تشبه المرجع (reference-like) تسمى المؤشرات الذكية (smart pointers).

+

يمكننا أن نفكر في المراجع (references) على مستوى عالٍ كنوع يتيح لنا الوصول إلى نوع آخر. تختلف المؤشرات الذكية (smart pointers) في سلوكها عن المراجع العادية من حيث أنها تعمل بناءً على المنطق الداخلي الذي يكتبه المبرمج. أنت – المبرمج – هو الجزء الذكي.

+

عادةً ما تنفذ المؤشرات الذكية السمات (traits) Deref وDerefMut وDrop لتحديد منطق ما يجب أن يحدث عند إلغاء الإشارة (dereferenced) الخاصة بالهيكل باستخدام العامل * و..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_en.html b/beta_95_en.html new file mode 100644 index 000000000..64676b485 --- /dev/null +++ b/beta_95_en.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that gives us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_es.html b/beta_95_es.html new file mode 100644 index 000000000..a5ca71da7 --- /dev/null +++ b/beta_95_es.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Punteros Inteligentes

+

Además de la capacidad de crear referencias de tipos de datos existentes utilizando el operador & operator, Rust nos permite crear estructuras de referencia llamadas punteros inteligentes.

+

Podemos pensar en referencias a alto nivel como un tipo que nos da acceso a otro tipo. Los punteros inteligentes se diferencian en su comportamiento de las referencias normales en que operan basados en la lógica interna que el programador (o sea, tú) escribe al ser la parte inteligente.

+

Los punteros inteligentes implementan de forma típica los traits Deref, DerefMut y Drop para especificar la lógica de lo que debe suceder cuando la estructura se indirecciona con los operadores * y ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_fa.html b/beta_95_fa.html new file mode 100644 index 000000000..781ab7dfe --- /dev/null +++ b/beta_95_fa.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that give us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_fr.html b/beta_95_fr.html new file mode 100644 index 000000000..eaa84a127 --- /dev/null +++ b/beta_95_fr.html @@ -0,0 +1,57 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pointeurs intelligents

+

En plus de la possibilité de créer des références de données typées à +l'aide de l'opérateur &, Rust nous donne la possibilité de créer des +structures similaires aux références (en anglais reference-like) appelées +pointeurs intelligents.

+

Les références peuvent être vues comme un type qui nous donne accès à un +autre type. Les pointeurs intelligents peuvent faire la même chose que les +références et plus encore, c'est au programmeur de définir la logique interne +d'un pointeur intelligent. La partie intelligente est le programmeur.

+

Les pointeurs intelligents implémentent généralement les traits Deref, +DerefMut et Drop pour spécifier le comportement du pointeur lorsque la +structure est déréférencée avec les opérateurs * et ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_hu.html b/beta_95_hu.html new file mode 100644 index 000000000..0f92c6805 --- /dev/null +++ b/beta_95_hu.html @@ -0,0 +1,53 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Okos Mutatók

+

Azon túl, hogy a & operátorral referenciákat csinálhatunk már létező, adott típusú adatra, +a Rust ad nekünk olyan, referencia-szerű struktúrákat, amiket okos mutatónak hívunk.

+

A referenciákra gondolhatunk úgy, mint típusokra, melyek másik típusokhoz engednek hozzáférni. +Az okos mutatók abban mások, hogy belső működésüket programozók által írt logika adja. Te, mint +programozó vagy az okos rész.

+

Általában az okos pointerek megvalósítják a Deref, DerefMut és Drop traiteket, így tudják +meghatározni, mit csináljon velük a * és . operátor.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_ie.html b/beta_95_ie.html new file mode 100644 index 000000000..6bf2df873 --- /dev/null +++ b/beta_95_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Puntatores Inteligent

+

In plu al possibilitá de crear referenties a existent tipat data con li operator &, Rust da nos li habilitá de crear +referentiesc structs nominat smart pointers (puntatores inteligent).

+

Noi posse conceptualisar referenties simplicmen quam un tip quel da accesse a un altri tip. Smart pointers es diferent de normal +puntatores in quant que ili functiona basat sur li logic intern scrit del programmator. Tu - li programmator - es li parte +quel es inteligent. +Por li pluparte smart puntatores implementa li trates Deref, DerefMut e Drop por specificar li logica pri quo mey evenir +quande on dereferentia li structura con li operatores * e ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_ko.html b/beta_95_ko.html new file mode 100644 index 000000000..c547ab17a --- /dev/null +++ b/beta_95_ko.html @@ -0,0 +1,53 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

스마트 포인터

+

& 연산자로 이미 존재하는 데이터의 참조를 생성하는 기능과 더불어, +Rust에서는 smart pointer라 불리는 참조 같은 struct를 생성하는 기능을 제공합니다.

+

고수준에서 보자면 참조는 다른 자료형에 대한 접근을 제공하는 자료형이라고 볼 수 있습니다. +smart pointer가 일반적인 참조와 다른 점은, 프로그래머가 작성하는 내부 로직에 기반해 작동한다는 것입니다. +여러분(프로그래머)이 바로 smart한 부분을 담당하는 겁니다.

+

일반적으로 smart pointer는 struct가 *. 연산자로 역참조될 때 무슨 일이 발생할지 +지정하기 위해 Deref, DerefMut, 그리고 Drop trait을 구현합니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_pl.html b/beta_95_pl.html new file mode 100644 index 000000000..4dad31183 --- /dev/null +++ b/beta_95_pl.html @@ -0,0 +1,53 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Pointers

+

In addition to the ability to create references to existing typed data using the & operator, Rust gives us the ability +to create reference-like structs called smart pointers.

+

We can think of references at a high level as a type that give us access to another type. Smart pointers are different in their +behavior from normal references in that they operate based on internal logic that a programmer writes. You — the programmer — +are the smart part.

+

Typically smart pointers implement Deref, DerefMut, and Drop traits to specify the logic of what should happen when +the structure is dereferenced with * and . operators.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_pt-br.html b/beta_95_pt-br.html new file mode 100644 index 000000000..6a9ae567e --- /dev/null +++ b/beta_95_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ponteiros inteligentes

+

Além da possibilidade de criar referências a dados tipados existentes usando o operador &, o Rust nos dá a possibilidade de criar structs reference-like chamadas ponteiros inteligentes.

+

Grosso modo, podemos pensar nas referências como um tipo que nos dá acesso a outro tipo. Os ponteiros inteligentes são diferentes em seu comportamento das referências normais, pois operam com base na lógica interna que um programador escreve. Você — o programador — é a parte inteligente.

+

Normalmente os ponteiros inteligentes implementam as traits Deref, DerefMut e Drop para especificar a lógica do que deve acontecer quando a estrutura é desreferenciada com os operadores * e ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_ro.html b/beta_95_ro.html new file mode 100644 index 000000000..6ea3b1a94 --- /dev/null +++ b/beta_95_ro.html @@ -0,0 +1,53 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pointeri inteligenți

+

Pe lângă abilitatea de a crea referințe la tipuri de date existente folosind operatorul &, limbajul Rust ne oferă posibilitatea +de a crea structuri asemănătoare cu referințele numite pointeri inteligenți.

+

Ne putem gândi la referințe de nivel înalt ca la un tip ce ne oferă acces la alt tip. Pointerii inteligenți se comportă diferit față de +referințele normale, operând după o logică internă, scrisă de programator. Tu — programatorul — +reprezinți partea inteligentă.

+

De obicei pointerii inteligenți implementează trait-urile Deref, DerefMut, și Drop pentru a specifica logica a ce ar trebui să se întâmple când +structura este dereferențiată folosind operatorii * și ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_ru.html b/beta_95_ru.html new file mode 100644 index 000000000..79ae17049 --- /dev/null +++ b/beta_95_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Умные указатели (Smart Pointers)

+

В дополнение к возможности создания ссылок к известным типам данных используя оператор &, Rust предоставляет возможность создания структур похожих на ссылки (reference-like) называемых умные указатели (smart pointers).

+

Можно думать об этих ссылках на более высоком уровне, как о типах, которые предоставляют доступ к другим типам. Умные указатели по своему поведению отличаются от обычных ссылок тем, что они работают на основе внутренней логики, описываемой разработчиком. Вы как разработчик - это умная часть этих указателей.

+

Обычный умный указатель реализует типажи Deref, DerefMut и Drop для определения логики того, что должно происходить, когда структура разыменована с помощью операторов * и .

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_th.html b/beta_95_th.html new file mode 100644 index 000000000..ca3288dc4 --- /dev/null +++ b/beta_95_th.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Pointers

+

นอกเหนือจากความสามารถในการสร้างตัวอ้างอิงให้กับข้อมูลของ type ที่มีอยู่จริง ด้วยการใช้ตัวดำเนินการ & แล้ว Rust มีอีกความสามารถหนึ่งนั่นคือการสร้าง โครงสร้าง reference-like (การอ้างอิงเสมือน) ที่มีชื่อเรียกว่า smart pointers

+

การอ้างอิง ในมุมมองที่สูงขึ้นไปอีก มันคือการเข้าถึง type หนึ่งได้จากอีก type หนึ่ง โดยที่ Smart pointer จะมีพฤติกรรมต่างไปจาก การอ้างอิงปกติ ตรงที่มันจะทำงาน ตามที่โปรแกรมเมอร์เขียนตรรกะให้นั่นเพราะว่า +โปรแกรมเมอร์ - อย่างคุณที่แหล่ะ - คือสิ่งที่ ฉลาด ที่สุด

+

โดยทั่วไป smart pointers จะอิมพลีเมนต์ Trait เหล่านี้ Deref, DerefMut, และ Drop เพื่อกำหนดทิศทางให้ ตรรกะว่าจะเกิดอะไรขึ้นเมื่อ struct พยายาม dereference ด้วยตัวดำเนินการ * และ .

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_tr.html b/beta_95_tr.html new file mode 100644 index 000000000..049435907 --- /dev/null +++ b/beta_95_tr.html @@ -0,0 +1,49 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Akıllı İşaretçiler

+

Rust mevcut veri türlerine & işleci aracılığıyla başvurabilme yeteneğine ek olarak, akıllı işaretçiler* olarak bilinen referans yapıları oluşturabilmemize de izin verir.

+

Bu referansları daha yüksek seviyede ve diğer türlere erişim sağlayan, normal referanslardan farklı biçimde davranan türlermiş gibi düşünebilirsiniz. Akıllı işaretçiler, programcının yazdığı dahili mantığa dayalı olarak çalıştıklarından ve bu dahili mantığı tanımlamak da programcıya bağlı olduğundan, aslında buradaki akıllı kısım programcının ta kendisidir.

+

Bu açıklamadan hareketle akıllı işaretçiler için, "bir yapıya * ve . işleçleri kullanılarak başvurulduğunda, olacakların mantığını tanımlamak amacıyla Deref, DerefMut ve Drop özelliklerini uygulayan yapılar" diyebiliriz.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_ua.html b/beta_95_ua.html new file mode 100644 index 000000000..0487deeb0 --- /dev/null +++ b/beta_95_ua.html @@ -0,0 +1,53 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розумні вказівники (Smart Pointers)

+

На додаток до можливості створювати посилання на існуючі типізовані дані за допомогою оператора &, Rust надає нам можливість +створювати посилання-подібні структури, які називаються розумні вказівники.

+

Ми можемо думати про посилання на високому рівні як про тип, який надає нам доступ до іншого типу. Розумні покажчики відрізняються за своєю +поведінкою від звичайних посилань тим, що вони працюють на основі внутрішньої логіки яку пише програміст. Ви - програміст - +є розумною частиною.

+

Зазвичай, розумні покажчики реалізують ознаки Deref, DerefMut та Drop для визначення логіки того, що має відбуватись, коли +структуру розіменовують операторами * та ..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_vi.html b/beta_95_vi.html new file mode 100644 index 000000000..c2dc5212a --- /dev/null +++ b/beta_95_vi.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Con trỏ thông minh

+

Ngoài khả năng tạo tham chiếu đến dữ liệu đã nhập hiện có bằng toán tử &, Rust cho chúng ta khả năng tạo các struct giống như tham chiếu được gọi là smart pointers(Con trỏ thông minh).

+

Chúng ta có thể coi các tham chiếu ở cấp độ cao là một loại cho phép chúng ta truy cập vào một loại khác. Con trỏ thông minh khác về hành vi của chúng so với các tham chiếu thông thường ở chỗ chúng hoạt động dựa trên logic bên trong mà một lập trình viên viết ra. Bạn - lập trình viên - là phần thông minh.

+

Thông thường, các con trỏ thông minh triển khai các đặc điểm Deref, DerefMut, và Drop để chỉ định logic về những gì sẽ xảy ra khi struct được tham chiếu bằng các toán tử *..

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_95_zh-cn.html b/beta_95_zh-cn.html new file mode 100644 index 000000000..0d6f44b7a --- /dev/null +++ b/beta_95_zh-cn.html @@ -0,0 +1,49 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

智能指针

+

除了能够使用&运算符创建对现有类型数据的引用之外, Rust 给我们提供了能够创建称为智能指针类引用结构。
+我们可以在高层次上将引用视为一种类型,它使我们能够访问另一种类型. 智能指针的行为与普通引用不同,因为它们基于程序员编写的内部逻辑进行操作. 作为程序员的你就是智能的一部分。
+通常,智能指针实现了 DerefDerefMutDrop 特征,以指定当使用 *. 运算符时解引用应该触发的逻辑。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_ar.html b/beta_96_ar.html new file mode 100644 index 000000000..e5e1d4259 --- /dev/null +++ b/beta_96_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

التعليمة البرمجية الذكية غير آمن (Smart Unsafe Code)

+

تميل المؤشرات الذكية (Smart pointers) إلى استخدام التعليمة البرمجية غير آمن (unsafe) كثيرًا. كما ذكرنا سابقًا، فهي أداة شائعة للتفاعل مع أدنى مستويات الذاكرة في رست (Rust).

+

ما هي التعليمة البرمجية غير آمن (unsafe)؟ تتصرف التعليمات البرمجية غير الآمنة تمامًا مثل رست (Rust) العادي باستثناء بعض القدرات التي لا يستطيع مترجم رست (Rust) تقديم ضمانات بشأنها.

+

القدرة الأساسية للتعليمات البرمجية غير آمن (unsafe) هي الوصول لمحتويات المؤشر الخام (dereferencing a raw pointer). وهذا يعني أخذ مؤشر الخام إلى موضع في الذاكرة والإعلان عن "يوجد هيكل بيانات هنا!" ثم تحويلها إلى تمثيل للبيانات التي يمكنك استخدامها (على سبيل المثال، *const u8 إلى u8).

+

ليس لدى رست (Rust) طريقة لتتبع معنى كل بايت يتم كتابته في الذاكرة. نظرًا لأن رست (Rust) لا يمكنه تقديم ضمانات حول ما هو موجود عندما يكون هناك رقم عشوائي مستخدم كـ مؤشر الخام، فإنه يضع إلغاء المرجعية في كتلة unsafe { ... }. +المؤشرات الذكية (Smart pointers) تصل لمحتويات المؤشر الخام على نطاق واسع، لكنها متأكدة جيدًا في ما تفعله.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_en.html b/beta_96_en.html new file mode 100644 index 000000000..a42501325 --- /dev/null +++ b/beta_96_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is an unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_es.html b/beta_96_es.html new file mode 100644 index 000000000..9453b65ac --- /dev/null +++ b/beta_96_es.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Código Inteligente No Seguro

+

Los punteros inteligentes tienden a usar código no seguro (unsafe) con bastante frecuencia. Como se mencionó anteriormente, son herramientas comunes para interactuar con los niveles más bajos de memoria en Rust.

+

¿Qué es código no seguro? El código no seguro se comporta exactamente como el normal de Rust, con la excepción de algunas habilidades que el compilador de Rust no puede garantizar.

+

Una de las principales capacidades de un código no seguro es la de indireccionar un puntero sin procesar. Eso significa mover un puntero sin procesar a una posición en la memoria y declarar que ahí existe una estructura de datos para después convertirlo en una representación de los datos que se pueden utilizar (es decir, *const u8 en u8). Rust no tiene forma de rastrear el significado de cada byte que se escribe en la memoria. Debido a que Rust no puede hacer garantizar lo que existe en un número arbitrario que se ha usado comoun puntero sin procesar, pone la indirección en un bloque no seguro unsafe { ... }.

+

Los punteros inteligentes indireccionan los punteros sin procesar ampliamente, pero están bien probados en lo que hacen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_fa.html b/beta_96_fa.html new file mode 100644 index 000000000..10505d28f --- /dev/null +++ b/beta_96_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_fr.html b/beta_96_fr.html new file mode 100644 index 000000000..5f7952676 --- /dev/null +++ b/beta_96_fr.html @@ -0,0 +1,59 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Code intelligents mais dangereux

+

Les pointeurs intelligents ont tendance à utiliser assez souvent du code +dangereux (en anglais unsafe). Comme mentionné précédemment, ce sont des +outils courants pour interagir au plus bas niveau de la mémoire.

+

Qu'est-ce qu'un code dangereux? Un code dangereux se comporte exactement +comme un code normal à l'exception que le compilateur Rust ne garantie pas +la validité du programme.

+

La première cause d'un code dangereux est lorsqu'on essaye de +déréférencer un pointeur brut. Cela signifie prendre un pointeur brut +correspondant à une adresse mémoire, déclarer "une structure de données existe ici!" +et transformer les octets de cet emplacement mémoire dans une représentation +de données que l'on pourra utiliser (par exemple *const u8 en u8). +Puisque Rust ne garantie pas la signification des octets (il ne garde +pas de traces), il place le déréférencement dans un bloc unsafe {...}.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_hu.html b/beta_96_hu.html new file mode 100644 index 000000000..0332712cf --- /dev/null +++ b/beta_96_hu.html @@ -0,0 +1,61 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Okos Nem Biztonságos Kód

+

Az okos mutatók elég gyakran használnak nem biztonságos (unsafe) kódot. Ahogy korábban +említettük, ezek gyakran használt eszközök, ha a legközvetlenebb módon kell a memóriával +dolgozni.

+

Mit jelent az, hogy nem biztonságos kód? A nem biztonságos kódok ugyanúgy működnek, mint a +rendes Rust, azzal a kivétellel, hogy van néhány képessége, amire a Rust fordító nem tud +semmiféle garanciát adni.

+

Az egyik legfontosabb ilyen képesség a nyers mutatók lekövetése. Ez azt jelenti, hogy +készítünk egy nyers mutatót, ami mutat valahova a memóriában és kijelentjük róla, hogy amire +mutat, az "márpedig igenis érvényes adat!" és olyan formára hozzuk, amivel tudunk dolgozni (pl.: +*const u8-ból u8-at csinálunk).

+

A Rust nem képes a memória minden bájtjának jelentését követni. Mivel nem képes garantálni, hogy +egy nyers mutatóként használt tetszőleges szám által hivatkozott memóriaterületen mit fogunk +találni, ezt a memória-hozzáférés műveletet unsafe { ...} blokkba kell tennünk.

+

Bár az okos mutatók rengetegszer követnek nyers mutatókat, ezek a típusok meglehetősen +alaposan ellenőrzött eszközök és elég biztosak lehetünk benne, hogy biztonságosak.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_ie.html b/beta_96_ie.html new file mode 100644 index 000000000..f8f18a565 --- /dev/null +++ b/beta_96_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Code Inteligent e Ínsecur

+

Smart pointers frequentmen usa code unsafe (ínsecur). Quam mentionat in supra, ili es utensiles frequentmen +usat por interacter con li nivelles de memorie max bass in Rust. +Quo es code unsafe? Unsafe code es just quam Rust normal except que it have quelc habilitás pri queles li +compilator ne posse confirmar ca ili es secur o ne. +Li habilitá primari de code unsafe es li dereferentiation de un puntator crud. To vole dir mover un raw pointer +a un loc in memorie e declerar "ti-ci hay un data structura!" e changear it ad-in un representation de usabil data (p.ex. +ex un *const u8 ad-in un u8). Rust nullmen posse memorar li significantie de omni byte inscrit in memorie, e pro to, +ne posse garantir quo existe in un loc arbitrari usat quam un raw pointer, e pro to on plazza li dereferentie in un bloc +unsafe { ... }. +Smart pointers dereferentia puntatores crud extensivmen, ma fa it tre habilmen.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_ko.html b/beta_96_ko.html new file mode 100644 index 000000000..619c659fa --- /dev/null +++ b/beta_96_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

위험한 스마트 코드

+

smart pointer는 unsafe한 코드를 꽤 자주 쓰는 경향이 있습니다. +앞서 말했듯이, smart pointer는 Rust에서 가장 저수준의 메모리를 다루기 위한 일반적인 도구입니다.

+

뭐가 unsafe한 코드일까요? +unsafe한 코드는 Rust 컴파일러가 보증할 수 없는 몇 가지 기능이 있다는 예외사항을 제외하고는 일반적인 코드와 완전히 똑같이 동작합니다.

+

unsafe한 코드의 주기능은 raw pointer를 역참조하는 것입니다. +이는 raw pointer를 메모리 상의 위치에 가져다 놓고 "데이터 구조가 여깄다!"고 선언한 뒤 사용할 수 있는 데이터 표현으로 변환하는 것을 의미합니다 (i.e. *const u8u8로). +Rust에는 메모리에 쓰여지는 모든 바이트의 의미를 추적하는 방법은 없습니다. +Rust는 raw pointer로 쓰이는 임의의 숫자에 무엇이 존재하는지 보증할 수 없기 때문에, 역참조를 unsafe { ... } 블록 안에 넣습니다.

+

smart pointer는 raw pointer를 역참조하는데 널리 쓰이지만, 그 기능은 잘 입증 되었습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_pl.html b/beta_96_pl.html new file mode 100644 index 000000000..1576b5d4e --- /dev/null +++ b/beta_96_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Unsafe Code

+

Smart pointers tend to use unsafe code fairly often. As mentioned earlier, +they are common tools for interacting with the lowest levels of memory in Rust.

+

What is unsafe code? Unsafe code behaves exactly like normal Rust with the exception of a few abilities that +the Rust compiler is unable to make guarantees about.

+

A primary ability of unsafe code is dereferencing a raw pointer. That means taking a raw pointer +to a position in memory and declaring "a data structure exists here!" and turning it into a representation of data you can use (i.e. *const u8 into u8). +Rust has no way to keep track of the meaning of every byte that gets written to memory. Because Rust can't make +guarantees about what exists at an arbitrary number used as a raw pointer, it puts the dereference in an unsafe { ... } block.

+

Smart pointers dereference raw pointers extensively, but they are well proven in what they do.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_pt-br.html b/beta_96_pt-br.html new file mode 100644 index 000000000..2666f732f --- /dev/null +++ b/beta_96_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Código inseguro inteligente

+

Os ponteiros inteligentes tendem a usar código inseguro com bastante frequência. Como mencionado anteriormente, eles são ferramentas comuns para interagir com os níveis mais baixos de memória no Rust.

+

O que é um código inseguro? O código inseguro se comporta exatamente como Rust normal, com exceção de algumas habilidades sobre as quais o compilador Rust é incapaz de oferecer garantias.

+

Uma habilidade primária do código inseguro é o desreferenciamento de um ponteiro bruto. Isso significa pegar um ponteiro bruto de uma posição na memória, declarar que "há uma estrutura de dados aqui!" e transformá-lo em uma representação de dados que você pode usar (ou seja, *const u8 em u8).

+

O Rust não tem como rastrear o significado de cada byte que é gravado na memória. E porque o Rust não pode dar garantias sobre o que existe em um número arbitrário usado como um ponteiro bruto que ele põe o desreferenciamento em um bloco unsafe { ... }.

+

Ponteiros inteligentes desreferenciam ponteiros brutos extensivamente, mas são bem competentes no que fazem.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_ro.html b/beta_96_ro.html new file mode 100644 index 000000000..8ccf381b8 --- /dev/null +++ b/beta_96_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cod nesigur inteligent

+

Pointerii inteligenți folosesc adesea cod nesigur. După cum am menționat și mai devreme, +aceștia sunt des folosiți în Rust pentru interacțiunea cu memoria la un nivel apropiat de hardware.

+

Ce este codul nesigur? Codul nesigur se comportă exact ca orice cod scris în Rust cu excepția câtorva aspecte al căror comportament

+

nu poate fi garantat de către compilatorul din Rust.

+

O trăsătură de bază a codului nesigur este dereferențierea unui pointer simplu. Asta înseamnă că poate lua un pointer simplu +și să îl ducă la o locație din memorie, declarând "aici există o structură de date!" și transformând-o într-o reprezentare de date pe care o poți folosi (adică transformă *const u8 în u8). +Limbajul Rust nu poate urmări fiecare byte ce este scris în memorie. Pentru că limbajul Rust nu poate garanta +ce se află la un număr aleator folosit drept pointer simplu, acesta folosește dereferențierea într-un bloc unsafe { ... }.

+

Pointerii inteligenți dereferențiază pointerii simpli pe larg, dar este bine știut ce fac.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_ru.html b/beta_96_ru.html new file mode 100644 index 000000000..cae286e28 --- /dev/null +++ b/beta_96_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Умный небезопасный код (Smart Unsafe Code)

+

Умные указатели часто используют небезопасный (unsafe) код. Как говорилось ранее, они являются общими инструментами для взаимодействия с самыми низкими уровнями памяти в Rust.

+

Что такое небезопасный (unsafe) код? Небезопасный ведет себя точно как обычный Rust код с исключением нескольких возможностей, о которых компилятор не может предоставить гарантии.

+

Основной возможностью небезопасного кода является разыменование сырого указателя (dereferencing a raw pointer). Это означает взятие сырого указателя на позицию памяти, объявление "здесь существует структура данных" и превращение ее в представления другого типа данных, которые можно использовать (например, *const u8 в u8). +В Rust нет способа следить за каждым из байтов, записываемым в память. Так как Rust не может дать гарантии, что именно существует за произвольным числом, использованным как сырой указатель (raw pointer), то необходимо поместить данное разыменование в unsafe { ... } блок.

+

Умные указатели разыменовывают сырые указатели экстенсивно, но они хорошо зарекомендовали себя в том, что они делают

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_th.html b/beta_96_th.html new file mode 100644 index 000000000..9f31d4cb3 --- /dev/null +++ b/beta_96_th.html @@ -0,0 +1,52 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Smart Unsafe Code

+

เรามักจะใช้ Smart pointers คู่กับ unsafe ในการเขียนโค้ดอยู่บ่อยครั้ง แต่ก็อย่างที่ได้กล่าวมาแล้วก่อนหน้านี้ว่า ของพวกนี้เป็นเครื่องมือพื้นฐานที่ Rust ใช้ โต้ตอบกับหน่วยความจำในระดับล่างที่สุด

+

แล้วโค้ดที่ไม่ปลอดภัย (unsafe code) นี่คืออะไรน่ะเหรอ ที่จริงมันก็คือโค้ด Rust ปกติธรรมดาแต่มีข้อยกเว้นบางอย่างที่คอมไพเลอร์ของ Rust ไม่อาจรับประกันได้

+

ความสามารถหลักของ unsafe code ก็คือ dereferencing a raw pointer (การจัดการ raw pointer) ซึ่งก็คือการใช้ raw pointer ขี้ไปที่ตำแหน่งในหน่วยความจำและประกาศว่า "มีโครงสร้างข้อมูลอยู่ตรงนี้!" และเปลี่ยนมันมาอยู่ในรูปที่คุณเอาไปใช้ได้ (เช่นเปลี่ยน *const u8 ไปเป็น u8) +Rust ไม่มีความสามารถที่จะตามไปดูว่าแต่ละไบต์ที่ถูกเขียนลงไปในหน่วยความจำมีความหมายว่าอย่างไรบ้าง เพราะว่า Rust ไม่สามารถรับประกันสิ่งที่อยู่ในเลขที่ถูกใช้เป็น raw pointer +เราจึงเอา dereference นั้นไปใส่ไว้ในกล่อง unsafe { ... }

+

การใช้ Smart pointers เพื่อ dereference ไปที่ raw pointers แบบนี้มันชัดเจนดีว่ากำลังต้องการทำอะไร

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_tr.html b/beta_96_tr.html new file mode 100644 index 000000000..aed9d852a --- /dev/null +++ b/beta_96_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Akıllı Güvensiz Kodlar

+

Rust'ta düşük bellek seviyeleriyle etkileşebilmek için çoğunlula güvenli olmayan kod bloklarından yararlanıldığından, akıllı işaretçiler bu kodları sıklıkla kullanırlar.

+

Daha önce de kabaca değindiğimiz güvenli olmayan kodlar, derleyicinin garanti edemediği birkaç özellik dışında, tam olarak normal Rust kodu gibi davranırlar.

+

Güvenli olmayan kodun ana özelliği, bir ham işaretçinin referansını kaldırmaktır. Bu, ham işaretçiyi bir bellek konumuna götürerek: "Burada bir veri yapısı var." şeklinde bildirim almak ve bu veriyi, örneğin u8 için *const u8 olarak kullanabileceğimiz başka bir veri türü temsiline dönüştürmek demektir. Rust'ta, belleğe yazılan her baytın anlamını takip etmenin bir yolu olmadığından ve Rust, ham işaretçi olarak kullanılan rasgele bir sayının arkasında tam olarak neyin bulunduğunu garanti edemediğinden, bu referansın güvensiz olarak işaretlenmiş bir unsafe {...} bloğunun içine konulmasını bekler.

+

Akıllı işaretçiler ham işaretçi referanslarını büyük ölçüde kaldırmalarına rağmen, yaptıkları işleri başarıyla sonuçlandırırlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_ua.html b/beta_96_ua.html new file mode 100644 index 000000000..73d858f68 --- /dev/null +++ b/beta_96_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розумний небезпечний код (Smart Unsafe Code)

+

Розумні вказівники досить часто використовують небезпечний код. Як згадувалося раніше, +вони є поширеним інструментом для взаємодії з найнижчими рівнями пам'яті у Rust.

+

Що таке небезпечний код? Небезпечний код поводиться так само, як і звичайний код у Rust, за за винятком декількох можливостей, +щодо яких компілятор Rust не може надати гарантій.

+

Основною можливістю небезпечного коду є розіменування необроблених вказівник. Це означає розміщення необробленого вказівника +в пам'яті та оголошення "тут існує структура даних!" і перетворення її на дані, яке ви можете використовувати (наприклад, *const u8 на u8). +Rust не має можливості відстежувати значення кожного байта, який записується до пам'яті. Оскільки, Rust не може надати +гарантій щодо того, чи існує щось за довільним номером, який використовується як неороблений вказівник, він поміщає розіменування у unsafe { ... } блок.

+

Розумні вказівники широко використовуються для розіменування сирі вказівники, і вони добре зарекомендували себе у тому, що вони роблять.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_vi.html b/beta_96_vi.html new file mode 100644 index 000000000..2d72dc2aa --- /dev/null +++ b/beta_96_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Code không an toàn thông minh(Smart Unsafe Code)

+

Con trỏ thông minh có xu hướng sử dụng code không an toàn khá thường xuyên. Như đã đề cập trước đó, chúng là công cụ phổ biến để tương tác với các mức bộ nhớ thấp nhất trong Rust.

+

Code không an toàn là gì? Code không an toàn hoạt động giống như Rust bình thường ngoại trừ một vài khả năng mà trình biên dịch Rust không thể đảm bảo.

+

Khả năng chính của code không an toàn là dereferencing đến một con trỏ thô. Điều đó có nghĩa là đưa một con trỏ thô đến một vị trí trong bộ nhớ và tuyên bố "một cấu trúc dữ liệu tồn tại ở đây!" và biến nó thành một biểu diễn dữ liệu mà bạn có thể sử dụng (tức là *const u8 thành u8). +Rust không có cách nào để theo dõi ý nghĩa của từng byte được ghi vào bộ nhớ. Bởi vì Rust không thể đảm bảo về những gì tồn tại ở một số tùy ý được sử dụng như một con trỏ thô, nó đặt tham chiếu vào một unsafe { ... } block.

+

Con trỏ thông minh dereference con trỏ thô một cách rộng rãi, nhưng chúng đã được chứng minh rõ ràng trong những gì chúng làm.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_96_zh-cn.html b/beta_96_zh-cn.html new file mode 100644 index 000000000..b794013d1 --- /dev/null +++ b/beta_96_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

智能不安全代码

+

智能指针倾向于经常使用不安全的代码。如前所述,它们是与 Rust 中最低级别的内存进行交互的常用工具。
+什么是不安全代码? 不安全代码的行为与普通 Rust 完全一样,除了一些 Rust 编译器无法保证的功能。
+不安全代码的主要功能是解引用指针。 这意味着将原始指针指向内存中的某个位置并声明“此处存在数据结构!” 并将其转换为您可以使用的数据表示(例如将*const u8 转换为u8)。 Rust 无法跟踪写入内存的每个字节的含义。 + 因为 Rust 不能保证在用作 指针 的任意数字上存在什么,所以它将解引用放在一个 unsafe { ... } 块中。

+

智能指针广泛地被用来解引用指针,它们的作用得到了很好的证明。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ar.html b/beta_97_ar.html new file mode 100644 index 000000000..ae51f4000 --- /dev/null +++ b/beta_97_ar.html @@ -0,0 +1,54 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

أصدقاء مألوفون

+

خذ بعين الاعتبار بعض المؤشرات الذكية (smart pointers) التي رأيناها بالفعل مثل Vec<T> وString.

+

Vec<T> هو مؤشر ذكي يمتلك فقط بايتات في منطقة معينة من الذاكرة. ليس لدى مترجم رست (Rust) أي فكرة عما هو موجود في هذه البايتات. يفسر المؤشر الذكي ما يعنيه لإحضار العناصر من منطقة الذاكرة التي يديرها، ويتتبع من أين تبدأ وتنتهي هياكل البيانات داخل تلك البايتات، ثم في النهاية يقوم بالوصول إلى محتوى المؤشر الخام ويضعها في هياكل البيانات ليكون في النهاية كواجهة مريحة ونظيفة ولطيفة بالنسبة لنا عند استخدمه (على سبيل المثال my_vec[3]).

+

وبنفس الكيفية، تقوم String بتتبع البايتات في منطقة من الذاكرة، وتقيد المحتوى المكتوب فيها برمجيًا ليكون دائمًا بترميز utf-8 صالح، وتساعد على الوصول إلى محتوى تلك المنطقة الذاكرة كنوع &str.

+

تستخدم كل من هياكل البيانات المذكورة إلغاء مرجعية غير آمنة للمؤشرات الخام للقيام بعملها.

+

تفاصيل الذاكرة:

+
    +
  • يحتوي رست (Rust) على ما يعادل malloc في لغة C باستخدام alloc وLayout للحصول على مناطق الذاكرة الخاصة بك لإدارتها.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_en.html b/beta_97_en.html new file mode 100644 index 000000000..387d409ca --- /dev/null +++ b/beta_97_en.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_es.html b/beta_97_es.html new file mode 100644 index 000000000..548c561ca --- /dev/null +++ b/beta_97_es.html @@ -0,0 +1,54 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Viejos Conocidos

+

Hay que tener en cuenta algunos punteros inteligentes que ya hemos visto, como Vec<T> y String.

+

Vec<T> es un puntero inteligente que sólo posee alguna región de memoria de bytes. El compilador de Rust no tiene ni idea de lo que existe en estos bytes. El puntero inteligente interpreta lo que significa tomar elementos de la región de memoria que gestiona, mantiene un registro de dónde comienzan y terminan las estructuras de datos dentro de esos bytes, y luego finalmente indirecciona un puntero sin procesar en estructuras de datos en una interfaz ergonómica y sencilla para que la usemos. (e.g. my_vec[3]).

+

String mantiene un registro de una región de memoria de bytes, y restringe de forma programada el contenido que se escribe en ella para que siempre sea válido en utf-8 y ayude a indireccionar esa región de memoria en un tipo &str.

+

Ambas estructuras de datos usan la indirección no segura de los punteros sin procesar para desempeñar sus tareas.

+

Detalles de la memoria:

+
    +
  • Rust tiene un equivalente del malloc de C usando alloc y Layout para obtener sus propias regiones de memoria para gestionar.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_fa.html b/beta_97_fa.html new file mode 100644 index 000000000..0ec82e765 --- /dev/null +++ b/beta_97_fa.html @@ -0,0 +1,58 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_fr.html b/beta_97_fr.html new file mode 100644 index 000000000..feb6b0bea --- /dev/null +++ b/beta_97_fr.html @@ -0,0 +1,66 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Amis familiers

+

Revenons sur quelques pointeurs intelligents que tu connais déjà: Vec<T> et String.

+

Vec <T> est un pointeur intelligent vers des octets en mémoire. Le +compilateur Rust n'a aucune idée de la manière dont il faut interpréter ces octets. +Le pointeur intelligent est capable d'interpréter ces octets en gardant +une trace de l'endroit dans ces octets où une structures de données commence +et se termine. Le pointeur intelligent déréférence un pointeur brut pour +exposer la structure de données dans une belle interface ergonomique propre +que nous utilisons (par exemple my_vec [3]).

+

De même, String garde une trace des octets en mémoire et restreint par +programmation le contenu qui y est écrit à toujours être de l'utf-8 +valide. Il déréférence cette région de mémoire dans un type&str.

+

Ces deux structures de données doivent procéder à un déréférencement +dangereux de pointeurs bruts.

+

Détails de la mémoire:

+
    +
  • Rust possède l'équivalent de malloc du langage C avec +alloc et +Layout +pour allouer soi-même une région de la mémoire.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_hu.html b/beta_97_hu.html new file mode 100644 index 000000000..d677f222b --- /dev/null +++ b/beta_97_hu.html @@ -0,0 +1,64 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Ismerős Barátok

+

Nézzünk meg néhány okos mutatót, amivel már találkoztunk, úgymint a Vec<T> és String!

+

A Vec<T> egy okos mutató, ami a memóriában egy marék bájt tulajdonosa. A Rust fordítónak +halvány fogalma sincs róla, mi van ezekben a bájtokban. Az okos mutató azonban megmondja, hogyan +kell értelmezni az általa birtokolz bájthalmazt, nyilván tartja, hol kezdődnek és végződnek a +tartalmazott adatstruktúrák, majd végül leköveti a nyers mutatót egy kellemesen ergonomikus +felhasználási módot biztosítva (pl.: vektorom[3]).

+

Hasonlóképp, a String is egy memóriaterületet követ nyomon. Megköti, hogy minden oda írt adat +érvényes utf-8 szöveg kell, hogy legyen, és segít ezt a memóriaterületet &str típusként +értelmezni.

+

Mindkét adatstruktúra nem biztonságos kódban lekövetett nyers mutatókat használ ezekre a +feladatokra.

+

Hogyan érinti ez a memóriát:

+
    +
  • A C malloc függvényének megfelelője Rustban az +alloc és a +Layout, amikkel saját magad +foglalhatsz és kezelhetsz memóriát.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ie.html b/beta_97_ie.html new file mode 100644 index 000000000..04ba897cc --- /dev/null +++ b/beta_97_ie.html @@ -0,0 +1,58 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Amics Bon Conosset

+

Ples considerar quelc inteligent puntatores ja videt quam Vec<T> e String. +Vec<T> es un puntator intilegent quel simplicmen possede un region de memorie de bytes. Li compilator Rust have null idé +pri quo existe in li bytes. Li puntator inteligent interpreta li significantie de prender bytes del region de memorie quel +it gere, it nota ex u comensa e fini se li data-structuras ta, e in fine dereferentia un raw pointer ad-in data-structuras +con un interfacie clar e ergonomic quel noi posse utilisar (p.ex. my_vec[3]). +Similmen, String nota u trova se un region de memorie de bytes, e programmaticmen da restrictiones al contenete inscrit ta +por que it mey esser valid utf-8, poy auxilia dereferentiar ti region de memorie ad-in un tip &str. +Ti ambi data-structuras usa ínsecur dereferentiation de puntatores crud por acompleer li tache. +Detallies pri memorie:

+
    +
  • Por alquo equivoc a malloc usat in C, rust usa alloc e Layout por gerer tui propri regiones de memorie.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ko.html b/beta_97_ko.html new file mode 100644 index 000000000..5cba15290 --- /dev/null +++ b/beta_97_ko.html @@ -0,0 +1,59 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

익숙한 친구들

+

이미 본 적 있는 Vec<T>String 같은 smart pointer를 생각해 봅시다.

+

Vec<T>는 바이트들의 메모리 영역을 소유하는 smart pointer입니다. +Rust 컴파일러는 이 바이트들에 뭐가 존재하는지 모릅니다. +smart pointer는 관리하는 메모리 영역에서 내용물을 꺼내기 위해 자기가 뭘 의미하는지 해석하고, +데이터 구조가 그 바이트들 내 어디에서 시작하고 끝나는지 추적하며, +마지막으로 raw pointer를 데이터 구조로, 또 쓰기 편한 멋지고 깔끔한 인터페이스로 역참조 합니다. (e.g. my_vec[3])

+

유사하게, String은 바이트들의 메모리 영역을 추적하며, 쓰여지는 내용물이 언제나 유효한 utf-8이도록 프로그램적으로 제한하며, +그 메모리 영역을 &str 자료형으로 역참조할 수 있도록 도와줍니다.

+

이 데이터 구조들 둘 다, 자기 할 일을 하기 위해 raw pointer에 대한 unsafe한 역참조를 사용합니다.

+

메모리 상세:

+
    +
  • Rust는 C의 malloc에 상응하는 alloc과 관리할 메모리 영역을 가져오기 위한 Layout을 갖고 있습니다.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_pl.html b/beta_97_pl.html new file mode 100644 index 000000000..fe6f1314c --- /dev/null +++ b/beta_97_pl.html @@ -0,0 +1,58 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Familiar Friends

+

Consider some smart pointers we've already seen like Vec<T> and String.

+

Vec<T> is a smart pointer that just owns some memory region of bytes. The Rust compiler has no idea what +exists in these bytes. The smart pointer interprets what it means to grab items from the region of memory it manages, +keeps track of where data structures within those bytes begin and end, and then finally dereferences a raw pointer +into data structures into a nice clean ergonomic interface for us to use (e.g. my_vec[3]).

+

Similarly, String keeps track of a memory region of bytes, and programmatically restricts content written to it to always +be valid utf-8 and helps dereference that memory region into a type &str.

+

Both these datastructures use unsafe dereferencing of raw pointers to do their job.

+

Memory details:

+
    +
  • Rust has an equivalent of C's malloc using alloc and Layout for getting ahold of your own memory regions to manage.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_pt-br.html b/beta_97_pt-br.html new file mode 100644 index 000000000..cf87383e7 --- /dev/null +++ b/beta_97_pt-br.html @@ -0,0 +1,54 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Amigos familiares

+

Considere alguns ponteiros inteligentes que já vimos como Vec<T> e String.

+

O Vec<T> é um ponteiro inteligente que simplesmente possui uma região da memória em bytes. O compilador Rust não tem ideia do que existe nesses bytes. O ponteiro inteligente interpreta o que significa pegar os itens da região da memória que ele gerencia, mantém o controle de onde os bytes das estruturas de dados começam e terminam e, finalmente, desreferencia um ponteiro bruto para uma estrutura de dados com uma interface ergonômica, limpa e fácil para nós usarmos (por exemplo, my_vec[3]).

+

Da mesma forma, String mantém o controle de uma região de memória em bytes, restringe programaticamente o conteúdo escrito nele para ser sempre utf-8 válido, e ajuda a desreferenciar essa região de memória em um tipo &str.

+

Ambas as estruturas de dados usam desreferenciamento inseguro de ponteiros brutos para fazer seu trabalho.

+

Detalhes da memória:

+
    +
  • O Rust tem um equivalente ao malloc do C usando alloc e Layout para obter suas próprias regiões de memória para gerenciar.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ro.html b/beta_97_ro.html new file mode 100644 index 000000000..5393a4068 --- /dev/null +++ b/beta_97_ro.html @@ -0,0 +1,58 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Amici comuni

+

Să luăm drept exemplu niște pointeri inteligenți deja cunoscuți Vec<T> și String.

+

Vec<T> este un pointer inteligent ce deține o regiune din memorie. Compilatorul de Rust nu știe ce se află +în acei octeți. Pointerul inteligent interpretează ce înseamnă să ia un element din regiunea de memorie pe care o gestionează, +ține socoteala unde încep și unde se termină structurile de date ale acelor byți, și, în cele din urmă, dereferențiază un pointer simplu +în structuri de date cu o interfață simplă și ergonomică pe care le putem folosi (ex my_vec[3]).

+

Asemănător, String ține socoteala regiunilor de memorie are byților, și restricționează conținutul scris în acestea să fie mereu în formatul +utf-8 și ajută la dereferențierea acelei regiuni de memorie în tipul &str.

+

Ambele structuri de date folosesc dereferențierea nesigură a pointerilor simpli pentru a-și împlini scopul.

+

Detalii despre memorie:

+
    +
  • Limbajul Rust are o funcție echivalentă cu malloc din C alloc și Layout pentru a-ți gestiona de unul singur zonele de memorie.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ru.html b/beta_97_ru.html new file mode 100644 index 000000000..e22eacc9a --- /dev/null +++ b/beta_97_ru.html @@ -0,0 +1,54 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Знакомые друзья (Familiar Friends)

+

Рассмотрим некоторые умные указатели, которые мы уже видели, вроде Vec<T> и String.

+

Vec<T> является умным указателем, который владеет некоторым регионом байт памяти. Компилятор Rust не имеет понятия, что находится в этих байтах. Умный указатель интерпретирует их, что означает захват элементов из этой управляемой памяти, отслеживание где начинаются и заканчиваются структуры данных в этих байтах и затем, наконец, разыменовывание сырого указателя на структуры данных в виде красивого, чистого, эргономичного интерфейса, который можно использовать (например my_vec[3]).

+

Аналогично String отслеживает область байт памяти, программно ограничивает записанное в её содержимое так, чтобы оно было всегда допустимым utf-8 символом и помогает разыменовать эту область памяти в тип &str.

+

Обе эти структуры используют небезопасное разыменование сырых указателей для выполнения своей работы.

+

Детали для запоминания:

+
    +
  • В Rust есть эквивалент Cи функции malloc, можно использовать alloc и Layout для владения и управления собственными областями памяти.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_th.html b/beta_97_th.html new file mode 100644 index 000000000..f1f663948 --- /dev/null +++ b/beta_97_th.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

เพื่อนที่คุ้นเคย

+

คราวนี้เรามาพิจารณา smart pointers ที่เราเคยเห็นมาแล้วเช่น Vec<T> และ String

+

Vec<T> คือ smart pointer ที่ครอบครองพื้นที่ไบต์บางส่วนในหน่วยความจำ โดยที่คอมไพเลอร์ของ Rust ไม่รู้เลยว่า ไบต์พวกนั้นคืออะไร +smart pointer จะแปลสิ่งนั้นว่ามันหมายถึงอะไรเพื่อจะได้หยิบมันมาจากหน่วยความจำ เพื่อมาจัดการด้วยการตามดูว่า โครงสร้างข้อมูลนั้นมีจุดเริ่มต้นและสิ้นสุดอยู่ที่ไหน จนพบ โครงสร้างข้อมูลตัวจริงที่ raw pointer ที่ชี้ไปถึง และนำมาจัดหน้าตาให้ดูดีใช้งานง่าย ตามอินเตอร์เฟสในที่สุด (ตัวอย่างเช่น my_vec[3])

+

ในทำนองเดียวกัน String ก็จะตามดูไบต์ในหน่วยความจำ และใช้กระบวนการทางโปรแกรมบังคับให้สิ่งที่เขียนไว้ในนั้นอยู่ในรูปแบบ utf-8 ที่ถูกต้อง จะได้ dereference ของในหน่วยความจำนั้นผ่าน type &str

+

โครงสร้างข้อมูลทั้งสองตัวนี้ใช้ unsafe ทำงานเพื่อเข้าไปจัดการกับ raw pointers

+

รายละเอียดหน่วยความจำ:

+
    +
  • Rust มีของที่เทียบเคียงได้กับ malloc ของภาษา C ก็คือ alloc และ Layout เพื่อเอาหน่วยความจำของคุณออกมาจัดการ
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_tr.html b/beta_97_tr.html new file mode 100644 index 000000000..eb3be73f2 --- /dev/null +++ b/beta_97_tr.html @@ -0,0 +1,54 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Yakın Arkadaşlarımız

+

Zaten daha önce tanışmış olduğumuz Vec<T> ve String gibi akıllı işaretçilere bir kez daha bakalım.

+

Bellek üzerindeki bazı baytlara sahip olan Vec<T> akıllı bir işaretçi olmasına rağmen, derleyicinin bu baytlarda ne olduğuna dair en ufak bir fikri yoktur. Yönettiği bellek bölgesinden öğe elde etmenin anlamını yorumlayan akıllı işaretçi, bu baytlarda bulunan veri yapısının nerede başlayıp bittiğini takip edip, ham işaretçiyi bir_vektor[3] benzeri, kullanıcı dostu, hoş ve temiz bir arayüzle kullanıbilecek şekilde veri yapılarına aktarır.

+

Benzer şekilde String türü de bellek bölgesindeki baytları izleyerek, kendisine yazılan içeriğin daima geçerli utf-8 olmasını sağlar. Ve bu bellek bölgesinin &str türü içine aktarılmasına yardımcı olur.

+

Bu veri yapılarının her ikisi de işlerini gerçekleştirebilmek için, ham işaretçilerin referanslarına güvensiz kodlar aracılığıyla ulaşmaya çalışır.

+

Bellek ayrıntıları:

+
    +
  • Rust C'deki malloc eş değerinde ve yönetilebilir bellek bölgelerini kullanımımıza sunan, alloc ve Layout özelliklerine sahiptir.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_ua.html b/beta_97_ua.html new file mode 100644 index 000000000..9de797a83 --- /dev/null +++ b/beta_97_ua.html @@ -0,0 +1,58 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Наші старі друзі

+

Розглянемо деякі розумні покажчики, які ми вже бачили, такі як Vec<T> та String.

+

Vec<T> - це розумний покажчик, який просто володіє деякою областю пам'яті у байтах. Компілятор Rust не має жодного уявлення про те, що +знаходиться у цих байтах. Розумний вказівник інтерпретує, тобто захоплює елементи з області пам'яті, якою він керує, +відстежує, де починаються і де закінчуються структури даних у цих байтах, і потім нарешті розіменовує необроблений вказівник +на структури даних з гарним чистим і лаконічним інтерфейсом, якими ми можемо користуватися (наприклад, my_vec[3]).

+

Аналогічно, String відстежує область пам'яті у байтах, і програмно обмежує вміст, що записується до неї, щоб завжди +бути коректною у кодуванні utf-8 і допомагає розіменовувати цю ділянку пам'яті до типу &str.

+

Обидві ці структури даних використовують небезпечне розіменування необроблених вказівників для виконання вказівників для виконання своєї роботи.

+

Подробиці про роботу з пам'ятю:

+
    +
  • У Rust є еквівалент функції malloc у C за допомогою alloc та Layout для отримання доступу до ваших власних областей пам'яті для подальшого керування.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_vi.html b/beta_97_vi.html new file mode 100644 index 000000000..de171bc80 --- /dev/null +++ b/beta_97_vi.html @@ -0,0 +1,54 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Những người bạn quen thuộc

+

Hãy xem xét một số con trỏ thông minh mà chúng ta đã thấy như Vec<T>String.

+

Vec<T> là một con trỏ thông minh chỉ sở hữu một số vùng nhớ byte. Trình biên dịch Rust không biết những gì tồn tại trong những byte này. Con trỏ thông minh giải thích ý nghĩa của việc lấy các mục từ vùng bộ nhớ mà nó quản lý, theo dõi vị trí các cấu trúc dữ liệu trong các byte đó bắt đầu và kết thúc, sau đó cuối cùng tham chiếu một con trỏ thô vào các cấu trúc dữ liệu thành một giao diện đẹp để chúng ta sử dụng (ví dụ: my_vec[3]).

+

Tương tự, String theo dõi vùng nhớ byte và lập trình hạn chế nội dung được ghi vào vùng nhớ đó để luôn có giá trị utf-8 và giúp dereference vùng nhớ đó thành kiểu &str.

+

Cả hai cấu trúc dữ liệu này đều sử dụng dereferencing không an toàn của các con trỏ thô để thực hiện công việc của chúng.

+

Chi tiết bộ nhớ:

+
    +
  • Rust có một cái tương đương với malloc của C bằng cách sử dụng allocLayout để nhận được các vùng bộ nhớ của riêng bạn để quản lý.
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_97_zh-cn.html b/beta_97_zh-cn.html new file mode 100644 index 000000000..6ecc8a7ed --- /dev/null +++ b/beta_97_zh-cn.html @@ -0,0 +1,56 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

熟悉的朋友

+

想一想一些我们已经见过的智能指针,例如 Vec<T>String

+

Vec<T> 是一个智能指针,它只拥有一些字节的内存区域。 Rust 编译器不知道这些字节中存在着什么。 智能指针解释从它管理的内存区域获取数据意味着什么,跟踪这些字节中的数据结构开始和结束的位置,最后将指针解引用到数据结构中, 成为一个漂亮干净的可以阅读的接口供我们使用(例如my_vec[3])。

+

类似地,String 跟踪字节的内存区域,并以编程方式将写入其中的内容限制为始终有效的 utf-8,并帮助将该内存区域解引用为类型 &str

+

这两种数据结构都使用不安全的解引用指针来完成它们的工作。

+

内存细节:

+
    +
  • Rust 有一个相当于 C 的 malloc方法, +allocLayout +来获取你自己管理的内存区域。
  • +
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_ar.html b/beta_98_ar.html new file mode 100644 index 000000000..d2ca0150d --- /dev/null +++ b/beta_98_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ذاكرة الكومة المخصصة (Heap Allocated Memory)

+

Box هو مؤشر ذكي (smart pointer) يتيح لنا نقل البيانات من المكدس (stack) إلى الكومة (heap).

+

يتيح لنا إلغاء المرجعية (Dereferencing) استخدام بيانات الكومة المخصصة بشكل مريح كما لو كانت أصلية في النوع.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_en.html b/beta_98_en.html new file mode 100644 index 000000000..f812ebee2 --- /dev/null +++ b/beta_98_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_es.html b/beta_98_es.html new file mode 100644 index 000000000..04e3caf03 --- /dev/null +++ b/beta_98_es.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memoria Asignada al Montículo

+

Box es un puntero inteligente que nos permite mover los datos de la pila al montículo.

+

La indirección nos permite usar los datos asignados al montículo de forma ergonómica, como si fuera el tipo original.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_fa.html b/beta_98_fa.html new file mode 100644 index 000000000..392c0b29a --- /dev/null +++ b/beta_98_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_fr.html b/beta_98_fr.html new file mode 100644 index 000000000..e6f6eeb0e --- /dev/null +++ b/beta_98_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Mémoire allouée sur le tas

+

Box est un pointeur intelligent qui nous permet de déplacer des données +de la pile vers le tas.

+

Le déréférencement nous permet d'utiliser les données allouées sur le tas +de manière ergonomique comme s'il s'agissait du type d'origine.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_hu.html b/beta_98_hu.html new file mode 100644 index 000000000..251678f78 --- /dev/null +++ b/beta_98_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kupacmemória

+

A Box (doboz) egy olyan okos mutató, amivel a veremből a kupacmemóriára mozgathatunk adatot.

+

Lekövetésével a kupacmemóriát úgy használhatjuk, mintha az eredeti adattal dolgoznánk.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_ie.html b/beta_98_ie.html new file mode 100644 index 000000000..54e9d902c --- /dev/null +++ b/beta_98_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memorie Alocat sur li Heap

+

Box es un puntator inteligent con quel noi posse transferer data del stack til li heap. +Con un dereferentiation de it noi posse ergonomicmen usar li data sur li heap just quam si it esset li tip original.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_ko.html b/beta_98_ko.html new file mode 100644 index 000000000..fb1257225 --- /dev/null +++ b/beta_98_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

힙에 할당된 메모리

+

Box는 데이터를 stack에서 heap으로 옮길 수 있게 해주는 smart pointer입니다.

+

이를 역참조하면 마치 원래 자료형이었던 것처럼 heap에 할당된 데이터를 편하게 쓸 수 있습니다.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_pl.html b/beta_98_pl.html new file mode 100644 index 000000000..e5e142762 --- /dev/null +++ b/beta_98_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Heap Allocated Memory

+

Box is a smart pointer that lets us move data from the stack to the heap.

+

Dereferencing it lets us use the heap allocated data ergonomically as if it were the original type.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_pt-br.html b/beta_98_pt-br.html new file mode 100644 index 000000000..89c56e447 --- /dev/null +++ b/beta_98_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memória Alocada para a Heap

+

O Box é um ponteiro inteligente que nos permite mover dados da pilha para a heap.

+

O desreferenciamento nos permite usar os dados alocados na heap ergonomicamente como se fossem do tipo original.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_ro.html b/beta_98_ro.html new file mode 100644 index 000000000..95501cd6f --- /dev/null +++ b/beta_98_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Memoria alocată pe heap

+

Box este un pointer inteligent care ne permite să mutăm date de pe stivă pe heap.

+

Dereferențiându-l, putem folosi datele alocate pe heap ca și cum ar fi tipul original.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_ru.html b/beta_98_ru.html new file mode 100644 index 000000000..e6b7d977e --- /dev/null +++ b/beta_98_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Память, выделяемая в куче (Heap Allocated Memory)

+

Тип Box является умным указателем, позволяющим переместить данные из стека в кучу.

+

Его разыменование позволяет использовать выделенную память эргономически, как будто это сам оригинальный тип, который в данном случае размещен внутри Box.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_th.html b/beta_98_th.html new file mode 100644 index 000000000..a27c32499 --- /dev/null +++ b/beta_98_th.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

การจัดสรรพื้นที่ใน Heap

+

Box คือ smart pointer ที่อนุญาตให้เราย้ายข้อมูลจาก stack ไปไว้ใน heap ได้

+

Dereferencing ช่วยให้เราสามารถใช้ heap ที่จัดสรรข้อมูลตามหลักสรีรศาสตร์ราวกับว่าเป็นข้อมูลเดิม

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_tr.html b/beta_98_tr.html new file mode 100644 index 000000000..f3b63b8ec --- /dev/null +++ b/beta_98_tr.html @@ -0,0 +1,48 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Öbek Üzerinde Bellek Ayırmak

+

Box verilerimizin, yığın bölgesinden öbek bölgesine taşınmasını sağlayan, bir akıllı işaretçidir.

+

Box'a ait referansın kaldırılması, öbek bölgesinde konumlandırılan verilerin, tıpkı orijinal türlermiş gibi ergonomik biçimde kullanılmasını sağlar.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_ua.html b/beta_98_ua.html new file mode 100644 index 000000000..911e517c0 --- /dev/null +++ b/beta_98_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Пам'ять у купі (Heap Allocated Memory)

+

Box- це розумний вказівник, який дозволяє переміщувати дані зі стеку до купи.

+

Його розіменування дозволяє нам ергономічно використовувати дані, виділені у купі, так, ніби вони були оригінальним типом.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_vi.html b/beta_98_vi.html new file mode 100644 index 000000000..d6813276c --- /dev/null +++ b/beta_98_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bộ nhớ được phân bổ Heap

+

Box là một con trỏ thông minh cho phép chúng ta di chuyển dữ liệu từ stack vào heap.

+

Dereference nó cho phép chúng ta sử dụng dữ liệu được phân bổ theo heap một cách thuận tiện như thể nó là kiểu gốc.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_98_zh-cn.html b/beta_98_zh-cn.html new file mode 100644 index 000000000..c001100ce --- /dev/null +++ b/beta_98_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

堆分配内存

+

Box 是一个可以让我们将数据从堆栈移动到堆的智能指针。

+

解引用可以让我们以人类更容易理解的方式使用堆分配的数据,就好像它是原始类型一样。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_ar.html b/beta_99_ar.html new file mode 100644 index 000000000..871523f0c --- /dev/null +++ b/beta_99_ar.html @@ -0,0 +1,51 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

مراجعة الدالة الرئيسية القابلة للفشل (Failable Main Revisited)

+

قد تحتوي التعليمات البرمجية في رست (Rust)على عدد كبير من تمثيلات الأخطاء (errors)، لكن المكتبة القياسية (standard library) لها سمة عالمية (universal trait) std::error::Error لوصف الأخطاء.

+

باستخدام المؤشر الذكي Box يمكننا استخدام النوع Box<dyn std::error::Error> كنوع شائع لإرجاع الأخطاء لأنه يسمح لنا بنشر خطأ في الكومة (heap) والتفاعل معه بسرعة مستوى عال دون الحاجة إلى معرفة نوع معين.

+

علمنا سابقا في دورة تعلم رست، أن main يمكنها إرجاع خطأ. والآن يمكننا إرجاع نوع قادر على وصف أي نوع من الأخطاء التي قد تحدث في برنامجنا تقريبًا طالما أن هيكل بيانات الخطأ (error's data structure) ينفذ سمة (trait) Error الشائعة في رست (Rust).

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_en.html b/beta_99_en.html new file mode 100644 index 000000000..a8079ce5b --- /dev/null +++ b/beta_99_en.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_es.html b/beta_99_es.html new file mode 100644 index 000000000..db5c4d93a --- /dev/null +++ b/beta_99_es.html @@ -0,0 +1,51 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Repaso de Errores en Main

+

El código de Rust tiene diversas formas de representar errores, pero la librería estándar tiene un trait universal para describirlos: std::error::Error.

+

Haciendo uso del puntero inteligente Box, podemos usar el tipo Box<dyn std::error::Error> como un tipo común para devolver errores porque nos permite propagar un error en el montículo e interactuar con él a un alto nivel sin tener que conocer ningún tipo específico.

+

Al principio de este Tour, aprendimos que main puede devolver un error. Ahora podemos devolver un tipo capaz de describir casi cualquier tipo de error que pueda ocurrir en nuestro programa siempre que la estructura de datos de dicho error implemente el trait de error común de Rust (Error).

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_fa.html b/beta_99_fa.html new file mode 100644 index 000000000..9d1ee1712 --- /dev/null +++ b/beta_99_fa.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_fr.html b/beta_99_fr.html new file mode 100644 index 000000000..6d1f4c0a5 --- /dev/null +++ b/beta_99_fr.html @@ -0,0 +1,60 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Renvoi d'erreurs dans le main revisité

+

Rust possède une pléthore de représentations d'erreurs, mais la bibliothèque +standard met à disposition un trait universel std::error::Error pour +décrire les erreurs.

+

En utilisant le pointeur intelligent Box, nous pouvons utiliser le type +Box<dyn std::error::Error> comme type courant pour renvoyer des erreurs +car celui-ci nous permet de propager une erreur sur le tas et d'interagir +avec elle sans avoir à connaître le type spécifique.

+

Au début du Tour de Rust, nous avons appris que main pouvait renvoyer une +erreur. Avec Box, nous pouvons maintenant retourner un type capable de +décrire presque tout type d'erreur qui pourrait se produire dans notre +programme à condition que la structure de données de l'erreur implémente +le trait Error de Rust.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_hu.html b/beta_99_hu.html new file mode 100644 index 000000000..282110d4d --- /dev/null +++ b/beta_99_hu.html @@ -0,0 +1,56 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hibával Visszatérő Main Függvény, Ismét

+

A Rust-ban írt kódok számtalan módon jelezhetnek hibákat, de az alapkönyvtár tartalmaz egy +univerzális traitet hibák leírására. Ez a std::error::Error.

+

A Box okos mutató segítségével lehetőségünk van létrehozni egy közös hibatípust, a +Box<dyn std::error::Error> típust, amivel bármilyen hibaértéket a kupacmemóriára helyezhetünk +és képesek lehetünk magas szinten dolgozni vele, a konkrét típusa ismerete nélkül.

+

A Rust-túra során korábban már érintettük, hogy a main függvény visszatérhet hibával. Most már +visszaadhatunk egy olyan hibatípust is, ami képes a programunkban előforduló majdnem összes hiba +reprezentálására, ha a hiba típusa megvalósítja a Rust közös Error traitjét.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_ie.html b/beta_99_ie.html new file mode 100644 index 000000000..0267387c4 --- /dev/null +++ b/beta_99_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Denov pri li Main Fallibil

+

In li code de Rust trova se multissim metodes por representar errores, ma li biblioteca standard possede ya +un trate universal std::error::Error por descrir les. +Con li puntator inteligent Box noi posse usar li tip Box<dyn std::error::Error> quam un tip comun por retornar +errores pro que con it noi posse propagar un errore sur li heap e interacter con it sur un alt nivelle sin dever +conosser un tip specific. Tost in li Tur de Rust noi aprendet que main posse retornar un errore. Nu noi posse +retornar un tip quel es capabil descrir presc qualcunc errore quel posse evenir in nor programma, si solmen li +data-structura del errore implementa li trate comun de Rust Error.

+
fn main() -> Result<(), Box<dyn std::error::Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_ko.html b/beta_99_ko.html new file mode 100644 index 000000000..0b62435f7 --- /dev/null +++ b/beta_99_ko.html @@ -0,0 +1,55 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

실패할 수 있는 메인 다시 보기

+

Rust 코드에는 많고도 많은 오류 표현 방법이 있지만, 그 중에도 standard library에는 +오류를 설명하기 위한 범용 trait인 std::error::Error가 있습니다.

+

smart pointer인 Box를 사용하면 Box<dyn std::error::Error>를 오류 리턴 시 공통된 자료형으로 사용할 수 있는데, +이는 오류를 heap에 전파하고 특정한 자료형을 몰라도 고수준에서 상호작용할 수 있도록 해주기 때문입니다.

+

Tour of Rust 초반에 main은 오류를 리턴할 수 있다고 배웠습니다. +이제 우리는 오류의 데이터 구조가 Rust의 일반적인 Error trait을 구현하는 한, +프로그램에서 발생할 수 있는 거의 모든 종류의 오류를 설명할 수 있는 자료형을 리턴할 수 있습니다.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_pl.html b/beta_99_pl.html new file mode 100644 index 000000000..8968a2c47 --- /dev/null +++ b/beta_99_pl.html @@ -0,0 +1,55 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main Revisited

+

Rust code may have a plethora of representations of errors, but the standard library has +a universal trait std::error::Error for describing errors.

+

Using a smart pointer Box we can use the type Box<dyn std::error::Error> as a common type for returning errors because it allows us to +propagate up an error on the heap and interact with it at a high level without having to know a specific type.

+

Early in Tour of Rust we learned that main can return an error. We can now return +a type capable of describing almost any kind of error that might occur in our program +so long as the error's data structure implements Rust's common Error trait.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_pt-br.html b/beta_99_pt-br.html new file mode 100644 index 000000000..b72c1cadb --- /dev/null +++ b/beta_99_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Revisitando o main falível

+

O código Rust pode ter uma infinidade de representações dos erros, mas a biblioteca padrão tem uma trait universal std::error::Error para descrever os erros.

+

Usando um ponteiro inteligente Box podemos usar o tipo Box<dyn std::error::Error> como um tipo comum para retornar os erros, porque nos permite propagar um erro na heap e interagir com ele em alto nível sem precisar conhecer um tipo específico.

+

No início do Tour por Rust, aprendemos que main pode retornar um erro. Agora podemos retornar um tipo capaz de descrever quase qualquer tipo de erro que possa ocorrer em nosso programa, desde que a estrutura de dados do erro implemente a trait usual Error do Rust.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_ro.html b/beta_99_ro.html new file mode 100644 index 000000000..79510adf0 --- /dev/null +++ b/beta_99_ro.html @@ -0,0 +1,55 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Să revizuim main-ul care poate eșua

+

Limbajul Rust are o mulțime de reprezentări ale erorilor, dar biblioteca standard are +un trait universal std::error::Error pentru descrierea erorilor.

+

Utilizând pointerul inteligent Box, putem folosi tipul Box<dyn std::error::Error> pentru returnarea erorilor, deoarece ne permite să propagăm +o eroare pe heap și să interacționăm cu ea la un nivel înalt, fără a cunoaște un tip anume.

+

Mai devreme în Turul limbajului Rust am învățat că funcția main poate returna o eroare. Acum putem returna un tip +ce este capabil să descrie aproape orice fel de eroare pe care o putem întâlni într-un program +atât timp cât structura de date a erorii implementează trait-ul Error.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_ru.html b/beta_99_ru.html new file mode 100644 index 000000000..c31879c71 --- /dev/null +++ b/beta_99_ru.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Сигнатура ошибки в функции main(). Cнова (Failable Main Revisited)

+

В коде Rust может быть множество представлений ошибок, но в стандартной библиотеке есть универсальный типаж std::error::Error для описания любых ошибок.

+

С помощью умного указателя Box, можно использовать тип Box<dyn std::error::Error> в качестве общего типа для возвращения ошибки, потому что он позволяет распространять вверх (propagate up) ошибку, хранящуюся в куче, по стеку вызова и взаимодействовать с ней на более высоких уровнях кода, без необходимости знать конкретный тип ошибки.

+

Ранее в Tour of Rust мы изучили, что функция main может возвращать ошибку. Теперь можно возвращать тип, имеющий возможность описать почти любой вид ошибки, которая могла бы произойти в программе, при условии что представляющая нашу ошибку структура реализует общий типаж std::error::Error из Rust.

+
fn main() -> Result<(), Box<dyn std::error::Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_th.html b/beta_99_th.html new file mode 100644 index 000000000..2bea4abb3 --- /dev/null +++ b/beta_99_th.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

กลับมาที่ Main ที่ผิดพลาดได้ อีกครั้ง

+

โค้ดของ Rust มีวิธีการมากมายในการแสดงค่า error ซึ่งในไลบรารีมาตรฐานก็มี trait กลาง ชื่อ std::error::Error เพื่อแสดงค่า error อยู่ด้วย

+

เราสามารถใช้ smart pointer Box ด้วย type Box<dyn std::error::Error> มาเป็น type ส่วนกลางในการคืนค่า error ได้ เพราะมันยอมให้เราส่ง error ใน heap ขึ้นไปเรื่อยๆ เพื่อให้เราจัดการมันในระดับที่สูงขึ้นไปได้ โดยไม่ต้องรู้ว่า type จริงๆมันคืออะไร

+

เมื่อตอนต้นของ Tour of Rust เราได้เรียนรู้ไปว่า main สามารถคืนค่า error ได้ ตอนนี้ เราจะได้คืน type ที่ครอบคลุม error ได้เกือบทุกแบบที่อาจเกิดขึ้นในโปรแกรม ตราบใดที่ error นั้นอิมพลีเมนต์ trait Error กลาง ของ Rust

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_tr.html b/beta_99_tr.html new file mode 100644 index 000000000..d5a0a479b --- /dev/null +++ b/beta_99_tr.html @@ -0,0 +1,51 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Main İşlevine Yeniden Bakış

+

Rust bize hataları işleyebilmemiz için çok sayıda olanak sunar. Standart kitaplık tarafından sağlanan ve hataları evrensel düzeyde ele almamızı sağlayan std::error::Error özelliği de bunlardan biridir.

+

Hata döndürmek için Box akıllı işaretçisinden yararlanmak ve onu ortak genel tür olarak Box<dyn std::error::Error> şeklinde kullanmak, öbek üzerindeki hatayı belirli bir tür bildirmeksizin yaymamıza ve bu hatayla yüksek düzeyde etkileşim kurmamıza olanak sağlar.

+

Turumuzun ilk bölümlerinde Rust'un main işlevinin hata döndürebileceğini öğrenmiştik. Buna ek olarak yine main işlevinden, hatanın temsil edildiği veri yapısı Rust'un ortak Error özelliğini uyguladığı sürece, bir programda meydana gelebilecek her türlü hatayı tanımlayabilen bir tür döndürebiliriz.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_ua.html b/beta_99_ua.html new file mode 100644 index 000000000..5a6361007 --- /dev/null +++ b/beta_99_ua.html @@ -0,0 +1,55 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Обробка помилок функції main

+

Код Rust може мати безліч представлень помилок, але стандартна бібліотека має +універсальну конструкцію std::error::Error для опису помилок.

+

Використовуючи розумні покажчик Box, ми можемо використовувати тип Box<dyn std::error::Error> як загальний тип для повернення помилок, оскільки він дозволяє нам +поширювати помилку у купі та взаємодіяти з нею на високому рівні без необхідності знати конкретний тип.

+

На початку туру по Rust ми дізналися, що main може повертати помилку. Тепер ми можемо повертати +тип, здатний описати майже будь-який тип помилки, що може виникнути у у нашій програмі, +якщо структура даних помилки реалізує загальну для Rust властивість Error.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_vi.html b/beta_99_vi.html new file mode 100644 index 000000000..5ba61393f --- /dev/null +++ b/beta_99_vi.html @@ -0,0 +1,51 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Failable Main Revisited

+

Code Rust có thể có rất nhiều sự biểu diễn của lỗi, nhưng thư viện chuẩn có một trait chung std::error::Error để mô tả lỗi.

+

Bằng cách sử dụng con trỏ thông minh Box, chúng ta có thể sử dụng kiểu Box<dyn std::error::Error> như một kiểu phổ biến để trả về lỗi vì nó cho phép chúng ta tạo ra một lỗi trên heap và tương tác với nó tại một cấp độ cao mà không cần phải biết một loại cụ thể.

+

Trước đây trong Tour of Rust, chúng ta đã biết rằng main có thể trả về một lỗi. Bây giờ chúng ta có thể trả về một kiểu có khả năng mô tả hầu hết mọi loại lỗi có thể xảy ra trong chương trình của bạn, miễn là cấu trúc dữ liệu của lỗi thực hiện trait chung Error của Rust.

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_99_zh-cn.html b/beta_99_zh-cn.html new file mode 100644 index 000000000..802a31720 --- /dev/null +++ b/beta_99_zh-cn.html @@ -0,0 +1,51 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

重温error的使用

+

Rust可能有过多的错误表示方法,但标准库有一个通用特性 std::error::Error 来描述错误。

+

使用智能指针“Box”,我们可以使用类型Box<dyn std::error::Error>作为常见的返回错误类型,因为它允许我们在堆上、高级别的传播错误,而不必知道特定的类型。

+

在 Rust 之旅的早期,我们了解到 main 可以返回一个错误。我们现在可以返回一个类型,该类型能够描述我们程序中可能发生的几乎任何类型的错误,只要错误的数据结构实现了 Rust 的通用Error特征。

+
fn main() -> Result<(), Box<dyn std::error:Error>>
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_ar.html b/beta_chapter_10_ar.html new file mode 100644 index 000000000..9bdde2efa --- /dev/null +++ b/beta_chapter_10_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 10 - النهاية

+

لقد كان من دواعي سروري أن نكون معك في دورة تعلم رست (Rust). فيريس (Ferris) وفريق دورة تعلم رست (the Tour of Rust team) يأملون جدا بأن تستمتع برحلتك المقبلة في تعلم رست (Rust)! إذا شعرت بالإرتياح لما تعلمت حتى الآن، فإننا نوصيك بالتعمق أكثر في اللغة من خلال هذه الموارد:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_de.html b/beta_chapter_10_de.html new file mode 100644 index 000000000..a726c16a7 --- /dev/null +++ b/beta_chapter_10_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 10 - Das Ende

+

Es war eine Freude, dich bei der Tour durch Rust dabei gehabt zu haben. Ferris und das ,,Tour of Rust"-Team hoffen, dass es dir gefallen hat! Falls du dich weiter mit Rust beschäftigen möchtest, empfehlen wir dir diese Resource:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_en.html b/beta_chapter_10_en.html new file mode 100644 index 000000000..f58b54c06 --- /dev/null +++ b/beta_chapter_10_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_es.html b/beta_chapter_10_es.html new file mode 100644 index 000000000..e43ee8bdc --- /dev/null +++ b/beta_chapter_10_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 10 - Fin

+

Esto es todo por ahora, pero aún quedan más capítulos, así que ¡muy atento! Esperamos que disfrutes del viaje.

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_fa.html b/beta_chapter_10_fa.html new file mode 100644 index 000000000..a90422309 --- /dev/null +++ b/beta_chapter_10_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_fr.html b/beta_chapter_10_fr.html new file mode 100644 index 000000000..3c168a681 --- /dev/null +++ b/beta_chapter_10_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 10 - Fin

+

Ce fut une joie de t'avoir sur le Tour de Rust. Ferris et l'équipe du +Tour de Rust espèrent sincèrement que tu apprécieras le voyage à venir! +Si tu te sens à l'aise avec Rust, nous te conseillons fortement de +continuer à approfondir tes connaissances avec ces ressources (attention +celles-ci sont en anglais):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_gr.html b/beta_chapter_10_gr.html new file mode 100644 index 000000000..e5e22816f --- /dev/null +++ b/beta_chapter_10_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 10 - Το Τέλος

+

Μεγάλη μας χαρά που σας είχαμε στην Ξενάγηση στη Rust. Ο Ferris και η ομάδα της Ξενάγησης ελπίζουμε ειλικρινά να απολαύσετε το ταξίδι που σας περιμένει! Αν αισθάνεστε άνετα ως τώρα, προτείνουμε ανεπιφύλακτα να διεισδύσετε πιο βαθιά με τα εξής βοηθήματα:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_hu.html b/beta_chapter_10_hu.html new file mode 100644 index 000000000..e3c2d1eda --- /dev/null +++ b/beta_chapter_10_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

10. Fejezet - Vége

+

Örülök, hogy velem tartottál a Rust-túrán! Ferris és a Rust-túra csapata őszintén reméli, hogy +tetszeni fog, ami utad során rád vár! Ha az eddigieket kényelmesnek találtad, melegen ajánljuk +az alábbiakat:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_ie.html b/beta_chapter_10_ie.html new file mode 100644 index 000000000..f89a3f655 --- /dev/null +++ b/beta_chapter_10_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 10 - Fine

+

To es omnicos por nu. Plu tard va venir nov contenete. Yo espera que tu va juir li viage a sequer!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_ja.html b/beta_chapter_10_ja.html new file mode 100644 index 000000000..0f7c5b30e --- /dev/null +++ b/beta_chapter_10_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 10 章 - 終わりに

+

Rustツアーに参加していただきありがとうございました。フェリスとRustツアーチームは皆さんが今後も楽しんでくれるよう願っています。
+ここまで楽しんでいただけたなら、以下の資料を通してより深く学ぶのを推奨します。

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_ko.html b/beta_chapter_10_ko.html new file mode 100644 index 000000000..d895c533b --- /dev/null +++ b/beta_chapter_10_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

10장 - 끝

+

Tour of Rust를 함께 해서 즐거웠습니다. Ferris와 Tour of Rust 팀은 여러분이 앞에 놓인 여정을 즐기시길 진심으로 바랍니다! +여기까지 오는 데에 어려움이 없으셨다면, 다음 자료와 함께 더 깊이 뛰어들어보시는 것을 강력히 추천드립니다:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_pl.html b/beta_chapter_10_pl.html new file mode 100644 index 000000000..1212358a6 --- /dev/null +++ b/beta_chapter_10_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 10 - Koniec

+

Było mi niezmiernie przyjemnie mieć możliwość oprowadzenia Cię po zakamarkach języka Rust. Ferris i cała załoga Przewodnika po Języku Rust życzy Ci wszystkiego najlepszego w Twojej podróży z Rustem! +Jeśli spodobało Ci się to co zostało przedstawione w niniejszym przewodniku koniecznie zajrzyj do oficjalnej książki Rusta, dostępnej za darmo pod następującym adresem:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_pt-br.html b/beta_chapter_10_pt-br.html new file mode 100644 index 000000000..7c5814145 --- /dev/null +++ b/beta_chapter_10_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 10 - Fim

+

Isso é tudo por enquanto. Fique ligado para novos conteúdos. Espero que se divirta nesta jornada!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_ro.html b/beta_chapter_10_ro.html new file mode 100644 index 000000000..69500bf86 --- /dev/null +++ b/beta_chapter_10_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 10 - Sfârșit

+

A fost o plăcere să te avem alături în Turul limbajului Rust. Ferris și echipa Turului limbajului Rust speră din suflet că te vei bucura de ce îți rezervă viitorul! Dacă +ți-a plăcut acest tur, îți recomandăm să continui cu resursele:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_ru.html b/beta_chapter_10_ru.html new file mode 100644 index 000000000..fa70902c9 --- /dev/null +++ b/beta_chapter_10_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 10 - Конец

+

Было приятно видеть тебя в туре по Rust. Феррис и команда Tour of Rust искренне надеются, что вам понравится путешествие! Если вы чувствовали себя комфортно в туре, мы настоятельно рекомендуем глубже погрузиться в язык с помощью ресурса:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_th.html b/beta_chapter_10_th.html new file mode 100644 index 000000000..1d05ca44a --- /dev/null +++ b/beta_chapter_10_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 10 - ตอนจบ

+

มีความสุขมากที่คุณเข้ามาใน Tour of Rust Ferris และทีม Tour of Rust หวังเป็นอย่างยิ่งว่าคุณจะสนุกกับการเดินทางข้างหน้า! +หากว่าที่ผ่านมานี้คุณยังรู้สึกสบายๆแล้วละก็ เราขอแนะนำให้เจาะลึกลงไปตามแหล่งข้อมูลเหล่านี้เลย:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_tr.html b/beta_chapter_10_tr.html new file mode 100644 index 000000000..4fa3eb778 --- /dev/null +++ b/beta_chapter_10_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 10 - Bitti

+

Rust Turu'nda sizi görmek benim için büyük bir zevkti. Ben Ferris ve Rust Turundaki ekip arkadaşlarım, Rust öğreniminize devam edebilmeniz için aşağıdaki kaynakları incelemenizi tavsiye ederken, önünüzdeki yolculuktan keyif almanızı içtenlikle umuyor ve başarılar diliyoruz.

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_ua.html b/beta_chapter_10_ua.html new file mode 100644 index 000000000..daede488d --- /dev/null +++ b/beta_chapter_10_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 10 - Заключне слово

+

Нам було приємно бачити вас на Тур по Rust. Ферріс і команда Тур по Rust щиро сподіваються, що вам сподобається подальша подорож! Якщо ви +почувалися комфортно досі, ми наполегливо рекомендуємо зануритися глибше за допомогою цих ресурсів:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_vi.html b/beta_chapter_10_vi.html new file mode 100644 index 000000000..174d12d63 --- /dev/null +++ b/beta_chapter_10_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 10 - Kết thúc

+

Thật vui khi có bạn tham gia Tour of Rust. Ferris cùng với the Tour of Rust team chân thành hy vọng bạn sẽ tận hưởng hành trình phía trước! Nếu bạn đã cảm thấy thoải mái cho đến bây giờ, chúng tôi thực sự khuyên bạn nên tìm hiểu sâu hơn với các tài nguyên sau:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_10_zh-cn.html b/beta_chapter_10_zh-cn.html new file mode 100644 index 000000000..7b395abce --- /dev/null +++ b/beta_chapter_10_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

尾声

+

我们很高兴你能完成 Rust 之旅。Ferris 和 Rust 之旅团队真心希望你能享受未来的旅途! 如果你到目前尚能适应,我们强烈推荐你深入了解以下材料:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_al.html b/beta_chapter_1_al.html new file mode 100644 index 000000000..d3c735fa9 --- /dev/null +++ b/beta_chapter_1_al.html @@ -0,0 +1,52 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitulli 1 - Bazat

+

Në këtë kapitull të parë ne do të eksplorojmë bazat + me funksionet, variablat dhe llojet më primitive. Gëzohemi që ju kemi + ne bord!

+

Gjithashtu! Në rast se po pyesni kush eshte kjo gaforre e adhurueshme qe + po te flet, unë jam Ferris, + maskota jozyrtare për gjuhën e programimit Rust. Gëzohem që u njohëm.

+

Pasi të njiheni me Rust, mund ta quani veten Rustacean. Kjo është + si e quajnë veten njerëzit që përdorin, kontribuojnë ose janë të interesuar për Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_ar.html b/beta_chapter_1_ar.html new file mode 100644 index 000000000..7acd2c8ed --- /dev/null +++ b/beta_chapter_1_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 1 - الأساسيات

+

سنستكشف في هذا الفصل الأول الأساسيات المتعلقة بالدوال، المتغيرات والأنواع الأكثر بدائية. سعيد بوجودك بهذه الدورة!

+

أيضًا! إذا كنت تتساءل من هذا السلطعون الرائع الذي يتحدث إليك، فأنا فيريس، التميمة غير الرسمية للغة البرمجة Rust. سعيد بلقائك.

+

بمجرد أن تصبح متعود على Rust، يمكنك أن تلقب نفسك بـ Rustacean. تلك هي العبارة التي يطلق الأشخاص الذين يستخدمون Rust أو يساهمون فيه أو يهتمون به على أنفسهم.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_de.html b/beta_chapter_1_de.html new file mode 100644 index 000000000..ab1494258 --- /dev/null +++ b/beta_chapter_1_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 1 - Die Basics

+

Im ersten Kapitel werden grundlegende Eigenschaften von Funktionen, Variablen und (fast) allen primitiven Datentypen präsentiert. Willkommen an Board!

+

Ach ja! Falls du dich fragst, wer diese süße sprechende Krabbe ist, das ist Ferris, das inoffizielle Maskottchen der Programmiersprache Rust. Sag hallo! +Sobald du dich mit Rust vertraut gemacht hast, kannst du dich ein Rustacean. nennen. Leute, die Rust benutzen, dazu beitragen oder generell daran interessiert sind, nennen sich selbst Rustaceans.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_en.html b/beta_chapter_1_en.html new file mode 100644 index 000000000..3947782ce --- /dev/null +++ b/beta_chapter_1_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - The Basics

+

In this first chapter we're going to be exploring the very basics with functions, variables, and the most primitive types. Glad to have you on board!

+

Also! In case you are wondering who this adorable crab who is speaking to you is, I am Ferris, the unofficial mascot for the Rust programming language. Nice to meet you.

+

Once you get familiar with Rust, you can call yourself a Rustacean. That's how people who use, contribute or are interested in Rust call themself.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_es.html b/beta_chapter_1_es.html new file mode 100644 index 000000000..76654a149 --- /dev/null +++ b/beta_chapter_1_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Lo Básico

+

En este primer capítulo vamos a ver lo más básico respecto a funciones, variables y los tipos de datos primitivos. ¡Bienvenido a bordo!

+

Y por si te estas preguntando quién es el adorable cangrejo parlante, me llamo Ferris, y soy la mascota no oficial del lenguaje de programación Rust. Encantado de conocerte.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_fa.html b/beta_chapter_1_fa.html new file mode 100644 index 000000000..f1a4925b7 --- /dev/null +++ b/beta_chapter_1_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - The Basics

+

In this first chapter we're going to be exploring the very basics +with functions, variables, and the most primitive types. Glad to have you on board!

+

Also! In case you are wondering who this adorable crab who is speaking to you is, I am Ferris, +the unofficial mascot for the Rust programming language. Nice to meet you.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_fi.html b/beta_chapter_1_fi.html new file mode 100644 index 000000000..23df166ca --- /dev/null +++ b/beta_chapter_1_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kappale 1 - Perusteet

+

Tässä ensimmäisessä kappaleessa käymme läpi Rustin perusteita: funktioita, muuttujia ja yksinkertaisimpia tietotyyppejä. Kiva, kun olet mukana!

+

Jos ihmettelet, mikä on tämä ihastuttava rapu, joka puhuu sinulle, minä olen "Ferris", Rust ohjelmointikielen epävirallinen maskotti. Mukava tavata.

+

Kun opit sujuvammaksi Rustin kanssa, voit kutsua itseäsi nimellä Rustacean. Sillä nimellä Rustia kehittävät ja kiinnostuneet ihmiset kutsuvat itseään.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_fr.html b/beta_chapter_1_fr.html new file mode 100644 index 000000000..1669b898b --- /dev/null +++ b/beta_chapter_1_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Les fondamentaux

+

Dans ce premier chapitre, nous allons explorer les fondamentaux +avec les fonctions, les variables et les types primitifs. Bienvenue à bord!

+

Et si tu te demandes qui est cet adorable crabe qui te parle, sache que je m'appelle Ferris, +la mascotte non officielle du langage de programmation Rust. Heureux de te renconter!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_gr.html b/beta_chapter_1_gr.html new file mode 100644 index 000000000..3e0c24f14 --- /dev/null +++ b/beta_chapter_1_gr.html @@ -0,0 +1,46 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 1 - Τα βασικά

+

Σ' αυτό το πρώτο κεφάλαιο θα εξερευνήσουμε τα πολύ βασικά με συναρτήσεις, μεταβλητές, και τους περισσότερους πρωτογενείς τύπους. Χαιρόμαστε που σας έχουμε μαζί μας!

+

Επίσης! Σε περίπτωση που αναρωτιέστε ποιο είναι αυτό το αξιολάτρευτο καβουράκι που σας μιλάει: Είμαι ο Ferris, η ανεπίσημη μασκότ της προγραμματιστικής γλώσσας Rust. Χαίρω πολύ!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_hu.html b/beta_chapter_1_hu.html new file mode 100644 index 000000000..07b4423e7 --- /dev/null +++ b/beta_chapter_1_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1. Fejezet - Az Alapok

+

Az első fejezetben a nyelv alapjaival fogunk megismerkedni, többek között a függvényekkel, a +változókkal és a legalapabb típusokkal. Üdv a fedélzeten!

+

Ja igen! Ha kíváncsi vagy ki ez az aranyos rák, aki épp hozzád beszél, a nevem Ferris, én +vagyok a Rust nyelv nem-hivatalos kabalája. Örülök a találkozásnak.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_id.html b/beta_chapter_1_id.html new file mode 100644 index 000000000..0f99cc1c3 --- /dev/null +++ b/beta_chapter_1_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Dasar-Dasar

+

Di dalam bab pertama ini kita akan menjelajahi hal yang paling dasar +yaitu fungsi, variabel, dan tipe data primitif. Kami senang anda bergabung!

+

Jika kamu penasaran siapa kepiting lucu ini yang berbiacara dengan kamu, ia adalah Ferris, +maskot unofficial untuk bahasa pemprograman Rust. Senang bertemu denganmu.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_ie.html b/beta_chapter_1_ie.html new file mode 100644 index 000000000..ff5766172 --- /dev/null +++ b/beta_chapter_1_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 1 - Coses Simplic

+

Ci in li unesim capitul, noi va explorar li max simplic coses in li lingue, includente functiones, variabiles, e li tipes max primitiv. Felici a haver te con noi!

Hay alquo in plu! Un brevi introduction por li casu in quel tu questiona te qui es ti-ci amabil crabe quel parla te: yo nomina me Ferris, li mascote ínoficial por li lingue de programmation Rust. Felici a incontrar te.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_it.html b/beta_chapter_1_it.html new file mode 100644 index 000000000..6074972b5 --- /dev/null +++ b/beta_chapter_1_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 1 - Le Basi

+

In questo primo capitolo esploreremo i concetti basilari con le funzioni, variabili ed i tipi di dato primitivi. Felice di averti a bordo! +Oh, nel caso ti stessi chiedendo chi sia quell'adorabile granchietto che ti sta parlando, io sono Ferris, la mascotte semi-ufficiale del linguaggio di programmazione Rust, lieto di conoscerti!

+

Quando avrai preso familiarità con Rust, potrai considerarti un Rustacean. E' così che chi usa, contribuisce o è interessato a Rust, usa farsi chiamare nella comunità.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_ja.html b/beta_chapter_1_ja.html new file mode 100644 index 000000000..0692ebd0c --- /dev/null +++ b/beta_chapter_1_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 1 章 - 基礎

+

最初の章では、関数、変数、プリミティブ型などの基本的なことを探っていきます。皆さんのご参加をお待ちしております。

+

また、あなたに話し掛けているこの愛らしいカニが誰なのか気になるかもしれません。私は Rust プログラミング言語の非公式マスコット Ferris です。はじめまして。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_ko.html b/beta_chapter_1_ko.html new file mode 100644 index 000000000..3bcaac2cd --- /dev/null +++ b/beta_chapter_1_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1장 - 기초

+

이번 1장에서는 함수, 변수 그리고 Rust가 지원하는 기본 자료형에 대해서 +아주 기초적인 내용을 알아봅니다. 여기에 와주셔서 기쁩니다!

+

또한! 여러분에게 이야기하고 있는 사랑스러운 꽃게가 누구인지 궁금하다면, +저는 페리스(Ferris)입니다. Rust 프로그래밍 언어의 비공식적인 마스코트입니다. 만나서 반갑습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_ne.html b/beta_chapter_1_ne.html new file mode 100644 index 000000000..41eabf652 --- /dev/null +++ b/beta_chapter_1_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hoofdstuk 1 - Ideeën en basisconcepten

+

In dit eerste hoofdstuk zullen we de basisideeën + en -concepten verkennen met betrekking tot functies, + variabelen en primaire gegevenstypen. +We zijn blij dat u bij ons bent! +Ook, voor het geval u zich afvraagt wie de schattige krab is die tegen u praat, mijn naam is Ferris, de onofficiële mascotte van de Rust-taal. Leuk je te ontmoeten! +Zodra u bekend bent met Rust, kunt u zichzelf een Rustacean noemen. Zo worden alle mensen genoemd die Rust gebruiken, bijdragen leveren of geïnteresseerd zijn in Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_pl.html b/beta_chapter_1_pl.html new file mode 100644 index 000000000..d651d3848 --- /dev/null +++ b/beta_chapter_1_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 1 - Podstawy

+

W pierwszym rozdziale przyjrzymy się najbardziej podstawowym funkcjom języka skupiając się na funkcjach, zmiennych oraz podstawowych typach. Super, że chcesz dowiedzieć się więcej o Ruscie!

+

Aha! W razie gdyby nie było jasne kim jest ten przesłodki krab który właśnie do Ciebie mówi, możesz mi mówić Ferris.

+

Jestem nieoficjalną maskotką języka programowania Rust. Miło Cię poznać.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_pt-br.html b/beta_chapter_1_pt-br.html new file mode 100644 index 000000000..7b5f66e96 --- /dev/null +++ b/beta_chapter_1_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - O Básico

+

Neste primeiro capítulo iremos explorar o mais básico sobre funções, variáveis e os tipos de dados mais primitivos. Bem-vindo a bordo!

+

E se por acaso você está se perguntando quem é este adorável caranguejo falante, eu me chamo Ferris e sou o mascote não oficial da linguagem de programação Rust. Prazer em conhecê-lo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_ro.html b/beta_chapter_1_ro.html new file mode 100644 index 000000000..d3c0dd67d --- /dev/null +++ b/beta_chapter_1_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 1 - Ideile și conceptele de bază

+

În acest prim capitol vom explora ideile și conceptele de bază despre funcții, variabile și tipurile primare de date. Ne bucurăm că +ne sunteți alături!

+

De asemenea, în cazul în care vă întrebați cine este crabul adorabil care vă vorbește, mă numesc Ferris, mascota neoficială a limbajului Rust. Încântat de cunoștință!

+

Odată ce vă veți familiariza cu Rust, puteți să vă declarați un Rustaceu. Așa se numesc toți oamenii care folosesc, contribuie sau sunt interesați de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_ru.html b/beta_chapter_1_ru.html new file mode 100644 index 000000000..61997b371 --- /dev/null +++ b/beta_chapter_1_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 1 - Основы

+

В первой главе мы узнаем об основах функций, переменных и примитивных +типов. Рад видеть вас на борту!

+

И ещё! Если вам интересно, кто этот восхитительный говорящий с вами краб, +Я - Феррис - неофициальный маскот языка Rust. +Приятно познакомиться!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_th.html b/beta_chapter_1_th.html new file mode 100644 index 000000000..1142cb98e --- /dev/null +++ b/beta_chapter_1_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 1 - พื้นฐาน

+

ในบทแรกเราจะไปสำรวจเรื่องพื้นฐานที่สุด คือเรื่อง ฟังก์ชัน ตัวแปร และประเภทของตัวแปรขั้นพื้นฐานที่สุด ไปด้วยกันกับเรา ยินดีต้อนรับอีกครั้ง!

+

และ! ถ้าหากคุณกำลังสงสัยว่า เจ้าปูแสนน่ารัก ที่กำลังสนทนากับคุณอยู่นี้คือใครกันนะ ฉันชื่อ Ferris ฉันเป็นตัวนำโชคอย่างไม่เป็นทางการของภาษา Rust ยินดีที่ได้รู้จัก

+

แล้วเมื่อไรที่คุณเริ่มคุ้นเคยกับ Rust แล้วละก็ คุณจะเรียกตัวเองว่า Rustacean ก็ได้นะ เพราะผู้คนที่สนใจและสนับสนุน Rust ก็เรียกตัวเองแบบนี้กันทั้งนั้น

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_tr.html b/beta_chapter_1_tr.html new file mode 100644 index 000000000..fbb5cc52d --- /dev/null +++ b/beta_chapter_1_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 1 - Temel Bilgiler

+

Aramızda olmanıza sevindim. Turun ilk bölümünde işlevler, değişkenler ve basit türler hakkında temel bilgilere değineceğiz.

+

Ayrıca, sizinle konuşan bu sevimli yengecin kim olduğunu merak ediyorsanız ben, Rust programlama dilinin resmi olmayan maskotu Ferris'im. Tanıştığımıza memnun oldum.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_ua.html b/beta_chapter_1_ua.html new file mode 100644 index 000000000..2f5a10eb1 --- /dev/null +++ b/beta_chapter_1_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 1 - Основи

+

У першому розділі ми розглянемо основні елементи, такі як функції, змінні та більшість примітивних типів. Раді бачити вас з нами!

+

В разі якщо вам цікаво хто цей пречудовий краб, який говорить з вами, то мене звати Ферріс - неофіціальний маскот мови програмування Rust. Радий з вами познайомитися!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_vi.html b/beta_chapter_1_vi.html new file mode 100644 index 000000000..c0556c19f --- /dev/null +++ b/beta_chapter_1_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Những điều cơ bản

+

Trong chương đầu tiên, chúng ta sẽ khám phá những điều cơ bản nhất về hàm, biến và những kiểu biến đơn giản nhất. Rất vui khi bạn có mặt ở đây.

+

À! Một điều nữa đó là nếu bạn đang thắc mắc rằng chú cua đáng yêu đang trò chuyện với bạn là ai, thì tớ tên là Ferris đó!!! Tớ là linh vật không chính thức của ngôn ngữ lập trình Rust. Rất vui được gặp bạn.

+

Một khi bạn đã quen thuộc với Rust, bạn có thể gọi bạn là một Rustacean. Đó là cách những người sử dụng, đóng góp hoặc quan tâm đến Rust gọi chính họ.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_zh-cn.html b/beta_chapter_1_zh-cn.html new file mode 100644 index 000000000..269d1e844 --- /dev/null +++ b/beta_chapter_1_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章 - 基础知识

+

在第一章中,我们将探讨函数、变量和最基本的类型等基础知识。欢迎入坑!

+

并且~以防你好奇这个跟你说话的螃蟹是谁,我叫 Ferris,一个非官方的 Rust 语言吉祥物。 +很高兴能认识你!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_1_zh-tw.html b/beta_chapter_1_zh-tw.html new file mode 100644 index 000000000..7b1d419f7 --- /dev/null +++ b/beta_chapter_1_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章 - 基礎概念

+

在此第一章中,我們會探討最基本的函數(functions),變量(variables),及大部份的基本類型 (primitive types)。歡迎你的參加這次 Rust 之旅。 +還有如果您好奇這一隻正在限您說話的,又可愛的螃蟹是誰。請容許我自我介紹! 我是非官方的 Rust 語言吉祥物很高興認識您!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_al.html b/beta_chapter_2_al.html new file mode 100644 index 000000000..393c1686d --- /dev/null +++ b/beta_chapter_2_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitulli 2 - Rrjedha e kontrollit bazë

+

Në këtë kapitull le të flasim për metodat bazë të kontrollit të rrjedhës në Rust.

+

Nëse jeni të njohur me gjuhët e bazuara në C, do të ndiheni si në shtëpi dhe + ndoshta

+

shijoni një ose dy surpriza.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_ar.html b/beta_chapter_2_ar.html new file mode 100644 index 000000000..33e68f1fb --- /dev/null +++ b/beta_chapter_2_ar.html @@ -0,0 +1,46 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 2 - بنى التحكم الأساسية (Basic Control Flow)

+

في هذا الفصل دعونا نتحدث على طرق بنى التحكم الأساسية في رست (Rust)

+

إذا كنت تألف اللغات المعتمدة على سي (C based languages)، فستشعر بأنك على مايرام وربما تستمتع بمفاجأة أو اثنتين.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_de.html b/beta_chapter_2_de.html new file mode 100644 index 000000000..5e14dd5a0 --- /dev/null +++ b/beta_chapter_2_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 2 - Ein bisschen Kontrollfluss

+

In diesem Kapitel werden wir Kontrollflussmethoden in Rust angehen +(engl. control flow methods). Wenn du ein bisschen Erfahrung in C-verwandten Sprachen +hast, dürftest du dich hier wie zu Hause fühlen - die ein oder andere Überraschung +sei dennoch zu erwarten.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_en.html b/beta_chapter_2_en.html new file mode 100644 index 000000000..755d3d609 --- /dev/null +++ b/beta_chapter_2_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Basic Control Flow

+

In this chapter let's talk about basic control flow methods in Rust. +If you are familiar with C based languages you'll feel right at home and maybe +enjoy a surprise or two.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_es.html b/beta_chapter_2_es.html new file mode 100644 index 000000000..dd2da784d --- /dev/null +++ b/beta_chapter_2_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Estructuras de Control Básicas

+

En este capítulo hablaremos de las estructuras de control básicas en Rust. +Si estás familiarizado con lenguajes basados en C, te sentirás como en casa y quizá te lleves alguna que otra sorpresa.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_fa.html b/beta_chapter_2_fa.html new file mode 100644 index 000000000..63f8c2ad4 --- /dev/null +++ b/beta_chapter_2_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Basic Control Flow

+

In this chapter let's talk about basic control flow methods in Rust. +If you are familiar with C based languages you'll feel right at home and maybe +enjoy a surprise or two.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_fi.html b/beta_chapter_2_fi.html new file mode 100644 index 000000000..66e1f698c --- /dev/null +++ b/beta_chapter_2_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapple 2 - Perusohjausvirta

+

Tässä luvussa käsitellään ohjausrakenteiden perusmetodeja Rust-ohjelmointikielessä. +Jos olet perehtynyt C-pohjaisiin ohjelmointikieliin, tulet tuntemaan olosi kotoisaksi +ja matkan varrella saatat saada muutaman yllätyksen.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_fr.html b/beta_chapter_2_fr.html new file mode 100644 index 000000000..2e4d61321 --- /dev/null +++ b/beta_chapter_2_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Structures de contrôle basiques

+

Dans ce chapitre, nous allons aborder les structures de contrôle basiques de Rust. +Si tu es déjà familier avec les langages de programmation inspirés du C alors +tu ne seras pas perdu et tu y découvriras même quelques bonnes surprises.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_gr.html b/beta_chapter_2_gr.html new file mode 100644 index 000000000..9bc870f98 --- /dev/null +++ b/beta_chapter_2_gr.html @@ -0,0 +1,46 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 2 - Βασικός έλεγχος ροής

+

Σ' αυτό το κεφάλαιο θα μιλήσουμε για βασικές δομές ελέγχου ροής στη Rust. +Αν σας είναι γνώριμες οι γλώσσες που είναι βασισμένες στη C θα νιώσετε σα στο σπίτι σας… και ίσως απολαύσετε και μια-δυο εκπλήξεις.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_hu.html b/beta_chapter_2_hu.html new file mode 100644 index 000000000..6d042b1dd --- /dev/null +++ b/beta_chapter_2_hu.html @@ -0,0 +1,46 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2. Fejezet - Egyszerű ciklusok és elágazások

+

Ebben a fejezetben a Rust alapvető ciklusairól és elágazásairól lesz szó. Ha használtál már C-re +alapuló nyelveket, akkor itt otthon fogod magad érezni, bár érhet egy-két meglepetés is.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_id.html b/beta_chapter_2_id.html new file mode 100644 index 000000000..9ee4d9abf --- /dev/null +++ b/beta_chapter_2_id.html @@ -0,0 +1,46 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bab 2 - Dasar Flow Kontrol

+

Di dalam bab ini kita akan membahas tentang metode dasar flow kontrol dari Rust. +Jika kamu familiar dengan bahasa pemprograman berbasis C, kamu tidak akan kesulitan atau mungkin menyukai satu atau dua kejutan.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_ie.html b/beta_chapter_2_ie.html new file mode 100644 index 000000000..d8ac616af --- /dev/null +++ b/beta_chapter_2_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Basic Control-flution

+

Lass nos in ti-ci capitul parlar pri li metodes de basic control-flution in Rust. Si tu ha ja conossentat te con lingues basat sur C tu va trovar it tre familiari, ma con un o du plesent surprises.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_it.html b/beta_chapter_2_it.html new file mode 100644 index 000000000..b04aad1a2 --- /dev/null +++ b/beta_chapter_2_it.html @@ -0,0 +1,46 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 2 - Basi del controllo di flusso

+

In questo capitolo parleremo delle istruzioni di controllo di flusso in Rust. +Se hai familiarità con i linguaggi di programmazione basati sulla sintassi C, ti sentirai a tuo agio e forse troverai un paio di piacevoli sorprese.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_ja.html b/beta_chapter_2_ja.html new file mode 100644 index 000000000..2dbf35d77 --- /dev/null +++ b/beta_chapter_2_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 2 章 - 基本制御フロー

+

この章では、Rustの基本的な制御フローについて説明します。 +C 系の言語に慣れていればすぐに馴染めますし、ちょっとした驚きがあるかもしれません。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_ko.html b/beta_chapter_2_ko.html new file mode 100644 index 000000000..60b78280b --- /dev/null +++ b/beta_chapter_2_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2장 - 기초적인 흐름 제어

+

이번 장에서는 Rust의 기초적인 흐름 제어 방법에 대해 얘기해 봅시다. +만약 여러분이 C 기반의 언어에 익숙하다면 마치 집에 온 것처럼 편안할 것이며 +아마 한 두가지 정도의 놀랄 거리를 즐길 수 있을겁니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_pl.html b/beta_chapter_2_pl.html new file mode 100644 index 000000000..1196ff108 --- /dev/null +++ b/beta_chapter_2_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 2 - Podstawy Kontroli Przepływu Sterowania

+

W tym rozdziale przyjrzymy się podstawom kontroli przepływu sterowania w Ruscie.

+

Jeśli znasz choć trochę języki programowania oparte o C to jest dobra szansa, że poczujesz się jak w domu.

+

Może z wyjątkiem kilku niewielkich różnic.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_pt-br.html b/beta_chapter_2_pt-br.html new file mode 100644 index 000000000..35628add2 --- /dev/null +++ b/beta_chapter_2_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Controle de Fluxo Básico

+

Neste capítulo falaremos das estruturas de controle de fluxo básicas em Rust.

+

Se você está familiarizado com linguagens baseadas em C, se sentirá em casa e, quem sabe, algumas agradáveis surpresas.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_ro.html b/beta_chapter_2_ro.html new file mode 100644 index 000000000..cb7228537 --- /dev/null +++ b/beta_chapter_2_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 2 - Controlul de bază al fluxului

+

În acest capitol vom vorbi despre metodele de bază de control ale fluxului în Rust. +Dacă sunteți familiar cu limbaje bazate pe C, o să vă simțiți ca acasă și poate +vă veți bucura de o surpriză sau două.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_ru.html b/beta_chapter_2_ru.html new file mode 100644 index 000000000..e0bbba530 --- /dev/null +++ b/beta_chapter_2_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 2 - Управление потоком исполнения

+

В этой главе мы поговорим про базовые методы управления потоком +исполнения в Rust. Если вы знакомы с Си-подобными языками вы будете чувствовать +себя как дома и может быть встретите пару сюрпризов.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_th.html b/beta_chapter_2_th.html new file mode 100644 index 000000000..24b23c6c9 --- /dev/null +++ b/beta_chapter_2_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 2 - Basic Control Flow

+

ในบทนี้เราจะมาพูดถึงเรื่องการควบคุม flow ขั้นพื้นฐานใน Rust +ถ้าหากว่าคุณคุ้นเคยกับภาษา C คุณจะรู้สึกว่าเหมือนอยู่บ้านและอาจจะมีอย่างน้อยหนึ่งหรือสองเรื่องให้คุณประหลาดใจเล่น

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_tr.html b/beta_chapter_2_tr.html new file mode 100644 index 000000000..b999a7ff9 --- /dev/null +++ b/beta_chapter_2_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 2 - Temel Kontrol Akışı

+

Bu bölümde Rust'ın temel kontrol akış yöntemlerinden bahsedeceğiz. Eğer C tabanlı dillere aşinaysanız, bu bölümde kendinizi evinizde hissedecek ve birkaç sürprizin tadını çıkaracaksınız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_ua.html b/beta_chapter_2_ua.html new file mode 100644 index 000000000..623e55c50 --- /dev/null +++ b/beta_chapter_2_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 2 - Контроль потоку виконання

+

В цьому розділі ми поговоримо про основні методи контролю потоком виконання в Rust. +Якщо ви знайомі з такими мовами програмування як C, ви будете почувати себе як вдома за виключенням, можливо, пари сюрпризів.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_vi.html b/beta_chapter_2_vi.html new file mode 100644 index 000000000..71175d50e --- /dev/null +++ b/beta_chapter_2_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Luồng điều khiển cơ bản

+

Trong chương này, hãy nói về những phương pháp luồng điều khiển cơ bản trong Rust. +Nếu bạn đã quen thuộc với những ngôn ngữ dựa trên C, bạn sẽ cảm thấy dễ chịu và biết đâu đấy +tận hưởng một vài điều bất ngờ.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_zh-cn.html b/beta_chapter_2_zh-cn.html new file mode 100644 index 000000000..74d7bb332 --- /dev/null +++ b/beta_chapter_2_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 基本控制流

+

在本章中,我们将讨论 Rust 中的基本控制流方法。 如果你熟悉类 C 的语言,你会感到宾至如归,兴许还能享受到一些小惊喜。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_2_zh-tw.html b/beta_chapter_2_zh-tw.html new file mode 100644 index 000000000..900e4da73 --- /dev/null +++ b/beta_chapter_2_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 基本流程控制

+

在這個章節,我們會探討 Rust 裡的基本流程控制。 +如果你已經熟悉 C 相關語言,那你將會猶如處在自家廚房般,甚至偶爾會碰上一兩個驚喜呢!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_al.html b/beta_chapter_3_al.html new file mode 100644 index 000000000..e2298148a --- /dev/null +++ b/beta_chapter_3_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitulli 3 - Llojet bazë të strukturës së të dhënave/data-ve

+

Është koha të eksplorojmë përtej llojeve bazë! Në këtë kapitull do të shikojmë + më strukturat e të dhënave

+

me primitive në Rust, duke i kushtuar vëmendje paraqitjeve të tyre në + memorie. Unë mendoj

+

qe do të kënaqeni sa pak Rust fsheh nga ju se si funksionojnë gjërat.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_ar.html b/beta_chapter_3_ar.html new file mode 100644 index 000000000..7232a7fee --- /dev/null +++ b/beta_chapter_3_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 3 - أنواع هياكل البيانات الأساسية

+

لقد حان الوقت لاستكشاف ما هو أبعد من الأنواع الأساسية (Basic Types)! حيث سنتطرق في هذا الفصل إلى هياكل البيانات البدائية (primitive data structures) جدا في رست (Rust)، ونولي أهمية إلى كيفية تمثيلها في الذاكرة. أعتقد أنك ستستمتع بالقليل من الذي يخفيه عنك رست (Rust) حول كيفية عمل الأشياء.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_de.html b/beta_chapter_3_de.html new file mode 100644 index 000000000..bc7a5a408 --- /dev/null +++ b/beta_chapter_3_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 3 - Datenstrukturen

+

Zeit die Basisdatentypen zu erweitern! Hier werden wir leicht komplexere Datenstrukturen +in Rust betrachten, speziell wie die Daten im Speicher verteilt werden. Alle low-level-Enthusiasten +(mitunter dir) werden sicherlich Gefallen daran haben, wie wenig Rust vor einem versteckt.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_en.html b/beta_chapter_3_en.html new file mode 100644 index 000000000..25243fe85 --- /dev/null +++ b/beta_chapter_3_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Basic Data Structure Types

+

It's time we explore beyond basic types! In this chapter we will look at the most primitive +data structures in Rust, paying close attention to their representations in memory. I think +you will enjoy how little Rust hides from you how things work.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_es.html b/beta_chapter_3_es.html new file mode 100644 index 000000000..d822ed441 --- /dev/null +++ b/beta_chapter_3_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Tipos Básicos de Estructuras de Datos

+

¡Ha llegado la hora de explorar más allá de los tipos básicos! En este capítulo veremos +las estructuras de datos más primitivas de Rust, prestando mucha atención a sus representaciones en +memoria. También te darás cuenta de lo poco que oculta Rust sobre cómo funcionan las cosas.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_fa.html b/beta_chapter_3_fa.html new file mode 100644 index 000000000..247331465 --- /dev/null +++ b/beta_chapter_3_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Basic Data Structure Types

+

It's time we explore beyond basic types! In this chapter we will look at the most primitive +data structures in Rust, paying close attention to their representations in memory. I think +you will enjoy how little Rust hides from you how things work.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_fr.html b/beta_chapter_3_fr.html new file mode 100644 index 000000000..961e66fab --- /dev/null +++ b/beta_chapter_3_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 3 - Types basiques de structure de données

+

Il est temps d'explorer autre chose que les types basiques! Dans ce chapitre nous allons +nous intéresser aux structures de données les plus primitives de Rust, en étudiant particulièrement +de quelle manière celles-ci sont représentées en mémoire. Je pense que tu apprécieras le fait que +Rust ne nous cache pas comment les choses fonctionnent.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_gr.html b/beta_chapter_3_gr.html new file mode 100644 index 000000000..b8e3df917 --- /dev/null +++ b/beta_chapter_3_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 3 - Βασικοί τύποι δομών δεδομένων

+

Ώρα να εξερευνήσουμε πέρα από τους βασικούς τύπους! Σ' αυτό το κεφάλαιο θα κοιτάξουμε τις πιο θεμελιώδεις δομές δεδομένων στη Rust, δίνοντας έμφαση στις αναπαραστάσεις τους στη μνήμη. Μάλλον θα εκτιμήσετε το πόσα λίγα πράγματα σας κρύβει η Rust όσον αφορά το πώς λειτουργούν τα πράγματα.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_hu.html b/beta_chapter_3_hu.html new file mode 100644 index 000000000..8a2f3a524 --- /dev/null +++ b/beta_chapter_3_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3. Fejezet - Alapvető adatstruktúra típusok

+

Ideje felfedezni, mik is következnek az alapvető típusok után! Ebben a fejezetben a Rust +legegyszerűbb adatstruktúráit fogjuk áttekinteni, különös figyelmet szentelve arra, hogy hogyan +helyezkednek el a memóriában.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_ie.html b/beta_chapter_3_ie.html new file mode 100644 index 000000000..8428db521 --- /dev/null +++ b/beta_chapter_3_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 3 - Basic Tipes de Data-Structura

+

Li témpor ha venit por explorar ultra li tipes basic! In ti-ci capitul noi va vider li max primitiv +data-structuras in Rust, atentente pri qualmen ili representa se in li memorie. Yo crede que tu va +juir vider quant litt Rust oculta de te pri qualmen functiona li coses.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_it.html b/beta_chapter_3_it.html new file mode 100644 index 000000000..f29ef79a9 --- /dev/null +++ b/beta_chapter_3_it.html @@ -0,0 +1,45 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 3 - Strutture Dati Fondamentali

+

E' ora di spingerci oltre i tipi dato semplici! In questo capitolo vedremo le strutture dati più primitive in Rust, facendo attenzione alla loro rappresentazione in memoria. Credo che ti piacerà il fatto che Rust tenda a nascondere quanto meno possibile del funzionamento interno.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_ja.html b/beta_chapter_3_ja.html new file mode 100644 index 000000000..b0e054193 --- /dev/null +++ b/beta_chapter_3_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 3 章 - 基本的なデータ構造体

+

基本的な型をより深く学ぶ時がきました!この章では、 Rust の中で最もプリミティブなデータ構造を見て、 +それらがメモリ上でどう表現されるかについて詳しく見ていきます。あなたは Rust が物事の動作原理をあまり隠していないことを楽しむでしょう。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_ko.html b/beta_chapter_3_ko.html new file mode 100644 index 000000000..aff6d46a6 --- /dev/null +++ b/beta_chapter_3_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3장 - 기본 데이터 구조 자료형

+

이제 기본 자료형을 뒤로 할 시간입니다! 이번 장에서는 +Rust에서 가장 기초적인 데이터 구조를 살펴보고, +그들의 메모리 상에서의 표현에 대해 자세히 들여다 보겠습니다. +Rust가 어떻게 동작하는지에 대해 얼마나 숨김이 없는지를 즐기실 수 있으리라 생각합니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_pl.html b/beta_chapter_3_pl.html new file mode 100644 index 000000000..636cf99ca --- /dev/null +++ b/beta_chapter_3_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 3 - Podstawowe Typy Struktur Danych

+

Najwyższy czas wyjść poza absolutnie podstawowe typy wbudowane!

+

W tym rozdziale przyjrzymy się strukturom danych w Ruscie, skupiając się zwłaszcza na aspekcie reprezentacji tych struktur w pamięci komputera.

+

Jestem pewien, że to jak niewiele Rust chowa przed programistą bardzo Ci się spodoba.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_pt-br.html b/beta_chapter_3_pt-br.html new file mode 100644 index 000000000..ceddd691e --- /dev/null +++ b/beta_chapter_3_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Tipos Básicos de Estrutura de Dados

+

Chegou a hora de explorar além dos tipos básicos! Neste capítulo veremos as estruturas de dados mais primitivas do Rust, prestando muita atenção nas suas representações em memória. Acredito que você gostará do quão pouco o Rust esconde de você como as coisas funcionam.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_ro.html b/beta_chapter_3_ro.html new file mode 100644 index 000000000..2d3f05468 --- /dev/null +++ b/beta_chapter_3_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 3 - Tipuri de structuri de date de bază

+

Este timpul să explorăm tipuri de date dincolo de cele de bază! În acest capitol o să aruncăm o privire peste structurile de date +primare din Rust, punând accent pe reprezentarea lor în memorie. Cred +c-o să vă placă cum Rust ascunde foarte puține despre cum funcționează lucrurile.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_ru.html b/beta_chapter_3_ru.html new file mode 100644 index 000000000..1f8abedc5 --- /dev/null +++ b/beta_chapter_3_ru.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 3 - Базовые структуры данных

+

Пришло время посмотреть на что-то помимо базовых типов! В этой главе мы посмотрим на самые примитивные структуры данных в Rust, уделяя особое внимание их представлению в памяти. +Я думаю, вам понравится, что Rust не скрывает от вас про то как всё работает внутри.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_th.html b/beta_chapter_3_th.html new file mode 100644 index 000000000..019eabe2f --- /dev/null +++ b/beta_chapter_3_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 3 - ประเภทโครงสร้างข้อมูลพื้นฐาน

+

ได้เวลาแล้ว ที่เราจะไปสำรวจเรื่องอื่นนอกเหนือจาก ประเภทตัวแปรพื้นฐาน! +ซึ่งในบทนี้ เราจะไปดูกันที่ โครงสร้างข้อมูลแบบพื้นฐานที่สุดใน Rust กัน +โดยจะให้ความสำคัญไปที่ การใช้หน่วยความจำเป็นหลัก +ฉันแอบคิดว่าคุณจะต้องสนุกแน่ ที่ได้เห็นว่า Rust แอบซ่อนอะไรไว้ +ในขณะที่สิ่งนั้นมันทำงานอยู่

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_tr.html b/beta_chapter_3_tr.html new file mode 100644 index 000000000..4f13df1d6 --- /dev/null +++ b/beta_chapter_3_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 3 - Temel Veri Yapıları

+

Artık temel türlerin ötesini keşfetme zamanımız geldi çattı! +Bu bölümde Rust'un temel veri yapıları ve bunların bellekte temsil edilme biçimlerine odaklanırken, arka plandaki işlerin örtük olmak yerine, açıkça yürütülüyor oluşunu takdir edeceğinizi farz ediyorum.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_ua.html b/beta_chapter_3_ua.html new file mode 100644 index 000000000..898c1a7be --- /dev/null +++ b/beta_chapter_3_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 3 - Базові структури даних

+

Настав час подивитись на щось, окрім базових типів!

+

В цьому розділі ми розглянемо найбільш примітивні структури даних в Rust, приділивши багато уваги їх розташуванню в пам'яті. Сподіваюся, що вам сподобається наскільки мало Rust намагається приховати від вас стосовно того, як все працює насправді.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_vi.html b/beta_chapter_3_vi.html new file mode 100644 index 000000000..55b6433c1 --- /dev/null +++ b/beta_chapter_3_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 3 - Các kiểu cấu trúc dữ liệu cơ bản

+

Đã đến lúc chúng ta khám phá thêm bên cạnh các loại dữ liệu cơ bản! Trong chương này, hãy cùng nhau xem xét các cấu trúc dữ liệu nguyên thủy nhất trong Rust, cùng với đó hãy để ý đến sự biểu diễn của chúng trong bộ nhớ. Tớ nghĩ bạn sẽ thích thú với việc khám phá xem mọi thứ diễn ra như thế nào.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_zh-cn.html b/beta_chapter_3_zh-cn.html new file mode 100644 index 000000000..fb527fe0c --- /dev/null +++ b/beta_chapter_3_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 基本数据结构类型

+

现在是我们探索基本类型之外内容的时候了!在本章中,我们将查看 Rust 中最原始的数据结构, +并密切关注它们在内存中的表示。我想你们会喜欢上 Rust 很少隐藏事物运作原理这一点的。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_3_zh-tw.html b/beta_chapter_3_zh-tw.html new file mode 100644 index 000000000..56694a509 --- /dev/null +++ b/beta_chapter_3_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 基本資料結構 (data structures)

+

是時候讓我們探討基本型別了!在這個章節,我們將會看看 Rust 裡最原始的資料結構,特別注意它們在記憶體裡是如何呈現的。 我想你會享受到 Rust 替你隱藏起來的東西有多麼少。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_ar.html b/beta_chapter_4_ar.html new file mode 100644 index 000000000..6e6e965f9 --- /dev/null +++ b/beta_chapter_4_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 4 - الأنواع المعممة (Generic types)

+

الأنواع المعممة (Generic types) مهمة بشكل كبير في رست (Rust). يتم استخدامها في تمثيل القيم الخالية (nullable values) (كالمتغيرات التي لا تمك قيمة بعد)، ومعالجة الأخطاء، والمجموعات، والمزيد! سنتعرف في هذا الفصل على الأنواع المعممة الأساسية التي من المحتمل أنك ستستخدمها طوال الوقت.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_de.html b/beta_chapter_4_de.html new file mode 100644 index 000000000..bfefa24e9 --- /dev/null +++ b/beta_chapter_4_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 4 - Generische Typen

+

Generische Typen sind unglaublich wichtig in Rust. Sie werden benutzt um Variablen mit potenziell abewesendem +Wert, Error Handling, Sammlungen und mehr zu ermöglichen. In diesem Abschnitt werden wir über die grundlegenden +generischen Typen lernen, für welche Du warscheinlich anschließend oft Anwendung finden wirst!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_en.html b/beta_chapter_4_en.html new file mode 100644 index 000000000..09ea1cd23 --- /dev/null +++ b/beta_chapter_4_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Generic Types

+

Generic types are incredibly important in Rust. They are used in the representation +of nullable values (i.e. variables which might not have a value yet), error handling, +collections, and more! In this section we will be learning about the foundational generic types +you will likely be using all the time.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_es.html b/beta_chapter_4_es.html new file mode 100644 index 000000000..468405077 --- /dev/null +++ b/beta_chapter_4_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 4 - Tipos Genéricos

+

Los tipos genéricos son muy importantes en Rust. Se utilizan en la representación de valores nulos, +(es decir, variables que podrían no tener ningún valor todavía) en la gestión de errores, en las colecciones, etc. +En este capítulo hablaremos sobre los tipos genéricos fundamentales que probablemente ya estés usando todo el tiempo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_fa.html b/beta_chapter_4_fa.html new file mode 100644 index 000000000..18aba3f69 --- /dev/null +++ b/beta_chapter_4_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Generic Types

+

Generic types are incredibly important in Rust. They are used in the representation +of nullable values (i.e. variables which might not have a value yet), error handling, +collections, and more! In this section we will be learning about the foundational generic types +you will likely be using all the time.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_fr.html b/beta_chapter_4_fr.html new file mode 100644 index 000000000..676f5b474 --- /dev/null +++ b/beta_chapter_4_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 4 - Types Génériques

+

Les types génériques sont incroyablement important avec Rust. Ils sont utilisés pour la représentation +de valeurs potentiellement nulles (ex. variables qui n'a peut-être pas encore de valeurs), gestion d'erreurs, +collections, et plus! Dans cette section, nous allons découvrir les types génériques fondamentaux +dont vous ne pourrez plus vous passer.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_gr.html b/beta_chapter_4_gr.html new file mode 100644 index 000000000..23c88076e --- /dev/null +++ b/beta_chapter_4_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 4 - Γενικοί τύποι

+

Οι γενικοί τύποι είναι απίστευτα σημαντικοί στη Rust. Χρησιμοποιούνται στην αναπαράσταση ενδεχομένως εσφαλμένων τιμών (ήτοι μεταβλητών που μπορεί να μην έχουν όντως αποκτήσει κάποια τιμή), το χειρισμό σφαλμάτων, τις συλλογές και άλλα πολλά! Σ' αυτήν την ενότητα θα μάθουμε για τους θεμελιώδεις γενικούς τύπους που θα χρησιμοποιείτε κατά πάσα πιθανότητα συνέχεια.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_hu.html b/beta_chapter_4_hu.html new file mode 100644 index 000000000..13a35550b --- /dev/null +++ b/beta_chapter_4_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

4. Fejezet - Generikus Típusok

+

A generikus típusok nagyon fontos részét képezik a Rust-nak. Többek között a nullázható típusok +(tehát olyan változók, amik vagy egy értéket vagy egy üres értéket tartalmaznak) +megvalósításában, a hibakezelésben, a különböző gyűjteményekben és még sok más helyen használja +őket a nyelv. Ebben a fejezetben a leggyakrabban használt generikus típusokról fogunk tanulni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_ie.html b/beta_chapter_4_ie.html new file mode 100644 index 000000000..43d306c85 --- /dev/null +++ b/beta_chapter_4_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 4 - Tipes Géneric

+

Tipes géneric es íncredibilmen important in Rust. On usa les por representar valores nullabil +(t.e. variabiles ancor ne possedent un valore), por tractar errores, colectiones e plu! +In ti-ci section noi va aprender pri li fundamental tipes géneric queles tu va max possibilmen +sempre utilisar.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_it.html b/beta_chapter_4_it.html new file mode 100644 index 000000000..5b0959c21 --- /dev/null +++ b/beta_chapter_4_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 4 - Tipi Generici

+

I tipi generici sono incredibilmente importanti in Rust. Sono usati nella rappresentazione +dei valori nullabili (cioè variabili che potrebbero non avere ancora un valore), gestione degli errori, +collezioni, e altro! In questa sezione impareremo le nozioni fondamentali sui generici +che userai praticamente sempre.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_ja.html b/beta_chapter_4_ja.html new file mode 100644 index 000000000..8e94e8774 --- /dev/null +++ b/beta_chapter_4_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 4 章 - ジェネリック型

+

ジェネリック型は Rust において非常に重要です。 +これらの型は null 許容な値(つまりまだ値を持たない変数)の表現、エラー処理、コレクションなどに使用されます。 +このセクションでは、あなたがいつも使用するであろう基本的なジェネリック型について学習します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_ko.html b/beta_chapter_4_ko.html new file mode 100644 index 000000000..34df0a3dc --- /dev/null +++ b/beta_chapter_4_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

4장 - Generic 자료형

+

generic 자료형은 Rust에서 엄청나게 중요합니다. 널 허용(nullable) 값을 표현할 때에도 쓰이며 +(i.e. 아직 값이 없을 수도 있는 변수), 오류 처리, collection, 등등에도 쓰입니다! +이 장에서는 언제든 사용될만한 기본적인 generic 자료형을 살펴보겠습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_pl.html b/beta_chapter_4_pl.html new file mode 100644 index 000000000..c6a338b5d --- /dev/null +++ b/beta_chapter_4_pl.html @@ -0,0 +1,46 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 4 - Typy Generyczne

+

Typy generyczne są niezwykle ważną częścią Rusta. Są one wykorzystywane do rzeczy takich jak reprezentacja pustych wartości (np. zmienne które nie mają jeszcze żadnej wartości), obsługa błędów, rozmaite kolekcje i wiele wiele więcej!

+

W tym rozdziale poznamy podstawy typów generycznych Rusta.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_pt-br.html b/beta_chapter_4_pt-br.html new file mode 100644 index 000000000..ab1f62a6d --- /dev/null +++ b/beta_chapter_4_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 4 - Tipos Genéricos

+

Tipos genéricos são incrivelmente importantes no Rust. Eles são usados na representação de valores null (ou seja, variáveis que ainda não tenham um valor atribuído), tratamento de erros, coleções e muito mais! Nesta seção aprenderemos sobre os tipos genéricos fundamentais que você provavelmente usará o tempo todo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_ro.html b/beta_chapter_4_ro.html new file mode 100644 index 000000000..ed289ea4d --- /dev/null +++ b/beta_chapter_4_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 4 - Tipuri generice

+

Tipurile generice sunt incredibil de importante în Rust. Sunt folosite pentru a reprezenta +valori care pot fi nule (ex: variabile care poate nu au încă o valoare), abordarea erorilor, +colecții și multe altele! În această secțiune vom învăța despre tipurile generice fundamentale +pe care le veți folosi în majoritatea timpului.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_ru.html b/beta_chapter_4_ru.html new file mode 100644 index 000000000..5b6a05107 --- /dev/null +++ b/beta_chapter_4_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 4 - Обобщённые типы

+

Обобщённые типы очень важны в Rust. Они используются для представления значений, которые +могут быть нулевыми (nullable, т.е переменные, которые еще не получили значения), для обработки ошибок, работы с коллекциями и для другого! В этом разделе +мы поговорим об основополагающих обобщённых типах, которые вы, вероятно, будете использовать +постоянно.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_th.html b/beta_chapter_4_th.html new file mode 100644 index 000000000..fd0eb30d6 --- /dev/null +++ b/beta_chapter_4_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Generic Types

+

Generic เป็น type ที่มีความสำคัญอย่างยิ่งใน Rust มันถูกนำมาใช้เป็นตัวแทนของค่าที่เป็น null ได้ (เช่น ตัวแปรที่อาจจะยังไม่มีค่าใดๆ) หรือการจัดการกับ error กับ กลุ่มของข้อมูลคอลเล็คชัน และอื่นๆ ในตอนนี้ เราจะมาเรียนรู้เกี่ยวกับพื้นฐานของ generic types ที่คุณจะได้ใช้มันแทบจะตลอดเวลาเลยทีเดียว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_tr.html b/beta_chapter_4_tr.html new file mode 100644 index 000000000..286e71a33 --- /dev/null +++ b/beta_chapter_4_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 4 - Genel Türler

+

Rust'ta genel türler veri içermeyen null değerlerin temsilinde, hata işleme yöntemlerinde ve koleksiyonlar ile çalışırken sıklıkla karşımıza çıktıklarından oldukça önemlidir. Rust hakkındaki bilgilerimiz derinleştikçe, kullanmayı daha çok tercih edeceğimiz genel türleri bu bölümde incelemeye başlıyoruz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_ua.html b/beta_chapter_4_ua.html new file mode 100644 index 000000000..cfdb3c951 --- /dev/null +++ b/beta_chapter_4_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 4 - Узагальнені типи

+

Узагальнені типи неймовірно важливі в Rust. Вони використовуються для представлення значень, що можуть можуть бути null (тобто такі змінні, які ще не отримали значення), обробки помилок, колекцій і багато чого іншого!

+

В цьому розділі ми розглянемо основні положення узагальнених типів, які ви, скоріш за все, часто будете використовувати.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_vi.html b/beta_chapter_4_vi.html new file mode 100644 index 000000000..b9fd2e5a2 --- /dev/null +++ b/beta_chapter_4_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 4 - Generic Type

+

Generic type là cực kỳ quan trọng trong Rust. Chúng được sử dụng để biểu diễn các giá trị nullable (tức là các biến có thể chưa có giá trị), xử lý lỗi, tập hợp và hơn thế nữa! Trong phần này, chúng ta sẽ tìm hiểu về Generic type cơ bản mà bạn có thể sẽ sử dụng mọi lúc.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_zh-cn.html b/beta_chapter_4_zh-cn.html new file mode 100644 index 000000000..545c6c4b8 --- /dev/null +++ b/beta_chapter_4_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 泛型

+

泛型在 Rust 中非常重要。它们用于表示可空值(即可能还没有值的变量)、错误处理、集合等等! +在本章中,我们将学习你可能将会经常使用的基本泛型知识。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_4_zh-tw.html b/beta_chapter_4_zh-tw.html new file mode 100644 index 000000000..d5113c3fe --- /dev/null +++ b/beta_chapter_4_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 泛型 (generic types)

+

泛型在 Rust 裡是非常重要的。它們被用來表示空值 (即那些還沒有值的變量)、錯誤處理、集合及其他更多東西! 在此章節我們將會學習泛型的基礎,你很有可能將會一直使用到它。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_ar.html b/beta_chapter_5_ar.html new file mode 100644 index 000000000..ea7e9ad0b --- /dev/null +++ b/beta_chapter_5_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 5 - ملكية وإستعارة البيانات (Ownership & Borrowing Data)

+

لدى رست (Rust) نموذج فريد لإدارة الذاكرة مقارنة بلغات البرمجة الأخرى.سوف نلقي نظرة على سلوكيات (behaviors) و عمليات التحقق (validations) الخاصة بمترجم اللغة (compiler) واحدًا تلو الآخر، لذلك لن يكون الأمر مربكًا. من المهم أن تتذكر أن القواعد التي نعرضها في نهاية المطاف ليست موجودة لجعل الأمور صعبة، ولكن لمساعدتك في جعل التعليمات البرمجية الخاصة بك أقل عرضة للخطأ!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_de.html b/beta_chapter_5_de.html new file mode 100644 index 000000000..7e4c12b27 --- /dev/null +++ b/beta_chapter_5_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 5 - Eigentums- und Kreditdaten

+

Rust verfügt im Vergleich zu anderen Programmen über ein einzigartiges Paradigma für die Speicherverwaltung Sprachen. Wir werden uns das ansehen +die Verhaltensweisen und Validierungen des Compilers nacheinander, also nicht überwältigend. Es ist wichtig, sich daran zu erinnern +Letztlich dienen die Regeln, die wir aufzeigen, nicht dazu, Ihnen das Leben schwer zu machen, sondern um Ihnen zu helfen Sie machen Ihren Code weniger fehleranfällig!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_en.html b/beta_chapter_5_en.html new file mode 100644 index 000000000..c1a19e8fc --- /dev/null +++ b/beta_chapter_5_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Ownership & Borrowing Data

+

Rust has a unique paradigm for managing memory compared to other programming languages. We're going to look at +the behaviors and validations of the compiler one by one so it's not overwhelming. It's important to remember that +ultimately the rules we show don't exist to make your life hard, but to help you make your code less error-prone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_es.html b/beta_chapter_5_es.html new file mode 100644 index 000000000..a77f5c8c4 --- /dev/null +++ b/beta_chapter_5_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 5 - Pertenencia y Préstamo de Datos

+

Rust tiene un paradigma único para la gestión de la memoria en comparación con otros lenguajes de programación. Vamos a ver los comportamientos y validaciones del compilador uno por uno para que no te resulte agobiante. Cabe destacar que las reglas que mostramos no existen para dificultar las cosas, sino todo lo contrario: están para ayudarte a que tu código sea menos propenso a errores.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_fa.html b/beta_chapter_5_fa.html new file mode 100644 index 000000000..58e894c56 --- /dev/null +++ b/beta_chapter_5_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Ownership & Borrowing Data

+

Rust has a unique paradigm for managing memory compared to other programming languages. We're going to look at +the behaviors and validations of the compiler one by one so it's not overwhelming. It's important to remember that +ultimately the rules we show don't exist to make your life hard, but to help you make your code less error-prone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_fr.html b/beta_chapter_5_fr.html new file mode 100644 index 000000000..357baa3f8 --- /dev/null +++ b/beta_chapter_5_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 5 - Propriété et emprunt de données

+

Comparé aux autres langages de programmation, Rust possède un paradigme unique en ce qui concerne +la gestion de la mémoire. Nous allons nous intéresser aux comportements et aux validations du compilateur +un par un pour être sûr de bien comprendre. Il est important de garder à l'esprit qu'au bout du compte, +les règles que nous allons voir ne sont pas là pour te compliquer la vie, mais pour éviter que ton code +ne soit truffé d'erreurs!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_gr.html b/beta_chapter_5_gr.html new file mode 100644 index 000000000..1ca6a6ead --- /dev/null +++ b/beta_chapter_5_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 5 - Κυριότητα και δανεισμός δεδομένων

+

Η Rust έχει ένα μοναδικό σκεπτικό για να χειρίζεται μνήμη σε σύγκριση με κάθε άλλη ευρέως χρησιμοποιούμενη γλώσσα. Θα δούμε τις συμπεριφορές και τις διαβεβαιώσεις του μεταφραστή μία προς μία ώστε να μη νιώσετε να πνίγεστε. Είναι σημαντικό να θυμάστε ότι εν τέλει οι κανόνες που δείχνουμε δεν υπάρχουν για να σας κάνουν τη ζωή δύσκολη, αλλά για να σας βοηθήσουν να γράφετε κώδικα με λιγότερα σφάλματα!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_hu.html b/beta_chapter_5_hu.html new file mode 100644 index 000000000..a62e971cf --- /dev/null +++ b/beta_chapter_5_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5. Fejezet - Birtoklás & Az adatok kölcsönkérése

+

A Rust egy egyedi paradigmával rendelkezik a memóriakezeléssel kapcsolatban. Egyesével fogjuk +átnézni a fordító viselkedését és különböző ellenőrzéseit, hogy az egész könnyedén befogadható +maradjon. Fontos megjegyezni, hogy az itt bemutatott szabályok nem azért léteznek, hogy +megnehezítsék az életed, hanem, hogy segítsenek elkerülni bizonyos hibákat.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_ie.html b/beta_chapter_5_ie.html new file mode 100644 index 000000000..174db6568 --- /dev/null +++ b/beta_chapter_5_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 5 - Proprietá e Pruntation de Data

+

Rust possede un dessine unic por gerer memorie quel es diferent quam altri lingues de programmation. Noi va regardar +chascun conduida e validation del compilator poc a poc por que on ne mey esser aplastat per it. It es important a +memorar que in fine ti regules ne existe por far li vive plu dur, ma in contrari por far tui code minu erraci!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_it.html b/beta_chapter_5_it.html new file mode 100644 index 000000000..6ff134a5b --- /dev/null +++ b/beta_chapter_5_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 5 - Dati sulla proprietà e sui prestiti

+

Rust ha un paradigma unico per la gestione della memoria rispetto ad altri programmi le lingue. Stiamo andando a guardare +i comportamenti e le convalide del compilatore uno per uno, quindi non lo è travolgente. È importante ricordarlo +in definitiva le regole che mostriamo non esistono per renderti la vita difficile, ma per aiutarti rendi il tuo codice meno soggetto a errori!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_ja.html b/beta_chapter_5_ja.html new file mode 100644 index 000000000..e4318d041 --- /dev/null +++ b/beta_chapter_5_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 5 章 - データの所有権と借用

+

Rust には他のプログラミング言語に比べて、メモリを管理するための独特な枠組みがあります。 +ここでは圧倒されないように、コンパイラの動作と検証を一つずつ見ていきます。 +突き詰めると、ここで紹介するルールはあなたを苦しめるためのものではなく、 +コードをエラーになりにくいものにするためのものだと覚えておくことが重要です。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_ko.html b/beta_chapter_5_ko.html new file mode 100644 index 000000000..a6f49aef7 --- /dev/null +++ b/beta_chapter_5_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5장 - 소유권과 데이터 대여

+

Rust는 메모리 관리에 있어 다른 프로그래밍 언어에 비해 독특한 패러다임을 갖고 있습니다. +이제 컴파일러의 동작과 검증방식에 대해 차근차근 살펴볼 예정입니다. +중요한 것은, 앞으로 나올 규칙들은 여러분의 삶을 힘들게 하려고 존재하는게 아니라, 코드의 오류를 줄여주기 위한 것이란 점입니다!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_pl.html b/beta_chapter_5_pl.html new file mode 100644 index 000000000..63cf6bef5 --- /dev/null +++ b/beta_chapter_5_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 5 - Koncepcje Własności i Pożyczania Danych

+

Jedną z rzeczy która odróżnia Rusta od innych języków programowania jest wykorzystanie specjalnego paradygmatu, czy też zestawu koncepcji, pomagającego w zorganizowaniu i optymalizacji procesu zarządzania pamięcią.

+

W tym rozdziale przyjrzymy się reakcjom kompilatora sprawdzającego nasz kod. Bez obaw, zaczniemy powoli.

+

Ważne żeby pamiętać, że zasady według których kompilator ocenia nasze wypociny nie istnieją po to by uprzykrzać nam życie. Są one raczej fundamentem na którym jesteśmy w stanie budować solidne i bezpieczne programy.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_pt-br.html b/beta_chapter_5_pt-br.html new file mode 100644 index 000000000..c635df9da --- /dev/null +++ b/beta_chapter_5_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 5 - Propriedade & Empréstimo de Dados

+

O Rust possui um paradigma singular para gerenciar a memória em comparação a outras linguagens de programação. Vamos analisar os comportamentos e validações do compilador, um por um, para que os conceitos não sejam muito pesados. É importante lembrar que, no fim das contas, as regras que mostramos não existem para dificultar sua vida, mas para ajudá-lo a tornar seu código menos propenso a erros!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_ro.html b/beta_chapter_5_ro.html new file mode 100644 index 000000000..21e855774 --- /dev/null +++ b/beta_chapter_5_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 5 - Proprietatea și împrumutul datelor

+

Rust are o paradigmă unică pentru gestionarea memoriei în comparație cu alte limbaje de programare. O să analizăm +pe rând comportamentul și verificările pe care le face compilatorul pentru a nu deveni copleșitor. Este important să rețineți faptul că +la finalul zilei, regulile prezentate nu au scopul de a vă face viața grea, ci de a vă ajuta să scrieți cod mai puțin predispus la erori!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_ru.html b/beta_chapter_5_ru.html new file mode 100644 index 000000000..e040e94d5 --- /dev/null +++ b/beta_chapter_5_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 5 - Владение и Заимствование данными (Ownership & Borrowing)

+

Rust использует уникальную парадигму для управления памятью по сравнению с другими языками программирования. Мы посмотрим на поведение компилятора и то, как он проверяет код шаг за шагом, иначе Вы рискуете быть ошеломлены. Важно понимать, что все эти правила существуют не для того, чтобы сделать Вашу жизнь сложнее, а для того, чтобы предотвратить широкий спектр ошибок.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_th.html b/beta_chapter_5_th.html new file mode 100644 index 000000000..6748035e9 --- /dev/null +++ b/beta_chapter_5_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 5 - ความเป็นเจ้าของ และการยืมข้อมูล

+

Rust มีกระบวนทัศน์เฉพาะตัวในการจัดการหน่วยความจำเมื่อเทียบกับภาษาโปรแกรมอื่น ๆ +เราจะไปดูพฤติกรรมและการตรวจสอบความถูกต้องของคอมไพเลอร์ทีละขั้นทีละตอน ว่ามันจัดการให้อยู่มือได้อย่างไร +สิ่งสำคัญที่ต้องจำไว้ก็คือ สุดท้ายแล้ว กฎทั้งหลายที่เราตั้งขึ้นนั้น ไม่ได้มีไว้เพื่อทำให้คุณทำงานยากขึ้น แต่มันมีไว้เพื่อช่วยให้โค้ดของคุณมีโอกาสผิดพลาดน้อยลง!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_tr.html b/beta_chapter_5_tr.html new file mode 100644 index 000000000..f846e5b03 --- /dev/null +++ b/beta_chapter_5_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 5 - Mülkiyet ve Borçlanma

+

Diğer programlama dilleriyle karşılaştırıldığında Rust'un, benzersiz bir bellek yönetim paradigmasına sahip olduğu görülür. Konuyu sıkılmadan ve kolaylıkla takip edebilmeniz için, derleyici davranışlarını ve kontrol düzeneğini ayrı ayrı değerlendirmek niyetindeyiz. Bölüm boyunca karşılaşacağımız kuralların, hayatımızı zorlaştırmak için değil, önümüze çıkabilecek çeşitli hataları önlemek amacıyla koyulduğunu hatırlatmak istiyorum.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_ua.html b/beta_chapter_5_ua.html new file mode 100644 index 000000000..00b8fae1f --- /dev/null +++ b/beta_chapter_5_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 5 - Володіння та позичання

+

Rust має унікальну парадигму керування пам'яттю у порівнянні з іншими мовами програмування . Ми розглянемо +поведінку та валідації компілятора по черзі, щоб не перевантажувати. Важливо пам'ятати, що +правила, які ми показуємо, існують не для того, щоб ускладнити вам життя, а для того, щоб допомогти зробити ваш код краще!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_vi.html b/beta_chapter_5_vi.html new file mode 100644 index 000000000..b2522f3f9 --- /dev/null +++ b/beta_chapter_5_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 5 - Quyền sở hữu và mượn dữ liệu

+

Rust có một mô hình độc nhất để quản lý bộ nhớ so với các ngôn ngữ lập trình khác. Chúng ta sẽ xem xét từng hành vi và xác nhận của trình biên dịch để không bạn không bị quá tải. Điều quan trọng cần nhớ là cuối cùng các quy tắc được đưa ra không tồn tại để làm khó bạn, mà là để giúp bạn làm cho code của mình ít bị lỗi hơn!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_zh-cn.html b/beta_chapter_5_zh-cn.html new file mode 100644 index 000000000..da762af96 --- /dev/null +++ b/beta_chapter_5_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 所有权和数据借用

+

相较于其他编程语言,Rust 具有一套独特的内存管理范例。为了不让您被概念性的东西淹没,我们将一一展示这些编译器的行为和验证方式。 有一点很重要:所有这些规则的终极目的不是为了为难您,而是为了更好地降低代码的出错率!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_5_zh-tw.html b/beta_chapter_5_zh-tw.html new file mode 100644 index 000000000..a585a207d --- /dev/null +++ b/beta_chapter_5_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 擁有權 (ownership) 與借資料 (borrowing data)

+

與其他語言相比,Rust 有一套獨特的方式管理記憶體。我們將會逐一檢視這些行為以及編譯器的驗證,以免一下壓垮你。 有一點要特別記得的是,這些規則的最終目標都是為了幫助你的程式碼有較少錯誤,而不是讓你的人生更痛苦。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_ar.html b/beta_chapter_6_ar.html new file mode 100644 index 000000000..3e6bf707f --- /dev/null +++ b/beta_chapter_6_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 6 - النص

+

الآن بعد أن فهمنا قليلًا عن أفكار رست (Rust) في إدارة الذاكرة، أصبحنا مستعدين للحديث عن النص بمزيد من التفصيل.

+

يولي رست (Rust) أهمية كبيرة للنص العالمي (international text) و هُمُوم مستوى البايت (byte level) التي قد لا تكون معتاد عليها في اللغات الأخرى. +ومع ذلك، لدى رست (Rust) العديد من الأدوات الرائعة لإدارة هذه الهُمُوم.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_de.html b/beta_chapter_6_de.html new file mode 100644 index 000000000..1560f4294 --- /dev/null +++ b/beta_chapter_6_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 6 – Text

+

Wenn Sie das Modul zur Pflege von Rust einsetzen, müssen Sie es sich merken, bevor Sie darüber reden Weitere Informationen zum Text. +Rust hat viele wichtige Texte in verschiedenen Texten und Modulen geschrieben, die es zu repräsentieren gilt Nachdem Sie die Oktavebene erreicht haben, müssen Sie sich mit der alten Schule vertraut machen. +aus anderen Sprachen. Allerdings verfügt Rust über viele großartige Tools zur Verwaltung diese Bedenken.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_en.html b/beta_chapter_6_en.html new file mode 100644 index 000000000..999320d2e --- /dev/null +++ b/beta_chapter_6_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_es.html b/beta_chapter_6_es.html new file mode 100644 index 000000000..10c6d129b --- /dev/null +++ b/beta_chapter_6_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 6 - Texto

+

Ahora que entendemos un poco cómo piensa Rust en la memoria, estamos preparados para hablar y entrar en detalle sobre los textos. A Rust le importa mucho los formatos de textos internacionales y las particularidades a nivel de byte que pueden no resultar tan familiares en otros lenguajes. Dicho esto, Rust tiene muchas herramientas para gestionar esas situaciones.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_fa.html b/beta_chapter_6_fa.html new file mode 100644 index 000000000..8b88dd9e1 --- /dev/null +++ b/beta_chapter_6_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_fr.html b/beta_chapter_6_fr.html new file mode 100644 index 000000000..2e59760dc --- /dev/null +++ b/beta_chapter_6_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 6 - Texte

+

Maintenant que nous en savons un peu plus sur la manière dont Rust gère la mémoire, +nous sommes prêts à parler des chaînes de caractères en détail. +Rust se soucie beaucoup du support des textes internationaux et des problèmes associés au niveau des bits +(dont vous n'êtes peut-être pas familier). Cela dit, Rust dispose d'excellents +outils pour gérer ces préoccupations.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_hu.html b/beta_chapter_6_hu.html new file mode 100644 index 000000000..46c5c1895 --- /dev/null +++ b/beta_chapter_6_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

6. Fejezet - Szövegek

+

Most, hogy értjük, hogyan kezeli a Rust a memóriát, készen állunk arra, hogy a nyelv +szövegkezeléséről is részletesen beszélhessünk.

+

A Rust nagy figyelmet fordít a byte szinten előforduló és a nemzetközi szövegek által okozott +problémák elkerülésére, melyek sokszor figyelmen kívül vannak hagyva más programozási +nyelvekben. Ezek korrigálására a Rust robusztus eszközökkel rendelkezik.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_ie.html b/beta_chapter_6_ie.html new file mode 100644 index 000000000..52d360710 --- /dev/null +++ b/beta_chapter_6_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 6 - Textu

+

Nam noi ja comprende un poc pri qualmen Rust concepte memorie, noi es preparat parlar plu detalliatmen pri textu. +Rust sucia sempre pri textu international e li concernes sur li nivelle de bytes queles fórsan es nov por tis +qui ha venit de altri lingues. Támen, Rust possede mult utensiles por gerer ti-ci problemas.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_it.html b/beta_chapter_6_it.html new file mode 100644 index 000000000..274a6de4c --- /dev/null +++ b/beta_chapter_6_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 6 - Testo

+

Ora che abbiamo capito un po' come Rust pensa alla memoria, siamo pronti parlare del testo in modo più dettagliato. +Rust si preoccupa molto del testo internazionale e il livello dei byte ti preoccupa potrebbe non avere familiarità con +da altre lingue. Detto questo, Rust ha molti ottimi strumenti per la gestione quelle preoccupazioni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_ja.html b/beta_chapter_6_ja.html new file mode 100644 index 000000000..ea1d5f7ba --- /dev/null +++ b/beta_chapter_6_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 6 章 - テキスト

+

さて、Rustにおけるメモリの考え方について少し理解できたので、テキストについて深掘りするための準備が整いました。 +Rustでは、他の言語ではあまり馴染みのない国際的なテキストやバイトレベルの問題が考慮されています。 +それでも、Rustにはこれらの問題を管理するための優れたツールが多くあります。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_ko.html b/beta_chapter_6_ko.html new file mode 100644 index 000000000..0128a0a8a --- /dev/null +++ b/beta_chapter_6_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

6장 - 텍스트

+

이제 Rust가 메모리를 어찌 다루는지 살짝 이해했으니, 텍스트에 대해 더 자세히 알아볼 준비가 된 것 같습니다. +Rust는 아마도 여러분이 다른 언어에서는 익숙하지 않았을 만국의 텍스트와 바이트 수준의 관심사를 상당히 신경써서 다룹니다. +즉, Rust는 그러한 관심사를 다룰 다양하고 훌륭한 도구들을 갖고 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_pl.html b/beta_chapter_6_pl.html new file mode 100644 index 000000000..6e76f7ba6 --- /dev/null +++ b/beta_chapter_6_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_pt-br.html b/beta_chapter_6_pt-br.html new file mode 100644 index 000000000..9ffda9dd6 --- /dev/null +++ b/beta_chapter_6_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 6 - Texto

+

Agora que entendemos um pouco como Rust pensa a memória, estamos preparados para falar a respeito de texto com mais detalhes.

+

O Rust se preocupa muito com as questões de texto internacional e byte-level de um jeito que talvez não lhe seja familiar em outras linguagens. Dito isto, o Rust possui muitas ótimas ferramentas para gerenciar essas preocupações.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_ro.html b/beta_chapter_6_ro.html new file mode 100644 index 000000000..99fea36be --- /dev/null +++ b/beta_chapter_6_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 6 - Text

+

Acum că înțelegem puțin modul în care Rust gestionează memoria, suntem pregătiți să discutăm mai detaliat despre folosirea textelor. +Limbajul Rust acordă o importanță deosebită folosirii textelor în diverse limbi și modului în care sunt reprezentate acestea la nivel de octeți, lucruri cu care s-ar putea să nu fiți familiarizați din alte limbaje. +Acestea fiind spuse, Rust dispune de numeroase unelte pentru gestionarea acestor aspecte.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_ru.html b/beta_chapter_6_ru.html new file mode 100644 index 000000000..f10b7543c --- /dev/null +++ b/beta_chapter_6_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 6 - Текст

+

Теперь, когда мы немного понимаем то, как Rust думает о памяти, мы готовы поговорить более подробно о тексте. +Rust серьезно заботится о поддержке международных текстов, и поддержке на уровне байтов, с которыми вы, возможно, не знакомы на других языках. +Что говорит, что в Rust есть много отличных инструментов для управления этими проблемами.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_th.html b/beta_chapter_6_th.html new file mode 100644 index 000000000..3070587a8 --- /dev/null +++ b/beta_chapter_6_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 6 - ข้อความ

+

มาถึงตอนนี้เราก็ได้เข้าใจขึ้นมาบ้างแล้วว่า Rust คิดอย่างไรกับเรื่องหน่วยความจำ เพื่อเตรียมความพร้อมให้เรามาคุยกันในเรื่อง ข้อความ ให้ละเอียดมากขึ้น Rust ใส่ใจมากในเรื่อง ข้อความในแง่ความเป็นสากล และลงลึกไปถึงระดับไบต์ แบบที่คุณอาจจะไม่เคยเจอมาก่อนจากภาษาอื่น +นั่นแปลว่า Rust ได้เตรียมเครื่องไม้เครื่องมือที่ดีเยี่ยมเพื่อขจัดความกังวลเหล่านั้นเอาไว้แล้ว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_tr.html b/beta_chapter_6_tr.html new file mode 100644 index 000000000..1acc68603 --- /dev/null +++ b/beta_chapter_6_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 6 - Metin Verileriyle Çalışmak

+

Artık Rust'un belleği ele alış şeklini biraz daha anladığımıza göre, metin işleme konusuna odaklanabiliriz. Rust diğer dillerde karşılaşmamış olabileceğiniz, uluslararası metin desteği ve bu desteğin bit düzeyi sorunlarıyla oldukça ilgili olduğundan, bit düzeyinişlemlerinde karşılaşılan sorunları özel olarak ele alan yetenekli araçlara sahiptir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_ua.html b/beta_chapter_6_ua.html new file mode 100644 index 000000000..8583490bd --- /dev/null +++ b/beta_chapter_6_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 6 - Текст

+

Зараз, коли ми вже трошки розуміємо, як Rust взаємодіє з пам'яттю, ми готові детальніше поговорити про текст. +Rust звертає особливу увагу на проблеми з кількістю байтів, які використовуються для представлення тексту різними мовами. Ви можете бути не +знайомі з подібними проблемами у інших мовах. Тим не менш, Rust має багато чудових інструментів для їх вирішення.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_vi.html b/beta_chapter_6_vi.html new file mode 100644 index 000000000..03902c2af --- /dev/null +++ b/beta_chapter_6_vi.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 6 - Văn bản

+

Chúng ta đã hiểu một chút về cách Rust nghĩ về bộ nhớ, vì thế bây giờ là lúc để nói về văn bản một cách chi tiết hơn. +Rust quan tâm rất nhiều đến văn bản quốc tế và các mối quan tâm ở cấp độ byte mà bạn có thể không quen thuộc với các ngôn ngữ khác. Điều đó nói rằng, Rust có nhiều công cụ tuyệt vời để quản lý những mối quan tâm đó.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_zh-cn.html b/beta_chapter_6_zh-cn.html new file mode 100644 index 000000000..128ca707b --- /dev/null +++ b/beta_chapter_6_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 文本

+

了解完了 Rust 内存管理的机制,是时候更为详尽地了解文本相关的内容了。 +Rust 非常关注文本国际化与字节层级的问题,这意味着 Rust 有许多实用的工具来解决这些问题。虽然你可能对其它语言中的这些问题并不熟悉。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_6_zh-tw.html b/beta_chapter_6_zh-tw.html new file mode 100644 index 000000000..772699be6 --- /dev/null +++ b/beta_chapter_6_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 文字

+

現在我們稍微了解 Rust 的記憶體了,我們準備更詳細的討論文字。 +Rust 非常在意國際語言,及從位元組 (byte) 層面來看,你可能不是那麼熟悉的語言。 即是,Rust 有很多很棒的工具用來管理這些問題。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_ar.html b/beta_chapter_7_ar.html new file mode 100644 index 000000000..10cd60edc --- /dev/null +++ b/beta_chapter_7_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 7 - البرمجة كائنية التوجه (Object Oriented Programming)

+

يعد التعبير عن الأفكار باستخدام الدوال طريقة مجربة لتمثيل السلوك والبيانات (تقوم لغة البرمجة C بذلك منذ عقود!). تاريخيًا، وجدت علوم الكمبيوتر تعبيرات أخرى مفيدة مجمعة ومجردة للبيانات. وكإحدى هذه الأساليب التي قد تكون على دراية بها وهي البرمجة كائنية التوجه (إختصار تكتب OOP). في هذا الفصل سوف نستكشف لغة برمجة رست (Rust)خارج نطاق الدوال.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_en.html b/beta_chapter_7_en.html new file mode 100644 index 000000000..570c1250b --- /dev/null +++ b/beta_chapter_7_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_es.html b/beta_chapter_7_es.html new file mode 100644 index 000000000..32159b2ac --- /dev/null +++ b/beta_chapter_7_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 7 - Programación Orientada a Objetos

+

Expresar ideas con funciones es una manera comprobada de representar el comportamiento y los datos (¡C lo ha estado haciendo durante décadas!). Históricamente, la informática ha encontrado otras agregaciones y abstracciones expresivas útiles para los datos. Puede que estés familiarizado con la Programación Orientada a Objetos (POO) como una de esas formas. En este capítulo exploraremos el lenguaje de programación Rust más allá de las funciones.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_fa.html b/beta_chapter_7_fa.html new file mode 100644 index 000000000..ff1d04f22 --- /dev/null +++ b/beta_chapter_7_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_fr.html b/beta_chapter_7_fr.html new file mode 100644 index 000000000..31dc49f10 --- /dev/null +++ b/beta_chapter_7_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 7 - Programmation orientée object

+

L'utilisation de fonctions pour exprimer une idée ou modéliser le comportement +et les données d'un programme a toujours été une manière éprouvée d'écrire un +programme (C le fait depuis des décennies!). Cependant, il existe d'autres paradigmes +de programmation permettant l'agrégation et l'abstraction de données. Vous connaissez +peut-être déjà la programmation orientée objet (POO). Dans ce chapitre, nous +explorerons le langage de programmation Rust au-delà des fonctions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_hu.html b/beta_chapter_7_hu.html new file mode 100644 index 000000000..b1a40c6c4 --- /dev/null +++ b/beta_chapter_7_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

7. Fejezet - Objektum-Orientált Programozás

+

A gondolatok függvényekkel való kifejezése egy bizonyított módja az adatok és viselkedésük +reprezentálására (a C nyelv már évtizedek óta ezt csinálja!) A tudományág létrejötte óta sokféle +módszer jött létre az adatok aggregálására és egyszerűbben kezelhető csoportokra való +bontására. Például ismerős lehet számodra az OOP vagyis Objektum-Orientált Programozás. Ebben a +fejezetben a Rust nyelv függvényeken túlmutató képességeivel fogunk megismerkedni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_ie.html b/beta_chapter_7_ie.html new file mode 100644 index 000000000..8c2fe4fa4 --- /dev/null +++ b/beta_chapter_7_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 7 - Object-orientat Programmation

+

Li expression de idés tra functiones es un metode pruvat por representar conduida e data (C ha +fat talmen durant decennies!). Historicmen, scientie computoral ha trovat altri expressiv e +util agregationes e abstractiones por data. Tu es cert familiari con object-orientat programmation (OOP) +quam un tal metode. In ti-ci capitul noi va explorar li lingue de programmation Rust ultra functiones.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_it.html b/beta_chapter_7_it.html new file mode 100644 index 000000000..78bccd03c --- /dev/null +++ b/beta_chapter_7_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 7 - Programmazione orientata agli oggetti

+

Esprimere idee con funzioni è un modo comprovato di rappresentare il comportamento e dati (C +lo fa da decenni!). Storicamente, l'informatica ha trovato altro +utili aggregazioni espressive e astrazioni per i dati. Potresti essere familiarità con la programmazione orientata agli oggetti (OOP) come tale +in questo modo. In questo capitolo esploreremo il linguaggio di programmazione Rust oltre funzioni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_ja.html b/beta_chapter_7_ja.html new file mode 100644 index 000000000..60f777e70 --- /dev/null +++ b/beta_chapter_7_ja.html @@ -0,0 +1,45 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 7 章 - オブジェクト指向プログラミング

+

関数でアイデアを表現することは、動作やデータを表現する方法として実績があります(C言語では何十年もそうしてきました!)。 歴史的に見ると、コンピュータサイエンスは他にも有用なデータの表現方法と抽象化を発見してきました。 オブジェクト指向プログラミング(OOP)は、そのような方法の1つとしてお馴染みかもしれません。 この章では、ただの関数だけではないRustプログラミング言語を探求していきます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_ko.html b/beta_chapter_7_ko.html new file mode 100644 index 000000000..d73752376 --- /dev/null +++ b/beta_chapter_7_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

7장 - 객체 지향 프로그래밍

+

함수로 아이디어를 표현하는 것은 동작과 데이터를 나타내는 입증된 방식입니다 (C에서 수십 년 간 쓰였습니다!). +역사적으로, 컴퓨터 과학에서는 데이터에 대한 다른 유용한 표현 집합 및 추상화 방법을 찾아왔습니다. +그 중 한 방법인 객체 지향 프로그래밍(OOP)은 익숙하실겁니다. +이번 장에서는 함수를 넘어 Rust 프로그래밍 언어를 살펴 보겠습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_pl.html b/beta_chapter_7_pl.html new file mode 100644 index 000000000..fb3f677e8 --- /dev/null +++ b/beta_chapter_7_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_pt-br.html b/beta_chapter_7_pt-br.html new file mode 100644 index 000000000..472f6f060 --- /dev/null +++ b/beta_chapter_7_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 7 - Programação orientada a objetos

+

Expressar idéias com funções é uma maneira comprovada de representar comportamentos e dados (C faz isso há décadas!). Historicamente, a ciência da computação encontrou outras agregações e abstrações expressivas úteis para os dados. Você pode estar familiarizado com a programação orientada a objetos (OOP) como uma dessas maneiras. Neste capítulo exploraremos a linguagem de programação Rust para além das funções.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_ro.html b/beta_chapter_7_ro.html new file mode 100644 index 000000000..260e57057 --- /dev/null +++ b/beta_chapter_7_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 7 - Programare orientată pe obiecte

+

Exprimarea ideilor cu ajutorul funcțiilor este o metodă dovedită de a reprezenta comportamente și date (Limbajul C o face de decenii!). +Din punct de vedere istoric, știință calculatoarelor a găsit alte agregări și abstractizări expresive folositoare pentru date. +Ați putea fi familiarizați cu programarea orientată pe obiecte (POO) ca fiind una dintre acestea. În acest capitol vom explora limbajul Rust dincolo de funcții.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_ru.html b/beta_chapter_7_ru.html new file mode 100644 index 000000000..ca23ab4bb --- /dev/null +++ b/beta_chapter_7_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 7 - Объектно-ориентированное программирование (OOP)

+

Выражение идей с помощью функций - это проверенный способ представления поведения и данных (в Си это делают десятилетиями!) Исторически информатика нашла другие полезные выразительные агрегаты и абстракции для данных. Вы можете быть знакомы с объектно-ориентированным программированием (ООП) как одним из таких способов описания абстракций. В этой главе мы рассмотрим язык программирования Rust за пределами только функций.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_th.html b/beta_chapter_7_th.html new file mode 100644 index 000000000..23024e954 --- /dev/null +++ b/beta_chapter_7_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Object Oriented Programming

+

แนวคิดเรื่องการใช้ฟังก์ชันมาสะท้อนความเป็นไปของข้อมูลนั้นเป็นที่ยอมรับแล้ว (ซึ่ง ภาษา C ทำมาเป็นสิบปี!) +และในอดีตที่ผ่านมา วงการวิทยาการคอมพิวเตอร์ ก็ยังค้นพบหนทางอื่นที่สามารถใช้ เพื่ออธิบายแนวคิดการจัดการข้อมูลในเชิงนามธรรม และก็อย่างที่เรารู้กัน หนึ่งในนั้นก็คือเรื่องของ object oriented programming (OOP) +โดยในบทนี้เราจะมาสำรวจภาษา Rust ในการทำงานที่นอกเหนือจากเรื่องของฟังก์ชันกันบ้าง

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_tr.html b/beta_chapter_7_tr.html new file mode 100644 index 000000000..3600d3b0a --- /dev/null +++ b/beta_chapter_7_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 7 - Nesne Yönelimli Programlama

+

Onlarca yıldır kullanılan C Programlama dilinde olduğu gibi, fikirleri işlevlerle ifade etmek, veriler ve program davranışını temsil etmenin kanıtlanmış bir yoludur. Ancak zaman içinde bilgisayar bilimi, veri toplama ve soyutlamaya izin veren başka programlama paradigmalarından da yararlanmıştır. +Diğer programlama dillerinden geliyorsanız, bu programlama paradigmalarından biri olan nesne yönelimli programlamaya, yani OOP'a aşina olabilirsiniz. +Bu bölümde Rust programlama dilini, işlevlerin ötesinde bir programlama dili olarak yeniden keşfedeceğiz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_ua.html b/beta_chapter_7_ua.html new file mode 100644 index 000000000..49c9b3f9a --- /dev/null +++ b/beta_chapter_7_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 7 - Об'єктно Орієнтоване Програмування

+

Вираження ідей за допомогою функцій є перевіреним способом представлення поведінки та даних (C +робить це вже десятки років!). Історично склалося так, що інформатика знайшла інші +корисні виразні агрегації та абстракції для даних. Ви можете бути знайомі з об'єктно-орієнтованим програмуванням (ООП) як одним +з таких способів. У цій главі ми розглянемо мову програмування Rust за межами функцій.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_vi.html b/beta_chapter_7_vi.html new file mode 100644 index 000000000..e55c9f015 --- /dev/null +++ b/beta_chapter_7_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 7 - Lập trình hướng đối tượng(Object-oriented programming-OOP)

+

Thể hiện ý tưởng bằng các hàm là một cách đã được chứng minh để biểu thị hành vi và dữ liệu (ngôn ngữ C đã làm điều đó trong nhiều thập kỷ!). Về mặt lịch sử, khoa học máy tính đã tìm thấy những thứ có thể biểu diễn hữu ích khác và các khái niệm trừu tượng khác cho dữ liệu. Bạn có thể quen với lập trình hướng đối tượng (OOP) như một cách như vậy. Trong chương này, chúng ta sẽ khám phá ngôn ngữ lập trình Rust vượt ra ngoài các function.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_zh-cn.html b/beta_chapter_7_zh-cn.html new file mode 100644 index 000000000..97b2f59b6 --- /dev/null +++ b/beta_chapter_7_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 面向对象编程

+

用函数表达思想是一种成熟的行为和数据表示方式(C 语言已经这么做了几十年了!)。 从历史上看,计算机科学领域已经找到了其他的数据表达聚合和抽象的方式。 你可能熟知面向对象编程(OOP)就是这样一种方式。在本章中,我们将探索函数之外的 Rust 编程语言。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_7_zh-tw.html b/beta_chapter_7_zh-tw.html new file mode 100644 index 000000000..7926dc3a7 --- /dev/null +++ b/beta_chapter_7_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 物件導向程式 (object oriented programming)

+

使用函式來表達點子是一個已經被證實用來表示行為及資料的方式 (C 已經這樣做了幾十年了!)。 +從歷史上來看,電腦科學發現了其他非常有表達力的聚合式 (aggregation) 及抽象資料。 你可能已經熟悉其中一種物件導向程式。在此章節我們將會探索 Rust 這門程式語言函式以上的東西。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_ar.html b/beta_chapter_8_ar.html new file mode 100644 index 000000000..98a14fdf8 --- /dev/null +++ b/beta_chapter_8_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 8 - المؤشرات الذكية (Smart Pointers)

+

في هذا الفصل سنقوم بإزالة الغموض عن المؤشرات الذكية (Smart Pointers). دعونا نستكشف هياكل البيانات (data structures) هذه والتي تتيح لنا التفاعل مع أدنى مستوى من الذاكرة.

+

يقول فيريس: "لا تشعر بالإرهاق من هذا الفصل في حال شعرت أنه ليس بإمكانك كتابة تعليمات برمجية الخاص بك لإدارة الذاكرة منخفضة المستوى (low level memory management) في وقت قصير.

+

يهدف هذا الفصل في الغالب إلى تعريفك ببعض الأدوات المفيدة وإلقاء نظرة على كيفية عملها!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_en.html b/beta_chapter_8_en.html new file mode 100644 index 000000000..2fe9e3fce --- /dev/null +++ b/beta_chapter_8_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_es.html b/beta_chapter_8_es.html new file mode 100644 index 000000000..acc9ad777 --- /dev/null +++ b/beta_chapter_8_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 8 - Punteros Inteligentes

+

En este capítulo vamos a desmitificar los punteros inteligentes. Exploraremos estas estructuras de datos que nos permiten interactuar con la memoria a bajo nivel.

+

Ferris dice: «No te agobies en este capítulo si ves que aún no puedes escribir tu propio código de gestión de memoria a bajo nivel en poco tiempo. En este capítulo te introduciremos, sobre todo, algunas herramientas útiles y veremos cómo funcionan.»

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_fa.html b/beta_chapter_8_fa.html new file mode 100644 index 000000000..12c6da411 --- /dev/null +++ b/beta_chapter_8_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_fr.html b/beta_chapter_8_fr.html new file mode 100644 index 000000000..76f7735b4 --- /dev/null +++ b/beta_chapter_8_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 8 - Pointeurs intelligents (smart pointers)

+

Dans ce chapitre, nous allons démystifier les pointeurs intelligents +(en anglais Smart Pointers). Explorons ces structures de données qui +nous permettent d'interagir au plus bas niveau de la Mémoire.

+

Ferris dit: "Ne te sens pas submergé par ce chapitre, je n'attends pas de +toi que tu sois capable d'écrire ton propre code de gestion de la mémoire +bas niveau après une première lecture. Ce chapitre est surtout là pour te +présenter quelques outils utiles et te donner un aperçu de leur +fonctionnement!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_hu.html b/beta_chapter_8_hu.html new file mode 100644 index 000000000..505f9d18e --- /dev/null +++ b/beta_chapter_8_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

8. Fejezet - Okos Mutatók

+

Ebben a fejezetben az okos mutatókat fogjuk megismerni. Nézzük meg, milyen lehetőségeket adnak +számunkra ezek az adatstruktúrák, melyek a legközvetlenebb módon engednek a memóriával dolgozni!

+

"Ne stresszelj nagyon, ha az első olvasás után nem tudnál alacsonyszintű memóriakezelő kódot +írni. Ez a fejezet leginkább egy betekintést ad csupán néhány hasznos eszköz belső működésébe!"

+
    +
  • Ferris
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_ie.html b/beta_chapter_8_ie.html new file mode 100644 index 000000000..6903f7f63 --- /dev/null +++ b/beta_chapter_8_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 8 - Smart Pointers

+

In ti-ci capitul noi va remover li misterie de smart pointers (puntatores inteligent). +On va explorar pri qualmen ti data-structuras possibilisa li interaction con memorie +sur li nivelles max bass.

+

Ferris di: "Ne esse aplastat per li desfacilitás in ti-ci capitul si tu ne es strax pret +a scrir tui propri code por gerer memorie ye bass nivelles. It mey servir solmen por +conossentar te con quelc util utensiles e qualmen ili functiona!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_ko.html b/beta_chapter_8_ko.html new file mode 100644 index 000000000..b4f0752bd --- /dev/null +++ b/beta_chapter_8_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

8장 - 스마트 포인터

+

이번 장에서는 smart pointer에 대해 명확하고 쉽게 이해해 보겠습니다. +가장 저수준의 메모리를 다룰 수 있게 해주는 자료 구조에 대해 알아봅시다.

+

Ferris가 말합니다: "이번 장을 짧게 한 번 읽고서 +저수준 메모리 관리 코드를 짜지 못한다고 해도 거기에 압도되지 마세요. +이번 장은 주로 유용한 도구들의 소개와 함께 그들의 동작 방식을 가볍게 살펴보기 위함이니까요!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_pl.html b/beta_chapter_8_pl.html new file mode 100644 index 000000000..a42298cf6 --- /dev/null +++ b/beta_chapter_8_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_pt-br.html b/beta_chapter_8_pt-br.html new file mode 100644 index 000000000..43a4427da --- /dev/null +++ b/beta_chapter_8_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 8 - Ponteiros inteligentes

+

Neste capítulo vamos desmistificar os ponteiros inteligentes. Vamos explorar essas estruturas de dados que nos permitem interagir com o mais baixo nível de memória.

+

Ferris diz: "Não se sinta pressionado por este capítulo se você acha que não pode escrever seu próprio código de gerenciamento de memória de baixo nível em uma leitura rápida. Este capítulo é principalmente para apresentá-lo a algumas ferramentas úteis e dar uma ideia de como eles trabalham!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_ro.html b/beta_chapter_8_ro.html new file mode 100644 index 000000000..961aac2c3 --- /dev/null +++ b/beta_chapter_8_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 8 - Pointeri "inteligenți"

+

În acest capitol vom lămuri pointerii inteligenți. Să explorăm aceste structuri +de date care ne permit să interacționăm cu memoria la cel mai de bază nivel.

+

Ferris spune: "Nu te simți copleșit de acest capitol dacă simți că +nu poți gestiona de unul singur memoria la un nivel de bază după această +lectură scurtă. Scopul acestui capitol este să îți prezinte câteva unelte +și să îți creezi o idee despre cum se folosesc!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_ru.html b/beta_chapter_8_ru.html new file mode 100644 index 000000000..b52b78878 --- /dev/null +++ b/beta_chapter_8_ru.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Smart Pointers

+

В этой главе мы проясним "умные указатели". Давайте изучим эти структуры данных, позволяющие взаимодействовать с самыми нижними уровнями памяти.

+

Феррис говорит: "Не смущайтесь этой главы, если вы чувствуете, что не можете писать свой код для низко-уровневого управления памятью после короткого чтения. Данная глава это в основном введение в некоторые полезные инструменты и чтобы дать представление о том, как они работают!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_th.html b/beta_chapter_8_th.html new file mode 100644 index 000000000..329dbfc19 --- /dev/null +++ b/beta_chapter_8_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 8 - Smart Pointers

+

ในบทนี้จะช่วยให้เราเข้าใจเกี่ยวกับ smart pointer เพิ่มขึ้น ไปสำรวจโครงสร้างข้อมูลนี้ มันจะช่วยเราจัดการกับหน่วยความจำในเชิงลึก

+

Ferris says: "อย่าเพิ่งรู้สึกหนักใจกับบทนี้ อย่ากลัวว่าคุณจะเขียนโค้ดจัดการกับ หน่วยความจำเชิงลึกไม่ได้จากการอ่านบทสั้นๆนี้ อันที่จริงเนื้อหาในบทนี้แค่พยายาม แนะนำเครื่องมือบางตัวที่มีประโยชน์ ให้ดูคร่าวๆว่ามันทำงานอย่างไรแค่นั้น"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_tr.html b/beta_chapter_8_tr.html new file mode 100644 index 000000000..4fb292fa8 --- /dev/null +++ b/beta_chapter_8_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 8 - Akıllı İşaretçiler

+

Bu bölümde düşük bellek seviyesiyle etkileşmemizi sağlayan akıllı işaretçileri inceleyecek ve onlara dair gizemleri birer birer çözeceğiz.

+

Ama başlamadan önce Ferris'in uyarısına kulak vermenin motivasyonumuzu güçlendireceğini düşünüyorum: “Bu bölüme göz gezdirirken, düşük seviyeli bellek yönetim kodlarını yazamayacağınızı düşünerek moralinizi bozmayın. Zira bu bölüm, bazı temel ve yararlı araçlara giriş niteliğinde olup, nasıl çalıştıkları hakkında sizi bilgilendirmeyi amaçlar!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_ua.html b/beta_chapter_8_ua.html new file mode 100644 index 000000000..cd2e68fe7 --- /dev/null +++ b/beta_chapter_8_ua.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 8 - Розумні покажчики (Smart Pointers)

+

У цьому розділі ми демістифікуємо розумні покажчики. Давайте +досліджувати ці структури даних, які дозволяють нам взаємодіяти +з найнижчим рівнем пам'яті.

+

Ферріс каже: «Не бентежтеся через цей розділ, якщо ви не відчуваєте, що +здатні написати власний низькорівневий код для керування пам’яттю за одне коротке читання. Цей розділ

+

здебільшого познайомити вас із деякими корисними інструментами та дати + уявлення про те, як вони працюють!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_vi.html b/beta_chapter_8_vi.html new file mode 100644 index 000000000..2981f6a39 --- /dev/null +++ b/beta_chapter_8_vi.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 8 - Con trỏ thông minh(Smart Pointers)

+

Trong chương này, chúng ta sẽ làm sáng tỏ con trỏ thông minh. Hãy cùng khám phá những cấu trúc dữ liệu cho phép chúng ta tương tác với mức bộ nhớ thấp nhất.

+

Ferris nói: "Đừng cảm thấy choáng ngợp bởi chương này nếu bạn không cảm thấy mình có thể viết mã quản lý bộ nhớ cấp thấp của riêng mình trong một lần đọc ngắn. Chương này chủ yếu là để giới thiệu cho bạn một số công cụ hữu ích và giới thiệu sơ lược về cách chúng hoạt động! "

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_8_zh-cn.html b/beta_chapter_8_zh-cn.html new file mode 100644 index 000000000..83bf00129 --- /dev/null +++ b/beta_chapter_8_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第8章 - 智能指针

+

在本章中,我们将揭开智能指针的神秘面纱。 让我们探索一下能够让我们与最底层内存打交道的这些数据结构。 +Ferris 说:“读完这一章之后,即使您觉得仍然不能编写管理底层内存的代码也不用觉得不知所措。 本章主要是向您介绍一些有用的工具并简要了解他们如何工作!”

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_ar.html b/beta_chapter_9_ar.html new file mode 100644 index 000000000..0a9295461 --- /dev/null +++ b/beta_chapter_9_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 9 - تنظيم وهيكلة المشروع

+

حتى الآن، كانت جميع أمثلة التعليمات البرمجية الخاصة بنا عبارة عن ملف واحد. دعنا نناقش كيف يمكن تنظيم التعليمات البرمجية الخاص بنا ومشاركتها بشكل أفضل مع الآخرين!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_de.html b/beta_chapter_9_de.html new file mode 100644 index 000000000..aa9b3a019 --- /dev/null +++ b/beta_chapter_9_de.html @@ -0,0 +1,45 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 9 - Projektorganisation und -struktur

+

Bis jetzt waren alle unsere Code Beispiele in einer einzelnen Datei untergebracht. Lass uns darüber diskutieren, wie unser Code besser organisiert und mit anderen geteilt werden kann!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_en.html b/beta_chapter_9_en.html new file mode 100644 index 000000000..e05c0c2ea --- /dev/null +++ b/beta_chapter_9_en.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_es.html b/beta_chapter_9_es.html new file mode 100644 index 000000000..03d619b4b --- /dev/null +++ b/beta_chapter_9_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 9 - Organización y Estructura de Proyectos

+

Todos los ejemplos de código que hemos visto hasta ahora tenían un solo archivo. Veamos cómo se puede organizar y compartir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_fa.html b/beta_chapter_9_fa.html new file mode 100644 index 000000000..675fe8228 --- /dev/null +++ b/beta_chapter_9_fa.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_fr.html b/beta_chapter_9_fr.html new file mode 100644 index 000000000..7fe19f61f --- /dev/null +++ b/beta_chapter_9_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 9 - Organisation et structure d'un projet

+

Jusqu'à présent, tous nos exemples de code n'ont guère dépassé le simple +fichier. Voyons comment un projet plus complexe s'organise et quels outils +l'écosystème Rust met à notre disposition pour pouvoir travailler à +plusieurs sur un même projet!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_hu.html b/beta_chapter_9_hu.html new file mode 100644 index 000000000..52303225b --- /dev/null +++ b/beta_chapter_9_hu.html @@ -0,0 +1,46 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9. Fejezet - Projektszervezés És Struktúra

+

Egészen eddig a példakódjaink egyetlen fájlból álltak. Lássuk, hogyan tudjuk munkánkat jobban +szervezni és másokkal megosztani!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_ie.html b/beta_chapter_9_ie.html new file mode 100644 index 000000000..2b6296088 --- /dev/null +++ b/beta_chapter_9_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 9 - Organisation e Structura de un Projecte

+

Til nu nor exemples de code ha esset scrit in singul archives. Lass nos discusser pri qualmen plu bon organisar e partiprender it!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_ko.html b/beta_chapter_9_ko.html new file mode 100644 index 000000000..8424445b2 --- /dev/null +++ b/beta_chapter_9_ko.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9장 - 프로젝트 구성과 구조

+

지금까지의 모든 예제 코드는 단일 파일이었습니다. 어떻게 하면 우리의 코드를 더 잘 구성하고 다른 사람과 공유할 수 있을지 얘기해 봅시다!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_pl.html b/beta_chapter_9_pl.html new file mode 100644 index 000000000..d7b384926 --- /dev/null +++ b/beta_chapter_9_pl.html @@ -0,0 +1,45 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_pt-br.html b/beta_chapter_9_pt-br.html new file mode 100644 index 000000000..bf25f6ec5 --- /dev/null +++ b/beta_chapter_9_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 9 - Organização e estrutura do projeto

+

Até agora todos os nossos exemplos de código foram em um único arquivo. Vamos discutir sobre como o nosso código pode ser melhor organizado e compartilhado por outras pessoas!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_ro.html b/beta_chapter_9_ro.html new file mode 100644 index 000000000..a4f0baafd --- /dev/null +++ b/beta_chapter_9_ro.html @@ -0,0 +1,45 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 9 - Organizarea și structurarea proiectului

+

Până acum, toate exemplele noastre de cod au fost un singur fișier. Haideți să discutăm cum codul nostru poate fi mai bine organizat și partajat de alții!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_ru.html b/beta_chapter_9_ru.html new file mode 100644 index 000000000..e04a49d00 --- /dev/null +++ b/beta_chapter_9_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 9 - Организация и структура проекта (Project Organization and Structure)

+

До сих пор все наши примеры кода находились в единственном файле. Давайте обсудим, как лучше организовать наш код и как делиться им с другими!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_th.html b/beta_chapter_9_th.html new file mode 100644 index 000000000..6e7dd0f8b --- /dev/null +++ b/beta_chapter_9_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 9 - Project Organization and Structure

+

จนถึงตอนนี้ ตัวอย่างที่เราเขียนทั้งหมดจะเป็นแบบไฟล์เดียวทั้งนั้น เดียวเราจะมาคุยกันว่าเราจะจัดระเบียบโค้ดให้ดูดีขึ้น และแชร์ให้คนอื่นใช้งานต่อได้อย่างไร!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_tr.html b/beta_chapter_9_tr.html new file mode 100644 index 000000000..3bde0cae6 --- /dev/null +++ b/beta_chapter_9_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 9 - Proje Organizasyonu ve Yapısı

+

Şu ana dek tüm kod örneklerimiz tek bir dosyadan oluşmaktaydı. Artık kodlarımızı organize ederek başkalarının kullanımına nasıl sunabileceğimizi konuşma zamanının geldiğini hissediyorum.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_ua.html b/beta_chapter_9_ua.html new file mode 100644 index 000000000..e9ab61945 --- /dev/null +++ b/beta_chapter_9_ua.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 9 - Організація проекту, та його структура

+

Ну що ж. До цього в усіх прикладах ви бачили код котрий був розташований лише в одному файлі. Зараз настав час, коли ми почнемо говорити про те як краще організувати свій код для того, щоб він став краще, і його було легше зрозуміти іншим!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_vi.html b/beta_chapter_9_vi.html new file mode 100644 index 000000000..c454d5d0f --- /dev/null +++ b/beta_chapter_9_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 9 - Tổ chức và cấu trúc dự án

+

Cho đến nay tất cả các code ví dụ của chúng ta đều là một tệp duy nhất. Hãy thảo luận về cách code của chúng ta có thể được tổ chức và chia sẻ tốt hơn bởi những người khác!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_chapter_9_zh-cn.html b/beta_chapter_9_zh-cn.html new file mode 100644 index 000000000..9c4fd1c1c --- /dev/null +++ b/beta_chapter_9_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第九章 - 项目的结构和管理

+

到目前为止,我们所有的代码示例都是单文件。现在让我们来讨论一下,如何更好地组织我们的代码,并与他人分享!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/beta_index.html b/beta_index.html new file mode 100644 index 000000000..769ce7a50 --- /dev/null +++ b/beta_index.html @@ -0,0 +1,75 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Welcome to the Tour of Rust

+

Happy 3 Year Anniversary 🎉

+

Welcome to the Tour of Rust. This is meant to be a step by step guide through the features of the Rust programming language. Rust is often considered a language with a steep learning curve, but I hope I can convince you there's a lot to explore before we even get to complex parts.

+

You can also find this guide in these languages:

+ +

If you have suggestions on content or would like to contribute to translations, check out Tour of Rust's github repository.

+

You can navigate through the tour with keyboard ⬅️ and ➡️.

+

In this classic example we show Rust's support for Unicode strings.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/chapter_10_al.html b/chapter_10_al.html new file mode 100644 index 000000000..3bb94fc89 --- /dev/null +++ b/chapter_10_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_ar.html b/chapter_10_ar.html new file mode 100644 index 000000000..f97083e19 --- /dev/null +++ b/chapter_10_ar.html @@ -0,0 +1,48 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 10 - النهاية

+

لقد كان من دواعي سروري أن نكون معك في دورة تعلم رست (Rust). فيريس (Ferris) وفريق دورة تعلم رست (the Tour of Rust team) يأملون جدا بأن تستمتع برحلتك المقبلة في تعلم رست (Rust)! إذا شعرت بالإرتياح لما تعلمت حتى الآن، فإننا نوصيك بالتعمق أكثر في اللغة من خلال هذه الموارد:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_de.html b/chapter_10_de.html new file mode 100644 index 000000000..9b2d1bc6d --- /dev/null +++ b/chapter_10_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 10 - Das Ende

+

Es war eine Freude, dich bei der Tour durch Rust dabei gehabt zu haben. Ferris und das ,,Tour of Rust"-Team hoffen, dass es dir gefallen hat! Falls du dich weiter mit Rust beschäftigen möchtest, empfehlen wir dir diese Resource:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_en.html b/chapter_10_en.html new file mode 100644 index 000000000..feca09188 --- /dev/null +++ b/chapter_10_en.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_es.html b/chapter_10_es.html new file mode 100644 index 000000000..8f19140a3 --- /dev/null +++ b/chapter_10_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 10 - Fin

+

Esto es todo por ahora, pero aún quedan más capítulos, así que ¡muy atento! Esperamos que disfrutes del viaje.

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_fa.html b/chapter_10_fa.html new file mode 100644 index 000000000..c3c508a72 --- /dev/null +++ b/chapter_10_fa.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_fi.html b/chapter_10_fi.html new file mode 100644 index 000000000..503957d63 --- /dev/null +++ b/chapter_10_fi.html @@ -0,0 +1,49 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_fr.html b/chapter_10_fr.html new file mode 100644 index 000000000..9681239f9 --- /dev/null +++ b/chapter_10_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 10 - Fin

+

Ce fut une joie de t'avoir sur le Tour de Rust. Ferris et l'équipe du +Tour de Rust espèrent sincèrement que tu apprécieras le voyage à venir! +Si tu te sens à l'aise avec Rust, nous te conseillons fortement de +continuer à approfondir tes connaissances avec ces ressources (attention +celles-ci sont en anglais):

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_gr.html b/chapter_10_gr.html new file mode 100644 index 000000000..e71fea8a7 --- /dev/null +++ b/chapter_10_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 10 - Το Τέλος

+

Μεγάλη μας χαρά που σας είχαμε στην Ξενάγηση στη Rust. Ο Ferris και η ομάδα της Ξενάγησης ελπίζουμε ειλικρινά να απολαύσετε το ταξίδι που σας περιμένει! Αν αισθάνεστε άνετα ως τώρα, προτείνουμε ανεπιφύλακτα να διεισδύσετε πιο βαθιά με τα εξής βοηθήματα:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_hu.html b/chapter_10_hu.html new file mode 100644 index 000000000..d42e1ce50 --- /dev/null +++ b/chapter_10_hu.html @@ -0,0 +1,50 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

10. Fejezet - Vége

+

Örülök, hogy velem tartottál a Rust-túrán! Ferris és a Rust-túra csapata őszintén reméli, hogy +tetszeni fog, ami utad során rád vár! Ha az eddigieket kényelmesnek találtad, melegen ajánljuk +az alábbiakat:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_id.html b/chapter_10_id.html new file mode 100644 index 000000000..86e6545c1 --- /dev/null +++ b/chapter_10_id.html @@ -0,0 +1,49 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_ie.html b/chapter_10_ie.html new file mode 100644 index 000000000..5588346f8 --- /dev/null +++ b/chapter_10_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 10 - Fine

+

To es omnicos por nu. Plu tard va venir nov contenete. Yo espera que tu va juir li viage a sequer!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_it.html b/chapter_10_it.html new file mode 100644 index 000000000..08999878f --- /dev/null +++ b/chapter_10_it.html @@ -0,0 +1,49 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_ja.html b/chapter_10_ja.html new file mode 100644 index 000000000..6126cd8a3 --- /dev/null +++ b/chapter_10_ja.html @@ -0,0 +1,49 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 10 章 - 終わりに

+

Rustツアーに参加していただきありがとうございました。フェリスとRustツアーチームは皆さんが今後も楽しんでくれるよう願っています。
+ここまで楽しんでいただけたなら、以下の資料を通してより深く学ぶのを推奨します。

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_ko.html b/chapter_10_ko.html new file mode 100644 index 000000000..616f5461e --- /dev/null +++ b/chapter_10_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

10장 - 끝

+

Tour of Rust를 함께 해서 즐거웠습니다. Ferris와 Tour of Rust 팀은 여러분이 앞에 놓인 여정을 즐기시길 진심으로 바랍니다! +여기까지 오는 데에 어려움이 없으셨다면, 다음 자료와 함께 더 깊이 뛰어들어보시는 것을 강력히 추천드립니다:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_ne.html b/chapter_10_ne.html new file mode 100644 index 000000000..c56d9e694 --- /dev/null +++ b/chapter_10_ne.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_pl.html b/chapter_10_pl.html new file mode 100644 index 000000000..730d22ba8 --- /dev/null +++ b/chapter_10_pl.html @@ -0,0 +1,49 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 10 - Koniec

+

Było mi niezmiernie przyjemnie mieć możliwość oprowadzenia Cię po zakamarkach języka Rust. Ferris i cała załoga Przewodnika po Języku Rust życzy Ci wszystkiego najlepszego w Twojej podróży z Rustem! +Jeśli spodobało Ci się to co zostało przedstawione w niniejszym przewodniku koniecznie zajrzyj do oficjalnej książki Rusta, dostępnej za darmo pod następującym adresem:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_pt-br.html b/chapter_10_pt-br.html new file mode 100644 index 000000000..faa7bd5a8 --- /dev/null +++ b/chapter_10_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 10 - Fim

+

Isso é tudo por enquanto. Fique ligado para novos conteúdos. Espero que se divirta nesta jornada!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_ro.html b/chapter_10_ro.html new file mode 100644 index 000000000..21639cfcf --- /dev/null +++ b/chapter_10_ro.html @@ -0,0 +1,49 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 10 - Sfârșit

+

A fost o plăcere să te avem alături în Turul limbajului Rust. Ferris și echipa Turului limbajului Rust speră din suflet că te vei bucura de ce îți rezervă viitorul! Dacă +ți-a plăcut acest tur, îți recomandăm să continui cu resursele:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_ru.html b/chapter_10_ru.html new file mode 100644 index 000000000..9a999274c --- /dev/null +++ b/chapter_10_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 10 - Конец

+

Было приятно видеть тебя в туре по Rust. Феррис и команда Tour of Rust искренне надеются, что вам понравится путешествие! Если вы чувствовали себя комфортно в туре, мы настоятельно рекомендуем глубже погрузиться в язык с помощью ресурса:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_th.html b/chapter_10_th.html new file mode 100644 index 000000000..242113c92 --- /dev/null +++ b/chapter_10_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 10 - ตอนจบ

+

มีความสุขมากที่คุณเข้ามาใน Tour of Rust Ferris และทีม Tour of Rust หวังเป็นอย่างยิ่งว่าคุณจะสนุกกับการเดินทางข้างหน้า! +หากว่าที่ผ่านมานี้คุณยังรู้สึกสบายๆแล้วละก็ เราขอแนะนำให้เจาะลึกลงไปตามแหล่งข้อมูลเหล่านี้เลย:

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_tr.html b/chapter_10_tr.html new file mode 100644 index 000000000..46bb5a616 --- /dev/null +++ b/chapter_10_tr.html @@ -0,0 +1,50 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 10 - Bitti

+

Rust Turu'nda sizi görmek benim için büyük bir zevkti. Ben Ferris ve Rust Turundaki ekip arkadaşlarım, Rust öğreniminize devam edebilmeniz için aşağıdaki kaynakları incelemenizi tavsiye ederken, önünüzdeki yolculuktan keyif almanızı içtenlikle umuyor ve başarılar diliyoruz.

+ +
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_ua.html b/chapter_10_ua.html new file mode 100644 index 000000000..925bc61cc --- /dev/null +++ b/chapter_10_ua.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 10 - Заключне слово

+

Нам було приємно бачити вас на Тур по Rust. Ферріс і команда Тур по Rust щиро сподіваються, що вам сподобається подальша подорож! Якщо ви +почувалися комфортно досі, ми наполегливо рекомендуємо зануритися глибше за допомогою цих ресурсів:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_vi.html b/chapter_10_vi.html new file mode 100644 index 000000000..3f9017b38 --- /dev/null +++ b/chapter_10_vi.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 10 - Kết thúc

+

Thật vui khi có bạn tham gia Tour of Rust. Ferris cùng với the Tour of Rust team chân thành hy vọng bạn sẽ tận hưởng hành trình phía trước! Nếu bạn đã cảm thấy thoải mái cho đến bây giờ, chúng tôi thực sự khuyên bạn nên tìm hiểu sâu hơn với các tài nguyên sau:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_zh-cn.html b/chapter_10_zh-cn.html new file mode 100644 index 000000000..0915fea05 --- /dev/null +++ b/chapter_10_zh-cn.html @@ -0,0 +1,48 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

尾声

+

我们很高兴你能完成 Rust 之旅。Ferris 和 Rust 之旅团队真心希望你能享受未来的旅途! 如果你到目前尚能适应,我们强烈推荐你深入了解以下材料:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_10_zh-tw.html b/chapter_10_zh-tw.html new file mode 100644 index 000000000..3a15568cb --- /dev/null +++ b/chapter_10_zh-tw.html @@ -0,0 +1,49 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Chapter 10 - The End

+

It's been a joy to have you on the Tour of Rust. Ferris and the Tour of Rust team sincerely hope you enjoy the journey ahead! If you +have felt comfortable this far, we strongly recommend diving deeper with these resources:

+ + +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_al.html b/chapter_1_al.html new file mode 100644 index 000000000..692574234 --- /dev/null +++ b/chapter_1_al.html @@ -0,0 +1,52 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitulli 1 - Bazat

+

Në këtë kapitull të parë ne do të eksplorojmë bazat + me funksionet, variablat dhe llojet më primitive. Gëzohemi që ju kemi + ne bord!

+

Gjithashtu! Në rast se po pyesni kush eshte kjo gaforre e adhurueshme qe + po te flet, unë jam Ferris, + maskota jozyrtare për gjuhën e programimit Rust. Gëzohem që u njohëm.

+

Pasi të njiheni me Rust, mund ta quani veten Rustacean. Kjo është + si e quajnë veten njerëzit që përdorin, kontribuojnë ose janë të interesuar për Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_ar.html b/chapter_1_ar.html new file mode 100644 index 000000000..bb5f0e7fe --- /dev/null +++ b/chapter_1_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 1 - الأساسيات

+

سنستكشف في هذا الفصل الأول الأساسيات المتعلقة بالدوال، المتغيرات والأنواع الأكثر بدائية. سعيد بوجودك بهذه الدورة!

+

أيضًا! إذا كنت تتساءل من هذا السلطعون الرائع الذي يتحدث إليك، فأنا فيريس، التميمة غير الرسمية للغة البرمجة Rust. سعيد بلقائك.

+

بمجرد أن تصبح متعود على Rust، يمكنك أن تلقب نفسك بـ Rustacean. تلك هي العبارة التي يطلق الأشخاص الذين يستخدمون Rust أو يساهمون فيه أو يهتمون به على أنفسهم.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_de.html b/chapter_1_de.html new file mode 100644 index 000000000..28d5d491e --- /dev/null +++ b/chapter_1_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 1 - Die Basics

+

Im ersten Kapitel werden grundlegende Eigenschaften von Funktionen, Variablen und (fast) allen primitiven Datentypen präsentiert. Willkommen an Board!

+

Ach ja! Falls du dich fragst, wer diese süße sprechende Krabbe ist, das ist Ferris, das inoffizielle Maskottchen der Programmiersprache Rust. Sag hallo! +Sobald du dich mit Rust vertraut gemacht hast, kannst du dich ein Rustacean. nennen. Leute, die Rust benutzen, dazu beitragen oder generell daran interessiert sind, nennen sich selbst Rustaceans.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_en.html b/chapter_1_en.html new file mode 100644 index 000000000..2ebd57334 --- /dev/null +++ b/chapter_1_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - The Basics

+

In this first chapter we're going to be exploring the very basics with functions, variables, and the most primitive types. Glad to have you on board!

+

Also! In case you are wondering who this adorable crab who is speaking to you is, I am Ferris, the unofficial mascot for the Rust programming language. Nice to meet you.

+

Once you get familiar with Rust, you can call yourself a Rustacean. That's how people who use, contribute or are interested in Rust call themself.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_es.html b/chapter_1_es.html new file mode 100644 index 000000000..32dd205c3 --- /dev/null +++ b/chapter_1_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Lo Básico

+

En este primer capítulo vamos a ver lo más básico respecto a funciones, variables y los tipos de datos primitivos. ¡Bienvenido a bordo!

+

Y por si te estas preguntando quién es el adorable cangrejo parlante, me llamo Ferris, y soy la mascota no oficial del lenguaje de programación Rust. Encantado de conocerte.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_fa.html b/chapter_1_fa.html new file mode 100644 index 000000000..14dfd6cff --- /dev/null +++ b/chapter_1_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - The Basics

+

In this first chapter we're going to be exploring the very basics +with functions, variables, and the most primitive types. Glad to have you on board!

+

Also! In case you are wondering who this adorable crab who is speaking to you is, I am Ferris, +the unofficial mascot for the Rust programming language. Nice to meet you.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_fi.html b/chapter_1_fi.html new file mode 100644 index 000000000..6a74252bc --- /dev/null +++ b/chapter_1_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kappale 1 - Perusteet

+

Tässä ensimmäisessä kappaleessa käymme läpi Rustin perusteita: funktioita, muuttujia ja yksinkertaisimpia tietotyyppejä. Kiva, kun olet mukana!

+

Jos ihmettelet, mikä on tämä ihastuttava rapu, joka puhuu sinulle, minä olen "Ferris", Rust ohjelmointikielen epävirallinen maskotti. Mukava tavata.

+

Kun opit sujuvammaksi Rustin kanssa, voit kutsua itseäsi nimellä Rustacean. Sillä nimellä Rustia kehittävät ja kiinnostuneet ihmiset kutsuvat itseään.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_fr.html b/chapter_1_fr.html new file mode 100644 index 000000000..46080eae3 --- /dev/null +++ b/chapter_1_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Les fondamentaux

+

Dans ce premier chapitre, nous allons explorer les fondamentaux +avec les fonctions, les variables et les types primitifs. Bienvenue à bord!

+

Et si tu te demandes qui est cet adorable crabe qui te parle, sache que je m'appelle Ferris, +la mascotte non officielle du langage de programmation Rust. Heureux de te renconter!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_gr.html b/chapter_1_gr.html new file mode 100644 index 000000000..ce8ca3ef4 --- /dev/null +++ b/chapter_1_gr.html @@ -0,0 +1,46 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 1 - Τα βασικά

+

Σ' αυτό το πρώτο κεφάλαιο θα εξερευνήσουμε τα πολύ βασικά με συναρτήσεις, μεταβλητές, και τους περισσότερους πρωτογενείς τύπους. Χαιρόμαστε που σας έχουμε μαζί μας!

+

Επίσης! Σε περίπτωση που αναρωτιέστε ποιο είναι αυτό το αξιολάτρευτο καβουράκι που σας μιλάει: Είμαι ο Ferris, η ανεπίσημη μασκότ της προγραμματιστικής γλώσσας Rust. Χαίρω πολύ!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_hu.html b/chapter_1_hu.html new file mode 100644 index 000000000..c68f8819e --- /dev/null +++ b/chapter_1_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1. Fejezet - Az Alapok

+

Az első fejezetben a nyelv alapjaival fogunk megismerkedni, többek között a függvényekkel, a +változókkal és a legalapabb típusokkal. Üdv a fedélzeten!

+

Ja igen! Ha kíváncsi vagy ki ez az aranyos rák, aki épp hozzád beszél, a nevem Ferris, én +vagyok a Rust nyelv nem-hivatalos kabalája. Örülök a találkozásnak.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_id.html b/chapter_1_id.html new file mode 100644 index 000000000..49091a2cc --- /dev/null +++ b/chapter_1_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Dasar-Dasar

+

Di dalam bab pertama ini kita akan menjelajahi hal yang paling dasar +yaitu fungsi, variabel, dan tipe data primitif. Kami senang anda bergabung!

+

Jika kamu penasaran siapa kepiting lucu ini yang berbiacara dengan kamu, ia adalah Ferris, +maskot unofficial untuk bahasa pemprograman Rust. Senang bertemu denganmu.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_ie.html b/chapter_1_ie.html new file mode 100644 index 000000000..cb3d123ac --- /dev/null +++ b/chapter_1_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 1 - Coses Simplic

+

Ci in li unesim capitul, noi va explorar li max simplic coses in li lingue, includente functiones, variabiles, e li tipes max primitiv. Felici a haver te con noi!

Hay alquo in plu! Un brevi introduction por li casu in quel tu questiona te qui es ti-ci amabil crabe quel parla te: yo nomina me Ferris, li mascote ínoficial por li lingue de programmation Rust. Felici a incontrar te.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_it.html b/chapter_1_it.html new file mode 100644 index 000000000..6ea8699b1 --- /dev/null +++ b/chapter_1_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 1 - Le Basi

+

In questo primo capitolo esploreremo i concetti basilari con le funzioni, variabili ed i tipi di dato primitivi. Felice di averti a bordo! +Oh, nel caso ti stessi chiedendo chi sia quell'adorabile granchietto che ti sta parlando, io sono Ferris, la mascotte semi-ufficiale del linguaggio di programmazione Rust, lieto di conoscerti!

+

Quando avrai preso familiarità con Rust, potrai considerarti un Rustacean. E' così che chi usa, contribuisce o è interessato a Rust, usa farsi chiamare nella comunità.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_ja.html b/chapter_1_ja.html new file mode 100644 index 000000000..e1765114e --- /dev/null +++ b/chapter_1_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 1 章 - 基礎

+

最初の章では、関数、変数、プリミティブ型などの基本的なことを探っていきます。皆さんのご参加をお待ちしております。

+

また、あなたに話し掛けているこの愛らしいカニが誰なのか気になるかもしれません。私は Rust プログラミング言語の非公式マスコット Ferris です。はじめまして。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_ko.html b/chapter_1_ko.html new file mode 100644 index 000000000..0f623ce03 --- /dev/null +++ b/chapter_1_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1장 - 기초

+

이번 1장에서는 함수, 변수 그리고 Rust가 지원하는 기본 자료형에 대해서 +아주 기초적인 내용을 알아봅니다. 여기에 와주셔서 기쁩니다!

+

또한! 여러분에게 이야기하고 있는 사랑스러운 꽃게가 누구인지 궁금하다면, +저는 페리스(Ferris)입니다. Rust 프로그래밍 언어의 비공식적인 마스코트입니다. 만나서 반갑습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_ne.html b/chapter_1_ne.html new file mode 100644 index 000000000..23e99a9fe --- /dev/null +++ b/chapter_1_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hoofdstuk 1 - Ideeën en basisconcepten

+

In dit eerste hoofdstuk zullen we de basisideeën + en -concepten verkennen met betrekking tot functies, + variabelen en primaire gegevenstypen. +We zijn blij dat u bij ons bent! +Ook, voor het geval u zich afvraagt wie de schattige krab is die tegen u praat, mijn naam is Ferris, de onofficiële mascotte van de Rust-taal. Leuk je te ontmoeten! +Zodra u bekend bent met Rust, kunt u zichzelf een Rustacean noemen. Zo worden alle mensen genoemd die Rust gebruiken, bijdragen leveren of geïnteresseerd zijn in Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_pl.html b/chapter_1_pl.html new file mode 100644 index 000000000..af43e54a3 --- /dev/null +++ b/chapter_1_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 1 - Podstawy

+

W pierwszym rozdziale przyjrzymy się najbardziej podstawowym funkcjom języka skupiając się na funkcjach, zmiennych oraz podstawowych typach. Super, że chcesz dowiedzieć się więcej o Ruscie!

+

Aha! W razie gdyby nie było jasne kim jest ten przesłodki krab który właśnie do Ciebie mówi, możesz mi mówić Ferris.

+

Jestem nieoficjalną maskotką języka programowania Rust. Miło Cię poznać.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_pt-br.html b/chapter_1_pt-br.html new file mode 100644 index 000000000..44b92d32c --- /dev/null +++ b/chapter_1_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - O Básico

+

Neste primeiro capítulo iremos explorar o mais básico sobre funções, variáveis e os tipos de dados mais primitivos. Bem-vindo a bordo!

+

E se por acaso você está se perguntando quem é este adorável caranguejo falante, eu me chamo Ferris e sou o mascote não oficial da linguagem de programação Rust. Prazer em conhecê-lo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_ro.html b/chapter_1_ro.html new file mode 100644 index 000000000..20d348891 --- /dev/null +++ b/chapter_1_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 1 - Ideile și conceptele de bază

+

În acest prim capitol vom explora ideile și conceptele de bază despre funcții, variabile și tipurile primare de date. Ne bucurăm că +ne sunteți alături!

+

De asemenea, în cazul în care vă întrebați cine este crabul adorabil care vă vorbește, mă numesc Ferris, mascota neoficială a limbajului Rust. Încântat de cunoștință!

+

Odată ce vă veți familiariza cu Rust, puteți să vă declarați un Rustaceu. Așa se numesc toți oamenii care folosesc, contribuie sau sunt interesați de Rust.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_ru.html b/chapter_1_ru.html new file mode 100644 index 000000000..fbe21c2b0 --- /dev/null +++ b/chapter_1_ru.html @@ -0,0 +1,49 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 1 - Основы

+

В первой главе мы узнаем об основах функций, переменных и примитивных +типов. Рад видеть вас на борту!

+

И ещё! Если вам интересно, кто этот восхитительный говорящий с вами краб, +Я - Феррис - неофициальный маскот языка Rust. +Приятно познакомиться!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_th.html b/chapter_1_th.html new file mode 100644 index 000000000..4ec6c0892 --- /dev/null +++ b/chapter_1_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 1 - พื้นฐาน

+

ในบทแรกเราจะไปสำรวจเรื่องพื้นฐานที่สุด คือเรื่อง ฟังก์ชัน ตัวแปร และประเภทของตัวแปรขั้นพื้นฐานที่สุด ไปด้วยกันกับเรา ยินดีต้อนรับอีกครั้ง!

+

และ! ถ้าหากคุณกำลังสงสัยว่า เจ้าปูแสนน่ารัก ที่กำลังสนทนากับคุณอยู่นี้คือใครกันนะ ฉันชื่อ Ferris ฉันเป็นตัวนำโชคอย่างไม่เป็นทางการของภาษา Rust ยินดีที่ได้รู้จัก

+

แล้วเมื่อไรที่คุณเริ่มคุ้นเคยกับ Rust แล้วละก็ คุณจะเรียกตัวเองว่า Rustacean ก็ได้นะ เพราะผู้คนที่สนใจและสนับสนุน Rust ก็เรียกตัวเองแบบนี้กันทั้งนั้น

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_tr.html b/chapter_1_tr.html new file mode 100644 index 000000000..5bf8de415 --- /dev/null +++ b/chapter_1_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 1 - Temel Bilgiler

+

Aramızda olmanıza sevindim. Turun ilk bölümünde işlevler, değişkenler ve basit türler hakkında temel bilgilere değineceğiz.

+

Ayrıca, sizinle konuşan bu sevimli yengecin kim olduğunu merak ediyorsanız ben, Rust programlama dilinin resmi olmayan maskotu Ferris'im. Tanıştığımıza memnun oldum.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_ua.html b/chapter_1_ua.html new file mode 100644 index 000000000..14f84d38b --- /dev/null +++ b/chapter_1_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 1 - Основи

+

У першому розділі ми розглянемо основні елементи, такі як функції, змінні та більшість примітивних типів. Раді бачити вас з нами!

+

В разі якщо вам цікаво хто цей пречудовий краб, який говорить з вами, то мене звати Ферріс - неофіціальний маскот мови програмування Rust. Радий з вами познайомитися!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_vi.html b/chapter_1_vi.html new file mode 100644 index 000000000..02783e80f --- /dev/null +++ b/chapter_1_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Những điều cơ bản

+

Trong chương đầu tiên, chúng ta sẽ khám phá những điều cơ bản nhất về hàm, biến và những kiểu biến đơn giản nhất. Rất vui khi bạn có mặt ở đây.

+

À! Một điều nữa đó là nếu bạn đang thắc mắc rằng chú cua đáng yêu đang trò chuyện với bạn là ai, thì tớ tên là Ferris đó!!! Tớ là linh vật không chính thức của ngôn ngữ lập trình Rust. Rất vui được gặp bạn.

+

Một khi bạn đã quen thuộc với Rust, bạn có thể gọi bạn là một Rustacean. Đó là cách những người sử dụng, đóng góp hoặc quan tâm đến Rust gọi chính họ.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_zh-cn.html b/chapter_1_zh-cn.html new file mode 100644 index 000000000..69400c854 --- /dev/null +++ b/chapter_1_zh-cn.html @@ -0,0 +1,47 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章 - 基础知识

+

在第一章中,我们将探讨函数、变量和最基本的类型等基础知识。欢迎入坑!

+

并且~以防你好奇这个跟你说话的螃蟹是谁,我叫 Ferris,一个非官方的 Rust 语言吉祥物。 +很高兴能认识你!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_1_zh-tw.html b/chapter_1_zh-tw.html new file mode 100644 index 000000000..f4691b82f --- /dev/null +++ b/chapter_1_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第一章 - 基礎概念

+

在此第一章中,我們會探討最基本的函數(functions),變量(variables),及大部份的基本類型 (primitive types)。歡迎你的參加這次 Rust 之旅。 +還有如果您好奇這一隻正在限您說話的,又可愛的螃蟹是誰。請容許我自我介紹! 我是非官方的 Rust 語言吉祥物很高興認識您!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_al.html b/chapter_2_al.html new file mode 100644 index 000000000..77c4be300 --- /dev/null +++ b/chapter_2_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitulli 2 - Rrjedha e kontrollit bazë

+

Në këtë kapitull le të flasim për metodat bazë të kontrollit të rrjedhës në Rust.

+

Nëse jeni të njohur me gjuhët e bazuara në C, do të ndiheni si në shtëpi dhe + ndoshta

+

shijoni një ose dy surpriza.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_ar.html b/chapter_2_ar.html new file mode 100644 index 000000000..48e3c3959 --- /dev/null +++ b/chapter_2_ar.html @@ -0,0 +1,46 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 2 - بنى التحكم الأساسية (Basic Control Flow)

+

في هذا الفصل دعونا نتحدث على طرق بنى التحكم الأساسية في رست (Rust)

+

إذا كنت تألف اللغات المعتمدة على سي (C based languages)، فستشعر بأنك على مايرام وربما تستمتع بمفاجأة أو اثنتين.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_de.html b/chapter_2_de.html new file mode 100644 index 000000000..18f30606c --- /dev/null +++ b/chapter_2_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 2 - Ein bisschen Kontrollfluss

+

In diesem Kapitel werden wir Kontrollflussmethoden in Rust angehen +(engl. control flow methods). Wenn du ein bisschen Erfahrung in C-verwandten Sprachen +hast, dürftest du dich hier wie zu Hause fühlen - die ein oder andere Überraschung +sei dennoch zu erwarten.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_en.html b/chapter_2_en.html new file mode 100644 index 000000000..d994af72d --- /dev/null +++ b/chapter_2_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Basic Control Flow

+

In this chapter let's talk about basic control flow methods in Rust. +If you are familiar with C based languages you'll feel right at home and maybe +enjoy a surprise or two.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_es.html b/chapter_2_es.html new file mode 100644 index 000000000..01f9fdd00 --- /dev/null +++ b/chapter_2_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Estructuras de Control Básicas

+

En este capítulo hablaremos de las estructuras de control básicas en Rust. +Si estás familiarizado con lenguajes basados en C, te sentirás como en casa y quizá te lleves alguna que otra sorpresa.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_fa.html b/chapter_2_fa.html new file mode 100644 index 000000000..ce18fe130 --- /dev/null +++ b/chapter_2_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Basic Control Flow

+

In this chapter let's talk about basic control flow methods in Rust. +If you are familiar with C based languages you'll feel right at home and maybe +enjoy a surprise or two.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_fi.html b/chapter_2_fi.html new file mode 100644 index 000000000..593a4d642 --- /dev/null +++ b/chapter_2_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapple 2 - Perusohjausvirta

+

Tässä luvussa käsitellään ohjausrakenteiden perusmetodeja Rust-ohjelmointikielessä. +Jos olet perehtynyt C-pohjaisiin ohjelmointikieliin, tulet tuntemaan olosi kotoisaksi +ja matkan varrella saatat saada muutaman yllätyksen.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_fr.html b/chapter_2_fr.html new file mode 100644 index 000000000..176b542f6 --- /dev/null +++ b/chapter_2_fr.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Structures de contrôle basiques

+

Dans ce chapitre, nous allons aborder les structures de contrôle basiques de Rust. +Si tu es déjà familier avec les langages de programmation inspirés du C alors +tu ne seras pas perdu et tu y découvriras même quelques bonnes surprises.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_gr.html b/chapter_2_gr.html new file mode 100644 index 000000000..a752663f7 --- /dev/null +++ b/chapter_2_gr.html @@ -0,0 +1,46 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 2 - Βασικός έλεγχος ροής

+

Σ' αυτό το κεφάλαιο θα μιλήσουμε για βασικές δομές ελέγχου ροής στη Rust. +Αν σας είναι γνώριμες οι γλώσσες που είναι βασισμένες στη C θα νιώσετε σα στο σπίτι σας… και ίσως απολαύσετε και μια-δυο εκπλήξεις.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_hu.html b/chapter_2_hu.html new file mode 100644 index 000000000..9cfb72ebe --- /dev/null +++ b/chapter_2_hu.html @@ -0,0 +1,46 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2. Fejezet - Egyszerű ciklusok és elágazások

+

Ebben a fejezetben a Rust alapvető ciklusairól és elágazásairól lesz szó. Ha használtál már C-re +alapuló nyelveket, akkor itt otthon fogod magad érezni, bár érhet egy-két meglepetés is.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_id.html b/chapter_2_id.html new file mode 100644 index 000000000..de278989c --- /dev/null +++ b/chapter_2_id.html @@ -0,0 +1,46 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bab 2 - Dasar Flow Kontrol

+

Di dalam bab ini kita akan membahas tentang metode dasar flow kontrol dari Rust. +Jika kamu familiar dengan bahasa pemprograman berbasis C, kamu tidak akan kesulitan atau mungkin menyukai satu atau dua kejutan.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_ie.html b/chapter_2_ie.html new file mode 100644 index 000000000..7b6ac44b4 --- /dev/null +++ b/chapter_2_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Basic Control-flution

+

Lass nos in ti-ci capitul parlar pri li metodes de basic control-flution in Rust. Si tu ha ja conossentat te con lingues basat sur C tu va trovar it tre familiari, ma con un o du plesent surprises.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_it.html b/chapter_2_it.html new file mode 100644 index 000000000..aacf1ff31 --- /dev/null +++ b/chapter_2_it.html @@ -0,0 +1,46 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 2 - Basi del controllo di flusso

+

In questo capitolo parleremo delle istruzioni di controllo di flusso in Rust. +Se hai familiarità con i linguaggi di programmazione basati sulla sintassi C, ti sentirai a tuo agio e forse troverai un paio di piacevoli sorprese.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_ja.html b/chapter_2_ja.html new file mode 100644 index 000000000..62ca83b0d --- /dev/null +++ b/chapter_2_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 2 章 - 基本制御フロー

+

この章では、Rustの基本的な制御フローについて説明します。 +C 系の言語に慣れていればすぐに馴染めますし、ちょっとした驚きがあるかもしれません。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_ko.html b/chapter_2_ko.html new file mode 100644 index 000000000..fba2eac1b --- /dev/null +++ b/chapter_2_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2장 - 기초적인 흐름 제어

+

이번 장에서는 Rust의 기초적인 흐름 제어 방법에 대해 얘기해 봅시다. +만약 여러분이 C 기반의 언어에 익숙하다면 마치 집에 온 것처럼 편안할 것이며 +아마 한 두가지 정도의 놀랄 거리를 즐길 수 있을겁니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_ne.html b/chapter_2_ne.html new file mode 100644 index 000000000..437e75e5b --- /dev/null +++ b/chapter_2_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 2 - Basic Control Flow

+

In this chapter let's talk about basic control flow methods in Rust. +If you are familiar with C based languages you'll feel right at home and maybe +enjoy a surprise or two.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_pl.html b/chapter_2_pl.html new file mode 100644 index 000000000..fb1633b3a --- /dev/null +++ b/chapter_2_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 2 - Podstawy Kontroli Przepływu Sterowania

+

W tym rozdziale przyjrzymy się podstawom kontroli przepływu sterowania w Ruscie.

+

Jeśli znasz choć trochę języki programowania oparte o C to jest dobra szansa, że poczujesz się jak w domu.

+

Może z wyjątkiem kilku niewielkich różnic.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_pt-br.html b/chapter_2_pt-br.html new file mode 100644 index 000000000..64754656d --- /dev/null +++ b/chapter_2_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Controle de Fluxo Básico

+

Neste capítulo falaremos das estruturas de controle de fluxo básicas em Rust.

+

Se você está familiarizado com linguagens baseadas em C, se sentirá em casa e, quem sabe, algumas agradáveis surpresas.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_ro.html b/chapter_2_ro.html new file mode 100644 index 000000000..2f9d9d53a --- /dev/null +++ b/chapter_2_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 2 - Controlul de bază al fluxului

+

În acest capitol vom vorbi despre metodele de bază de control ale fluxului în Rust. +Dacă sunteți familiar cu limbaje bazate pe C, o să vă simțiți ca acasă și poate +vă veți bucura de o surpriză sau două.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_ru.html b/chapter_2_ru.html new file mode 100644 index 000000000..31d3f40db --- /dev/null +++ b/chapter_2_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 2 - Управление потоком исполнения

+

В этой главе мы поговорим про базовые методы управления потоком +исполнения в Rust. Если вы знакомы с Си-подобными языками вы будете чувствовать +себя как дома и может быть встретите пару сюрпризов.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_th.html b/chapter_2_th.html new file mode 100644 index 000000000..40c8d66e9 --- /dev/null +++ b/chapter_2_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 2 - Basic Control Flow

+

ในบทนี้เราจะมาพูดถึงเรื่องการควบคุม flow ขั้นพื้นฐานใน Rust +ถ้าหากว่าคุณคุ้นเคยกับภาษา C คุณจะรู้สึกว่าเหมือนอยู่บ้านและอาจจะมีอย่างน้อยหนึ่งหรือสองเรื่องให้คุณประหลาดใจเล่น

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_tr.html b/chapter_2_tr.html new file mode 100644 index 000000000..eb48a0818 --- /dev/null +++ b/chapter_2_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 2 - Temel Kontrol Akışı

+

Bu bölümde Rust'ın temel kontrol akış yöntemlerinden bahsedeceğiz. Eğer C tabanlı dillere aşinaysanız, bu bölümde kendinizi evinizde hissedecek ve birkaç sürprizin tadını çıkaracaksınız.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_ua.html b/chapter_2_ua.html new file mode 100644 index 000000000..416abe19b --- /dev/null +++ b/chapter_2_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 2 - Контроль потоку виконання

+

В цьому розділі ми поговоримо про основні методи контролю потоком виконання в Rust. +Якщо ви знайомі з такими мовами програмування як C, ви будете почувати себе як вдома за виключенням, можливо, пари сюрпризів.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_vi.html b/chapter_2_vi.html new file mode 100644 index 000000000..bda03e272 --- /dev/null +++ b/chapter_2_vi.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Luồng điều khiển cơ bản

+

Trong chương này, hãy nói về những phương pháp luồng điều khiển cơ bản trong Rust. +Nếu bạn đã quen thuộc với những ngôn ngữ dựa trên C, bạn sẽ cảm thấy dễ chịu và biết đâu đấy +tận hưởng một vài điều bất ngờ.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_zh-cn.html b/chapter_2_zh-cn.html new file mode 100644 index 000000000..03ac03082 --- /dev/null +++ b/chapter_2_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 基本控制流

+

在本章中,我们将讨论 Rust 中的基本控制流方法。 如果你熟悉类 C 的语言,你会感到宾至如归,兴许还能享受到一些小惊喜。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_2_zh-tw.html b/chapter_2_zh-tw.html new file mode 100644 index 000000000..13415f7da --- /dev/null +++ b/chapter_2_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第二章 - 基本流程控制

+

在這個章節,我們會探討 Rust 裡的基本流程控制。 +如果你已經熟悉 C 相關語言,那你將會猶如處在自家廚房般,甚至偶爾會碰上一兩個驚喜呢!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_al.html b/chapter_3_al.html new file mode 100644 index 000000000..c603655e2 --- /dev/null +++ b/chapter_3_al.html @@ -0,0 +1,49 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitulli 3 - Llojet bazë të strukturës së të dhënave/data-ve

+

Është koha të eksplorojmë përtej llojeve bazë! Në këtë kapitull do të shikojmë + më strukturat e të dhënave

+

me primitive në Rust, duke i kushtuar vëmendje paraqitjeve të tyre në + memorie. Unë mendoj

+

qe do të kënaqeni sa pak Rust fsheh nga ju se si funksionojnë gjërat.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_ar.html b/chapter_3_ar.html new file mode 100644 index 000000000..01f7c55ec --- /dev/null +++ b/chapter_3_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 3 - أنواع هياكل البيانات الأساسية

+

لقد حان الوقت لاستكشاف ما هو أبعد من الأنواع الأساسية (Basic Types)! حيث سنتطرق في هذا الفصل إلى هياكل البيانات البدائية (primitive data structures) جدا في رست (Rust)، ونولي أهمية إلى كيفية تمثيلها في الذاكرة. أعتقد أنك ستستمتع بالقليل من الذي يخفيه عنك رست (Rust) حول كيفية عمل الأشياء.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_de.html b/chapter_3_de.html new file mode 100644 index 000000000..0fbe29a94 --- /dev/null +++ b/chapter_3_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 3 - Datenstrukturen

+

Zeit die Basisdatentypen zu erweitern! Hier werden wir leicht komplexere Datenstrukturen +in Rust betrachten, speziell wie die Daten im Speicher verteilt werden. Alle low-level-Enthusiasten +(mitunter dir) werden sicherlich Gefallen daran haben, wie wenig Rust vor einem versteckt.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_en.html b/chapter_3_en.html new file mode 100644 index 000000000..cb39afd40 --- /dev/null +++ b/chapter_3_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Basic Data Structure Types

+

It's time we explore beyond basic types! In this chapter we will look at the most primitive +data structures in Rust, paying close attention to their representations in memory. I think +you will enjoy how little Rust hides from you how things work.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_es.html b/chapter_3_es.html new file mode 100644 index 000000000..316bca28f --- /dev/null +++ b/chapter_3_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Tipos Básicos de Estructuras de Datos

+

¡Ha llegado la hora de explorar más allá de los tipos básicos! En este capítulo veremos +las estructuras de datos más primitivas de Rust, prestando mucha atención a sus representaciones en +memoria. También te darás cuenta de lo poco que oculta Rust sobre cómo funcionan las cosas.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_fa.html b/chapter_3_fa.html new file mode 100644 index 000000000..f64252c25 --- /dev/null +++ b/chapter_3_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Basic Data Structure Types

+

It's time we explore beyond basic types! In this chapter we will look at the most primitive +data structures in Rust, paying close attention to their representations in memory. I think +you will enjoy how little Rust hides from you how things work.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_fi.html b/chapter_3_fi.html new file mode 100644 index 000000000..c43e13452 --- /dev/null +++ b/chapter_3_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 3 - Basic Data Structure Types

+

It's time we explore beyond basic types! In this chapter we will look at the most primitive +data structures in Rust, paying close attention to their representations in memory. I think +you will enjoy how little Rust hides from you how things work.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_fr.html b/chapter_3_fr.html new file mode 100644 index 000000000..9b0a79b15 --- /dev/null +++ b/chapter_3_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 3 - Types basiques de structure de données

+

Il est temps d'explorer autre chose que les types basiques! Dans ce chapitre nous allons +nous intéresser aux structures de données les plus primitives de Rust, en étudiant particulièrement +de quelle manière celles-ci sont représentées en mémoire. Je pense que tu apprécieras le fait que +Rust ne nous cache pas comment les choses fonctionnent.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_gr.html b/chapter_3_gr.html new file mode 100644 index 000000000..17786fcad --- /dev/null +++ b/chapter_3_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 3 - Βασικοί τύποι δομών δεδομένων

+

Ώρα να εξερευνήσουμε πέρα από τους βασικούς τύπους! Σ' αυτό το κεφάλαιο θα κοιτάξουμε τις πιο θεμελιώδεις δομές δεδομένων στη Rust, δίνοντας έμφαση στις αναπαραστάσεις τους στη μνήμη. Μάλλον θα εκτιμήσετε το πόσα λίγα πράγματα σας κρύβει η Rust όσον αφορά το πώς λειτουργούν τα πράγματα.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_hu.html b/chapter_3_hu.html new file mode 100644 index 000000000..b44d6344a --- /dev/null +++ b/chapter_3_hu.html @@ -0,0 +1,47 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3. Fejezet - Alapvető adatstruktúra típusok

+

Ideje felfedezni, mik is következnek az alapvető típusok után! Ebben a fejezetben a Rust +legegyszerűbb adatstruktúráit fogjuk áttekinteni, különös figyelmet szentelve arra, hogy hogyan +helyezkednek el a memóriában.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_id.html b/chapter_3_id.html new file mode 100644 index 000000000..bce99b176 --- /dev/null +++ b/chapter_3_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 3 - Basic Data Structure Types

+

It's time we explore beyond basic types! In this chapter we will look at the most primitive +data structures in Rust, paying close attention to their representations in memory. I think +you will enjoy how little Rust hides from you how things work.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_ie.html b/chapter_3_ie.html new file mode 100644 index 000000000..f49e792a7 --- /dev/null +++ b/chapter_3_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 3 - Basic Tipes de Data-Structura

+

Li témpor ha venit por explorar ultra li tipes basic! In ti-ci capitul noi va vider li max primitiv +data-structuras in Rust, atentente pri qualmen ili representa se in li memorie. Yo crede que tu va +juir vider quant litt Rust oculta de te pri qualmen functiona li coses.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_it.html b/chapter_3_it.html new file mode 100644 index 000000000..7e470c3f8 --- /dev/null +++ b/chapter_3_it.html @@ -0,0 +1,45 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 3 - Strutture Dati Fondamentali

+

E' ora di spingerci oltre i tipi dato semplici! In questo capitolo vedremo le strutture dati più primitive in Rust, facendo attenzione alla loro rappresentazione in memoria. Credo che ti piacerà il fatto che Rust tenda a nascondere quanto meno possibile del funzionamento interno.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_ja.html b/chapter_3_ja.html new file mode 100644 index 000000000..5be6b379c --- /dev/null +++ b/chapter_3_ja.html @@ -0,0 +1,46 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 3 章 - 基本的なデータ構造体

+

基本的な型をより深く学ぶ時がきました!この章では、 Rust の中で最もプリミティブなデータ構造を見て、 +それらがメモリ上でどう表現されるかについて詳しく見ていきます。あなたは Rust が物事の動作原理をあまり隠していないことを楽しむでしょう。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_ko.html b/chapter_3_ko.html new file mode 100644 index 000000000..7ff0ac05e --- /dev/null +++ b/chapter_3_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3장 - 기본 데이터 구조 자료형

+

이제 기본 자료형을 뒤로 할 시간입니다! 이번 장에서는 +Rust에서 가장 기초적인 데이터 구조를 살펴보고, +그들의 메모리 상에서의 표현에 대해 자세히 들여다 보겠습니다. +Rust가 어떻게 동작하는지에 대해 얼마나 숨김이 없는지를 즐기실 수 있으리라 생각합니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_ne.html b/chapter_3_ne.html new file mode 100644 index 000000000..e729abea4 --- /dev/null +++ b/chapter_3_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 - Basic Data Structure Types

+

It's time we explore beyond basic types! In this chapter we will look at the most primitive +data structures in Rust, paying close attention to their representations in memory. I think +you will enjoy how little Rust hides from you how things work.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_pl.html b/chapter_3_pl.html new file mode 100644 index 000000000..cfbf0421c --- /dev/null +++ b/chapter_3_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 3 - Podstawowe Typy Struktur Danych

+

Najwyższy czas wyjść poza absolutnie podstawowe typy wbudowane!

+

W tym rozdziale przyjrzymy się strukturom danych w Ruscie, skupiając się zwłaszcza na aspekcie reprezentacji tych struktur w pamięci komputera.

+

Jestem pewien, że to jak niewiele Rust chowa przed programistą bardzo Ci się spodoba.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_pt-br.html b/chapter_3_pt-br.html new file mode 100644 index 000000000..702d56466 --- /dev/null +++ b/chapter_3_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Tipos Básicos de Estrutura de Dados

+

Chegou a hora de explorar além dos tipos básicos! Neste capítulo veremos as estruturas de dados mais primitivas do Rust, prestando muita atenção nas suas representações em memória. Acredito que você gostará do quão pouco o Rust esconde de você como as coisas funcionam.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_ro.html b/chapter_3_ro.html new file mode 100644 index 000000000..464702449 --- /dev/null +++ b/chapter_3_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 3 - Tipuri de structuri de date de bază

+

Este timpul să explorăm tipuri de date dincolo de cele de bază! În acest capitol o să aruncăm o privire peste structurile de date +primare din Rust, punând accent pe reprezentarea lor în memorie. Cred +c-o să vă placă cum Rust ascunde foarte puține despre cum funcționează lucrurile.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_ru.html b/chapter_3_ru.html new file mode 100644 index 000000000..15fd6dc25 --- /dev/null +++ b/chapter_3_ru.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 3 - Базовые структуры данных

+

Пришло время посмотреть на что-то помимо базовых типов! В этой главе мы посмотрим на самые примитивные структуры данных в Rust, уделяя особое внимание их представлению в памяти. +Я думаю, вам понравится, что Rust не скрывает от вас про то как всё работает внутри.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_th.html b/chapter_3_th.html new file mode 100644 index 000000000..90bbf53d6 --- /dev/null +++ b/chapter_3_th.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 3 - ประเภทโครงสร้างข้อมูลพื้นฐาน

+

ได้เวลาแล้ว ที่เราจะไปสำรวจเรื่องอื่นนอกเหนือจาก ประเภทตัวแปรพื้นฐาน! +ซึ่งในบทนี้ เราจะไปดูกันที่ โครงสร้างข้อมูลแบบพื้นฐานที่สุดใน Rust กัน +โดยจะให้ความสำคัญไปที่ การใช้หน่วยความจำเป็นหลัก +ฉันแอบคิดว่าคุณจะต้องสนุกแน่ ที่ได้เห็นว่า Rust แอบซ่อนอะไรไว้ +ในขณะที่สิ่งนั้นมันทำงานอยู่

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_tr.html b/chapter_3_tr.html new file mode 100644 index 000000000..3305c30f2 --- /dev/null +++ b/chapter_3_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 3 - Temel Veri Yapıları

+

Artık temel türlerin ötesini keşfetme zamanımız geldi çattı! +Bu bölümde Rust'un temel veri yapıları ve bunların bellekte temsil edilme biçimlerine odaklanırken, arka plandaki işlerin örtük olmak yerine, açıkça yürütülüyor oluşunu takdir edeceğinizi farz ediyorum.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_ua.html b/chapter_3_ua.html new file mode 100644 index 000000000..d0abf15d5 --- /dev/null +++ b/chapter_3_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 3 - Базові структури даних

+

Настав час подивитись на щось, окрім базових типів!

+

В цьому розділі ми розглянемо найбільш примітивні структури даних в Rust, приділивши багато уваги їх розташуванню в пам'яті. Сподіваюся, що вам сподобається наскільки мало Rust намагається приховати від вас стосовно того, як все працює насправді.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_vi.html b/chapter_3_vi.html new file mode 100644 index 000000000..db08d1c2c --- /dev/null +++ b/chapter_3_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 3 - Các kiểu cấu trúc dữ liệu cơ bản

+

Đã đến lúc chúng ta khám phá thêm bên cạnh các loại dữ liệu cơ bản! Trong chương này, hãy cùng nhau xem xét các cấu trúc dữ liệu nguyên thủy nhất trong Rust, cùng với đó hãy để ý đến sự biểu diễn của chúng trong bộ nhớ. Tớ nghĩ bạn sẽ thích thú với việc khám phá xem mọi thứ diễn ra như thế nào.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_zh-cn.html b/chapter_3_zh-cn.html new file mode 100644 index 000000000..b56fad435 --- /dev/null +++ b/chapter_3_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 基本数据结构类型

+

现在是我们探索基本类型之外内容的时候了!在本章中,我们将查看 Rust 中最原始的数据结构, +并密切关注它们在内存中的表示。我想你们会喜欢上 Rust 很少隐藏事物运作原理这一点的。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_3_zh-tw.html b/chapter_3_zh-tw.html new file mode 100644 index 000000000..46cb1d70b --- /dev/null +++ b/chapter_3_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第三章 - 基本資料結構 (data structures)

+

是時候讓我們探討基本型別了!在這個章節,我們將會看看 Rust 裡最原始的資料結構,特別注意它們在記憶體裡是如何呈現的。 我想你會享受到 Rust 替你隱藏起來的東西有多麼少。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_al.html b/chapter_4_al.html new file mode 100644 index 000000000..a5da532ab --- /dev/null +++ b/chapter_4_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 4 - Generic Types

+

Generic types are incredibly important in Rust. They are used in the representation +of nullable values (i.e. variables which might not have a value yet), error handling, +collections, and more! In this section we will be learning about the foundational generic types +you will likely be using all the time.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_ar.html b/chapter_4_ar.html new file mode 100644 index 000000000..f8fdf28a6 --- /dev/null +++ b/chapter_4_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 4 - الأنواع المعممة (Generic types)

+

الأنواع المعممة (Generic types) مهمة بشكل كبير في رست (Rust). يتم استخدامها في تمثيل القيم الخالية (nullable values) (كالمتغيرات التي لا تمك قيمة بعد)، ومعالجة الأخطاء، والمجموعات، والمزيد! سنتعرف في هذا الفصل على الأنواع المعممة الأساسية التي من المحتمل أنك ستستخدمها طوال الوقت.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_de.html b/chapter_4_de.html new file mode 100644 index 000000000..8cf00f5a5 --- /dev/null +++ b/chapter_4_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 4 - Generische Typen

+

Generische Typen sind unglaublich wichtig in Rust. Sie werden benutzt um Variablen mit potenziell abewesendem +Wert, Error Handling, Sammlungen und mehr zu ermöglichen. In diesem Abschnitt werden wir über die grundlegenden +generischen Typen lernen, für welche Du warscheinlich anschließend oft Anwendung finden wirst!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_en.html b/chapter_4_en.html new file mode 100644 index 000000000..e54be0ac2 --- /dev/null +++ b/chapter_4_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Generic Types

+

Generic types are incredibly important in Rust. They are used in the representation +of nullable values (i.e. variables which might not have a value yet), error handling, +collections, and more! In this section we will be learning about the foundational generic types +you will likely be using all the time.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_es.html b/chapter_4_es.html new file mode 100644 index 000000000..c61d89020 --- /dev/null +++ b/chapter_4_es.html @@ -0,0 +1,47 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 4 - Tipos Genéricos

+

Los tipos genéricos son muy importantes en Rust. Se utilizan en la representación de valores nulos, +(es decir, variables que podrían no tener ningún valor todavía) en la gestión de errores, en las colecciones, etc. +En este capítulo hablaremos sobre los tipos genéricos fundamentales que probablemente ya estés usando todo el tiempo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_fa.html b/chapter_4_fa.html new file mode 100644 index 000000000..90a6eab59 --- /dev/null +++ b/chapter_4_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Generic Types

+

Generic types are incredibly important in Rust. They are used in the representation +of nullable values (i.e. variables which might not have a value yet), error handling, +collections, and more! In this section we will be learning about the foundational generic types +you will likely be using all the time.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_fi.html b/chapter_4_fi.html new file mode 100644 index 000000000..f3749c133 --- /dev/null +++ b/chapter_4_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 4 - Generic Types

+

Generic types are incredibly important in Rust. They are used in the representation +of nullable values (i.e. variables which might not have a value yet), error handling, +collections, and more! In this section we will be learning about the foundational generic types +you will likely be using all the time.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_fr.html b/chapter_4_fr.html new file mode 100644 index 000000000..68483b469 --- /dev/null +++ b/chapter_4_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 4 - Types Génériques

+

Les types génériques sont incroyablement important avec Rust. Ils sont utilisés pour la représentation +de valeurs potentiellement nulles (ex. variables qui n'a peut-être pas encore de valeurs), gestion d'erreurs, +collections, et plus! Dans cette section, nous allons découvrir les types génériques fondamentaux +dont vous ne pourrez plus vous passer.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_gr.html b/chapter_4_gr.html new file mode 100644 index 000000000..2358a659e --- /dev/null +++ b/chapter_4_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 4 - Γενικοί τύποι

+

Οι γενικοί τύποι είναι απίστευτα σημαντικοί στη Rust. Χρησιμοποιούνται στην αναπαράσταση ενδεχομένως εσφαλμένων τιμών (ήτοι μεταβλητών που μπορεί να μην έχουν όντως αποκτήσει κάποια τιμή), το χειρισμό σφαλμάτων, τις συλλογές και άλλα πολλά! Σ' αυτήν την ενότητα θα μάθουμε για τους θεμελιώδεις γενικούς τύπους που θα χρησιμοποιείτε κατά πάσα πιθανότητα συνέχεια.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_hu.html b/chapter_4_hu.html new file mode 100644 index 000000000..b538bfe17 --- /dev/null +++ b/chapter_4_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

4. Fejezet - Generikus Típusok

+

A generikus típusok nagyon fontos részét képezik a Rust-nak. Többek között a nullázható típusok +(tehát olyan változók, amik vagy egy értéket vagy egy üres értéket tartalmaznak) +megvalósításában, a hibakezelésben, a különböző gyűjteményekben és még sok más helyen használja +őket a nyelv. Ebben a fejezetben a leggyakrabban használt generikus típusokról fogunk tanulni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_id.html b/chapter_4_id.html new file mode 100644 index 000000000..8f9b2f879 --- /dev/null +++ b/chapter_4_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 4 - Generic Types

+

Generic types are incredibly important in Rust. They are used in the representation +of nullable values (i.e. variables which might not have a value yet), error handling, +collections, and more! In this section we will be learning about the foundational generic types +you will likely be using all the time.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_ie.html b/chapter_4_ie.html new file mode 100644 index 000000000..3d6b43f88 --- /dev/null +++ b/chapter_4_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 4 - Tipes Géneric

+

Tipes géneric es íncredibilmen important in Rust. On usa les por representar valores nullabil +(t.e. variabiles ancor ne possedent un valore), por tractar errores, colectiones e plu! +In ti-ci section noi va aprender pri li fundamental tipes géneric queles tu va max possibilmen +sempre utilisar.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_it.html b/chapter_4_it.html new file mode 100644 index 000000000..2080ef02f --- /dev/null +++ b/chapter_4_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 4 - Tipi Generici

+

I tipi generici sono incredibilmente importanti in Rust. Sono usati nella rappresentazione +dei valori nullabili (cioè variabili che potrebbero non avere ancora un valore), gestione degli errori, +collezioni, e altro! In questa sezione impareremo le nozioni fondamentali sui generici +che userai praticamente sempre.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_ja.html b/chapter_4_ja.html new file mode 100644 index 000000000..6f8fae7d7 --- /dev/null +++ b/chapter_4_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 4 章 - ジェネリック型

+

ジェネリック型は Rust において非常に重要です。 +これらの型は null 許容な値(つまりまだ値を持たない変数)の表現、エラー処理、コレクションなどに使用されます。 +このセクションでは、あなたがいつも使用するであろう基本的なジェネリック型について学習します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_ko.html b/chapter_4_ko.html new file mode 100644 index 000000000..b5e76ac37 --- /dev/null +++ b/chapter_4_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

4장 - Generic 자료형

+

generic 자료형은 Rust에서 엄청나게 중요합니다. 널 허용(nullable) 값을 표현할 때에도 쓰이며 +(i.e. 아직 값이 없을 수도 있는 변수), 오류 처리, collection, 등등에도 쓰입니다! +이 장에서는 언제든 사용될만한 기본적인 generic 자료형을 살펴보겠습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_ne.html b/chapter_4_ne.html new file mode 100644 index 000000000..8bbcd80eb --- /dev/null +++ b/chapter_4_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 4 - Generic Types

+

Generic types are incredibly important in Rust. They are used in the representation +of nullable values (i.e. variables which might not have a value yet), error handling, +collections, and more! In this section we will be learning about the foundational generic types +you will likely be using all the time.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_pl.html b/chapter_4_pl.html new file mode 100644 index 000000000..5c5cb1231 --- /dev/null +++ b/chapter_4_pl.html @@ -0,0 +1,46 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 4 - Typy Generyczne

+

Typy generyczne są niezwykle ważną częścią Rusta. Są one wykorzystywane do rzeczy takich jak reprezentacja pustych wartości (np. zmienne które nie mają jeszcze żadnej wartości), obsługa błędów, rozmaite kolekcje i wiele wiele więcej!

+

W tym rozdziale poznamy podstawy typów generycznych Rusta.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_pt-br.html b/chapter_4_pt-br.html new file mode 100644 index 000000000..da699906a --- /dev/null +++ b/chapter_4_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 4 - Tipos Genéricos

+

Tipos genéricos são incrivelmente importantes no Rust. Eles são usados na representação de valores null (ou seja, variáveis que ainda não tenham um valor atribuído), tratamento de erros, coleções e muito mais! Nesta seção aprenderemos sobre os tipos genéricos fundamentais que você provavelmente usará o tempo todo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_ro.html b/chapter_4_ro.html new file mode 100644 index 000000000..6ccfcd62b --- /dev/null +++ b/chapter_4_ro.html @@ -0,0 +1,48 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 4 - Tipuri generice

+

Tipurile generice sunt incredibil de importante în Rust. Sunt folosite pentru a reprezenta +valori care pot fi nule (ex: variabile care poate nu au încă o valoare), abordarea erorilor, +colecții și multe altele! În această secțiune vom învăța despre tipurile generice fundamentale +pe care le veți folosi în majoritatea timpului.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_ru.html b/chapter_4_ru.html new file mode 100644 index 000000000..014dc3420 --- /dev/null +++ b/chapter_4_ru.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 4 - Обобщённые типы

+

Обобщённые типы очень важны в Rust. Они используются для представления значений, которые +могут быть нулевыми (nullable, т.е переменные, которые еще не получили значения), для обработки ошибок, работы с коллекциями и для другого! В этом разделе +мы поговорим об основополагающих обобщённых типах, которые вы, вероятно, будете использовать +постоянно.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_th.html b/chapter_4_th.html new file mode 100644 index 000000000..d582e2da3 --- /dev/null +++ b/chapter_4_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 4 - Generic Types

+

Generic เป็น type ที่มีความสำคัญอย่างยิ่งใน Rust มันถูกนำมาใช้เป็นตัวแทนของค่าที่เป็น null ได้ (เช่น ตัวแปรที่อาจจะยังไม่มีค่าใดๆ) หรือการจัดการกับ error กับ กลุ่มของข้อมูลคอลเล็คชัน และอื่นๆ ในตอนนี้ เราจะมาเรียนรู้เกี่ยวกับพื้นฐานของ generic types ที่คุณจะได้ใช้มันแทบจะตลอดเวลาเลยทีเดียว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_tr.html b/chapter_4_tr.html new file mode 100644 index 000000000..3d4b672e1 --- /dev/null +++ b/chapter_4_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 4 - Genel Türler

+

Rust'ta genel türler veri içermeyen null değerlerin temsilinde, hata işleme yöntemlerinde ve koleksiyonlar ile çalışırken sıklıkla karşımıza çıktıklarından oldukça önemlidir. Rust hakkındaki bilgilerimiz derinleştikçe, kullanmayı daha çok tercih edeceğimiz genel türleri bu bölümde incelemeye başlıyoruz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_ua.html b/chapter_4_ua.html new file mode 100644 index 000000000..2e2352ed7 --- /dev/null +++ b/chapter_4_ua.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 4 - Узагальнені типи

+

Узагальнені типи неймовірно важливі в Rust. Вони використовуються для представлення значень, що можуть можуть бути null (тобто такі змінні, які ще не отримали значення), обробки помилок, колекцій і багато чого іншого!

+

В цьому розділі ми розглянемо основні положення узагальнених типів, які ви, скоріш за все, часто будете використовувати.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_vi.html b/chapter_4_vi.html new file mode 100644 index 000000000..e37cd9123 --- /dev/null +++ b/chapter_4_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 4 - Generic Type

+

Generic type là cực kỳ quan trọng trong Rust. Chúng được sử dụng để biểu diễn các giá trị nullable (tức là các biến có thể chưa có giá trị), xử lý lỗi, tập hợp và hơn thế nữa! Trong phần này, chúng ta sẽ tìm hiểu về Generic type cơ bản mà bạn có thể sẽ sử dụng mọi lúc.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_zh-cn.html b/chapter_4_zh-cn.html new file mode 100644 index 000000000..48ab9f30d --- /dev/null +++ b/chapter_4_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 泛型

+

泛型在 Rust 中非常重要。它们用于表示可空值(即可能还没有值的变量)、错误处理、集合等等! +在本章中,我们将学习你可能将会经常使用的基本泛型知识。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_4_zh-tw.html b/chapter_4_zh-tw.html new file mode 100644 index 000000000..d1a784acb --- /dev/null +++ b/chapter_4_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第四章 - 泛型 (generic types)

+

泛型在 Rust 裡是非常重要的。它們被用來表示空值 (即那些還沒有值的變量)、錯誤處理、集合及其他更多東西! 在此章節我們將會學習泛型的基礎,你很有可能將會一直使用到它。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_al.html b/chapter_5_al.html new file mode 100644 index 000000000..6beee0736 --- /dev/null +++ b/chapter_5_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 5 - Ownership & Borrowing Data

+

Rust has a unique paradigm for managing memory compared to other programming languages. We're going to look at +the behaviors and validations of the compiler one by one so it's not overwhelming. It's important to remember that +ultimately the rules we show don't exist to make your life hard, but to help you make your code less error-prone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_ar.html b/chapter_5_ar.html new file mode 100644 index 000000000..541fbc0a8 --- /dev/null +++ b/chapter_5_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 5 - ملكية وإستعارة البيانات (Ownership & Borrowing Data)

+

لدى رست (Rust) نموذج فريد لإدارة الذاكرة مقارنة بلغات البرمجة الأخرى.سوف نلقي نظرة على سلوكيات (behaviors) و عمليات التحقق (validations) الخاصة بمترجم اللغة (compiler) واحدًا تلو الآخر، لذلك لن يكون الأمر مربكًا. من المهم أن تتذكر أن القواعد التي نعرضها في نهاية المطاف ليست موجودة لجعل الأمور صعبة، ولكن لمساعدتك في جعل التعليمات البرمجية الخاصة بك أقل عرضة للخطأ!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_de.html b/chapter_5_de.html new file mode 100644 index 000000000..f56b6811b --- /dev/null +++ b/chapter_5_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 5 - Eigentums- und Kreditdaten

+

Rust verfügt im Vergleich zu anderen Programmen über ein einzigartiges Paradigma für die Speicherverwaltung Sprachen. Wir werden uns das ansehen +die Verhaltensweisen und Validierungen des Compilers nacheinander, also nicht überwältigend. Es ist wichtig, sich daran zu erinnern +Letztlich dienen die Regeln, die wir aufzeigen, nicht dazu, Ihnen das Leben schwer zu machen, sondern um Ihnen zu helfen Sie machen Ihren Code weniger fehleranfällig!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_en.html b/chapter_5_en.html new file mode 100644 index 000000000..136fa368f --- /dev/null +++ b/chapter_5_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Ownership & Borrowing Data

+

Rust has a unique paradigm for managing memory compared to other programming languages. We're going to look at +the behaviors and validations of the compiler one by one so it's not overwhelming. It's important to remember that +ultimately the rules we show don't exist to make your life hard, but to help you make your code less error-prone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_es.html b/chapter_5_es.html new file mode 100644 index 000000000..bcba198da --- /dev/null +++ b/chapter_5_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 5 - Pertenencia y Préstamo de Datos

+

Rust tiene un paradigma único para la gestión de la memoria en comparación con otros lenguajes de programación. Vamos a ver los comportamientos y validaciones del compilador uno por uno para que no te resulte agobiante. Cabe destacar que las reglas que mostramos no existen para dificultar las cosas, sino todo lo contrario: están para ayudarte a que tu código sea menos propenso a errores.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_fa.html b/chapter_5_fa.html new file mode 100644 index 000000000..3449a63d3 --- /dev/null +++ b/chapter_5_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 5 - Ownership & Borrowing Data

+

Rust has a unique paradigm for managing memory compared to other programming languages. We're going to look at +the behaviors and validations of the compiler one by one so it's not overwhelming. It's important to remember that +ultimately the rules we show don't exist to make your life hard, but to help you make your code less error-prone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_fi.html b/chapter_5_fi.html new file mode 100644 index 000000000..d1a83aab4 --- /dev/null +++ b/chapter_5_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 5 - Ownership & Borrowing Data

+

Rust has a unique paradigm for managing memory compared to other programming languages. We're going to look at +the behaviors and validations of the compiler one by one so it's not overwhelming. It's important to remember that +ultimately the rules we show don't exist to make your life hard, but to help you make your code less error-prone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_fr.html b/chapter_5_fr.html new file mode 100644 index 000000000..6b8f6c72e --- /dev/null +++ b/chapter_5_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 5 - Propriété et emprunt de données

+

Comparé aux autres langages de programmation, Rust possède un paradigme unique en ce qui concerne +la gestion de la mémoire. Nous allons nous intéresser aux comportements et aux validations du compilateur +un par un pour être sûr de bien comprendre. Il est important de garder à l'esprit qu'au bout du compte, +les règles que nous allons voir ne sont pas là pour te compliquer la vie, mais pour éviter que ton code +ne soit truffé d'erreurs!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_gr.html b/chapter_5_gr.html new file mode 100644 index 000000000..a1e3af8b1 --- /dev/null +++ b/chapter_5_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Κεφάλαιο 5 - Κυριότητα και δανεισμός δεδομένων

+

Η Rust έχει ένα μοναδικό σκεπτικό για να χειρίζεται μνήμη σε σύγκριση με κάθε άλλη ευρέως χρησιμοποιούμενη γλώσσα. Θα δούμε τις συμπεριφορές και τις διαβεβαιώσεις του μεταφραστή μία προς μία ώστε να μη νιώσετε να πνίγεστε. Είναι σημαντικό να θυμάστε ότι εν τέλει οι κανόνες που δείχνουμε δεν υπάρχουν για να σας κάνουν τη ζωή δύσκολη, αλλά για να σας βοηθήσουν να γράφετε κώδικα με λιγότερα σφάλματα!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_hu.html b/chapter_5_hu.html new file mode 100644 index 000000000..998eabe23 --- /dev/null +++ b/chapter_5_hu.html @@ -0,0 +1,48 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5. Fejezet - Birtoklás & Az adatok kölcsönkérése

+

A Rust egy egyedi paradigmával rendelkezik a memóriakezeléssel kapcsolatban. Egyesével fogjuk +átnézni a fordító viselkedését és különböző ellenőrzéseit, hogy az egész könnyedén befogadható +maradjon. Fontos megjegyezni, hogy az itt bemutatott szabályok nem azért léteznek, hogy +megnehezítsék az életed, hanem, hogy segítsenek elkerülni bizonyos hibákat.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_id.html b/chapter_5_id.html new file mode 100644 index 000000000..d505ead4c --- /dev/null +++ b/chapter_5_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 5 - Ownership & Borrowing Data

+

Rust has a unique paradigm for managing memory compared to other programming languages. We're going to look at +the behaviors and validations of the compiler one by one so it's not overwhelming. It's important to remember that +ultimately the rules we show don't exist to make your life hard, but to help you make your code less error-prone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_ie.html b/chapter_5_ie.html new file mode 100644 index 000000000..8ffded445 --- /dev/null +++ b/chapter_5_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 5 - Proprietá e Pruntation de Data

+

Rust possede un dessine unic por gerer memorie quel es diferent quam altri lingues de programmation. Noi va regardar +chascun conduida e validation del compilator poc a poc por que on ne mey esser aplastat per it. It es important a +memorar que in fine ti regules ne existe por far li vive plu dur, ma in contrari por far tui code minu erraci!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_it.html b/chapter_5_it.html new file mode 100644 index 000000000..53c3477d0 --- /dev/null +++ b/chapter_5_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 5 - Dati sulla proprietà e sui prestiti

+

Rust ha un paradigma unico per la gestione della memoria rispetto ad altri programmi le lingue. Stiamo andando a guardare +i comportamenti e le convalide del compilatore uno per uno, quindi non lo è travolgente. È importante ricordarlo +in definitiva le regole che mostriamo non esistono per renderti la vita difficile, ma per aiutarti rendi il tuo codice meno soggetto a errori!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_ja.html b/chapter_5_ja.html new file mode 100644 index 000000000..7603046ba --- /dev/null +++ b/chapter_5_ja.html @@ -0,0 +1,48 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 5 章 - データの所有権と借用

+

Rust には他のプログラミング言語に比べて、メモリを管理するための独特な枠組みがあります。 +ここでは圧倒されないように、コンパイラの動作と検証を一つずつ見ていきます。 +突き詰めると、ここで紹介するルールはあなたを苦しめるためのものではなく、 +コードをエラーになりにくいものにするためのものだと覚えておくことが重要です。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_ko.html b/chapter_5_ko.html new file mode 100644 index 000000000..63aa676fb --- /dev/null +++ b/chapter_5_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

5장 - 소유권과 데이터 대여

+

Rust는 메모리 관리에 있어 다른 프로그래밍 언어에 비해 독특한 패러다임을 갖고 있습니다. +이제 컴파일러의 동작과 검증방식에 대해 차근차근 살펴볼 예정입니다. +중요한 것은, 앞으로 나올 규칙들은 여러분의 삶을 힘들게 하려고 존재하는게 아니라, 코드의 오류를 줄여주기 위한 것이란 점입니다!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_ne.html b/chapter_5_ne.html new file mode 100644 index 000000000..cc95c4c88 --- /dev/null +++ b/chapter_5_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 5 - Ownership & Borrowing Data

+

Rust has a unique paradigm for managing memory compared to other programming languages. We're going to look at +the behaviors and validations of the compiler one by one so it's not overwhelming. It's important to remember that +ultimately the rules we show don't exist to make your life hard, but to help you make your code less error-prone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_pl.html b/chapter_5_pl.html new file mode 100644 index 000000000..fbb774c36 --- /dev/null +++ b/chapter_5_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Rozdział 5 - Koncepcje Własności i Pożyczania Danych

+

Jedną z rzeczy która odróżnia Rusta od innych języków programowania jest wykorzystanie specjalnego paradygmatu, czy też zestawu koncepcji, pomagającego w zorganizowaniu i optymalizacji procesu zarządzania pamięcią.

+

W tym rozdziale przyjrzymy się reakcjom kompilatora sprawdzającego nasz kod. Bez obaw, zaczniemy powoli.

+

Ważne żeby pamiętać, że zasady według których kompilator ocenia nasze wypociny nie istnieją po to by uprzykrzać nam życie. Są one raczej fundamentem na którym jesteśmy w stanie budować solidne i bezpieczne programy.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_pt-br.html b/chapter_5_pt-br.html new file mode 100644 index 000000000..aa9911113 --- /dev/null +++ b/chapter_5_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 5 - Propriedade & Empréstimo de Dados

+

O Rust possui um paradigma singular para gerenciar a memória em comparação a outras linguagens de programação. Vamos analisar os comportamentos e validações do compilador, um por um, para que os conceitos não sejam muito pesados. É importante lembrar que, no fim das contas, as regras que mostramos não existem para dificultar sua vida, mas para ajudá-lo a tornar seu código menos propenso a erros!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_ro.html b/chapter_5_ro.html new file mode 100644 index 000000000..4fbd2147c --- /dev/null +++ b/chapter_5_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 5 - Proprietatea și împrumutul datelor

+

Rust are o paradigmă unică pentru gestionarea memoriei în comparație cu alte limbaje de programare. O să analizăm +pe rând comportamentul și verificările pe care le face compilatorul pentru a nu deveni copleșitor. Este important să rețineți faptul că +la finalul zilei, regulile prezentate nu au scopul de a vă face viața grea, ci de a vă ajuta să scrieți cod mai puțin predispus la erori!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_ru.html b/chapter_5_ru.html new file mode 100644 index 000000000..7edc94d90 --- /dev/null +++ b/chapter_5_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 5 - Владение и Заимствование данными (Ownership & Borrowing)

+

Rust использует уникальную парадигму для управления памятью по сравнению с другими языками программирования. Мы посмотрим на поведение компилятора и то, как он проверяет код шаг за шагом, иначе Вы рискуете быть ошеломлены. Важно понимать, что все эти правила существуют не для того, чтобы сделать Вашу жизнь сложнее, а для того, чтобы предотвратить широкий спектр ошибок.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_th.html b/chapter_5_th.html new file mode 100644 index 000000000..425effc62 --- /dev/null +++ b/chapter_5_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 5 - ความเป็นเจ้าของ และการยืมข้อมูล

+

Rust มีกระบวนทัศน์เฉพาะตัวในการจัดการหน่วยความจำเมื่อเทียบกับภาษาโปรแกรมอื่น ๆ +เราจะไปดูพฤติกรรมและการตรวจสอบความถูกต้องของคอมไพเลอร์ทีละขั้นทีละตอน ว่ามันจัดการให้อยู่มือได้อย่างไร +สิ่งสำคัญที่ต้องจำไว้ก็คือ สุดท้ายแล้ว กฎทั้งหลายที่เราตั้งขึ้นนั้น ไม่ได้มีไว้เพื่อทำให้คุณทำงานยากขึ้น แต่มันมีไว้เพื่อช่วยให้โค้ดของคุณมีโอกาสผิดพลาดน้อยลง!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_tr.html b/chapter_5_tr.html new file mode 100644 index 000000000..44aad3e12 --- /dev/null +++ b/chapter_5_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 5 - Mülkiyet ve Borçlanma

+

Diğer programlama dilleriyle karşılaştırıldığında Rust'un, benzersiz bir bellek yönetim paradigmasına sahip olduğu görülür. Konuyu sıkılmadan ve kolaylıkla takip edebilmeniz için, derleyici davranışlarını ve kontrol düzeneğini ayrı ayrı değerlendirmek niyetindeyiz. Bölüm boyunca karşılaşacağımız kuralların, hayatımızı zorlaştırmak için değil, önümüze çıkabilecek çeşitli hataları önlemek amacıyla koyulduğunu hatırlatmak istiyorum.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_ua.html b/chapter_5_ua.html new file mode 100644 index 000000000..1bb41f214 --- /dev/null +++ b/chapter_5_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 5 - Володіння та позичання

+

Rust має унікальну парадигму керування пам'яттю у порівнянні з іншими мовами програмування . Ми розглянемо +поведінку та валідації компілятора по черзі, щоб не перевантажувати. Важливо пам'ятати, що +правила, які ми показуємо, існують не для того, щоб ускладнити вам життя, а для того, щоб допомогти зробити ваш код краще!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_vi.html b/chapter_5_vi.html new file mode 100644 index 000000000..76a9a67ad --- /dev/null +++ b/chapter_5_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 5 - Quyền sở hữu và mượn dữ liệu

+

Rust có một mô hình độc nhất để quản lý bộ nhớ so với các ngôn ngữ lập trình khác. Chúng ta sẽ xem xét từng hành vi và xác nhận của trình biên dịch để không bạn không bị quá tải. Điều quan trọng cần nhớ là cuối cùng các quy tắc được đưa ra không tồn tại để làm khó bạn, mà là để giúp bạn làm cho code của mình ít bị lỗi hơn!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_zh-cn.html b/chapter_5_zh-cn.html new file mode 100644 index 000000000..11a6d38cf --- /dev/null +++ b/chapter_5_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 所有权和数据借用

+

相较于其他编程语言,Rust 具有一套独特的内存管理范例。为了不让您被概念性的东西淹没,我们将一一展示这些编译器的行为和验证方式。 有一点很重要:所有这些规则的终极目的不是为了为难您,而是为了更好地降低代码的出错率!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_5_zh-tw.html b/chapter_5_zh-tw.html new file mode 100644 index 000000000..119f4aa84 --- /dev/null +++ b/chapter_5_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第五章 - 擁有權 (ownership) 與借資料 (borrowing data)

+

與其他語言相比,Rust 有一套獨特的方式管理記憶體。我們將會逐一檢視這些行為以及編譯器的驗證,以免一下壓垮你。 有一點要特別記得的是,這些規則的最終目標都是為了幫助你的程式碼有較少錯誤,而不是讓你的人生更痛苦。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_al.html b/chapter_6_al.html new file mode 100644 index 000000000..a1858f31a --- /dev/null +++ b/chapter_6_al.html @@ -0,0 +1,47 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_ar.html b/chapter_6_ar.html new file mode 100644 index 000000000..cef66e042 --- /dev/null +++ b/chapter_6_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 6 - النص

+

الآن بعد أن فهمنا قليلًا عن أفكار رست (Rust) في إدارة الذاكرة، أصبحنا مستعدين للحديث عن النص بمزيد من التفصيل.

+

يولي رست (Rust) أهمية كبيرة للنص العالمي (international text) و هُمُوم مستوى البايت (byte level) التي قد لا تكون معتاد عليها في اللغات الأخرى. +ومع ذلك، لدى رست (Rust) العديد من الأدوات الرائعة لإدارة هذه الهُمُوم.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_de.html b/chapter_6_de.html new file mode 100644 index 000000000..8644b438f --- /dev/null +++ b/chapter_6_de.html @@ -0,0 +1,47 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 6 – Text

+

Wenn Sie das Modul zur Pflege von Rust einsetzen, müssen Sie es sich merken, bevor Sie darüber reden Weitere Informationen zum Text. +Rust hat viele wichtige Texte in verschiedenen Texten und Modulen geschrieben, die es zu repräsentieren gilt Nachdem Sie die Oktavebene erreicht haben, müssen Sie sich mit der alten Schule vertraut machen. +aus anderen Sprachen. Allerdings verfügt Rust über viele großartige Tools zur Verwaltung diese Bedenken.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_en.html b/chapter_6_en.html new file mode 100644 index 000000000..cfd9510cd --- /dev/null +++ b/chapter_6_en.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_es.html b/chapter_6_es.html new file mode 100644 index 000000000..730056801 --- /dev/null +++ b/chapter_6_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 6 - Texto

+

Ahora que entendemos un poco cómo piensa Rust en la memoria, estamos preparados para hablar y entrar en detalle sobre los textos. A Rust le importa mucho los formatos de textos internacionales y las particularidades a nivel de byte que pueden no resultar tan familiares en otros lenguajes. Dicho esto, Rust tiene muchas herramientas para gestionar esas situaciones.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_fa.html b/chapter_6_fa.html new file mode 100644 index 000000000..6cbd1f9a2 --- /dev/null +++ b/chapter_6_fa.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_fi.html b/chapter_6_fi.html new file mode 100644 index 000000000..6d279e20b --- /dev/null +++ b/chapter_6_fi.html @@ -0,0 +1,47 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_fr.html b/chapter_6_fr.html new file mode 100644 index 000000000..1065600b2 --- /dev/null +++ b/chapter_6_fr.html @@ -0,0 +1,49 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 6 - Texte

+

Maintenant que nous en savons un peu plus sur la manière dont Rust gère la mémoire, +nous sommes prêts à parler des chaînes de caractères en détail. +Rust se soucie beaucoup du support des textes internationaux et des problèmes associés au niveau des bits +(dont vous n'êtes peut-être pas familier). Cela dit, Rust dispose d'excellents +outils pour gérer ces préoccupations.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_gr.html b/chapter_6_gr.html new file mode 100644 index 000000000..76fb98498 --- /dev/null +++ b/chapter_6_gr.html @@ -0,0 +1,47 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_hu.html b/chapter_6_hu.html new file mode 100644 index 000000000..6f035178e --- /dev/null +++ b/chapter_6_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

6. Fejezet - Szövegek

+

Most, hogy értjük, hogyan kezeli a Rust a memóriát, készen állunk arra, hogy a nyelv +szövegkezeléséről is részletesen beszélhessünk.

+

A Rust nagy figyelmet fordít a byte szinten előforduló és a nemzetközi szövegek által okozott +problémák elkerülésére, melyek sokszor figyelmen kívül vannak hagyva más programozási +nyelvekben. Ezek korrigálására a Rust robusztus eszközökkel rendelkezik.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_id.html b/chapter_6_id.html new file mode 100644 index 000000000..c01160f5e --- /dev/null +++ b/chapter_6_id.html @@ -0,0 +1,47 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_ie.html b/chapter_6_ie.html new file mode 100644 index 000000000..5b8240ec6 --- /dev/null +++ b/chapter_6_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 6 - Textu

+

Nam noi ja comprende un poc pri qualmen Rust concepte memorie, noi es preparat parlar plu detalliatmen pri textu. +Rust sucia sempre pri textu international e li concernes sur li nivelle de bytes queles fórsan es nov por tis +qui ha venit de altri lingues. Támen, Rust possede mult utensiles por gerer ti-ci problemas.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_it.html b/chapter_6_it.html new file mode 100644 index 000000000..1fa9dd67b --- /dev/null +++ b/chapter_6_it.html @@ -0,0 +1,47 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 6 - Testo

+

Ora che abbiamo capito un po' come Rust pensa alla memoria, siamo pronti parlare del testo in modo più dettagliato. +Rust si preoccupa molto del testo internazionale e il livello dei byte ti preoccupa potrebbe non avere familiarità con +da altre lingue. Detto questo, Rust ha molti ottimi strumenti per la gestione quelle preoccupazioni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_ja.html b/chapter_6_ja.html new file mode 100644 index 000000000..da466496e --- /dev/null +++ b/chapter_6_ja.html @@ -0,0 +1,47 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 6 章 - テキスト

+

さて、Rustにおけるメモリの考え方について少し理解できたので、テキストについて深掘りするための準備が整いました。 +Rustでは、他の言語ではあまり馴染みのない国際的なテキストやバイトレベルの問題が考慮されています。 +それでも、Rustにはこれらの問題を管理するための優れたツールが多くあります。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_ko.html b/chapter_6_ko.html new file mode 100644 index 000000000..ab40444b1 --- /dev/null +++ b/chapter_6_ko.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

6장 - 텍스트

+

이제 Rust가 메모리를 어찌 다루는지 살짝 이해했으니, 텍스트에 대해 더 자세히 알아볼 준비가 된 것 같습니다. +Rust는 아마도 여러분이 다른 언어에서는 익숙하지 않았을 만국의 텍스트와 바이트 수준의 관심사를 상당히 신경써서 다룹니다. +즉, Rust는 그러한 관심사를 다룰 다양하고 훌륭한 도구들을 갖고 있습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_ne.html b/chapter_6_ne.html new file mode 100644 index 000000000..830f83a73 --- /dev/null +++ b/chapter_6_ne.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_pl.html b/chapter_6_pl.html new file mode 100644 index 000000000..868c1889e --- /dev/null +++ b/chapter_6_pl.html @@ -0,0 +1,47 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 6 - Text

+

Now that we understand a bit how Rust thinks of memory, we are prepared to talk about text in more detail. +Rust cares a great deal about international text and byte level concerns you might not be familiar with +from other languages. That said, Rust has many great tools for managing those concerns.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_pt-br.html b/chapter_6_pt-br.html new file mode 100644 index 000000000..58c3d29dc --- /dev/null +++ b/chapter_6_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 6 - Texto

+

Agora que entendemos um pouco como Rust pensa a memória, estamos preparados para falar a respeito de texto com mais detalhes.

+

O Rust se preocupa muito com as questões de texto internacional e byte-level de um jeito que talvez não lhe seja familiar em outras linguagens. Dito isto, o Rust possui muitas ótimas ferramentas para gerenciar essas preocupações.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_ro.html b/chapter_6_ro.html new file mode 100644 index 000000000..759e71eff --- /dev/null +++ b/chapter_6_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 6 - Text

+

Acum că înțelegem puțin modul în care Rust gestionează memoria, suntem pregătiți să discutăm mai detaliat despre folosirea textelor. +Limbajul Rust acordă o importanță deosebită folosirii textelor în diverse limbi și modului în care sunt reprezentate acestea la nivel de octeți, lucruri cu care s-ar putea să nu fiți familiarizați din alte limbaje. +Acestea fiind spuse, Rust dispune de numeroase unelte pentru gestionarea acestor aspecte.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_ru.html b/chapter_6_ru.html new file mode 100644 index 000000000..7acaf353c --- /dev/null +++ b/chapter_6_ru.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 6 - Текст

+

Теперь, когда мы немного понимаем то, как Rust думает о памяти, мы готовы поговорить более подробно о тексте. +Rust серьезно заботится о поддержке международных текстов, и поддержке на уровне байтов, с которыми вы, возможно, не знакомы на других языках. +Что говорит, что в Rust есть много отличных инструментов для управления этими проблемами.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_th.html b/chapter_6_th.html new file mode 100644 index 000000000..30a5a067e --- /dev/null +++ b/chapter_6_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 6 - ข้อความ

+

มาถึงตอนนี้เราก็ได้เข้าใจขึ้นมาบ้างแล้วว่า Rust คิดอย่างไรกับเรื่องหน่วยความจำ เพื่อเตรียมความพร้อมให้เรามาคุยกันในเรื่อง ข้อความ ให้ละเอียดมากขึ้น Rust ใส่ใจมากในเรื่อง ข้อความในแง่ความเป็นสากล และลงลึกไปถึงระดับไบต์ แบบที่คุณอาจจะไม่เคยเจอมาก่อนจากภาษาอื่น +นั่นแปลว่า Rust ได้เตรียมเครื่องไม้เครื่องมือที่ดีเยี่ยมเพื่อขจัดความกังวลเหล่านั้นเอาไว้แล้ว

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_tr.html b/chapter_6_tr.html new file mode 100644 index 000000000..7119e6b36 --- /dev/null +++ b/chapter_6_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 6 - Metin Verileriyle Çalışmak

+

Artık Rust'un belleği ele alış şeklini biraz daha anladığımıza göre, metin işleme konusuna odaklanabiliriz. Rust diğer dillerde karşılaşmamış olabileceğiniz, uluslararası metin desteği ve bu desteğin bit düzeyi sorunlarıyla oldukça ilgili olduğundan, bit düzeyinişlemlerinde karşılaşılan sorunları özel olarak ele alan yetenekli araçlara sahiptir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_ua.html b/chapter_6_ua.html new file mode 100644 index 000000000..f0052e8ce --- /dev/null +++ b/chapter_6_ua.html @@ -0,0 +1,47 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 6 - Текст

+

Зараз, коли ми вже трошки розуміємо, як Rust взаємодіє з пам'яттю, ми готові детальніше поговорити про текст. +Rust звертає особливу увагу на проблеми з кількістю байтів, які використовуються для представлення тексту різними мовами. Ви можете бути не +знайомі з подібними проблемами у інших мовах. Тим не менш, Rust має багато чудових інструментів для їх вирішення.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_vi.html b/chapter_6_vi.html new file mode 100644 index 000000000..fda25fe7a --- /dev/null +++ b/chapter_6_vi.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 6 - Văn bản

+

Chúng ta đã hiểu một chút về cách Rust nghĩ về bộ nhớ, vì thế bây giờ là lúc để nói về văn bản một cách chi tiết hơn. +Rust quan tâm rất nhiều đến văn bản quốc tế và các mối quan tâm ở cấp độ byte mà bạn có thể không quen thuộc với các ngôn ngữ khác. Điều đó nói rằng, Rust có nhiều công cụ tuyệt vời để quản lý những mối quan tâm đó.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_zh-cn.html b/chapter_6_zh-cn.html new file mode 100644 index 000000000..5947dd864 --- /dev/null +++ b/chapter_6_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 文本

+

了解完了 Rust 内存管理的机制,是时候更为详尽地了解文本相关的内容了。 +Rust 非常关注文本国际化与字节层级的问题,这意味着 Rust 有许多实用的工具来解决这些问题。虽然你可能对其它语言中的这些问题并不熟悉。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_6_zh-tw.html b/chapter_6_zh-tw.html new file mode 100644 index 000000000..ab1d054af --- /dev/null +++ b/chapter_6_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第六章 - 文字

+

現在我們稍微了解 Rust 的記憶體了,我們準備更詳細的討論文字。 +Rust 非常在意國際語言,及從位元組 (byte) 層面來看,你可能不是那麼熟悉的語言。 即是,Rust 有很多很棒的工具用來管理這些問題。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_al.html b/chapter_7_al.html new file mode 100644 index 000000000..e2d00b256 --- /dev/null +++ b/chapter_7_al.html @@ -0,0 +1,48 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_ar.html b/chapter_7_ar.html new file mode 100644 index 000000000..0682a5739 --- /dev/null +++ b/chapter_7_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 7 - البرمجة كائنية التوجه (Object Oriented Programming)

+

يعد التعبير عن الأفكار باستخدام الدوال طريقة مجربة لتمثيل السلوك والبيانات (تقوم لغة البرمجة C بذلك منذ عقود!). تاريخيًا، وجدت علوم الكمبيوتر تعبيرات أخرى مفيدة مجمعة ومجردة للبيانات. وكإحدى هذه الأساليب التي قد تكون على دراية بها وهي البرمجة كائنية التوجه (إختصار تكتب OOP). في هذا الفصل سوف نستكشف لغة برمجة رست (Rust)خارج نطاق الدوال.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_de.html b/chapter_7_de.html new file mode 100644 index 000000000..b7782ddc1 --- /dev/null +++ b/chapter_7_de.html @@ -0,0 +1,48 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_en.html b/chapter_7_en.html new file mode 100644 index 000000000..9a0e53799 --- /dev/null +++ b/chapter_7_en.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_es.html b/chapter_7_es.html new file mode 100644 index 000000000..4902b43a6 --- /dev/null +++ b/chapter_7_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 7 - Programación Orientada a Objetos

+

Expresar ideas con funciones es una manera comprobada de representar el comportamiento y los datos (¡C lo ha estado haciendo durante décadas!). Históricamente, la informática ha encontrado otras agregaciones y abstracciones expresivas útiles para los datos. Puede que estés familiarizado con la Programación Orientada a Objetos (POO) como una de esas formas. En este capítulo exploraremos el lenguaje de programación Rust más allá de las funciones.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_fa.html b/chapter_7_fa.html new file mode 100644 index 000000000..0696a32f2 --- /dev/null +++ b/chapter_7_fa.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_fi.html b/chapter_7_fi.html new file mode 100644 index 000000000..0be7b3b0f --- /dev/null +++ b/chapter_7_fi.html @@ -0,0 +1,48 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_fr.html b/chapter_7_fr.html new file mode 100644 index 000000000..82e6e6ffe --- /dev/null +++ b/chapter_7_fr.html @@ -0,0 +1,50 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 7 - Programmation orientée object

+

L'utilisation de fonctions pour exprimer une idée ou modéliser le comportement +et les données d'un programme a toujours été une manière éprouvée d'écrire un +programme (C le fait depuis des décennies!). Cependant, il existe d'autres paradigmes +de programmation permettant l'agrégation et l'abstraction de données. Vous connaissez +peut-être déjà la programmation orientée objet (POO). Dans ce chapitre, nous +explorerons le langage de programmation Rust au-delà des fonctions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_gr.html b/chapter_7_gr.html new file mode 100644 index 000000000..a8bb1dc37 --- /dev/null +++ b/chapter_7_gr.html @@ -0,0 +1,48 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_hu.html b/chapter_7_hu.html new file mode 100644 index 000000000..9678957fa --- /dev/null +++ b/chapter_7_hu.html @@ -0,0 +1,49 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

7. Fejezet - Objektum-Orientált Programozás

+

A gondolatok függvényekkel való kifejezése egy bizonyított módja az adatok és viselkedésük +reprezentálására (a C nyelv már évtizedek óta ezt csinálja!) A tudományág létrejötte óta sokféle +módszer jött létre az adatok aggregálására és egyszerűbben kezelhető csoportokra való +bontására. Például ismerős lehet számodra az OOP vagyis Objektum-Orientált Programozás. Ebben a +fejezetben a Rust nyelv függvényeken túlmutató képességeivel fogunk megismerkedni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_id.html b/chapter_7_id.html new file mode 100644 index 000000000..eb00a01ef --- /dev/null +++ b/chapter_7_id.html @@ -0,0 +1,48 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_ie.html b/chapter_7_ie.html new file mode 100644 index 000000000..1e9269ea6 --- /dev/null +++ b/chapter_7_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 7 - Object-orientat Programmation

+

Li expression de idés tra functiones es un metode pruvat por representar conduida e data (C ha +fat talmen durant decennies!). Historicmen, scientie computoral ha trovat altri expressiv e +util agregationes e abstractiones por data. Tu es cert familiari con object-orientat programmation (OOP) +quam un tal metode. In ti-ci capitul noi va explorar li lingue de programmation Rust ultra functiones.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_it.html b/chapter_7_it.html new file mode 100644 index 000000000..8a57b792e --- /dev/null +++ b/chapter_7_it.html @@ -0,0 +1,48 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolo 7 - Programmazione orientata agli oggetti

+

Esprimere idee con funzioni è un modo comprovato di rappresentare il comportamento e dati (C +lo fa da decenni!). Storicamente, l'informatica ha trovato altro +utili aggregazioni espressive e astrazioni per i dati. Potresti essere familiarità con la programmazione orientata agli oggetti (OOP) come tale +in questo modo. In questo capitolo esploreremo il linguaggio di programmazione Rust oltre funzioni.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_ja.html b/chapter_7_ja.html new file mode 100644 index 000000000..944d71803 --- /dev/null +++ b/chapter_7_ja.html @@ -0,0 +1,45 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第 7 章 - オブジェクト指向プログラミング

+

関数でアイデアを表現することは、動作やデータを表現する方法として実績があります(C言語では何十年もそうしてきました!)。 歴史的に見ると、コンピュータサイエンスは他にも有用なデータの表現方法と抽象化を発見してきました。 オブジェクト指向プログラミング(OOP)は、そのような方法の1つとしてお馴染みかもしれません。 この章では、ただの関数だけではないRustプログラミング言語を探求していきます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_ko.html b/chapter_7_ko.html new file mode 100644 index 000000000..a732d853d --- /dev/null +++ b/chapter_7_ko.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

7장 - 객체 지향 프로그래밍

+

함수로 아이디어를 표현하는 것은 동작과 데이터를 나타내는 입증된 방식입니다 (C에서 수십 년 간 쓰였습니다!). +역사적으로, 컴퓨터 과학에서는 데이터에 대한 다른 유용한 표현 집합 및 추상화 방법을 찾아왔습니다. +그 중 한 방법인 객체 지향 프로그래밍(OOP)은 익숙하실겁니다. +이번 장에서는 함수를 넘어 Rust 프로그래밍 언어를 살펴 보겠습니다.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_ne.html b/chapter_7_ne.html new file mode 100644 index 000000000..52122f408 --- /dev/null +++ b/chapter_7_ne.html @@ -0,0 +1,48 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_pl.html b/chapter_7_pl.html new file mode 100644 index 000000000..55bbca69d --- /dev/null +++ b/chapter_7_pl.html @@ -0,0 +1,48 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Object Oriented Programming

+

Expressing ideas with functions is a proven way of representing behavior and data (C +has been doing it for decades!). Historically, computer science has found other +useful expressive aggregations and abstractions for data. You may be familiar with object oriented programming (OOP) as one +such way. In this chapter we'll explore the Rust programming language beyond functions.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_pt-br.html b/chapter_7_pt-br.html new file mode 100644 index 000000000..9e94bafdd --- /dev/null +++ b/chapter_7_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 7 - Programação orientada a objetos

+

Expressar idéias com funções é uma maneira comprovada de representar comportamentos e dados (C faz isso há décadas!). Historicamente, a ciência da computação encontrou outras agregações e abstrações expressivas úteis para os dados. Você pode estar familiarizado com a programação orientada a objetos (OOP) como uma dessas maneiras. Neste capítulo exploraremos a linguagem de programação Rust para além das funções.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_ro.html b/chapter_7_ro.html new file mode 100644 index 000000000..847a84e4c --- /dev/null +++ b/chapter_7_ro.html @@ -0,0 +1,47 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 7 - Programare orientată pe obiecte

+

Exprimarea ideilor cu ajutorul funcțiilor este o metodă dovedită de a reprezenta comportamente și date (Limbajul C o face de decenii!). +Din punct de vedere istoric, știință calculatoarelor a găsit alte agregări și abstractizări expresive folositoare pentru date. +Ați putea fi familiarizați cu programarea orientată pe obiecte (POO) ca fiind una dintre acestea. În acest capitol vom explora limbajul Rust dincolo de funcții.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_ru.html b/chapter_7_ru.html new file mode 100644 index 000000000..e8fff535f --- /dev/null +++ b/chapter_7_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 7 - Объектно-ориентированное программирование (OOP)

+

Выражение идей с помощью функций - это проверенный способ представления поведения и данных (в Си это делают десятилетиями!) Исторически информатика нашла другие полезные выразительные агрегаты и абстракции для данных. Вы можете быть знакомы с объектно-ориентированным программированием (ООП) как одним из таких способов описания абстракций. В этой главе мы рассмотрим язык программирования Rust за пределами только функций.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_th.html b/chapter_7_th.html new file mode 100644 index 000000000..47d734b4c --- /dev/null +++ b/chapter_7_th.html @@ -0,0 +1,47 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 7 - Object Oriented Programming

+

แนวคิดเรื่องการใช้ฟังก์ชันมาสะท้อนความเป็นไปของข้อมูลนั้นเป็นที่ยอมรับแล้ว (ซึ่ง ภาษา C ทำมาเป็นสิบปี!) +และในอดีตที่ผ่านมา วงการวิทยาการคอมพิวเตอร์ ก็ยังค้นพบหนทางอื่นที่สามารถใช้ เพื่ออธิบายแนวคิดการจัดการข้อมูลในเชิงนามธรรม และก็อย่างที่เรารู้กัน หนึ่งในนั้นก็คือเรื่องของ object oriented programming (OOP) +โดยในบทนี้เราจะมาสำรวจภาษา Rust ในการทำงานที่นอกเหนือจากเรื่องของฟังก์ชันกันบ้าง

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_tr.html b/chapter_7_tr.html new file mode 100644 index 000000000..a531c0cfc --- /dev/null +++ b/chapter_7_tr.html @@ -0,0 +1,47 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 7 - Nesne Yönelimli Programlama

+

Onlarca yıldır kullanılan C Programlama dilinde olduğu gibi, fikirleri işlevlerle ifade etmek, veriler ve program davranışını temsil etmenin kanıtlanmış bir yoludur. Ancak zaman içinde bilgisayar bilimi, veri toplama ve soyutlamaya izin veren başka programlama paradigmalarından da yararlanmıştır. +Diğer programlama dillerinden geliyorsanız, bu programlama paradigmalarından biri olan nesne yönelimli programlamaya, yani OOP'a aşina olabilirsiniz. +Bu bölümde Rust programlama dilini, işlevlerin ötesinde bir programlama dili olarak yeniden keşfedeceğiz.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_ua.html b/chapter_7_ua.html new file mode 100644 index 000000000..2eb058695 --- /dev/null +++ b/chapter_7_ua.html @@ -0,0 +1,48 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 7 - Об'єктно Орієнтоване Програмування

+

Вираження ідей за допомогою функцій є перевіреним способом представлення поведінки та даних (C +робить це вже десятки років!). Історично склалося так, що інформатика знайшла інші +корисні виразні агрегації та абстракції для даних. Ви можете бути знайомі з об'єктно-орієнтованим програмуванням (ООП) як одним +з таких способів. У цій главі ми розглянемо мову програмування Rust за межами функцій.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_vi.html b/chapter_7_vi.html new file mode 100644 index 000000000..af6f2d514 --- /dev/null +++ b/chapter_7_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 7 - Lập trình hướng đối tượng(Object-oriented programming-OOP)

+

Thể hiện ý tưởng bằng các hàm là một cách đã được chứng minh để biểu thị hành vi và dữ liệu (ngôn ngữ C đã làm điều đó trong nhiều thập kỷ!). Về mặt lịch sử, khoa học máy tính đã tìm thấy những thứ có thể biểu diễn hữu ích khác và các khái niệm trừu tượng khác cho dữ liệu. Bạn có thể quen với lập trình hướng đối tượng (OOP) như một cách như vậy. Trong chương này, chúng ta sẽ khám phá ngôn ngữ lập trình Rust vượt ra ngoài các function.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_zh-cn.html b/chapter_7_zh-cn.html new file mode 100644 index 000000000..6c2035183 --- /dev/null +++ b/chapter_7_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 面向对象编程

+

用函数表达思想是一种成熟的行为和数据表示方式(C 语言已经这么做了几十年了!)。 从历史上看,计算机科学领域已经找到了其他的数据表达聚合和抽象的方式。 你可能熟知面向对象编程(OOP)就是这样一种方式。在本章中,我们将探索函数之外的 Rust 编程语言。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_7_zh-tw.html b/chapter_7_zh-tw.html new file mode 100644 index 000000000..808d46259 --- /dev/null +++ b/chapter_7_zh-tw.html @@ -0,0 +1,46 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第七章 - 物件導向程式 (object oriented programming)

+

使用函式來表達點子是一個已經被證實用來表示行為及資料的方式 (C 已經這樣做了幾十年了!)。 +從歷史上來看,電腦科學發現了其他非常有表達力的聚合式 (aggregation) 及抽象資料。 你可能已經熟悉其中一種物件導向程式。在此章節我們將會探索 Rust 這門程式語言函式以上的東西。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_al.html b/chapter_8_al.html new file mode 100644 index 000000000..58cd3c6df --- /dev/null +++ b/chapter_8_al.html @@ -0,0 +1,50 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_ar.html b/chapter_8_ar.html new file mode 100644 index 000000000..26f27e4ed --- /dev/null +++ b/chapter_8_ar.html @@ -0,0 +1,47 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 8 - المؤشرات الذكية (Smart Pointers)

+

في هذا الفصل سنقوم بإزالة الغموض عن المؤشرات الذكية (Smart Pointers). دعونا نستكشف هياكل البيانات (data structures) هذه والتي تتيح لنا التفاعل مع أدنى مستوى من الذاكرة.

+

يقول فيريس: "لا تشعر بالإرهاق من هذا الفصل في حال شعرت أنه ليس بإمكانك كتابة تعليمات برمجية الخاص بك لإدارة الذاكرة منخفضة المستوى (low level memory management) في وقت قصير.

+

يهدف هذا الفصل في الغالب إلى تعريفك ببعض الأدوات المفيدة وإلقاء نظرة على كيفية عملها!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_de.html b/chapter_8_de.html new file mode 100644 index 000000000..9c66c93ff --- /dev/null +++ b/chapter_8_de.html @@ -0,0 +1,50 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Noch nicht übersetzt] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_en.html b/chapter_8_en.html new file mode 100644 index 000000000..fc28794a4 --- /dev/null +++ b/chapter_8_en.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_es.html b/chapter_8_es.html new file mode 100644 index 000000000..fc8510c7e --- /dev/null +++ b/chapter_8_es.html @@ -0,0 +1,46 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 8 - Punteros Inteligentes

+

En este capítulo vamos a desmitificar los punteros inteligentes. Exploraremos estas estructuras de datos que nos permiten interactuar con la memoria a bajo nivel.

+

Ferris dice: «No te agobies en este capítulo si ves que aún no puedes escribir tu propio código de gestión de memoria a bajo nivel en poco tiempo. En este capítulo te introduciremos, sobre todo, algunas herramientas útiles y veremos cómo funcionan.»

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_fa.html b/chapter_8_fa.html new file mode 100644 index 000000000..24b09c9f7 --- /dev/null +++ b/chapter_8_fa.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_fi.html b/chapter_8_fi.html new file mode 100644 index 000000000..e6121dc30 --- /dev/null +++ b/chapter_8_fi.html @@ -0,0 +1,50 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_fr.html b/chapter_8_fr.html new file mode 100644 index 000000000..aa8461d88 --- /dev/null +++ b/chapter_8_fr.html @@ -0,0 +1,52 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 8 - Pointeurs intelligents (smart pointers)

+

Dans ce chapitre, nous allons démystifier les pointeurs intelligents +(en anglais Smart Pointers). Explorons ces structures de données qui +nous permettent d'interagir au plus bas niveau de la Mémoire.

+

Ferris dit: "Ne te sens pas submergé par ce chapitre, je n'attends pas de +toi que tu sois capable d'écrire ton propre code de gestion de la mémoire +bas niveau après une première lecture. Ce chapitre est surtout là pour te +présenter quelques outils utiles et te donner un aperçu de leur +fonctionnement!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_gr.html b/chapter_8_gr.html new file mode 100644 index 000000000..1a3f0e38c --- /dev/null +++ b/chapter_8_gr.html @@ -0,0 +1,50 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_hu.html b/chapter_8_hu.html new file mode 100644 index 000000000..e68a29e97 --- /dev/null +++ b/chapter_8_hu.html @@ -0,0 +1,51 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

8. Fejezet - Okos Mutatók

+

Ebben a fejezetben az okos mutatókat fogjuk megismerni. Nézzük meg, milyen lehetőségeket adnak +számunkra ezek az adatstruktúrák, melyek a legközvetlenebb módon engednek a memóriával dolgozni!

+

"Ne stresszelj nagyon, ha az első olvasás után nem tudnál alacsonyszintű memóriakezelő kódot +írni. Ez a fejezet leginkább egy betekintést ad csupán néhány hasznos eszköz belső működésébe!"

+
    +
  • Ferris
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_id.html b/chapter_8_id.html new file mode 100644 index 000000000..63695e79c --- /dev/null +++ b/chapter_8_id.html @@ -0,0 +1,50 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_ie.html b/chapter_8_ie.html new file mode 100644 index 000000000..44853f716 --- /dev/null +++ b/chapter_8_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 8 - Smart Pointers

+

In ti-ci capitul noi va remover li misterie de smart pointers (puntatores inteligent). +On va explorar pri qualmen ti data-structuras possibilisa li interaction con memorie +sur li nivelles max bass.

+

Ferris di: "Ne esse aplastat per li desfacilitás in ti-ci capitul si tu ne es strax pret +a scrir tui propri code por gerer memorie ye bass nivelles. It mey servir solmen por +conossentar te con quelc util utensiles e qualmen ili functiona!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_it.html b/chapter_8_it.html new file mode 100644 index 000000000..c383b226d --- /dev/null +++ b/chapter_8_it.html @@ -0,0 +1,50 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_ja.html b/chapter_8_ja.html new file mode 100644 index 000000000..6f7019220 --- /dev/null +++ b/chapter_8_ja.html @@ -0,0 +1,50 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_ko.html b/chapter_8_ko.html new file mode 100644 index 000000000..412d9bc10 --- /dev/null +++ b/chapter_8_ko.html @@ -0,0 +1,49 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

8장 - 스마트 포인터

+

이번 장에서는 smart pointer에 대해 명확하고 쉽게 이해해 보겠습니다. +가장 저수준의 메모리를 다룰 수 있게 해주는 자료 구조에 대해 알아봅시다.

+

Ferris가 말합니다: "이번 장을 짧게 한 번 읽고서 +저수준 메모리 관리 코드를 짜지 못한다고 해도 거기에 압도되지 마세요. +이번 장은 주로 유용한 도구들의 소개와 함께 그들의 동작 방식을 가볍게 살펴보기 위함이니까요!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_ne.html b/chapter_8_ne.html new file mode 100644 index 000000000..5c2ec6c92 --- /dev/null +++ b/chapter_8_ne.html @@ -0,0 +1,50 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_pl.html b/chapter_8_pl.html new file mode 100644 index 000000000..c72b0605c --- /dev/null +++ b/chapter_8_pl.html @@ -0,0 +1,50 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_pt-br.html b/chapter_8_pt-br.html new file mode 100644 index 000000000..0a84dcf6b --- /dev/null +++ b/chapter_8_pt-br.html @@ -0,0 +1,46 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 8 - Ponteiros inteligentes

+

Neste capítulo vamos desmistificar os ponteiros inteligentes. Vamos explorar essas estruturas de dados que nos permitem interagir com o mais baixo nível de memória.

+

Ferris diz: "Não se sinta pressionado por este capítulo se você acha que não pode escrever seu próprio código de gerenciamento de memória de baixo nível em uma leitura rápida. Este capítulo é principalmente para apresentá-lo a algumas ferramentas úteis e dar uma ideia de como eles trabalham!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_ro.html b/chapter_8_ro.html new file mode 100644 index 000000000..32031d1d5 --- /dev/null +++ b/chapter_8_ro.html @@ -0,0 +1,50 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 8 - Pointeri "inteligenți"

+

În acest capitol vom lămuri pointerii inteligenți. Să explorăm aceste structuri +de date care ne permit să interacționăm cu memoria la cel mai de bază nivel.

+

Ferris spune: "Nu te simți copleșit de acest capitol dacă simți că +nu poți gestiona de unul singur memoria la un nivel de bază după această +lectură scurtă. Scopul acestui capitol este să îți prezinte câteva unelte +și să îți creezi o idee despre cum se folosesc!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_ru.html b/chapter_8_ru.html new file mode 100644 index 000000000..83e07b6c6 --- /dev/null +++ b/chapter_8_ru.html @@ -0,0 +1,46 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 8 - Smart Pointers

+

В этой главе мы проясним "умные указатели". Давайте изучим эти структуры данных, позволяющие взаимодействовать с самыми нижними уровнями памяти.

+

Феррис говорит: "Не смущайтесь этой главы, если вы чувствуете, что не можете писать свой код для низко-уровневого управления памятью после короткого чтения. Данная глава это в основном введение в некоторые полезные инструменты и чтобы дать представление о том, как они работают!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_th.html b/chapter_8_th.html new file mode 100644 index 000000000..a77be6b39 --- /dev/null +++ b/chapter_8_th.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 8 - Smart Pointers

+

ในบทนี้จะช่วยให้เราเข้าใจเกี่ยวกับ smart pointer เพิ่มขึ้น ไปสำรวจโครงสร้างข้อมูลนี้ มันจะช่วยเราจัดการกับหน่วยความจำในเชิงลึก

+

Ferris says: "อย่าเพิ่งรู้สึกหนักใจกับบทนี้ อย่ากลัวว่าคุณจะเขียนโค้ดจัดการกับ หน่วยความจำเชิงลึกไม่ได้จากการอ่านบทสั้นๆนี้ อันที่จริงเนื้อหาในบทนี้แค่พยายาม แนะนำเครื่องมือบางตัวที่มีประโยชน์ ให้ดูคร่าวๆว่ามันทำงานอย่างไรแค่นั้น"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_tr.html b/chapter_8_tr.html new file mode 100644 index 000000000..b4548a33a --- /dev/null +++ b/chapter_8_tr.html @@ -0,0 +1,46 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 8 - Akıllı İşaretçiler

+

Bu bölümde düşük bellek seviyesiyle etkileşmemizi sağlayan akıllı işaretçileri inceleyecek ve onlara dair gizemleri birer birer çözeceğiz.

+

Ama başlamadan önce Ferris'in uyarısına kulak vermenin motivasyonumuzu güçlendireceğini düşünüyorum: “Bu bölüme göz gezdirirken, düşük seviyeli bellek yönetim kodlarını yazamayacağınızı düşünerek moralinizi bozmayın. Zira bu bölüm, bazı temel ve yararlı araçlara giriş niteliğinde olup, nasıl çalıştıkları hakkında sizi bilgilendirmeyi amaçlar!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_ua.html b/chapter_8_ua.html new file mode 100644 index 000000000..4de7a6d9a --- /dev/null +++ b/chapter_8_ua.html @@ -0,0 +1,51 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 8 - Розумні покажчики (Smart Pointers)

+

У цьому розділі ми демістифікуємо розумні покажчики. Давайте +досліджувати ці структури даних, які дозволяють нам взаємодіяти +з найнижчим рівнем пам'яті.

+

Ферріс каже: «Не бентежтеся через цей розділ, якщо ви не відчуваєте, що +здатні написати власний низькорівневий код для керування пам’яттю за одне коротке читання. Цей розділ

+

здебільшого познайомити вас із деякими корисними інструментами та дати + уявлення про те, як вони працюють!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_vi.html b/chapter_8_vi.html new file mode 100644 index 000000000..9eeec85ba --- /dev/null +++ b/chapter_8_vi.html @@ -0,0 +1,46 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 8 - Con trỏ thông minh(Smart Pointers)

+

Trong chương này, chúng ta sẽ làm sáng tỏ con trỏ thông minh. Hãy cùng khám phá những cấu trúc dữ liệu cho phép chúng ta tương tác với mức bộ nhớ thấp nhất.

+

Ferris nói: "Đừng cảm thấy choáng ngợp bởi chương này nếu bạn không cảm thấy mình có thể viết mã quản lý bộ nhớ cấp thấp của riêng mình trong một lần đọc ngắn. Chương này chủ yếu là để giới thiệu cho bạn một số công cụ hữu ích và giới thiệu sơ lược về cách chúng hoạt động! "

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_zh-cn.html b/chapter_8_zh-cn.html new file mode 100644 index 000000000..20f52fa29 --- /dev/null +++ b/chapter_8_zh-cn.html @@ -0,0 +1,46 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第8章 - 智能指针

+

在本章中,我们将揭开智能指针的神秘面纱。 让我们探索一下能够让我们与最底层内存打交道的这些数据结构。 +Ferris 说:“读完这一章之后,即使您觉得仍然不能编写管理底层内存的代码也不用觉得不知所措。 本章主要是向您介绍一些有用的工具并简要了解他们如何工作!”

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_8_zh-tw.html b/chapter_8_zh-tw.html new file mode 100644 index 000000000..6dabff6e3 --- /dev/null +++ b/chapter_8_zh-tw.html @@ -0,0 +1,50 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Chapter 8 - Smart Pointers

+

In this chapter we will demystify smart pointers. Let's explore into +these data structures that let us interact with the lowest level of +memory.

+

Ferris says: "Don't feel overwhelmed by this chapter if you don't feel +you can write your own low level memory management code in one short read. This chapter +is mostly to introduce you to some useful tools and give a glimpse at how they work!"

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_al.html b/chapter_9_al.html new file mode 100644 index 000000000..49cb5e3ac --- /dev/null +++ b/chapter_9_al.html @@ -0,0 +1,45 @@ + + + + Tut i Rustit - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[E paperkthyer] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_ar.html b/chapter_9_ar.html new file mode 100644 index 000000000..7b1abbedb --- /dev/null +++ b/chapter_9_ar.html @@ -0,0 +1,45 @@ + + + + دورة تعلم رست (Rust) - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

الفصل 9 - تنظيم وهيكلة المشروع

+

حتى الآن، كانت جميع أمثلة التعليمات البرمجية الخاصة بنا عبارة عن ملف واحد. دعنا نناقش كيف يمكن تنظيم التعليمات البرمجية الخاص بنا ومشاركتها بشكل أفضل مع الآخرين!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_de.html b/chapter_9_de.html new file mode 100644 index 000000000..d19af835f --- /dev/null +++ b/chapter_9_de.html @@ -0,0 +1,45 @@ + + + + Tour durch Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Kapitel 9 - Projektorganisation und -struktur

+

Bis jetzt waren alle unsere Code Beispiele in einer einzelnen Datei untergebracht. Lass uns darüber diskutieren, wie unser Code besser organisiert und mit anderen geteilt werden kann!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_en.html b/chapter_9_en.html new file mode 100644 index 000000000..a0592a7e2 --- /dev/null +++ b/chapter_9_en.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_es.html b/chapter_9_es.html new file mode 100644 index 000000000..81ca8a73e --- /dev/null +++ b/chapter_9_es.html @@ -0,0 +1,45 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 9 - Organización y Estructura de Proyectos

+

Todos los ejemplos de código que hemos visto hasta ahora tenían un solo archivo. Veamos cómo se puede organizar y compartir.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_fa.html b/chapter_9_fa.html new file mode 100644 index 000000000..5efb6f2ec --- /dev/null +++ b/chapter_9_fa.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_fi.html b/chapter_9_fi.html new file mode 100644 index 000000000..fc7c70a05 --- /dev/null +++ b/chapter_9_fi.html @@ -0,0 +1,45 @@ + + + + Rustin ympäriajo - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Kääntämätön] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_fr.html b/chapter_9_fr.html new file mode 100644 index 000000000..441c36ae3 --- /dev/null +++ b/chapter_9_fr.html @@ -0,0 +1,48 @@ + + + + Tour de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 9 - Organisation et structure d'un projet

+

Jusqu'à présent, tous nos exemples de code n'ont guère dépassé le simple +fichier. Voyons comment un projet plus complexe s'organise et quels outils +l'écosystème Rust met à notre disposition pour pouvoir travailler à +plusieurs sur un même projet!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_gr.html b/chapter_9_gr.html new file mode 100644 index 000000000..f8e465c93 --- /dev/null +++ b/chapter_9_gr.html @@ -0,0 +1,45 @@ + + + + Ξενάγηση στη Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Αμετάφραστο] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_hu.html b/chapter_9_hu.html new file mode 100644 index 000000000..68dd9d999 --- /dev/null +++ b/chapter_9_hu.html @@ -0,0 +1,46 @@ + + + + Rust-túra - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9. Fejezet - Projektszervezés És Struktúra

+

Egészen eddig a példakódjaink egyetlen fájlból álltak. Lássuk, hogyan tudjuk munkánkat jobban +szervezni és másokkal megosztani!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_id.html b/chapter_9_id.html new file mode 100644 index 000000000..aaa2fd6c3 --- /dev/null +++ b/chapter_9_id.html @@ -0,0 +1,45 @@ + + + + Rust Tur - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[belum diterjemahkan] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_ie.html b/chapter_9_ie.html new file mode 100644 index 000000000..6cadf51e9 --- /dev/null +++ b/chapter_9_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitul 9 - Organisation e Structura de un Projecte

+

Til nu nor exemples de code ha esset scrit in singul archives. Lass nos discusser pri qualmen plu bon organisar e partiprender it!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_it.html b/chapter_9_it.html new file mode 100644 index 000000000..52e4a4de0 --- /dev/null +++ b/chapter_9_it.html @@ -0,0 +1,45 @@ + + + + Tour di Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Non tradotto] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_ja.html b/chapter_9_ja.html new file mode 100644 index 000000000..54cc220e4 --- /dev/null +++ b/chapter_9_ja.html @@ -0,0 +1,45 @@ + + + + Rust ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[未翻訳] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_ko.html b/chapter_9_ko.html new file mode 100644 index 000000000..2a04f1982 --- /dev/null +++ b/chapter_9_ko.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

9장 - 프로젝트 구성과 구조

+

지금까지의 모든 예제 코드는 단일 파일이었습니다. 어떻게 하면 우리의 코드를 더 잘 구성하고 다른 사람과 공유할 수 있을지 얘기해 봅시다!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_ne.html b/chapter_9_ne.html new file mode 100644 index 000000000..da49266a5 --- /dev/null +++ b/chapter_9_ne.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_pl.html b/chapter_9_pl.html new file mode 100644 index 000000000..058d21a6f --- /dev/null +++ b/chapter_9_pl.html @@ -0,0 +1,45 @@ + + + + Przewodnik po Języku Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_pt-br.html b/chapter_9_pt-br.html new file mode 100644 index 000000000..78fbb7458 --- /dev/null +++ b/chapter_9_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 9 - Organização e estrutura do projeto

+

Até agora todos os nossos exemplos de código foram em um único arquivo. Vamos discutir sobre como o nosso código pode ser melhor organizado e compartilhado por outras pessoas!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_ro.html b/chapter_9_ro.html new file mode 100644 index 000000000..717453d5b --- /dev/null +++ b/chapter_9_ro.html @@ -0,0 +1,45 @@ + + + + Turul limbajului Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 9 - Organizarea și structurarea proiectului

+

Până acum, toate exemplele noastre de cod au fost un singur fișier. Haideți să discutăm cum codul nostru poate fi mai bine organizat și partajat de alții!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_ru.html b/chapter_9_ru.html new file mode 100644 index 000000000..2e713acac --- /dev/null +++ b/chapter_9_ru.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Глава 9 - Организация и структура проекта (Project Organization and Structure)

+

До сих пор все наши примеры кода находились в единственном файле. Давайте обсудим, как лучше организовать наш код и как делиться им с другими!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_th.html b/chapter_9_th.html new file mode 100644 index 000000000..0f9b3ddd2 --- /dev/null +++ b/chapter_9_th.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

บทที่ 9 - Project Organization and Structure

+

จนถึงตอนนี้ ตัวอย่างที่เราเขียนทั้งหมดจะเป็นแบบไฟล์เดียวทั้งนั้น เดียวเราจะมาคุยกันว่าเราจะจัดระเบียบโค้ดให้ดูดีขึ้น และแชร์ให้คนอื่นใช้งานต่อได้อย่างไร!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_tr.html b/chapter_9_tr.html new file mode 100644 index 000000000..3056de5ae --- /dev/null +++ b/chapter_9_tr.html @@ -0,0 +1,45 @@ + + + + Rust Turu - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Bölüm 9 - Proje Organizasyonu ve Yapısı

+

Şu ana dek tüm kod örneklerimiz tek bir dosyadan oluşmaktaydı. Artık kodlarımızı organize ederek başkalarının kullanımına nasıl sunabileceğimizi konuşma zamanının geldiğini hissediyorum.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_ua.html b/chapter_9_ua.html new file mode 100644 index 000000000..ac528c6f9 --- /dev/null +++ b/chapter_9_ua.html @@ -0,0 +1,45 @@ + + + + Тур по Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Розділ 9 - Організація проекту, та його структура

+

Ну що ж. До цього в усіх прикладах ви бачили код котрий був розташований лише в одному файлі. Зараз настав час, коли ми почнемо говорити про те як краще організувати свій код для того, щоб він став краще, і його було легше зрозуміти іншим!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_vi.html b/chapter_9_vi.html new file mode 100644 index 000000000..3bb2b227b --- /dev/null +++ b/chapter_9_vi.html @@ -0,0 +1,45 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chương 9 - Tổ chức và cấu trúc dự án

+

Cho đến nay tất cả các code ví dụ của chúng ta đều là một tệp duy nhất. Hãy thảo luận về cách code của chúng ta có thể được tổ chức và chia sẻ tốt hơn bởi những người khác!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_zh-cn.html b/chapter_9_zh-cn.html new file mode 100644 index 000000000..dd583804a --- /dev/null +++ b/chapter_9_zh-cn.html @@ -0,0 +1,45 @@ + + + + Rust 语言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

第九章 - 项目的结构和管理

+

到目前为止,我们所有的代码示例都是单文件。现在让我们来讨论一下,如何更好地组织我们的代码,并与他人分享!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/chapter_9_zh-tw.html b/chapter_9_zh-tw.html new file mode 100644 index 000000000..a4787cbd4 --- /dev/null +++ b/chapter_9_zh-tw.html @@ -0,0 +1,45 @@ + + + + Rust 語言之旅 - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[沒有翻譯] Chapter 9 - Project Organization and Structure

+

So far all of our code examples have been a single file. Let's discuss how our code can be better organized and shared by others!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/docs/cover.jpg b/cover.jpg similarity index 100% rename from docs/cover.jpg rename to cover.jpg diff --git a/docs/favicon-16x16.png b/favicon-16x16.png similarity index 100% rename from docs/favicon-16x16.png rename to favicon-16x16.png diff --git a/docs/favicon-32x32.png b/favicon-32x32.png similarity index 100% rename from docs/favicon-32x32.png rename to favicon-32x32.png diff --git a/docs/favicon.ico b/favicon.ico similarity index 100% rename from docs/favicon.ico rename to favicon.ico diff --git a/docs/ferris.png b/ferris.png similarity index 100% rename from docs/ferris.png rename to ferris.png diff --git a/docs/ferris_lofi.png b/ferris_lofi.png similarity index 100% rename from docs/ferris_lofi.png rename to ferris_lofi.png diff --git a/index.html b/index.html new file mode 100644 index 000000000..62bc8ba0c --- /dev/null +++ b/index.html @@ -0,0 +1,75 @@ + + + + Tour of Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello World!

+

Welcome to the Tour of Rust

+

Happy 3 Year Anniversary 🎉

+

Welcome to the Tour of Rust. This is meant to be a step by step guide through the features of the Rust programming language. Rust is often considered a language with a steep learning curve, but I hope I can convince you there's a lot to explore before we even get to complex parts.

+

You can also find this guide in these languages:

+ +

If you have suggestions on content or would like to contribute to translations, check out Tour of Rust's github repository.

+

You can navigate through the tour with keyboard ⬅️ and ➡️.

+

In this classic example we show Rust's support for Unicode strings.

+
+ + +
+
+
+ +
+
+ + \ No newline at end of file diff --git a/docs/intro.png b/intro.png similarity index 100% rename from docs/intro.png rename to intro.png diff --git a/docs/site.webmanifest b/site.webmanifest similarity index 100% rename from docs/site.webmanifest rename to site.webmanifest diff --git a/docs/sitemap.xml b/sitemap.xml similarity index 100% rename from docs/sitemap.xml rename to sitemap.xml diff --git a/docs/social.jpg b/social.jpg similarity index 100% rename from docs/social.jpg rename to social.jpg diff --git a/docs/tour.css b/tour.css similarity index 100% rename from docs/tour.css rename to tour.css diff --git a/docs/tour.js b/tour.js similarity index 100% rename from docs/tour.js rename to tour.js diff --git a/webassembly/00_en_c.html b/webassembly/00_en_c.html new file mode 100644 index 000000000..ea1cd761a --- /dev/null +++ b/webassembly/00_en_c.html @@ -0,0 +1,59 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello, WebAssembly

+

Welcome to the Tour of WebAssembly. This is meant to be a introduction to the technology +and how C can be used to power the web. This tour is also available in Rust.

+ +

If you have suggestions on content or would like to contribute to translations, +checkout out Tour of WebAssembly's github repository.

+

You can navigate through the tour with keyboard ⬅️ and ➡️

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/00_es.html b/webassembly/00_es.html new file mode 100644 index 000000000..b1e4a23b5 --- /dev/null +++ b/webassembly/00_es.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hola, WebAssembly

+

Bienvenido al Tour de WebAssembly. Este tutorial pretende introducirte a la tecnología y +a cómo Rust puede ser usado para mejorar la web. Si eres completamente nuevo en Rust, quizá te +interese el Tour de Rust! La mayoría de nuestros ejemplos serán lo +suficientemente fáciles para cualquier persona que quiera seguirlos.

+ +

En el caso de que tengas sugerencias respecto al contenido o quieras contribuir con traducciones, +vaya al repositorio del Tour de WebAssembly github repository.

+

Puedes navegar por el tour usando el teclado ⬅️ y ➡️

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/00_fr.html b/webassembly/00_fr.html new file mode 100644 index 000000000..70d755bca --- /dev/null +++ b/webassembly/00_fr.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salut, WebAssembly

+

Bienvenue au * Tour de WebAssembly *. Celui-ci a pour but d'être une introduction à la technologie +et comment Rust peut être utilisé pour alimenter le Web. Si tu n'es pas à l'aise avec Rust, +je te conseilles le Tour de Rust! La plupart de nos exemples seront +suffisamment simples pour pouvoir être suivis par n'importe qui, même les débutants. +Cette visite est également disponible en C.

+ +

Si tu as des suggestions sur le contenu ou souhaite contribuer aux traductions, +consultes le dépôt github du Tour de WebAssembly.

+

Tu peux parcourir la visite avec les touches ⬅️ et ➡️ du clavier.

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/00_fr_c.html b/webassembly/00_fr_c.html new file mode 100644 index 000000000..3e7d54cd6 --- /dev/null +++ b/webassembly/00_fr_c.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salut, WebAssembly

+

Bienvenue au Tour de WebAssembly. Celui-ci a pour but d'être une introduction à la technologie +et comment Rust peut être utilisé pour alimenter le Web. Cette visite est également disponible en Rust.

+ +

Si tu as des suggestions sur le contenu ou souhaite contribuer aux traductions, +consultes le dépôt github du Tour de WebAssembly.

+

Tu peux parcourir la visite avec les touches ⬅️ et ➡️ du clavier.

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/00_ie.html b/webassembly/00_ie.html new file mode 100644 index 000000000..daa9f4833 --- /dev/null +++ b/webassembly/00_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salute, WebAssembly

+

Benevenit al Tur de WebAssembly, un tur quel intente esser un introduction al tecnologie +e qualmen on posse usar Rust por dar plu fortie al web. Si tu es un novon a Rust, noi recomanda li +Tour of Rust! Malgré to, li pluparte de nor exemples va esser facil +a sequer por quicunc. Li tur es anc disponibil in C.

+ +

Si tu have suggestiones pri contenete o vole contribuer al traductiones, +ples vider li repositoria github del Tur.

+

Tu posse navigar tra li tur con li claves ⬅️ e ➡️

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/00_ja.html b/webassembly/00_ja.html new file mode 100644 index 000000000..75975f5fb --- /dev/null +++ b/webassembly/00_ja.html @@ -0,0 +1,60 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

こんにちは, WebAssembly

+

WebAssembly ツアーへようこそ。 ここでは、Webを発展させるために、Rustを使ってなにができるかを紹介します。 +ほとんどの例は、誰にでも十分わかるように書かれていますが、もしあなたが完全なRust初心者の場合は、Rust ツアーがおすすめです。 +このツアーはCでも利用可能です。

+ +

コンテンツへの提案や翻訳に貢献したい場合、 +WebAssembly ツアーの github リポジトリをチェックしてください。

+

キーボードの ⬅️➡️ でツアーをナビゲートできます。

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/00_pt-br.html b/webassembly/00_pt-br.html new file mode 100644 index 000000000..702aca35e --- /dev/null +++ b/webassembly/00_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Olá, WebAssembly

+

Bem-vindo ao Tour por WebAssembly. Pretendemos ser uma introdução a esta tecnologia e de como o Rust pode ser usado para dar mais força à web. Se você é completamente novo no Rust pode apreciar o Tour por Rust! A maioria dos nossos exemplos será fácil o suficiente para qualquer pessoa acompanhar. Este tour também está disponível para a linguagem C.

+ +

Caso tenha alguma sugestão a respeito do conteúdo ou queira contribuir com as traduções, veja o repositório do Tour do WebAssembly github repository.

+

Você pode navegar pelo tour usando ⬅️ e ➡️

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/00_ro.html b/webassembly/00_ro.html new file mode 100644 index 000000000..2a104b691 --- /dev/null +++ b/webassembly/00_ro.html @@ -0,0 +1,61 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salut, WebAssembly

+

Bine ați venit la Turul WebAssembly. Acesta este conceput să fie o introducere în tehnologie +și modul în care Rust poate fi folosit pentru a dezvolta aplicații web. Dacă este prima oară când folosiți Rust, s-ar putea +să vă placă Turul limbajului Rust! În mare parte, exemplele noastre vor fi suficient de ușoare pentru +a fi urmărite de oricine. Acest tur este disponibil și în limbajul C.

+ +

Dacă aveți sugestii cu privire la conținut sau doriți să contribuiți la traduceri, +verificați repository-ul de Github.

+

Puteți naviga prin tur folosind tastele ⬅️ și ➡️

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_en.html b/webassembly/02_en.html new file mode 100644 index 000000000..c77aa0830 --- /dev/null +++ b/webassembly/02_en.html @@ -0,0 +1,52 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inside A Module

+

When you compile to a WebAssembly target your compiler should create a file ending in .wasm called a module.

+

The module is a binary format full of information on how a +wasm program and its memory should be setup and interacted with:

+
    +
  • a list of functions
  • +
  • what functions should be exported/imported
  • +
  • what data should initially be in the wasm modules memory
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_en_c.html b/webassembly/02_en_c.html new file mode 100644 index 000000000..d37404a99 --- /dev/null +++ b/webassembly/02_en_c.html @@ -0,0 +1,52 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inside A Module

+

When you compile to a WebAssembly target your compiler should create a file ending in .wasm called a module.

+

The module is a binary format full of information on how a +wasm program and its memory should be setup and interacted with:

+
    +
  • a list of functions
  • +
  • what functions should be exported/imported
  • +
  • what data should initially be in the wasm modules memory
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_es.html b/webassembly/02_es.html new file mode 100644 index 000000000..9c6ab9ddb --- /dev/null +++ b/webassembly/02_es.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dentro de un Módulo

+

Cuando compilas a WebAssembly, su compilador debe crear un archivo acabado en +.wasm llamado módulo.

+

El módulo es un formato binario con +toda la información necesaria para que un programa wasm y su memoria sean configurados e interaccionen +con:

+
    +
  • una lista de funciones.
  • +
  • qué funciones deben de ser exportadas/importadas.
  • +
  • qué datos tienen que estar inicialmente en la memoria de los módulos wasm.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_fr.html b/webassembly/02_fr.html new file mode 100644 index 000000000..76db96b38 --- /dev/null +++ b/webassembly/02_fr.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

À l'Intérieur d'un Module

+

Lorsque tu compiles vers du bytecode WebAssembly, le compilateur +crée un fichier .wasm qu'on appele un module.

+

Un module est un format binaire +contenant des informations sur le programme wasm et sur la mémoire qu'il +utilise. Un module contient:

+
    +
  • une liste de fonctions
  • +
  • quelles fonctions doivent être exportées/importées
  • +
  • quelles données doivent se trouver initialement dans la mémoire des modules wasm
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_fr_c.html b/webassembly/02_fr_c.html new file mode 100644 index 000000000..973c914b4 --- /dev/null +++ b/webassembly/02_fr_c.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

À l'Intérieur d'un Module

+

Lorsque tu compiles vers du bytecode WebAssembly, le compilateur +crée un fichier .wasm qu'on appele un module.

+

Un module est un format binaire +contenant des informations sur le programme wasm et sur la mémoire qu'il +utilise. Un module contient:

+
    +
  • une liste de fonctions
  • +
  • quelles fonctions doivent être exportées/importées
  • +
  • quelles données doivent se trouver initialement dans la mémoire des modules wasm
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_ie.html b/webassembly/02_ie.html new file mode 100644 index 000000000..18af2a5b2 --- /dev/null +++ b/webassembly/02_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quo Sta in un Modul

+

Quande on compila a un cible de WebAssembly, li compilator deve crear un archive quel fini se con .wasm nominat un modul.

+

Li modul es in formate binari e plen de information pri qualmen +on mey crear e interacter con un programma wasm program e su memorie:

+
    +
  • un liste de functiones
  • +
  • quel functiones mey esser exportat/importat
  • +
  • quel data mey esser in prim in li memorie del modules wasm
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_ja.html b/webassembly/02_ja.html new file mode 100644 index 000000000..9b154a5a3 --- /dev/null +++ b/webassembly/02_ja.html @@ -0,0 +1,52 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Moduleについて

+

WebAssemblyをターゲットにしてコードをコンパイルすると、.wasmファイルができます。これを、モジュールと呼びます。

+

モジュールは、バイナリ形式で、どのようにプログラムが振る舞うのかのすべての情報が入っています。 +たとえば、これらです。

+
    +
  • 関数のリスト
  • +
  • どの関数がエクスポート、インポートされるか
  • +
  • どんなデータがあらかじめWASMモジュールのメモリに格納されるか
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_pt-br.html b/webassembly/02_pt-br.html new file mode 100644 index 000000000..7e5c1a52a --- /dev/null +++ b/webassembly/02_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Por Dentro de um Módulo

+

Quando você compila para WebAssembly, seu compilador deve criar um arquivo terminado em .wasm chamado de módulo.

+

O módulo é um formato binário com todas as informações para que um programa wasm e a sua memória sejam configurados e interajam com:

+
    +
  • uma lista de funções.
  • +
  • quais funções devem ser exportadas/importadas.
  • +
  • quais dados devem inicialmente estar na memória dos módulos wasm.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/02_ro.html b/webassembly/02_ro.html new file mode 100644 index 000000000..487c9ea41 --- /dev/null +++ b/webassembly/02_ro.html @@ -0,0 +1,52 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

În interiorul unui modul

+

Când compilați pentru WebAssembly, compilatorul ar trebui să creeze un fișier cu extensia .wasm numit modul.

+

Modulul este un format binar plin de informații despre cum un +program wasm și memoria acestuia ar trebui să fie configurate și să interacționeze cu:

+
    +
  • o listă de funcții
  • +
  • ce funcții ar trebui exportate/importate
  • +
  • ce date ar trebui să fie inițial în memoria modulului wasm
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_en.html b/webassembly/03_en.html new file mode 100644 index 000000000..bfc05ad8a --- /dev/null +++ b/webassembly/03_en.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Loading A Module

+

Since a WebAssembly module is just a file of bytes. We first need to load those bytes in our browser.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_en_c.html b/webassembly/03_en_c.html new file mode 100644 index 000000000..918974205 --- /dev/null +++ b/webassembly/03_en_c.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Loading A Module

+

Since a WebAssembly module is just a file of bytes. We first need to load those bytes in our browser.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_es.html b/webassembly/03_es.html new file mode 100644 index 000000000..b195179dc --- /dev/null +++ b/webassembly/03_es.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cargando un Módulo

+

Como un módulo de WebAssembly es apenas un conjunto de bytes, necesitamos primero cargar esos bytes +en nuestro navegador.

+
let file = await fetch('mi_modulo.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_fr.html b/webassembly/03_fr.html new file mode 100644 index 000000000..795003399 --- /dev/null +++ b/webassembly/03_fr.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Charger un Module

+

Puisqu'un module WebAssembly n'est qu'un fichier d'octets (en anglais bytes), +nous devons d'abord charger ces octets dans notre navigateur.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_fr_c.html b/webassembly/03_fr_c.html new file mode 100644 index 000000000..3794d88f7 --- /dev/null +++ b/webassembly/03_fr_c.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Charger un Module

+

Puisqu'un module WebAssembly n'est qu'un fichier d'octets (en anglais bytes), +nous devons d'abord charger ces octets dans notre navigateur.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_ie.html b/webassembly/03_ie.html new file mode 100644 index 000000000..9366dd8ed --- /dev/null +++ b/webassembly/03_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cargar un Modul

+

Nam un modul WebAssembly es solmen un archive de bytes, noi va in prim cargar ti-ci bytes in nor navigator

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_ja.html b/webassembly/03_ja.html new file mode 100644 index 000000000..e72fb388f --- /dev/null +++ b/webassembly/03_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

モジュールのロード

+

WebAssemblyのモジュールはただのバイト列です。まずはそれをブラウザで読み込む必要があります。

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_pt-br.html b/webassembly/03_pt-br.html new file mode 100644 index 000000000..66fb26799 --- /dev/null +++ b/webassembly/03_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Carregando um Módulo

+

Como um módulo de WebAssembly é apenas um arquivo de bytes, precisamos primeiro carregar esses bytes em nosso navegador.

+

let file = await fetch('meu_arquivo.wasm'); +let bytes = await file.arrayBuffer();

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/03_ro.html b/webassembly/03_ro.html new file mode 100644 index 000000000..0301f149f --- /dev/null +++ b/webassembly/03_ro.html @@ -0,0 +1,48 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Încărcarea unui modul

+

Deoarece un modul WebAssembly este doar un fișier de octeți, mai întâi trebuie să încărcăm acei octeți în browser.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_en.html b/webassembly/04_en.html new file mode 100644 index 000000000..0b562a10f --- /dev/null +++ b/webassembly/04_en.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating a Module

+

Modules are created from bytes.

+
let module = await WebAssembly.instantiate(bytes);
+
+

During this phase we can import JavaScript functions we want our module to have access to. +We'll show an example of this next chapter.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_en_c.html b/webassembly/04_en_c.html new file mode 100644 index 000000000..4fbb10391 --- /dev/null +++ b/webassembly/04_en_c.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating a Module

+

Modules are created from bytes.

+
let module = await WebAssembly.instantiate(bytes);
+
+

During this phase we can import JavaScript functions we want our module to have access to. +We'll show an example of this next chapter.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_es.html b/webassembly/04_es.html new file mode 100644 index 000000000..9bfe8e0bb --- /dev/null +++ b/webassembly/04_es.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Creating a Module

+

Modules are created from bytes.

+
let module = await WebAssembly.instantiate(bytes);
+
+

During this phase we can import JavaScript functions we want our module to have access to. +We'll show an example of this next chapter.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_fr.html b/webassembly/04_fr.html new file mode 100644 index 000000000..b532583ce --- /dev/null +++ b/webassembly/04_fr.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Créer d'un Module

+

Les modules sont créés à partir d'octets.

+
let module = await WebAssembly.instantiate(bytes);
+
+

Au cours de cette phase, nous pouvons également définir les fonctions à +importer et qui seront utilisées par notre module. Ne t'inquiète pas +si ce n'est pas clair, nous verrons un exemple d'import de fonction par +la suite.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_fr_c.html b/webassembly/04_fr_c.html new file mode 100644 index 000000000..8af30b123 --- /dev/null +++ b/webassembly/04_fr_c.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Créer d'un Module

+

Les modules sont créés à partir d'octets.

+
let module = await WebAssembly.instantiate(bytes);
+
+

Au cours de cette phase, nous pouvons également définir les fonctions à +importer et qui seront utilisées par notre module. Ne t'inquiète pas +si ce n'est pas clair, nous verrons un exemple d'import de fonction par +la suite.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_ie.html b/webassembly/04_ie.html new file mode 100644 index 000000000..f99d7418a --- /dev/null +++ b/webassembly/04_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crear un Modul

+

Modules es creat de bytes.

+
let module = await WebAssembly.instantiate(bytes);
+
+

Durant ti-ci fase noi posse importar li functiones de JavaScript a quel noi vole que nor modul mey posser accesser. +Noi va dar un exemple de to in li capitul a sequer.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_ja.html b/webassembly/04_ja.html new file mode 100644 index 000000000..52af169f5 --- /dev/null +++ b/webassembly/04_ja.html @@ -0,0 +1,49 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

モジュールの作成

+

モジュールはバイト列から作成されます。

+
let module = await WebAssembly.instantiate(bytes);
+
+

このとき、JavaScriptの関数などをモジュールがアクセスできるようにimportして渡すこともできます。 +次の章で紹介します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_pt-br.html b/webassembly/04_pt-br.html new file mode 100644 index 000000000..7bd4d6655 --- /dev/null +++ b/webassembly/04_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Criando um Módulo

+

Módulos são criados a partir de bytes.

+

let module = await WebAssembly.instantiate(bytes);

+

Durante esta fase podemos importar funções JavaScript que desejamos que nosso módulo tenha acesso. Mostraremos um exemplo no próximo capítulo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/04_ro.html b/webassembly/04_ro.html new file mode 100644 index 000000000..8592a0a90 --- /dev/null +++ b/webassembly/04_ro.html @@ -0,0 +1,49 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crearea unui modul

+

Modulele sunt create din octeți.

+
let module = await WebAssembly.instantiate(bytes);
+
+

În această fază, putem importa funcții JavaScript la care dorim ca modulul nostru să aibă acces. +Vă vom oferi un exemplu în următorul capitol.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_en.html b/webassembly/05_en.html new file mode 100644 index 000000000..15788a136 --- /dev/null +++ b/webassembly/05_en.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Using a Module

+

A module will have one or more export functions that are accessible to JavaScript. Typically +there is some export function to call in order to start a wasm program (e.g. main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_en_c.html b/webassembly/05_en_c.html new file mode 100644 index 000000000..01b5d0f8b --- /dev/null +++ b/webassembly/05_en_c.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Using a Module

+

A module will have one or more export functions that are accessible to JavaScript. Typically +there is some export function to call in order to start a wasm program (e.g. main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_es.html b/webassembly/05_es.html new file mode 100644 index 000000000..498750492 --- /dev/null +++ b/webassembly/05_es.html @@ -0,0 +1,48 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Using a Module

+

A module will have one or more export functions that are accessible to JavaScript. Typically +there is some export function to call in order to start a wasm program (e.g. main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_fr.html b/webassembly/05_fr.html new file mode 100644 index 000000000..fbabb1a89 --- /dev/null +++ b/webassembly/05_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Utiliser un Module

+

Un module peut exporter une ou plusieurs fonctions qui +seront utilisables par le code JavaScript. Typiquement +il existe une fonction à appeler pour démarrer +un programme wasm (par exemple main,start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_fr_c.html b/webassembly/05_fr_c.html new file mode 100644 index 000000000..39645ca7e --- /dev/null +++ b/webassembly/05_fr_c.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Utiliser un Module

+

Un module peut exporter une ou plusieurs fonctions qui +seront utilisables par le code JavaScript. Typiquement +il existe une fonction à appeler pour démarrer +un programme wasm (par exemple main,start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_ie.html b/webassembly/05_ie.html new file mode 100644 index 000000000..3e74b31d0 --- /dev/null +++ b/webassembly/05_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Usar un Modul

+

Un modul va haver un o pluri functiones export queles es accessibil a JavaScript. Tipicmen +hay alquel function de export a vocar por comensar un programma de wasm (p.ex. main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_ja.html b/webassembly/05_ja.html new file mode 100644 index 000000000..d42874d87 --- /dev/null +++ b/webassembly/05_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

モジュールを使用する

+

モジュールには、JavaScriptからアクセスできる1つ以上のexportされた関数があるはずです。 +多くの場合、WASMプログラムを起動するための関数があると思います。(例えばmain, startなど)

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_pt-br.html b/webassembly/05_pt-br.html new file mode 100644 index 000000000..62b4c58ac --- /dev/null +++ b/webassembly/05_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Usando um Módulo

+

Um módulo tem uma ou mais funções exportadas que estarão acessíveis ao JavaScript.

+

Tipicamente há uma função exportada que será chamada para iniciar um programa wasm (por exemplo: main, start).

+

module.instance.main();

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/05_ro.html b/webassembly/05_ro.html new file mode 100644 index 000000000..3e5790a77 --- /dev/null +++ b/webassembly/05_ro.html @@ -0,0 +1,48 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Utilizarea unui modul

+

Un modul WebAssembly va avea una sau mai multe funcții export care sunt accesibile JavaScript-ului. De obicei +există o funcție export care poate fi apelată pentru a începe un program wasm (de exemplu main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/06_en.html b/webassembly/06_en.html new file mode 100644 index 000000000..e5c494ec0 --- /dev/null +++ b/webassembly/06_en.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Let's put our knowledge all together and make a WebAssembly +module with a single export function add for adding two numbers, and put the +results in HTML.

+

#[no_mangle] tells our compiler to keep our function name human readable.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/06_en_c.html b/webassembly/06_en_c.html new file mode 100644 index 000000000..fa134b91a --- /dev/null +++ b/webassembly/06_en_c.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Let's put our knowledge all together and make a WebAssembly +module with a single export function add for adding two numbers, and put the +results in HTML.

+

__attribute__((visibility("default"))) tells our compiler to keep our function name human readable to JavaScript.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/06_es.html b/webassembly/06_es.html new file mode 100644 index 000000000..dfed0d5e0 --- /dev/null +++ b/webassembly/06_es.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] 1+1

+

Let's put our knowledge all together and make a WebAssembly +module with a single export function add for adding two numbers, and put the +results in HTML.

+

#[no_mangle] tells our compiler to keep our function name human readable.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/06_fr.html b/webassembly/06_fr.html new file mode 100644 index 000000000..955188376 --- /dev/null +++ b/webassembly/06_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Nous en savons suffisamment pour écrire notre premier module WebAssembly: +l'addition de deux nombre! Le résultat sera affiché dans l'html.

+

#[no_mangle] est un attribut disant au compilateur de conserver +le nom de la fonction pour qu'on puisse l'appeler depuis le JavaScript.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/06_fr_c.html b/webassembly/06_fr_c.html new file mode 100644 index 000000000..5e8da9eb4 --- /dev/null +++ b/webassembly/06_fr_c.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Nous en savons suffisamment pour écrire notre premier module WebAssembly: +l'addition de deux nombre! Le résultat sera affiché dans l'html.

+

__attribute __ ((visibility ("default"))) est une directive disant au compilateur +de conserver le nom de la fonction pour qu'on puisse l'appeler depuis le JavaScript.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/06_ie.html b/webassembly/06_ie.html new file mode 100644 index 000000000..f5dfbebdd --- /dev/null +++ b/webassembly/06_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Lass nos combinar nor conossenties por crear un module de WebAssembly +con un sol export-function nominat add por addir du ciffres, e plazzar li +resultates in HTML.

+

Con #[no_mangle] noi instructe li compilator mantener li nómine de nor function leibil por entes homan.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/06_ja.html b/webassembly/06_ja.html new file mode 100644 index 000000000..42a5681f3 --- /dev/null +++ b/webassembly/06_ja.html @@ -0,0 +1,49 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

今までに覚えたことを使って、WebAssemblyのモジュールを作ってみましょう。 +2つの数値を足し合わせてHTMLに表示するだけの関数をexportしてみます。

+

#[no_mangle] を付与することで、コンパイラーに関数名を難読化しないよう伝えます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/06_pt-br.html b/webassembly/06_pt-br.html new file mode 100644 index 000000000..dc5fa72b3 --- /dev/null +++ b/webassembly/06_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Vamos juntar nossos conhecimentos e criar um módulo WebAssembly com uma única função add exportada para somar dois números e colocar o resultado em HTML.

+

#[no_mangle] diz ao nosso compilador para manter o nome da nossa função legível para seres humanos.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/06_ro.html b/webassembly/06_ro.html new file mode 100644 index 000000000..7bb817136 --- /dev/null +++ b/webassembly/06_ro.html @@ -0,0 +1,50 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Haideți să punem cunoștințele noastre laolaltă și să facem un modul +WebAssembly cu o singură funcție export add, care să adune două numere +și să punem rezultatul acesteia în HTML.

+

#[no_mangle] spune compilatorului nostru să păstreze numele funcției într-un format inteligibil pentru oameni ("human readable").

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/07_en.html b/webassembly/07_en.html new file mode 100644 index 000000000..62c54d191 --- /dev/null +++ b/webassembly/07_en.html @@ -0,0 +1,46 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 Conclusion

+

I hope it's clear that WebAssembly is not that complex fundamentally! In our next chapter we will +start looking into the details of how JavaScript and WebAssembly can talk about the same data.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/07_en_c.html b/webassembly/07_en_c.html new file mode 100644 index 000000000..82cffcfaa --- /dev/null +++ b/webassembly/07_en_c.html @@ -0,0 +1,46 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 Conclusion

+

I hope it's clear that WebAssembly is not that complex fundamentally! In our next chapter we will +start looking into the details of how JavaScript and WebAssembly can talk about the same data.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/07_es.html b/webassembly/07_es.html new file mode 100644 index 000000000..f1e89ee44 --- /dev/null +++ b/webassembly/07_es.html @@ -0,0 +1,46 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 1 Conclusion

+

I hope it's clear that WebAssembly is not that complex fundamentally! In our next chapter we will +start looking into the details of how JavaScript and WebAssembly can talk about the same data.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/07_fr.html b/webassembly/07_fr.html new file mode 100644 index 000000000..5325fd0ee --- /dev/null +++ b/webassembly/07_fr.html @@ -0,0 +1,48 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Conclusion

+

J'espère t'avoir convaincu que, fondamentalement, WebAssembly +n'est pas si compliqué que ça! Dans notre prochain chapitre, nous allons +commencer à examiner en détail comment JavaScript et WebAssembly peuvent +échanger des données.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/07_fr_c.html b/webassembly/07_fr_c.html new file mode 100644 index 000000000..7baeb9038 --- /dev/null +++ b/webassembly/07_fr_c.html @@ -0,0 +1,48 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Conclusion

+

J'espère t'avoir convaincu que, fondamentalement, WebAssembly +n'est pas si compliqué que ça! Dans notre prochain chapitre, nous allons +commencer à examiner en détail comment JavaScript et WebAssembly peuvent +échanger des données.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/07_ie.html b/webassembly/07_ie.html new file mode 100644 index 000000000..8e6b8f8c9 --- /dev/null +++ b/webassembly/07_ie.html @@ -0,0 +1,46 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 1 Conclusion

+

I hope it's clear that WebAssembly is not that complex fundamentally! In our next chapter we will +start looking into the details of how JavaScript and WebAssembly can talk about the same data.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/07_ja.html b/webassembly/07_ja.html new file mode 100644 index 000000000..258261849 --- /dev/null +++ b/webassembly/07_ja.html @@ -0,0 +1,46 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1章のまとめ

+

WebAssemblyが基本的には複雑なものではないということが伝わったでしょう! +次の章では、JavaScriptとWebAssemblyが互いにデータをやり取りする部分を見ていきます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/07_pt-br.html b/webassembly/07_pt-br.html new file mode 100644 index 000000000..ef199c331 --- /dev/null +++ b/webassembly/07_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Conclusão

+

Espero que fique claro que o WebAssembly não é tão complexo fundamentalmente! No próximo capítulo começaremos a examinar os detalhes de como o JavaScript e p WebAssembly podem falar dos mesmos dados.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/07_ro.html b/webassembly/07_ro.html new file mode 100644 index 000000000..7aa7dfd72 --- /dev/null +++ b/webassembly/07_ro.html @@ -0,0 +1,46 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Concluzia capitolului 1

+

Sperăm că este clar că WebAssembly nu este chiar atât de complex la bază! În următorul capitol vom +începe să ne uităm în detaliu la modul cum JavaScript și WebAssembly pot comunica despre aceleași date.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/09_en.html b/webassembly/09_en.html new file mode 100644 index 000000000..a832f2471 --- /dev/null +++ b/webassembly/09_en.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Importing Functions

+

WebAssembly modules can only call functions that have been explicitly imported.

+

Rust uses extern "C" { ... } to list the function signatures of those imported functions.

+

Notice that calling an imported function is considered unsafe in Rust because the compiler +can make no guarantees about what happens within it's implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/09_en_c.html b/webassembly/09_en_c.html new file mode 100644 index 000000000..1afe79a1a --- /dev/null +++ b/webassembly/09_en_c.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Importing Functions

+

WebAssembly modules can only call functions that have been explicitly imported.

+

C uses the extern keyword to define signatures of the imported functions.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/09_es.html b/webassembly/09_es.html new file mode 100644 index 000000000..540963740 --- /dev/null +++ b/webassembly/09_es.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Importing Functions

+

WebAssembly modules can only call functions that have been explicitly imported.

+

Rust uses extern "C" { ... } to list the function signatures of those imported functions.

+

Notice that calling an imported function is considered unsafe in Rust because the compiler +can make no guarantees about what happens within it's implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/09_fr.html b/webassembly/09_fr.html new file mode 100644 index 000000000..d426718e0 --- /dev/null +++ b/webassembly/09_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Import de Fonctions

+

Les modules WebAssembly ne peuvent appeler que des fonctions JavaScript qui ont été explicitement importées.

+

Rust utilise extern" C "{...} pour répertorier les signatures des fonctions importées.

+

Note que l'appel d'une fonction importée est considéré comme unsafe (dangereux) par Rust car le compilateur +ne peut faire aucune garantie sur ce qui se passe dans son implémentation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/09_fr_c.html b/webassembly/09_fr_c.html new file mode 100644 index 000000000..7660ad6a4 --- /dev/null +++ b/webassembly/09_fr_c.html @@ -0,0 +1,48 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Import de Fonctions

+

Les modules WebAssembly ne peuvent appeler que des fonctions JavaScript qui ont été explicitement importées.

+

C utilise le mot-clé extern pour définir les signatures des fonctions importées.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/09_ie.html b/webassembly/09_ie.html new file mode 100644 index 000000000..64d531362 --- /dev/null +++ b/webassembly/09_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Importing Functions

+

WebAssembly modules can only call functions that have been explicitly imported.

+

Rust uses extern "C" { ... } to list the function signatures of those imported functions.

+

Notice that calling an imported function is considered unsafe in Rust because the compiler +can make no guarantees about what happens within it's implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/09_ja.html b/webassembly/09_ja.html new file mode 100644 index 000000000..1e542701f --- /dev/null +++ b/webassembly/09_ja.html @@ -0,0 +1,49 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数のインポート

+

WebAssemblyのモジュールでは、明示的にインポートされた関数しか呼ぶことができません。

+

Rustのコードでは、extern "C" { ... }と記述することで、インポートしている関数を列挙できます。

+

インポートされた関数について、Rustコンパイラはその実装を知らないため、動作保証ができません。 そのため、unsafeなものとして扱われることに注意してください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/09_pt-br.html b/webassembly/09_pt-br.html new file mode 100644 index 000000000..e877fbb76 --- /dev/null +++ b/webassembly/09_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Importando Funções

+

Os módulos WebAssembly podem chamar apenas funçõesque foram importadas explicitamente.

+

O Rust usa extern "C" { ... } para listar as assinaturas dessas funções importadas.

+

Observe que chamar uma função importada é considerado não seguro no Rust porque o compilador não pode dar garantias sobre o que acontece dentro da sua implementação.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/09_ro.html b/webassembly/09_ro.html new file mode 100644 index 000000000..22ee74d8d --- /dev/null +++ b/webassembly/09_ro.html @@ -0,0 +1,50 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Importarea funcțiilor

+

Modulele WebAssembly pot apela doar funcții care au fost importate explicit.

+

Rust folosește extern "C" { ... } pentru a înșirui semnăturile funcțiilor importate.

+

Observați că apelarea unei funcții importate este considerată nesigură (unsafe) în Rust deoarece compilatorul +nu poate garanta ce se întâmplă în implementarea sa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/10_en.html b/webassembly/10_en.html new file mode 100644 index 000000000..3d29c1bad --- /dev/null +++ b/webassembly/10_en.html @@ -0,0 +1,51 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitations of Functions

+

Parameter and return types of functions are limited to:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

So in order to communicate between JavaScript and WebAssembly we will have to get clever with the meaning of numbers!

+

Rust is fairly good at converting it's primitive types to WebAssembly's numerical equivalents.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/10_en_c.html b/webassembly/10_en_c.html new file mode 100644 index 000000000..e8759c202 --- /dev/null +++ b/webassembly/10_en_c.html @@ -0,0 +1,51 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitations of Functions

+

Parameter and return types of functions are limited to:

+
    +
  • int/long
  • +
  • float/double
  • +
+

So in order to communicate between JavaScript and WebAssembly we will have to get clever with the meaning of numbers!

+

C is fairly good at converting it's primitive types to WebAssembly's numerical equivalents.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/10_es.html b/webassembly/10_es.html new file mode 100644 index 000000000..a2ebceabf --- /dev/null +++ b/webassembly/10_es.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Limitations of Functions

+

Parameter and return types of functions are limited to:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

So in order to communicate between JavaScript and WebAssembly we will have to get clever with the meaning of numbers!

+

Rust is fairly good at converting it's primitive types to WebAssembly's numerical equivalents.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/10_fr.html b/webassembly/10_fr.html new file mode 100644 index 000000000..eb21b36b4 --- /dev/null +++ b/webassembly/10_fr.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitations des Fonctions

+

Les types des paramètres et retours d'une fonction sont limités à:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

Donc, pour communiquer entre JavaScript et WebAssembly, nous devrons ruser sur les types à utiliser!

+

Rust permet facilement de convertir ces types primitifs en équivalents numériques de WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/10_fr_c.html b/webassembly/10_fr_c.html new file mode 100644 index 000000000..9f97a4689 --- /dev/null +++ b/webassembly/10_fr_c.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitations des Fonctions

+

Les types de paramètres et de fonctions de retour sont limités à:

+
    +
  • int/long
  • +
  • float/double
  • +
+

Donc, pour communiquer entre JavaScript et WebAssembly, nous devrons ruser sur les types à utiliser!

+

C permet facilement de convertir ces types primitifs en équivalents numériques de WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/10_ie.html b/webassembly/10_ie.html new file mode 100644 index 000000000..e8ae2bb25 --- /dev/null +++ b/webassembly/10_ie.html @@ -0,0 +1,51 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Limitations of Functions

+

Parameter and return types of functions are limited to:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

So in order to communicate between JavaScript and WebAssembly we will have to get clever with the meaning of numbers!

+

Rust is fairly good at converting it's primitive types to WebAssembly's numerical equivalents.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/10_ja.html b/webassembly/10_ja.html new file mode 100644 index 000000000..93bb5e8a6 --- /dev/null +++ b/webassembly/10_ja.html @@ -0,0 +1,51 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数の制限

+

関数から返すことのできる値は、次のものに限られます。

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

そのため、JavaScriptとWebAssembly間のデータのやり取りのためには、数値の意味についてより深く知らねばなりません。

+

Rustでプリミティブな数値型を返すと、それはうまくWebAssemblyの数値表現に変換されます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/10_pt-br.html b/webassembly/10_pt-br.html new file mode 100644 index 000000000..d674bffcb --- /dev/null +++ b/webassembly/10_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitações das Funções

+

Os parâmetros e tipos retornados pelas funções são limitados a:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

Portanto, para se comunicar entre JavaScript e WebAssembly, teremos que ficar espertos com o significado dos números!

+

Rust e C são bastante bons em converter seus tipos primitivos nos equivalentes numéricos do WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/10_ro.html b/webassembly/10_ro.html new file mode 100644 index 000000000..ca4cada07 --- /dev/null +++ b/webassembly/10_ro.html @@ -0,0 +1,51 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitările funcțiilor

+

Tipurile de parametri, respectiv cele de returnare ale funcțiilor sunt limitate la:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

Așadar, pentru a comunica între JavaScript și WebAssembly, va trebui să găsim un artificiu inteligent pentru semnificația numerelor!

+

Rust este destul de bun la convertirea tipurilor sale primitive în echivalentele numerice ale WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_en.html b/webassembly/11_en.html new file mode 100644 index 000000000..9fa617a43 --- /dev/null +++ b/webassembly/11_en.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting Memory

+

WebAssembly programs export their memory as a long array of bytes (up to 4GB!).

+

The host can interpret from these bytes the data structures created by the program's code.

+

Arrays of bytes can also be written directly into a program's memory from the host.

+

Writing/reading bytes to/from a WebAssembly programs memory is +the primary means of input and output of non-primitive types.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_en_c.html b/webassembly/11_en_c.html new file mode 100644 index 000000000..03fde7908 --- /dev/null +++ b/webassembly/11_en_c.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting Memory

+

WebAssembly programs export their memory as a long array of bytes (up to 4GB!).

+

The host can interpret from these bytes the data structures created by the program's code.

+

Arrays of bytes can also be written directly into a program's memory from the host.

+

Writing/reading bytes to/from a WebAssembly programs memory is +the primary means of input and output of non-primitive types.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_es.html b/webassembly/11_es.html new file mode 100644 index 000000000..e54604a17 --- /dev/null +++ b/webassembly/11_es.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Exporting Memory

+

WebAssembly programs export their memory as a long array of bytes (up to 4GB!).

+

The host can interpret from these bytes the data structures created by the program's code.

+

Arrays of bytes can also be written directly into a program's memory from the host.

+

Writing/reading bytes to/from a WebAssembly programs memory is +the primary means of input and output of non-primitive types.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_fr.html b/webassembly/11_fr.html new file mode 100644 index 000000000..dbf7c29ad --- /dev/null +++ b/webassembly/11_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportation de la Mémoire

+

Les programmes WebAssembly exportent leur mémoire sous forme d'un long tableau d'octets (jusqu'à 4 Go!).

+

L'environnement hôte peut interpréter à partir de ces octets les structures de données créées par le code du programme.

+

Des tableaux d'octets peuvent également être écrits directement dans la mémoire d'un programme par +l'environnement hôte.

+

L' écriture et la lecture d'octets vers (ou depuis) la mémoire d'un programme WebAssembly sont +les principaux moyens d'entrée et de sortie des types non primitifs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_fr_c.html b/webassembly/11_fr_c.html new file mode 100644 index 000000000..4a5e1ac58 --- /dev/null +++ b/webassembly/11_fr_c.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportation de la Mémoire

+

Les programmes WebAssembly exportent leur mémoire sous forme d'un long tableau d'octets (jusqu'à 4 Go!).

+

L'environnement hôte peut interpréter à partir de ces octets les structures de données créées par le code du programme.

+

Des tableaux d'octets peuvent également être écrits directement dans la mémoire d'un programme par +l'environnement hôte.

+

L' écriture et la lecture d'octets vers (ou depuis) la mémoire d'un programme WebAssembly sont +les principaux moyens d'entrée et de sortie des types non primitifs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_ie.html b/webassembly/11_ie.html new file mode 100644 index 000000000..cb1bd5040 --- /dev/null +++ b/webassembly/11_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Exporting Memory

+

WebAssembly programs export their memory as a long array of bytes (up to 4GB!).

+

The host can interpret from these bytes the data structures created by the program's code.

+

Arrays of bytes can also be written directly into a program's memory from the host.

+

Writing/reading bytes to/from a WebAssembly programs memory is +the primary means of input and output of non-primitive types.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_ja.html b/webassembly/11_ja.html new file mode 100644 index 000000000..4b85e7947 --- /dev/null +++ b/webassembly/11_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メモリのエクスポート

+

WebAssemblyのプログラムは、メモリ領域を最大4GBまでのバイト列としてエクスポートできます。

+

そしてホスト側で、そのデータ構造を解釈することができます。 +また、このバイト列は、ホスト側からも直接書き込むこともできます。

+

WebAssemblyのメモリから読み込む、または書き込むことが、プリミティブではない値のやりとりのための手段というわけです。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_pt-br.html b/webassembly/11_pt-br.html new file mode 100644 index 000000000..6b59b40ac --- /dev/null +++ b/webassembly/11_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportando Memória

+

Os programas WebAssembly exportam sua memória como uma longa matriz de bytes (até 4 GB!).

+

O host pode interpretar a partir desses bytes as estruturas de dados criadas pelo código do programa.

+

Matrizes de bytes também podem ser gravadas diretamente na memória de um programa a partir do host e vice-versa.

+

Ler e gravar bytes na memória de programas do WebAssembly é o principal meio de entrada e saída de tipos não primitivos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/11_ro.html b/webassembly/11_ro.html new file mode 100644 index 000000000..abd388a77 --- /dev/null +++ b/webassembly/11_ro.html @@ -0,0 +1,49 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportarea memoriei

+

Programele WebAssembly își exportă memoria ca un șir lung de octeți (până la 4GB!).

+

Gazda poate interpreta din acești octeți structurile de date create de codul programului.

+

Șirurile de octeți pot fi, de asemenea, scrise direct în memoria unui program din gazdă.

+

Scrierea/citirea octeților în/din memoria unui program WebAssembly este +principalul mijloc de intrare și ieșire a tipurilor de date non-primitive.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_en.html b/webassembly/12_en.html new file mode 100644 index 000000000..f34b2065f --- /dev/null +++ b/webassembly/12_en.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript represents a long array of bytes as an ArrayBuffer

+

You can get a typed view of this buffer that is very efficient to +interact with.

+
// create an array of 8 bytes
+let bytes = new ArrayBuffer(8);
+// view those 8 bytes as 8-bit unsigned integers
+let u8_bytes = new Uint8Array(bytes);
+// modify the array buffer
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1;  // 00000001
+// re-interpret the u8_bytes's array buffer as 
+// little endian 32-bit signed integers
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]); 
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_en_c.html b/webassembly/12_en_c.html new file mode 100644 index 000000000..2d13aef02 --- /dev/null +++ b/webassembly/12_en_c.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript represents a long array of bytes as an ArrayBuffer

+

You can get a typed view of this buffer that is very efficient to +interact with.

+
// create an array of 8 bytes
+let bytes = new ArrayBuffer(8);
+// view those 8 bytes as 8-bit unsigned integers
+let u8_bytes = new Uint8Array(bytes);
+// modify the array buffer
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1;  // 00000001
+// re-interpret the u8_bytes's array buffer as 
+// little endian 32-bit signed integers
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]); 
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_es.html b/webassembly/12_es.html new file mode 100644 index 000000000..028fcc638 --- /dev/null +++ b/webassembly/12_es.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] ArrayBuffer

+

JavaScript represents a long array of bytes as an ArrayBuffer

+

You can get a typed view of this buffer that is very efficient to +interact with.

+
// create an array of 8 bytes
+let bytes = new ArrayBuffer(8);
+// view those 8 bytes as 8-bit unsigned integers
+let u8_bytes = new Uint8Array(bytes);
+// modify the array buffer
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1;  // 00000001
+// re-interpret the u8_bytes's array buffer as 
+// little endian 32-bit signed integers
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]); 
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_fr.html b/webassembly/12_fr.html new file mode 100644 index 000000000..826363946 --- /dev/null +++ b/webassembly/12_fr.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript représente le long tableau d'octets avec un ArrayBuffer.

+

Vous pouvez obtenir une vue typée de ce buffer avec laquelle on peut +intéragir efficacement.

+

`JavaScript +// Crée un tableau de 8 octets. +let bytes = new ArrayBuffer(8); +// Affiche ces 8 octets comme des entiers non signés 8 bits. +let u8bytes = new Uint8Array(bytes); +// Modification du tableau d'octets. +u8bytes[0] = 16; // 00010000 +u8bytes[1] = 1; // 00000001 +// Réinterprète les bytes u8bytes de l'ArrayBuffer comme +// des entiers signés 32 bits petits-boutiste (little endian). +let i32bytes = new Int32Array(u8bytes.buffer); +console.log(i32_bytes[0]); +/// 272 ou 00010000000000010000000000000000 +```

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_fr_c.html b/webassembly/12_fr_c.html new file mode 100644 index 000000000..e053cb20a --- /dev/null +++ b/webassembly/12_fr_c.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript représente le long tableau d'octets avec un ArrayBuffer.

+

Vous pouvez obtenir une vue typée de ce buffer avec laquelle on peut +intéragir efficacement.

+

`JavaScript +// Crée un tableau de 8 octets. +let bytes = new ArrayBuffer(8); +// Affiche ces 8 octets comme des entiers non signés 8 bits. +let u8bytes = new Uint8Array(bytes); +// Modification du tableau d'octets. +u8bytes[0] = 16; // 00010000 +u8bytes[1] = 1; // 00000001 +// Réinterprète les bytes u8bytes de l'ArrayBuffer comme +// des entiers signés 32 bits petits-boutiste (little endian). +let i32bytes = new Int32Array(u8bytes.buffer); +console.log(i32_bytes[0]); +/// 272 ou 00010000000000010000000000000000 +```

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_ie.html b/webassembly/12_ie.html new file mode 100644 index 000000000..9cda8d59e --- /dev/null +++ b/webassembly/12_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] ArrayBuffer

+

JavaScript represents a long array of bytes as an ArrayBuffer

+

You can get a typed view of this buffer that is very efficient to +interact with.

+
// create an array of 8 bytes
+let bytes = new ArrayBuffer(8);
+// view those 8 bytes as 8-bit unsigned integers
+let u8_bytes = new Uint8Array(bytes);
+// modify the array buffer
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1;  // 00000001
+// re-interpret the u8_bytes's array buffer as 
+// little endian 32-bit signed integers
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]); 
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_ja.html b/webassembly/12_ja.html new file mode 100644 index 000000000..0106be5d0 --- /dev/null +++ b/webassembly/12_ja.html @@ -0,0 +1,60 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScrtipでは、バイト列をArrayBufferとして表現します。

+

そこから任意の型のビューを取得して、操作することができます。

+
// 8バイトの領域を初期化
+let bytes = new ArrayBuffer(8);
+
+// 8ビット符号なし整数としてビューを取得
+let u8_bytes = new Uint8Array(bytes);
+// ArrayBufferを操作
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1;  // 00000001
+
+// 32ビット符号あり整数のビューとして改めて変換
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]);
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_pt-br.html b/webassembly/12_pt-br.html new file mode 100644 index 000000000..ee68ceea2 --- /dev/null +++ b/webassembly/12_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript representa uma longa matriz de bytes como um ArrayBuffer.

+

Você pode obter uma visualização tipada desse buffer de uma maneira muito eficiente para interagir. +JavaScript // cria uma matriz de 8 bytes let bytes = new ArrayBuffer(8); // exibe estes 8 bytes como inteiros sem sinal de 8-bit let u8_bytes = new Uint8Array(bytes); // modifica o buffer da matriz u8_bytes[0] = 16; // 00010000 u8_bytes[1] = 1; // 00000001 // reinterpreta o buffer da matriz de u8_bytes como // 32-bit little endian inteiros com sinal let i32_bytes = new Int32Array(u8_bytes.buffer); console.log(i32_bytes[0]); ///272 or 00010000000000010000000000000000

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/12_ro.html b/webassembly/12_ro.html new file mode 100644 index 000000000..9a76ffbfb --- /dev/null +++ b/webassembly/12_ro.html @@ -0,0 +1,62 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript reprezintă un șir lung de octeți ca un ArrayBuffer.

+

Puteți obține o vedere tipizată a acestui buffer care este foarte eficientă +pentru a interacționa cu el.

+
// creează un șir de 8 octeți
+let bytes = new ArrayBuffer(8);
+// vezi acei 8 octeți ca numere întregi fără semn
+// pe 8 biți
+let u8_bytes = new Uint8Array(bytes);
+// modifică array buffer-ul
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1; // 00000001
+// reinterpretează array buffer-ul u8_bytes ca
+// numere întregi cu semn, pe 32 de biți
+// în reprezentare "little endian"
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]); 
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_en.html b/webassembly/13_en.html new file mode 100644 index 000000000..c39a9cec1 --- /dev/null +++ b/webassembly/13_en.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8 Encoding/Decoding

+

JavaScript provides utility functions for writing/reading UTF-8 strings to/from +bytes inside of ArrayBuffer objects.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// sub array takes start and end index
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_en_c.html b/webassembly/13_en_c.html new file mode 100644 index 000000000..9fac00eb3 --- /dev/null +++ b/webassembly/13_en_c.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8 Encoding/Decoding

+

JavaScript provides utility functions for writing/reading UTF-8 strings to/from +bytes inside of ArrayBuffer objects.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// sub array takes start and end index
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_es.html b/webassembly/13_es.html new file mode 100644 index 000000000..6be8b8b66 --- /dev/null +++ b/webassembly/13_es.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] UTF-8 Encoding/Decoding

+

JavaScript provides utility functions for writing/reading UTF-8 strings to/from +bytes inside of ArrayBuffer objects.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// sub array takes start and end index
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_fr.html b/webassembly/13_fr.html new file mode 100644 index 000000000..0b985787a --- /dev/null +++ b/webassembly/13_fr.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encodage/Décodage UTF-8

+

JavaScript fournit des fonctions utilitaires pour écrire/lire des chaînes UTF-8 vers/depuis +les octets à l'intérieur des objets ArrayBuffer.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 83; // S
+data[1] = 65; // A
+data[2] = 76; // L
+data[3] = 85; // U
+data[4] = 84; // T
+data[5] = 33; // !
+let str_len = 6;
+const utf8dec = new TextDecoder("utf-8");
+// Le 'sous-tableau' (en anglais subarray) prend l'index de début et de fin.
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Salut!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(6) [ 83, 65, 76, 85, 84, 33 ]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_fr_c.html b/webassembly/13_fr_c.html new file mode 100644 index 000000000..1c7792b20 --- /dev/null +++ b/webassembly/13_fr_c.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encodage/Décodage UTF-8

+

JavaScript fournit des fonctions utilitaires pour écrire/lire des chaînes UTF-8 vers/depuis +les octets à l'intérieur des objets ArrayBuffer.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 83; // S
+data[1] = 65; // A
+data[2] = 76; // L
+data[3] = 85; // U
+data[4] = 84; // T
+data[5] = 33; // !
+let str_len = 6;
+const utf8dec = new TextDecoder("utf-8");
+// Le 'sous-tableau' (en anglais subarray) prend l'index de début et de fin.
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Salut!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(6) [ 83, 65, 76, 85, 84, 33 ]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_ie.html b/webassembly/13_ie.html new file mode 100644 index 000000000..03f7fdd37 --- /dev/null +++ b/webassembly/13_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] UTF-8 Encoding/Decoding

+

JavaScript provides utility functions for writing/reading UTF-8 strings to/from +bytes inside of ArrayBuffer objects.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// sub array takes start and end index
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_ja.html b/webassembly/13_ja.html new file mode 100644 index 000000000..bb4364c17 --- /dev/null +++ b/webassembly/13_ja.html @@ -0,0 +1,60 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8エンコード/デコード

+

JavaScriptには、UTF-8の文字列を、ArrayBuffer内に書き込む、読み出すための便利な関数があります。

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// subarrayはその範囲をインデックス指定する
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes)
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_pt-br.html b/webassembly/13_pt-br.html new file mode 100644 index 000000000..ae29814ab --- /dev/null +++ b/webassembly/13_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8 Encoding/Decoding

+

O JavaScript fornece funções utilitárias para ler e escrever strings UTF-8 para bytes dentro de objetos ArrayBuffer e vice-versa.

+

JavaScript let bytes = new ArrayBuffer(8); const data = new Uint8Array(bytes); data[0] = 79; // O data[1] = 105; // i data[2] = 33; // ! let str_len = 3; const utf8dec = new TextDecoder("utf-8"); +// subarray() pega o primeiro e último índice let text = utf8dec.decode(data.subarray(0,str_len)); console.log(text) // Oi! const utf8enc = new TextEncoder("utf-8"); let text_bytes = utf8enc.encode(text); console.log(text_bytes) // Uint8Array(3) [72, 105, 33]

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/13_ro.html b/webassembly/13_ro.html new file mode 100644 index 000000000..0ff9e9581 --- /dev/null +++ b/webassembly/13_ro.html @@ -0,0 +1,62 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Codificarea/decodificarea UTF-8

+

JavaScript oferă funcții utilitare pentru a scrie/citi string-uri UTF-8 în/din +octeți din obiecte de tip ArrayBuffer.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// subșirul ia indicele de început și de sfârșit
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/14_en.html b/webassembly/14_en.html new file mode 100644 index 000000000..8f9639189 --- /dev/null +++ b/webassembly/14_en.html @@ -0,0 +1,63 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Logging Text

+

Let's explore a simple example of logging some text from a WebAssembly program.

+

We must:

+
    +
  1. Create some utf-8 compliant text in our program's memory
  2. +
  3. Determine the length of our text's bytes
  4. +
  5. Somehow send the starting byte start index and length in bytes of that text data to the host browser so it can call console.log.
  6. +
+

Here's an example of what that receiving JavaScript function would look like:

+
wasm_log(start,len) {
+  // extract text from memory location and length
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/14_en_c.html b/webassembly/14_en_c.html new file mode 100644 index 000000000..7f59b1850 --- /dev/null +++ b/webassembly/14_en_c.html @@ -0,0 +1,63 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Logging Text

+

Let's explore a simple example of logging some text from a WebAssembly program.

+

We must:

+
    +
  1. Create some utf-8 compliant text in our program's memory
  2. +
  3. Determine the length of our text's bytes
  4. +
  5. Somehow send the starting byte start index and length in bytes of that text data to the host browser so it can call console.log.
  6. +
+

Here's an example of what that receiving JavaScript function would look like:

+
wasm_log(start,len) {
+  // extract text from memory location and length
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/14_es.html b/webassembly/14_es.html new file mode 100644 index 000000000..6a7f034cb --- /dev/null +++ b/webassembly/14_es.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Logging Text

+

Let's explore a simple example of logging some text from a WebAssembly program.

+

We must:

+
    +
  1. Create some utf-8 compliant text in our program's memory
  2. +
  3. Determine the length of our text's bytes
  4. +
  5. Somehow send the starting byte start index and length in bytes of that text data to the host browser so it can call console.log.
  6. +
+

Here's an example of what that receiving JavaScript function would look like:

+
wasm_log(start,len) {
+  // extract text from memory location and length
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/14_fr.html b/webassembly/14_fr.html new file mode 100644 index 000000000..d3c8cdd14 --- /dev/null +++ b/webassembly/14_fr.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Affichage de texte depuis WebAssembly

+

Explorons un exemple simple d'affichage de texte à partir d'un programme WebAssembly.

+

Nous devons:

+
    +
  1. Créer du texte compatible utf-8 dans la mémoire de notre programme.
  2. +
  3. Déterminer la longueur des octets de notre texte.
  4. +
  5. Envoyer d'une manière ou d'une autre l'index de début du premier octet +et la longueur en octets du texte au navigateur hôte afin qu'il +puisse appeler console.log.
  6. +
+

Voici un exemple de ce à quoi ressemblerait la réception de la fonction JavaScript:

+
wasm_log(start,len) {
+  // Extrait le texte de l'emplacement mémoire.
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/14_fr_c.html b/webassembly/14_fr_c.html new file mode 100644 index 000000000..39c4e20f6 --- /dev/null +++ b/webassembly/14_fr_c.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Affichage de texte depuis WebAssembly

+

Explorons un exemple simple d'affichage de texte à partir d'un programme WebAssembly.

+

Nous devons:

+
    +
  1. Créer du texte compatible utf-8 dans la mémoire de notre programme.
  2. +
  3. Déterminer la longueur des octets de notre texte.
  4. +
  5. Envoyer d'une manière ou d'une autre l'index de début du premier octet +et la longueur en octets du texte au navigateur hôte afin qu'il +puisse appeler console.log.
  6. +
+

Voici un exemple de ce à quoi ressemblerait la réception de la fonction JavaScript:

+
wasm_log(start,len) {
+  // Extrait le texte de l'emplacement mémoire.
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/14_ie.html b/webassembly/14_ie.html new file mode 100644 index 000000000..ff7745161 --- /dev/null +++ b/webassembly/14_ie.html @@ -0,0 +1,63 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Logging Text

+

Let's explore a simple example of logging some text from a WebAssembly program.

+

We must:

+
    +
  1. Create some utf-8 compliant text in our program's memory
  2. +
  3. Determine the length of our text's bytes
  4. +
  5. Somehow send the starting byte start index and length in bytes of that text data to the host browser so it can call console.log.
  6. +
+

Here's an example of what that receiving JavaScript function would look like:

+
wasm_log(start,len) {
+  // extract text from memory location and length
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/14_ja.html b/webassembly/14_ja.html new file mode 100644 index 000000000..ad039adca --- /dev/null +++ b/webassembly/14_ja.html @@ -0,0 +1,63 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

テキストのロギング

+

WebAssemblyのプログラムから、テキストをロギングする簡単な例を見てみましょう。

+

次のような流れになります。

+
    +
  1. プログラムのメモリから、utf-8のテキストをつくる
  2. +
  3. そのテキストの長さを判断する
  4. +
  5. そのテキストが格納されているスタート位置と長さをホストのブラウザ側に伝え、console.logを実行
  6. +
+

これはJavaScript側の関数をどのように実装するかの例です。

+
wasm_log(start,len) {
+  // 開始位置と長さから、テキストを抽出する
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/14_pt-br.html b/webassembly/14_pt-br.html new file mode 100644 index 000000000..e854d8985 --- /dev/null +++ b/webassembly/14_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Logando Texto

+

Vamos explorar um exemplo simples de logar um texto de um programa WebAssembly.

+

Nós devemos:

+
    +
  1. Criar um texto compatível com utf-8 na memória do nosso programa.
  2. +
  3. Determinar o comprimento em bytes do nosso texto.
  4. +
  5. De alguma forma, enviar o índice do byte inicial e o comprimento em bytes desses dados do texto para o navegador host, e então chamar o console.log.
  6. +
+

Aqui está um exemplo de como seria essa função de recebimento em JavaScript:

+

JavaScript wasm_log(start,len) { + // extrai o texto de um lugar da memória e seu comprimento + const utf8dec = new TextDecoder("utf-8"); + let buffer = module.instance.exports.memory.buffer; + let memory = new Uint8Array(buffer); + let text = utf8dec.decode(memory.subarray(start,start+len)); + console.log(text); +}

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/14_ro.html b/webassembly/14_ro.html new file mode 100644 index 000000000..5eaa78579 --- /dev/null +++ b/webassembly/14_ro.html @@ -0,0 +1,63 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Înregistrarea textului

+

Haideți să explorăm un exemplu simplu de înregistrare a unui text dintr-un program WebAssembly.

+

Este necesar:

+
    +
  1. Să creăm un text compatibil cu UTF-8 în memoria programului nostru.
  2. +
  3. Să determinăm lungimea octeților textului nostru.
  4. +
  5. Să găsim o modalitate de a transmite indicele de început al primului octet și lungimea în octeți a textului către browser-ul gazdei pentru a putea apela console.log.
  6. +
+

Iată un exemplu de cum ar arăta acea funcție JavaScript de primire:

+
wasm_log(start,len) {
+  // extrage textul din memorie și lungimea
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_en.html b/webassembly/15_en.html new file mode 100644 index 000000000..7a2599f0b --- /dev/null +++ b/webassembly/15_en.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Reading Text

+

Let's explore the opposite idea. Imagine we want to give some text to a WebAssembly program.

+

We must:

+
    +
  1. Determine the length in bytes of the text we want to pass in.
  2. +
  3. Allocate some space in our memory of that byte length.
  4. +
  5. Copy bytes into our program's memory at the start of the space we allocated.
  6. +
  7. Let the WebAssembly program know we have put some data in it's memory at a specific index and lenth in bytes.
  8. +
+

Here's an example of what that initialization looks like:

+
// Turn "Ferris" into bytes
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Allocate enough space for the text
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Put the text in WebAssembly program's memory
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Run the program
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_en_c.html b/webassembly/15_en_c.html new file mode 100644 index 000000000..64b5f1efc --- /dev/null +++ b/webassembly/15_en_c.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Reading Text

+

Let's explore the opposite idea. Imagine we want to give some text to a WebAssembly program.

+

We must:

+
    +
  1. Determine the length in bytes of the text we want to pass in.
  2. +
  3. Allocate some space in our memory of that byte length.
  4. +
  5. Copy bytes into our program's memory at the start of the space we allocated.
  6. +
  7. Let the WebAssembly program know we have put some data in it's memory at a specific index and lenth in bytes.
  8. +
+

Here's an example of what that initialization looks like:

+
// Turn "Ferris" into bytes
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Allocate enough space for the text
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Put the text in WebAssembly program's memory
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Run the program
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_es.html b/webassembly/15_es.html new file mode 100644 index 000000000..3d756bcd8 --- /dev/null +++ b/webassembly/15_es.html @@ -0,0 +1,72 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Reading Text

+

Let's explore the opposite idea. Imagine we want to give some text to a WebAssembly program.

+

We must:

+
    +
  1. Determine the length in bytes of the text we want to pass in.
  2. +
  3. Allocate some space in our memory of that byte length.
  4. +
  5. Copy bytes into our program's memory at the start of the space we allocated.
  6. +
  7. Let the WebAssembly program know we have put some data in it's memory at a specific index and lenth in bytes.
  8. +
+

Here's an example of what that initialization looks like:

+
// Turn "Ferris" into bytes
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Allocate enough space for the text
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Put the text in WebAssembly program's memory
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Run the program
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_fr.html b/webassembly/15_fr.html new file mode 100644 index 000000000..db60bbda4 --- /dev/null +++ b/webassembly/15_fr.html @@ -0,0 +1,75 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Envoi de Texte vers un Programme WebAssembly

+

Explorons l'idée opposée. Imagine que nous voulons envoyer du texte vers notre +programme WebAssembly.

+

Nous devons:

+
    +
  1. Déterminer la longueur en octets du texte que nous souhaitons transmettre.
  2. +
  3. Allouer suffisamment d'espace dans notre mémoire pour ces octets.
  4. +
  5. Copier les octets dans la mémoire de notre programme à la position que nous +venons d'allouer.
  6. +
  7. Informer au programme WebAssembly que nous avons mis ces octets dans sa mémoire +en lui indiquant l'index et la taille.
  8. +
+

Voici un exemple de ce à quoi ressemble cette initialisation:

+
// Transforme "Ferris" en octets.
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Alloue de l'espace mémoire pour le texte.
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Met le texte dans la mémoire du programme WebAssembly.
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Exécute le programme.
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_fr_c.html b/webassembly/15_fr_c.html new file mode 100644 index 000000000..0be7812eb --- /dev/null +++ b/webassembly/15_fr_c.html @@ -0,0 +1,75 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Envoi de Texte vers un Programme WebAssembly

+

Explorons l'idée opposée. Imagine que nous voulons envoyer du texte vers notre +programme WebAssembly.

+

Nous devons:

+
    +
  1. Déterminer la longueur en octets du texte que nous souhaitons transmettre.
  2. +
  3. Allouer suffisamment d'espace dans notre mémoire pour ces octets.
  4. +
  5. Copier les octets dans la mémoire de notre programme à la position que nous +venons d'allouer.
  6. +
  7. Informer au programme WebAssembly que nous avons mis ces octets dans sa mémoire +en lui indiquant l'index et la taille.
  8. +
+

Voici un exemple de ce à quoi ressemble cette initialisation:

+
// Transforme "Ferris" en octets.
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Alloue de l'espace mémoire pour le texte.
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Met le texte dans la mémoire du programme WebAssembly.
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Exécute le programme.
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_ie.html b/webassembly/15_ie.html new file mode 100644 index 000000000..648ea1cc6 --- /dev/null +++ b/webassembly/15_ie.html @@ -0,0 +1,72 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Reading Text

+

Let's explore the opposite idea. Imagine we want to give some text to a WebAssembly program.

+

We must:

+
    +
  1. Determine the length in bytes of the text we want to pass in.
  2. +
  3. Allocate some space in our memory of that byte length.
  4. +
  5. Copy bytes into our program's memory at the start of the space we allocated.
  6. +
  7. Let the WebAssembly program know we have put some data in it's memory at a specific index and lenth in bytes.
  8. +
+

Here's an example of what that initialization looks like:

+
// Turn "Ferris" into bytes
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Allocate enough space for the text
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Put the text in WebAssembly program's memory
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Run the program
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_ja.html b/webassembly/15_ja.html new file mode 100644 index 000000000..3854b2013 --- /dev/null +++ b/webassembly/15_ja.html @@ -0,0 +1,72 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

テキストの読み込み

+

次は、その反対の考え方をしてみます。WebAssemblyのプログラムに、テキストを渡したい場合です。

+

次のような流れになります。

+
    +
  1. 渡したいテキスト(バイト列)の長さを求める
  2. +
  3. その長さの分だけメモリを確保する
  4. +
  5. 開始位置を指定して、確保したメモリにバイト列をコピー
  6. +
  7. WebAssemblyのプログラムに、特定の位置と長さでデータを渡したことを知らせる
  8. +
+

これがその初期化の例です。

+
// 文字列"Ferris"をバイト列に
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// そのための領域を確保
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// WebAssemblyのメモリに配置
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// プログラムを実行
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_pt-br.html b/webassembly/15_pt-br.html new file mode 100644 index 000000000..cda21ef53 --- /dev/null +++ b/webassembly/15_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lendo Texto

+

Vamos explorar a ideia oposta. Imagine que queremos passar um texto para um programa WebAssembly.

+

Nós devemos:

+
    +
  1. Determinar o comprimento em bytes do texto que queremos passar.
  2. +
  3. Alocar algum espaço em nossa memória com esse comprimento em bytes.
  4. +
  5. Copiar os bytes para a memória do nosso programa no início do espaço que alocamos.
  6. +
  7. Informar o programa WebAssembly que colocamos alguns dados na memória em uma posição e com um comprimento específicos em bytes.
  8. +
+

Aqui está um exemplo de como é essa inicialização:

+

JavaScript // Transforma "Ferris" em bytes const utf8enc = new TextEncoder("utf-8"); let text = "Ferris"; let text_bytes = utf8enc.encode(text); +// Aloca espaço suficiente para o texto let len = text_bytes.length; let start = module.instance.exports.wasm_malloc(len); +// Coloca o texto na memória do programa WebAssembly let buffer = module.instance.exports.memory.buffer; let memory = new Uint8Array(buffer); memory.set(text_bytes, start); +// Executa o programa module.instance.exports.main(start,len);

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/15_ro.html b/webassembly/15_ro.html new file mode 100644 index 000000000..5d34d7582 --- /dev/null +++ b/webassembly/15_ro.html @@ -0,0 +1,72 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Citirea textului

+

Să explorăm conceptul opus. Imaginați-vă că dorim să dăm niște text unui program WebAssembly.

+

Este necesar:

+
    +
  1. Să determinăm lungimea în octeți a textului pe care vrem să îl furnizăm.
  2. +
  3. Să alocăm suficientă memorie pentru a stoca textul nostru.
  4. +
  5. Să copiem octeții în memoria programului nostru la începutul spațiului alocat.
  6. +
  7. Să anunțăm programul nostru că am pus textul în memoria sa la un anumit indice de început și lungime specificată în octeți.
  8. +
+

Iată un exemplu de cum ar arăta acea inițializare:

+
// Transformă "Ferris" în octeți
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Alocă suficient spațiu pentru text
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Pune textul în memoria programului WebAssembly
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Rulează programul
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/16_en.html b/webassembly/16_en.html new file mode 100644 index 000000000..2294c371a --- /dev/null +++ b/webassembly/16_en.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Discovering Representations

+

You might find it annoying to pass around the length along with the start index of text.

+

Consider this an opportunity to reflect upon useful conventions of the past like C strings +that declare the end of text is a 0 value character \0.

+

Don't want to pass around a byte packed data structure? Consider passing around json.

+

You are in control of your representations in memory and what they mean and if they +are appropriate for your use cases!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/16_en_c.html b/webassembly/16_en_c.html new file mode 100644 index 000000000..b10d6af1e --- /dev/null +++ b/webassembly/16_en_c.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Discovering Representations

+

You might find it annoying to pass around the length along with the start index of text.

+

Consider this an opportunity to reflect upon useful conventions of the past like C strings +that declare the end of text is a 0 value character \0.

+

Don't want to pass around a byte packed data structure? Consider passing around json.

+

You are in control of your representations in memory and what they mean and if they +are appropriate for your use cases!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/16_es.html b/webassembly/16_es.html new file mode 100644 index 000000000..c1843a6ed --- /dev/null +++ b/webassembly/16_es.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Discovering Representations

+

You might find it annoying to pass around the length along with the start index of text.

+

Consider this an opportunity to reflect upon useful conventions of the past like C strings +that declare the end of text is a 0 value character \0.

+

Don't want to pass around a byte packed data structure? Consider passing around json.

+

You are in control of your representations in memory and what they mean and if they +are appropriate for your use cases!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/16_fr.html b/webassembly/16_fr.html new file mode 100644 index 000000000..b9d5b61f3 --- /dev/null +++ b/webassembly/16_fr.html @@ -0,0 +1,53 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Découverte des représentations

+

Il est possible que tu trouves cela pénible de devoir passer la taille des données +en mémoire ainsi que l'index de début de celles-ci.

+

Ne pourrions-nous pas ruser pour échanger une structure donnée de manière simple +sans devoir passer chaque champs un à un? Pense au chaînes de caractères du C +(en anglais * C strings *) qui déclare la fin du texte avec le caractère \0.

+

Tu l'as peut-être déjà à l'esprit, mais nous pouvons utiliser le json! Ce n'est ni plus ni +moins qu'une chaîne de caractères et tu sais déjà comment échanger ce type de donnée!

+

N'oublie pas que tu as le contrôle sur la représentation mémoire des données et +c'est donc à toi de choisir celle qui te simplifie le travail.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/16_fr_c.html b/webassembly/16_fr_c.html new file mode 100644 index 000000000..94a6c457f --- /dev/null +++ b/webassembly/16_fr_c.html @@ -0,0 +1,53 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Découverte des représentations

+

Il est possible que tu trouves cela pénible de devoir passer la taille des données +en mémoire ainsi que l'index de début de celles-ci.

+

Ne pourrions-nous pas ruser pour échanger une structure donnée de manière simple +sans devoir passer chaque champs un à un? Pense au chaînes de caractères du C +(en anglais * C strings *) qui déclare la fin du texte avec le caractère \0.

+

Tu l'as peut-être déjà à l'esprit, mais nous pouvons utiliser le json! Ce n'est ni plus ni +moins qu'une chaîne de caractères et tu sais déjà comment échanger ce type de donnée!

+

N'oublie pas que tu as le contrôle sur la représentation mémoire des données et +c'est donc à toi de choisir celle qui te simplifie le travail.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/16_ie.html b/webassembly/16_ie.html new file mode 100644 index 000000000..915d76e98 --- /dev/null +++ b/webassembly/16_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Discovering Representations

+

You might find it annoying to pass around the length along with the start index of text.

+

Consider this an opportunity to reflect upon useful conventions of the past like C strings +that declare the end of text is a 0 value character \0.

+

Don't want to pass around a byte packed data structure? Consider passing around json.

+

You are in control of your representations in memory and what they mean and if they +are appropriate for your use cases!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/16_ja.html b/webassembly/16_ja.html new file mode 100644 index 000000000..c580118e4 --- /dev/null +++ b/webassembly/16_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

表現を見つける

+

テキストの開始位置や長さを渡すことに煩雑さを覚えるかもしれません。

+

これは、C言語で文字列の終端を表すのに\0を使っていたようなものだと考えてください。

+

データ構造をいちいちバイトに包んで渡したくない場合は、JSON形式で渡すことも検討してください。

+

どのようにそれを表現するかはあなた次第ですし、ユースケースに応じて使い分けるようにしてください!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/16_pt-br.html b/webassembly/16_pt-br.html new file mode 100644 index 000000000..7c93b7712 --- /dev/null +++ b/webassembly/16_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Descobrindo Representações

+

Você pode achar irritante passar pelo comprimento junto com o índice inicial do texto.

+

Considere isso uma oportunidade para refletir sobre as convenções úteis do passado, tais como as C strings que declaram que o final do texto é um caractere de valor \0.

+

Não quer passar uma estrutura de dados formatada em bytes? Considere passar um json.

+

Você está no controle de suas representações na memória, o que elas significam e se são apropriadas para seus casos de uso!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/16_ro.html b/webassembly/16_ro.html new file mode 100644 index 000000000..682939a89 --- /dev/null +++ b/webassembly/16_ro.html @@ -0,0 +1,49 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Descoperirea reprezentărilor

+

Vi s-ar putea părea enervant să trebuiască să dați lungimea alături de indicele de început al textului.

+

Considerați această situație drept o oportunitate de a reflecta asupra convențiilor utile, precum string-urile din C, +care declară terminarea unui text ca o valoare nulă prin caracterul \0.

+

Nu doriți să transmiteți peste tot o structură de date reprezentată sub formă de octeți? Luați în considerare utilizarea json în loc.

+

Sunteți în controlul atât a propriilor reprezentări în memorie, cât și a semnificațiilor acestora sau dacă se potrivesc scenariului dumneavoastră de utilizare!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_en.html b/webassembly/17_en.html new file mode 100644 index 000000000..ae384cc8f --- /dev/null +++ b/webassembly/17_en.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 Conclusion

+

Crossing the boundry between host and WebAssembly program is cumbersome, but with it can come great performance. +It's important to remind ourselves that WebAssembly is a low -level executable byte code with concerns about memory +structures that are much fine-grained than JavaScript. Check out your programming language's +library support for tools that help make this an easier task! For Rust, wasm-bindgen is a popular option.

+

In our next chapter we will talk about a technique for dynamically calling JavaScript functions and garbage collection!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_en_c.html b/webassembly/17_en_c.html new file mode 100644 index 000000000..6ed83c8b7 --- /dev/null +++ b/webassembly/17_en_c.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 Conclusion

+

Crossing the boundry between host and WebAssembly program is cumbersome, but with it can come great performance. +It's important to remind ourselves that WebAssembly is a low -level executable byte code with concerns about memory +structures that are much fine-grained than JavaScript. Check out your programming language's +library support for tools that help make this an easier task!

+

In our next chapter we will talk about a technique for dynamically calling JavaScript functions and garbage collection!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_es.html b/webassembly/17_es.html new file mode 100644 index 000000000..26f5ce78c --- /dev/null +++ b/webassembly/17_es.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 2 Conclusion

+

Crossing the boundry between host and WebAssembly program is cumbersome, but with it can come great performance. +It's important to remind ourselves that WebAssembly is a low -level executable byte code with concerns about memory +structures that are much fine-grained than JavaScript. Check out your programming language's +library support for tools that help make this an easier task! For Rust, wasm-bindgen is a popular option.

+

In our next chapter we will talk about a technique for dynamically calling JavaScript functions and garbage collection!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_fr.html b/webassembly/17_fr.html new file mode 100644 index 000000000..8a846cd04 --- /dev/null +++ b/webassembly/17_fr.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Conclusion

+

Echanger des données entre l'hôte et un programme WebAssembly est fastidieux, +mais cela peut entraîner de grands gains en performances. +Il est important de se rappeler que WebAssembly exécute du bytecode bas-niveau et +nous donne un contrôle sur la mémoire beaucoup plus fin que JavaScript. +N'hésite pas non plus à regarder s'il n'existe pas de librairies Rust pour te +simplifier la tâche. +Par exemple, wasm-bindgen est une +option populaire.

+

Dans le prochain chapitre, nous parlerons d'une technique pour appeler +dynamiquement les fonctions JavaScript et nous aborderons +le ramasse-miettes (garbage collector)!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_fr_c.html b/webassembly/17_fr_c.html new file mode 100644 index 000000000..9e54620c4 --- /dev/null +++ b/webassembly/17_fr_c.html @@ -0,0 +1,53 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Conclusion

+

Echanger des données entre l'hôte et un programme WebAssembly est fastidieux, +mais cela peut entraîner de grands gains en performances. +Il est important de se rappeler que WebAssembly exécute du bytecode bas-niveau et +nous donne un contrôle sur la mémoire beaucoup plus fin que JavaScript. +N'hésite pas non plus à regarder s'il n'existe pas de librairies C pour te +simplifier la tâche.

+

Dans le prochain chapitre, nous parlerons d'une technique pour appeler +dynamiquement les fonctions JavaScript et nous aborderons le +ramasse-miettes (garbage collector)!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_ie.html b/webassembly/17_ie.html new file mode 100644 index 000000000..12854779c --- /dev/null +++ b/webassembly/17_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 2 Conclusion

+

Crossing the boundry between host and WebAssembly program is cumbersome, but with it can come great performance. +It's important to remind ourselves that WebAssembly is a low -level executable byte code with concerns about memory +structures that are much fine-grained than JavaScript. Check out your programming language's +library support for tools that help make this an easier task! For Rust, wasm-bindgen is a popular option.

+

In our next chapter we will talk about a technique for dynamically calling JavaScript functions and garbage collection!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_ja.html b/webassembly/17_ja.html new file mode 100644 index 000000000..2486976f0 --- /dev/null +++ b/webassembly/17_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2章のまとめ

+

ホスト側とWebAssemblyのプログラムの間をまたぐのは面倒ですが、それにより多くのことを得られます。

+

WebAssemblyは、JavaScriptよりも細かなメモリ構造に関心のある、ローレベルな実行環境であることを忘れないことが重要です。 +あわせて、これらをより簡単に行うためのライブラリがあることも確認してください。 Rustの場合、wasm-bindgenが人気の選択肢です。

+

次の章では、動的にJavaScriptの関数を呼び出す方法と、ガベージコレクションについて見ていきます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_pt-br.html b/webassembly/17_pt-br.html new file mode 100644 index 000000000..d8e78de39 --- /dev/null +++ b/webassembly/17_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Conclusão

+

Atravessar a fronteira entre o host e o programa WebAssembly é complicado, mas com ele podemos ter um ótimo desempenho.

+

É importante lembrar que o WebAssembly é um byte-code executável de baixo nível com preocupações a respeito de estruturas de memória que são muito mais refinadas que o JavaScript. Confira o suporte da biblioteca da sua linguagem de programação para ferramentas que ajudam a tornar essa tarefa mais fácil! Para o Rust, o wasm-bindgen é uma opção popular.

+

No próximo capítulo falaremos sobre uma técnica para chamar dinamicamente funções JavaScript e garbage collection!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/17_ro.html b/webassembly/17_ro.html new file mode 100644 index 000000000..a306b5b72 --- /dev/null +++ b/webassembly/17_ro.html @@ -0,0 +1,49 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Concluzia capitolului 2

+

Trecerea graniței între gazdă și WebAssembly este anevoioasă, însă poate aduce performanțe mari. +Este important să ne amintim că WebAssembly este un cod executabil apropiat de hardware, care se preocupă de structuri de memorie +mult mai fin definite decât în JavaScript. Verificați dacă limbajul dumneavoastră de programare oferă funcționalități care să vă ajute la rezolvarea problemei! +Pentru Rust, wasm-bindgen este o opțiune populară.

+

În capitolul următor, vom vorbi despre o tehnică de a apela dinamic funcții JavaScript și despre "garbage collection".

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_en.html b/webassembly/19_en.html new file mode 100644 index 000000000..ab50b1906 --- /dev/null +++ b/webassembly/19_en.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Why Dynamic Invocation?

+

We saw in the first chapters that we could easily write our own JavaScript functions by hand in our .js files, so why +dynamically create functions?

+
    +
  • Most people come to WebAssembly to escape JavaScript. Dynamic creation of JavaScript functions allow us to use +libraries in our native language that do the hard part of dynamically creating their bindings without everyone having +to recreate the wheel.
  • +
  • Simplifies our setup and bootstrapping of our WebAssembly module to a bare minimum. We only need the ability to register +new functions and call those new functions instead of specifying a litany of hand written JavaScript functions.
  • +
  • It's difficult for JavaScript to know what dependencies your module needs, by allowing the WebAssembly program to create its own functions +it creates only exactly what it needs.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_en_c.html b/webassembly/19_en_c.html new file mode 100644 index 000000000..4847cbb20 --- /dev/null +++ b/webassembly/19_en_c.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Why Dynamic Invocation?

+

We saw in the first chapters that we could easily write our own JavaScript functions by hand in our .js files, so why +dynamically create functions?

+
    +
  • Most people come to WebAssembly to escape JavaScript. Dynamic creation of JavaScript functions allow us to use +libraries in our native language that do the hard part of dynamically creating their bindings without everyone having +to recreate the wheel.
  • +
  • Simplifies our setup and bootstrapping of our WebAssembly module to a bare minimum. We only need the ability to register +new functions and call those new functions instead of specifying a litany of hand written JavaScript functions.
  • +
  • It's difficult for JavaScript to know what dependencies your module needs, by allowing the WebAssembly program to create its own functions +it creates only exactly what it needs.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_es.html b/webassembly/19_es.html new file mode 100644 index 000000000..15a6cc57c --- /dev/null +++ b/webassembly/19_es.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Why Dynamic Invocation?

+

We saw in the first chapters that we could easily write our own JavaScript functions by hand in our .js files, so why +dynamically create functions?

+
    +
  • Most people come to WebAssembly to escape JavaScript. Dynamic creation of JavaScript functions allow us to use +libraries in our native language that do the hard part of dynamically creating their bindings without everyone having +to recreate the wheel.
  • +
  • Simplifies our setup and bootstrapping of our WebAssembly module to a bare minimum. We only need the ability to register +new functions and call those new functions instead of specifying a litany of hand written JavaScript functions.
  • +
  • It's difficult for JavaScript to know what dependencies your module needs, by allowing the WebAssembly program to create its own functions +it creates only exactly what it needs.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_fr.html b/webassembly/19_fr.html new file mode 100644 index 000000000..6c0fcf13f --- /dev/null +++ b/webassembly/19_fr.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pourquoi l'invocation dynamique?

+

Nous avons vu dans les premiers chapitres que nous pouvions facilement +écrire nos propres fonctions JavaScript à la main dans nos fichiers .js, +alors pourquoi vouloir créer dynamiquement ces fonctions?

+
    +
  • Un certain nombre de développeurs sont attirés par WebAssembly pour échapper +à JavaScript. On pourrait imaginer des librairies natives Rust qui facilitent +la liaison avec JavaScript et nous évite tout simplement d'écrire du code +JavaScript.
  • +
  • Cela simplifie la configuration et l'amorçage d'un module WebAssembly. +Nous avons seulement besoin de donner à WebAssembly un moyen de pouvoir +déclarer et exécuter nos fonctions JavaScript. Nous n'avons dès lors plus +besoin de spécifier une pléthore de fonctions dans notre code JavaScript.
  • +
  • Il est difficile pour JavaScript de savoir quelles dépendances le module +a besoin et en donnant la possibilité au programme WebAssembly de créer +ses propres fonctions, ce dernier crée lui-même ce dont il a besoin.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_fr_c.html b/webassembly/19_fr_c.html new file mode 100644 index 000000000..fd4a65437 --- /dev/null +++ b/webassembly/19_fr_c.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Why Dynamic Invocation?

+

We saw in the first chapters that we could easily write our own JavaScript functions by hand in our .js files, so why +dynamically create functions?

+
    +
  • Most people come to WebAssembly to escape JavaScript. Dynamic creation of JavaScript functions allow us to use +libraries in our native language that do the hard part of dynamically creating their bindings without everyone having +to recreate the wheel.
  • +
  • Simplifies our setup and bootstrapping of our WebAssembly module to a bare minimum. We only need the ability to register +new functions and call those new functions instead of specifying a litany of hand written JavaScript functions.
  • +
  • It's difficult for JavaScript to know what dependencies your module needs, by allowing the WebAssembly program to create its own functions +it creates only exactly what it needs.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_ie.html b/webassembly/19_ie.html new file mode 100644 index 000000000..4759636ca --- /dev/null +++ b/webassembly/19_ie.html @@ -0,0 +1,55 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Why Dynamic Invocation?

+

We saw in the first chapters that we could easily write our own JavaScript functions by hand in our .js files, so why +dynamically create functions?

+
    +
  • Most people come to WebAssembly to escape JavaScript. Dynamic creation of JavaScript functions allow us to use +libraries in our native language that do the hard part of dynamically creating their bindings without everyone having +to recreate the wheel.
  • +
  • Simplifies our setup and bootstrapping of our WebAssembly module to a bare minimum. We only need the ability to register +new functions and call those new functions instead of specifying a litany of hand written JavaScript functions.
  • +
  • It's difficult for JavaScript to know what dependencies your module needs, by allowing the WebAssembly program to create its own functions +it creates only exactly what it needs.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_ja.html b/webassembly/19_ja.html new file mode 100644 index 000000000..89e128890 --- /dev/null +++ b/webassembly/19_ja.html @@ -0,0 +1,53 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

なぜ動的実行なのか?

+

1章で、.jsファイルの中に簡単に関数を定義し、WebAssemblyから実行できることを学びました。 ならばなぜ、動的に実行する手段が必要なのでしょうか?

+
    +
  • WebAssemblyを学ぶ多くの人は、そもそもJavaScriptから逃避することが目的です。 +JavaScriptの関数を動的に実行できることで、誰もが車輪の再発明をすることなく、動的なバインディングという最も難解な部分を行う既存資産を利用できます。
  • +
  • 準備や起動を単純化することで、WebAssemblyモジュールを小さくできます。 +手書きのJavaScriptコードをたくさん指定する代わりに、関数を登録する方法と、実行する方法だけが必要なのです。
  • +
  • JavaScriptでは、どんなモジュールに依存しているかを知ることは難しいです。 +WebAssemblyで関数を作成できるようにすることでは、必要なものだけを使うことができます。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_pt-br.html b/webassembly/19_pt-br.html new file mode 100644 index 000000000..0345c0c96 --- /dev/null +++ b/webassembly/19_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Por Que Invocação Dinâmica?

+

Vimos nos primeiros capítulos que poderíamos facilmente escrever as nossas próprias funções JavaScript manualmente em nossos arquivos .js, então por que criar funções dinamicamente?

+
    +
  • A maioria das pessoas vem ao WebAssembly para escapar do JavaScript. A criação dinâmica de funções no JavaScript nos permite usar bibliotecas em nossa linguagem nativa que fazem a parte mais difícil de criar dinamicamente suas ligações sem que todos tenham que reinventar a roda.
  • +
  • Simplifica nossa configuração e inicialização do módulo WebAssembly ao mínimo. Precisamos apenas da capacidade de registrar novas funções e chamar essas novas funções em vez de especificar uma ladainha de funções JavaScript escritas à mão.
  • +
  • É difícil para o JavaScript saber de quais dependências seu módulo precisa, ao permitir que o programa WebAssembly crie suas próprias funções, ele cria apenas exatamente o que precisa.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/19_ro.html b/webassembly/19_ro.html new file mode 100644 index 000000000..60bd1be12 --- /dev/null +++ b/webassembly/19_ro.html @@ -0,0 +1,53 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

De ce invocare dinamică?

+

Am văzut în primele capitole că putem foarte ușor să scriem manual propriile funcții JavaScript în fișierele noastre .js. Așa că +de ce am crea funcții dinamice?

+
    +
  • Majoritatea oamenilor aleg WebAssembly pentru a scăpa de JavaScript. Crearea funcțiilor JavaScript dinamice ne permite să folosim +biblioteci în limbajul nativ, care să se ocupe de partea dificilă de a crea +dinamic legăturile fără să reinventeze roata.

  • +
  • Simplifică configurarea și lansarea modulelor WebAssembly la un minim absolut. Avem nevoie doar de capacitatea de a înregistra funcții noi și de a le apela în loc să specificăm o serie de funcții JavaScript scrise manual.

  • +
  • Este dificil pentru JavaScript să știe ce dependențe are modulul său, permițând programului WebAssembly să-și creeze propriile funcții care să facă exact ceea ce este nevoie.

  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_en.html b/webassembly/20_en.html new file mode 100644 index 000000000..3eeaf29ae --- /dev/null +++ b/webassembly/20_en.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Logging Revisited

+

In our first chapter we manually wrote our log functions to do logging with console.log. Let's consider how we would do this dynamically.

+
    +
  • We need some way to register a function at runtime.
  • +
  • We need some way to call that function.
  • +
  • We'll need some way for that dynamic function to have access to memory (e.g. for extracting utf-8 bytes.)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_en_c.html b/webassembly/20_en_c.html new file mode 100644 index 000000000..bf2bb4c4f --- /dev/null +++ b/webassembly/20_en_c.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Logging Revisited

+

In our first chapter we manually wrote our log functions to do logging with console.log. Let's consider how we would do this dynamically.

+
    +
  • We need some way to register a function at runtime.
  • +
  • We need some way to call that function.
  • +
  • We'll need some way for that dynamic function to have access to memory (e.g. for extracting utf-8 bytes.)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_es.html b/webassembly/20_es.html new file mode 100644 index 000000000..9faeee849 --- /dev/null +++ b/webassembly/20_es.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Logging Revisited

+

In our first chapter we manually wrote our log functions to do logging with console.log. Let's consider how we would do this dynamically.

+
    +
  • We need some way to register a function at runtime.
  • +
  • We need some way to call that function.
  • +
  • We'll need some way for that dynamic function to have access to memory (e.g. for extracting utf-8 bytes.)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_fr.html b/webassembly/20_fr.html new file mode 100644 index 000000000..41ab0e370 --- /dev/null +++ b/webassembly/20_fr.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Affichage de texte depuis WebAssembly revisité

+

Dans le premier chapitre, nous avons écrit nous même une fonction JavaScript +qui affichait un texte en appelant console.log. Voyons comment procéder de +manière dynamique (e.g. l'instruction console.log se trouvera dans le code +Rust!):

+
    +
  • Nous avons besoin d'un moyen de déclarer notre fonction dynamique lors de +l'exécution.
  • +
  • Nous avons besoin d'un moyen d'appeler cette fonction.
  • +
  • Nous devons faire en sorte que cette fonction ait accès à la mémoire (e.g. +pour extraire les octets utf-8.)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_fr_c.html b/webassembly/20_fr_c.html new file mode 100644 index 000000000..057e5f8a8 --- /dev/null +++ b/webassembly/20_fr_c.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Logging Revisited

+

In our first chapter we manually wrote our log functions to do logging with console.log. Let's consider how we would do this dynamically.

+
    +
  • We need some way to register a function at runtime.
  • +
  • We need some way to call that function.
  • +
  • We'll need some way for that dynamic function to have access to memory (e.g. for extracting utf-8 bytes.)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_ie.html b/webassembly/20_ie.html new file mode 100644 index 000000000..32a720705 --- /dev/null +++ b/webassembly/20_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Logging Revisited

+

In our first chapter we manually wrote our log functions to do logging with console.log. Let's consider how we would do this dynamically.

+
    +
  • We need some way to register a function at runtime.
  • +
  • We need some way to call that function.
  • +
  • We'll need some way for that dynamic function to have access to memory (e.g. for extracting utf-8 bytes.)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_ja.html b/webassembly/20_ja.html new file mode 100644 index 000000000..f7e504d5e --- /dev/null +++ b/webassembly/20_ja.html @@ -0,0 +1,50 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ロギングふたたび

+

1章でconsole.logを使ったロギングの関数を書きました。これを動的に行う方法について考えましょう。

+
    +
  • ランタイムに関数を登録する方法が必要です。
  • +
  • そしてそれを呼び出す方法が必要です。
  • +
  • 動的な関数のためには、メモリにアクセスする方法が必要です。 (たとえば、UTF-8のバイトを抽出するために)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_pt-br.html b/webassembly/20_pt-br.html new file mode 100644 index 000000000..f5bb30375 --- /dev/null +++ b/webassembly/20_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Registro Revisitado

+

Em nosso primeiro capítulo, escrevemos manualmente nossas funções de log para fazer o registro com o console.log. Vamos considerar como faríamos isso dinamicamente.

+
    +
  • Precisamos de alguma maneira de registrar uma função em tempo de execução.
  • +
  • Precisamos de alguma maneira de chamar essa função.
  • +
  • Precisamos de alguma maneira para que essa função dinâmica tenha acesso à memória (por exemplo, para extrair bytes utf-8).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/20_ro.html b/webassembly/20_ro.html new file mode 100644 index 000000000..d8c5c34dd --- /dev/null +++ b/webassembly/20_ro.html @@ -0,0 +1,50 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Recapitularea înregistrării

+

În primul capitol am scris manual funcțiile noastre de log pentru a efectua înregistrarea cu console.log. Să vedem cum am putea face acest lucru dinamic.

+
    +
  • Avem nevoie de o modalitate de a înregistra o funcție la runtime.
  • +
  • Avem nevoie de o modalitate de a apela acea funcție.
  • +
  • Avem nevoie ca acea funcție dinamică să aibă acces la memorie (de exemplu, pentru a extrage octeți UTF-8).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_en.html b/webassembly/21_en.html new file mode 100644 index 000000000..b5c8f781d --- /dev/null +++ b/webassembly/21_en.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Registering Functions

+

In order to register a function we need two things:

+
    +
  • we need to pass body of function we want to create in JavaScript as a string
  • +
  • we need to get back a handle so we can call that function later with parameters
  • +
+
register_function(js:&str) -> usize
+
+

Since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

Underneath the covers we take advantage of JavaScript's eval function to make these functions real.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_en_c.html b/webassembly/21_en_c.html new file mode 100644 index 000000000..e6e8d22d4 --- /dev/null +++ b/webassembly/21_en_c.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Registering Functions

+

In order to register a function we need two things:

+
    +
  • we need to pass body of function we want to create in JavaScript as a string
  • +
  • we need to get back a handle so we can call that function later with parameters
  • +
+
register_function(js:&str) -> usize
+
+

Since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

Underneath the covers we take advantage of JavaScript's eval function to make these functions real.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_es.html b/webassembly/21_es.html new file mode 100644 index 000000000..9512ec2d5 --- /dev/null +++ b/webassembly/21_es.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Registering Functions

+

In order to register a function we need two things:

+
    +
  • we need to pass body of function we want to create in JavaScript as a string
  • +
  • we need to get back a handle so we can call that function later with parameters
  • +
+
register_function(js:&str) -> usize
+
+

Since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

Underneath the covers we take advantage of JavaScript's eval function to make these functions real.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_fr.html b/webassembly/21_fr.html new file mode 100644 index 000000000..55b1b255d --- /dev/null +++ b/webassembly/21_fr.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Déclaration de fonctions

+

Pour déclarer une fonction, nous avons besoin de deux choses:

+
    +
  • Nous devons passer le corps de la fonction JavaScript que nous voulons créer +sous la forme d'une chaîne de caractères.
  • +
  • Nous devons avoir un moyen d'appeler cette fonction plus tard. Pour +cela, les fonctions sont stockées dans un tableau.
  • +
+

La signature Rust de cette fonction est:

+
register_function(js:&str) -> usize
+
+

Cependant, étant donné que WebAssembly et JavaScript ne peuvent échanger que +des nombres et que tous les nombres en JavaScript sont des float 64 bits, +la signature de cette fonction côté JavaScript sera:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

Nous profitons de la fonction eval de JavaScript permettant d'évaluer du code +JavaScript représenté sous forme d'une chaîne de caractères.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_fr_c.html b/webassembly/21_fr_c.html new file mode 100644 index 000000000..e392ad138 --- /dev/null +++ b/webassembly/21_fr_c.html @@ -0,0 +1,56 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Registering Functions

+

In order to register a function we need two things:

+
    +
  • we need to pass body of function we want to create in JavaScript as a string
  • +
  • we need to get back a handle so we can call that function later with parameters
  • +
+
register_function(js:&str) -> usize
+
+

Since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

Underneath the covers we take advantage of JavaScript's eval function to make these functions real.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_ie.html b/webassembly/21_ie.html new file mode 100644 index 000000000..379963c2b --- /dev/null +++ b/webassembly/21_ie.html @@ -0,0 +1,56 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Registering Functions

+

In order to register a function we need two things:

+
    +
  • we need to pass body of function we want to create in JavaScript as a string
  • +
  • we need to get back a handle so we can call that function later with parameters
  • +
+
register_function(js:&str) -> usize
+
+

Since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

Underneath the covers we take advantage of JavaScript's eval function to make these functions real.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_ja.html b/webassembly/21_ja.html new file mode 100644 index 000000000..18676ee90 --- /dev/null +++ b/webassembly/21_ja.html @@ -0,0 +1,55 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数の登録

+

関数を登録するためには、次の2つが必要となります。

+
    +
  • JavaScriptで実行したい関数の定義を、文字列で渡すこと
  • +
  • 後でパラメータを渡して実行するための、ハンドルを得ること
  • +
+
register_function(js: &str) -> usize
+
+

WebAssemblyでは、すべてを数値でやり取りしなければなりません。 そして、JavaScriptの数値型は64ビット浮動小数点です。 よって、これが最終形です。

+
register_function(js_start: f64, js_len: f64) -> f64
+
+

水面下では、JavaScriptのeval関数を利用しており、実際に実行することができるようになります。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_pt-br.html b/webassembly/21_pt-br.html new file mode 100644 index 000000000..ba62218d3 --- /dev/null +++ b/webassembly/21_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Registrando Funções

+

Para registrar uma função precisamos de duas coisas:

+
    +
  • Precisamos passar o corpo da função que queremos criar no JavaScript como uma string.
  • +
  • Precisamos recuperar um identificador para podermos chamar essa função posteriormente com parâmetros.
  • +
+

rust register_function(js:&str) -> usize

+

Como o WebAssembly só pode passar e receber números e como todos os números em JavaScript são floats de 64 bits, a aparência final será de uma função importada:

+

register_function(js_start:f64, js_len:f64) -> f64

+

Por baixo dos panos aproveitamos a função eval do JavaScript para tornar essas funções reais.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/21_ro.html b/webassembly/21_ro.html new file mode 100644 index 000000000..a5d3fa1e1 --- /dev/null +++ b/webassembly/21_ro.html @@ -0,0 +1,56 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Înregistrarea funcțiilor

+

Pentru a înregistra o funcție avem nevoie de două lucruri:

+
    +
  • trebuie să transmitem corpul funcției pe care dorim să o creăm în JavaScript drept șir de caractere
  • +
  • trebuie să primim înapoi un identificator pentru a putea apela acea funcție mai târziu cu parametri
  • +
+
register_function(js:&str) -> usize
+
+

De vreme ce WebAssembly poate să trimită înainte și înapoi doar numere, iar toate numerele din JavaScript sunt numere reale pe 64 de biți, +în cele din urmă, lucrurile vor arăta ca o funcție importată:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

În spatele cortinei profităm de funcția eval din JavaScript pentru a face aceste funcții să fie reale.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_en.html b/webassembly/22_en.html new file mode 100644 index 000000000..c5ad0b165 --- /dev/null +++ b/webassembly/22_en.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Calling Functions

+

When we later want to call our dynamic function, we'll need some sort of invocation function that can take +in our function handle and arguments.

+

Again, since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Putting it all together we

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // somehow call console_log  
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

You'll notice there is a problem with our JavaScript function though. It has the start and end of our utf-8 but not memory!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_en_c.html b/webassembly/22_en_c.html new file mode 100644 index 000000000..f6fb21182 --- /dev/null +++ b/webassembly/22_en_c.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Calling Functions

+

When we later want to call our dynamic function, we'll need some sort of invocation function that can take +in our function handle and arguments.

+

Again, since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Putting it all together we

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // somehow call console_log  
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

You'll notice there is a problem with our JavaScript function though. It has the start and end of our utf-8 but not memory!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_es.html b/webassembly/22_es.html new file mode 100644 index 000000000..b02bf463e --- /dev/null +++ b/webassembly/22_es.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Calling Functions

+

When we later want to call our dynamic function, we'll need some sort of invocation function that can take +in our function handle and arguments.

+

Again, since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Putting it all together we

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // somehow call console_log  
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

You'll notice there is a problem with our JavaScript function though. It has the start and end of our utf-8 but not memory!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_fr.html b/webassembly/22_fr.html new file mode 100644 index 000000000..1f22261e0 --- /dev/null +++ b/webassembly/22_fr.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Appel de fonctions

+

Lorsque nous voulons appeler une fonction dynamique, nous avons besoin +de connaître sa position (fn_handle dans le code) dans le tableau contenant +les fonctions dynamiques ainsi que ses arguments.

+

Encore une fois, étant donné que WebAssembly ne peut transmettre que des +nombres et que tous les nombres en JavaScript sont des flottants 64 bits, +la signature de la fonction pour l'appel des fonctions dynamiques est donc:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Notre code Rust devient:

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // appel de console_log ici
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

Il y a cependant un problème. En effet, notre fonction JavaScript à appeler +(celle affichant le console log) doit récupérer le message à afficher depuis +la mémoire. Elle connait la postition du message dans la mémoire ainsi que sa +taille, mais comment récupérer le message? Nous utiliserons pour cela un +contexte!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_fr_c.html b/webassembly/22_fr_c.html new file mode 100644 index 000000000..ced14607e --- /dev/null +++ b/webassembly/22_fr_c.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Calling Functions

+

When we later want to call our dynamic function, we'll need some sort of invocation function that can take +in our function handle and arguments.

+

Again, since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Putting it all together we

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // somehow call console_log  
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

You'll notice there is a problem with our JavaScript function though. It has the start and end of our utf-8 but not memory!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_ie.html b/webassembly/22_ie.html new file mode 100644 index 000000000..75f3cb097 --- /dev/null +++ b/webassembly/22_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Calling Functions

+

When we later want to call our dynamic function, we'll need some sort of invocation function that can take +in our function handle and arguments.

+

Again, since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Putting it all together we

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // somehow call console_log  
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

You'll notice there is a problem with our JavaScript function though. It has the start and end of our utf-8 but not memory!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_ja.html b/webassembly/22_ja.html new file mode 100644 index 000000000..fea6591d5 --- /dev/null +++ b/webassembly/22_ja.html @@ -0,0 +1,65 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数を呼び出す

+

後で動的な関数を実行するためには、関数ハンドルとその引数を受け取るための呼び出し方が必要になります。

+

繰り返しですが、JavaScriptとWebAssemblyは数値だけをやり取りし、JavaScriptの数値は64ビットの浮動小数点です。

+

関数は最終的にこのようになります。

+
js_invoke_with_2_params(fn_handle: f64, a: f64, b: f64) -> f64
+
+

全てを組み合わせるとこうです。

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // ここでどうにかして console.log を呼び出す
+  }");
+
+
+let msg = "hello world";
+
+js_invoke_with_2_params(
+  log_handle,
+  msg.as_ptr() as f64,
+  msg.len() as f64
+);
+
+

しかしまだこのJavaScriptの関数には問題があることに気付いたでしょう。 メモリではなく、UTF-8文字列の開始位置と終了位置が渡されています!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_pt-br.html b/webassembly/22_pt-br.html new file mode 100644 index 000000000..0e095df27 --- /dev/null +++ b/webassembly/22_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chamando Funções

+

Quando mais tarde desejarmos chamar nossa função dinâmica, precisaremos de algum tipo de invocação de função que possa incluir o identificador e os argumentos da nossa função.

+

Novamente, como o WebAssembly só pode passar e receber números e como todos os números em JavaScript são floats de 64 bits, a aparência final será de uma função importada:

+

js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64

+

Juntando tudo nós

+

```rust let loghandle = registerfunction(" + (parama, paramb) => { + // de alguma forma chame console_log
+ }");

+

let msg = "olá, mundo"; +jsinvokewith2params( loghandle, msg.asptr() as f64, + msg.len() as f64 ); +```

+

Você notará que há um problema com nossa função JavaScript. Ele tem o início e o fim do nosso utf-8, mas não a memória!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/22_ro.html b/webassembly/22_ro.html new file mode 100644 index 000000000..48aa2fbe0 --- /dev/null +++ b/webassembly/22_ro.html @@ -0,0 +1,62 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Apelarea funcțiilor

+

Mai târziu, când dorim să apelăm funcția noastră dinamică, vom avea nevoie de o funcție de invocare care să poată lua +identificatorul funcției și argumentele.

+

Din nou, de vreme ce WebAssembly poate să trimită înainte și înapoi doar numere, iar toate numerele din JavaScript sunt numere reale pe 64 de biți, +în cele din urmă, lucrurile vor arăta ca o funcție importată:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Punând totul laolaltă avem:

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // apelează cumva console_log  
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

Veți observa că există o problemă cu funcția noastră JavaScript. Are începutul și sfârșitul șirului UTF-8, dar nu și memoria acestuia!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/23_en.html b/webassembly/23_en.html new file mode 100644 index 000000000..b2bcdc534 --- /dev/null +++ b/webassembly/23_en.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Context Of Dynamic Invocation

+

When our dynamically invoked functions are called, the functions need to have access to the module's memory. We can place +important resources on a context object so our function has all the available tools to do it's job.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Look at the example for the complete implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/23_en_c.html b/webassembly/23_en_c.html new file mode 100644 index 000000000..4af7d0b19 --- /dev/null +++ b/webassembly/23_en_c.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Context Of Dynamic Invocation

+

When our dynamically invoked functions are called, the functions need to have access to the module's memory. We can place +important resources on a context object so our function has all the available tools to do it's job.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Look at the example for the complete implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/23_es.html b/webassembly/23_es.html new file mode 100644 index 000000000..8e62db357 --- /dev/null +++ b/webassembly/23_es.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Context Of Dynamic Invocation

+

When our dynamically invoked functions are called, the functions need to have access to the module's memory. We can place +important resources on a context object so our function has all the available tools to do it's job.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Look at the example for the complete implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/23_fr.html b/webassembly/23_fr.html new file mode 100644 index 000000000..67eef2fb7 --- /dev/null +++ b/webassembly/23_fr.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Contexte d'invocation dynamique

+

Lorsque nos fonctions invoquées dynamiquement sont appelées, celles-ci +doivent avoir accès à la mémoire du module. Pour cela, nous pouvons créer +une fonction ayant pour but de décoder les octets de cette mémoire et +passer cette fonction de décodage à chacune des fonctions dynamiques à +l'aide d'un objet contexte.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Nous donnons un exemple avec l'implémentation complète.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/23_fr_c.html b/webassembly/23_fr_c.html new file mode 100644 index 000000000..661d8b264 --- /dev/null +++ b/webassembly/23_fr_c.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Context Of Dynamic Invocation

+

When our dynamically invoked functions are called, the functions need to have access to the module's memory. We can place +important resources on a context object so our function has all the available tools to do it's job.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Look at the example for the complete implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/23_ie.html b/webassembly/23_ie.html new file mode 100644 index 000000000..d4bc341cd --- /dev/null +++ b/webassembly/23_ie.html @@ -0,0 +1,60 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Context Of Dynamic Invocation

+

When our dynamically invoked functions are called, the functions need to have access to the module's memory. We can place +important resources on a context object so our function has all the available tools to do it's job.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Look at the example for the complete implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/23_ja.html b/webassembly/23_ja.html new file mode 100644 index 000000000..146e7a4e9 --- /dev/null +++ b/webassembly/23_ja.html @@ -0,0 +1,63 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

動的実行のコンテキスト

+

我々の動的実行関数が呼ばれるとき、WebAssemblyモジュールのメモリ領域にアクセスできる必要があります。 そのためのコンテキストのオブジェクトを用意し、そこに重要なリソースを配置します。 こうすることで、関数が仕事をすることができるようになります。

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart, msgEnd);
+    console.log(msg);
+  }");
+
+
+let msg = "hello world";
+
+js_invoke_with_2_params(
+  log_handle,
+  msg.as_ptr() as f64,
+  msg.len() as f64
+);
+
+

完全な実装は、実際のコード例を見てください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/23_pt-br.html b/webassembly/23_pt-br.html new file mode 100644 index 000000000..72311334e --- /dev/null +++ b/webassembly/23_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Contexto da Invocação Dinâmica

+

Quando nossas funções invocadas dinamicamente são chamadas, as funções precisam ter acesso à memória do módulo. Podemos colocar recursos importantes em um objeto de contexto para que nossa função tenha todas as ferramentas disponíveis para fazer seu trabalho.

+

```rust let loghandle = registerfunction(" + (context, msgStart, msgEnd) => { + let msg = context.getUtf8FromMemory(msgStart, msgEnd); + console.log(msg); + }");

+

let msg = "olá mundo"; +jsinvokewith2params( loghandle, msg.asptr() as f64, + msg.len() as f64); +```

+

Veja o exemplo para a implementação completa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/23_ro.html b/webassembly/23_ro.html new file mode 100644 index 000000000..b994c1f28 --- /dev/null +++ b/webassembly/23_ro.html @@ -0,0 +1,60 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Contextul invocării dinamice

+

Când funcțiile noastre invocate dinamic sunt apelate, acestea trebuie să aibă acces la memoria modulului. Putem plasa +resurse importante unui obiect de context astfel încât funcția noastră să aibă toate instrumentele disponibile pentru a face ceea ce trebuie.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Studiați exemplul pentru implementarea completă.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/24_en.html b/webassembly/24_en.html new file mode 100644 index 000000000..a8d0ccb71 --- /dev/null +++ b/webassembly/24_en.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning References

+

We run into an issue with dynamic functions when we want to return a reference to an object. WebAssembly can only pass +around numbers! To break past this challenge, we must establish a convention of using a numerical handle to represent +a reference to our object in JavaScript.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/24_en_c.html b/webassembly/24_en_c.html new file mode 100644 index 000000000..4992792ed --- /dev/null +++ b/webassembly/24_en_c.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Returning References

+

We run into an issue with dynamic functions when we want to return a reference to an object. WebAssembly can only pass +around numbers! To break past this challenge, we must establish a convention of using a numerical handle to represent +a reference to our object in JavaScript.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/24_es.html b/webassembly/24_es.html new file mode 100644 index 000000000..3a1c08801 --- /dev/null +++ b/webassembly/24_es.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Returning References

+

We run into an issue with dynamic functions when we want to return a reference to an object. WebAssembly can only pass +around numbers! To break past this challenge, we must establish a convention of using a numerical handle to represent +a reference to our object in JavaScript.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/24_fr.html b/webassembly/24_fr.html new file mode 100644 index 000000000..a4640c51e --- /dev/null +++ b/webassembly/24_fr.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retourner une référence

+

Nous rencontrons cependant un problème avec les fonctions dynamiques +lorsque nous voulons retourner une référence à un objet. En effet, +WebAssembly et JavaScript ne peuvent échanger entre eux uniquement +des nombres! Afin de surmonter ce problème, il nous suffit d'établir +une convention pour pouvoir référencer nos objets JavaScript en +stockant ces objets dans le contexte.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/24_fr_c.html b/webassembly/24_fr_c.html new file mode 100644 index 000000000..e1e616061 --- /dev/null +++ b/webassembly/24_fr_c.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Returning References

+

We run into an issue with dynamic functions when we want to return a reference to an object. WebAssembly can only pass +around numbers! To break past this challenge, we must establish a convention of using a numerical handle to represent +a reference to our object in JavaScript.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/24_ie.html b/webassembly/24_ie.html new file mode 100644 index 000000000..4134e8a55 --- /dev/null +++ b/webassembly/24_ie.html @@ -0,0 +1,62 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Returning References

+

We run into an issue with dynamic functions when we want to return a reference to an object. WebAssembly can only pass +around numbers! To break past this challenge, we must establish a convention of using a numerical handle to represent +a reference to our object in JavaScript.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/24_ja.html b/webassembly/24_ja.html new file mode 100644 index 000000000..7e13142da --- /dev/null +++ b/webassembly/24_ja.html @@ -0,0 +1,63 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照を返す

+

このやり方では、オブジェクトへの参照を返したい場合に問題があります。 WebAssemblyからは数値しか渡すことができないからです!

+

これを乗り越えるためには、数値ハンドルを使ってJavaScriptのオブジェクトへの参照を保持する仕組みを導入するしかありません。

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+  query_selector_handle,
+  selector.as_ptr() as f64,
+  selector.len() as f64
+);
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/24_pt-br.html b/webassembly/24_pt-br.html new file mode 100644 index 000000000..7526fa5a0 --- /dev/null +++ b/webassembly/24_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando Referências

+

Nos deparamos com um problema com funções dinâmicas quando queremos retornar uma referência a um objeto. O WebAssembly pode retornar somente números! Para superar esse desafio precisamos estabelecer uma convenção de uso de um identificador numérico para representar uma referência ao nosso objeto em JavaScript.

+

```rust let queryselectorhandle = register_function(" + (context, selectorStart, selectorEnd) => { + let selector = context.getUtf8FromMemory( + selectorStart, selectorEnd); + let domEl = document.querySelector(selector); + let objHandle = context.storeObject(domEl); + return objHandle; + }");

+

let selector = "#fancy-button"; +let domelementhandle = jsinvokewith2params( + loghandle, selector.asptr() as f64, + selector.len() as f64 ); +```

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/24_ro.html b/webassembly/24_ro.html new file mode 100644 index 000000000..1cd1cbba9 --- /dev/null +++ b/webassembly/24_ro.html @@ -0,0 +1,62 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea referințelor

+

Când vrem să returnăm o referință la un obiect, întâlnim o problemă la funcțiile dinamice. WebAssembly poate să trimită înainte și înapoi doar numere! +Pentru a trece peste acest obstacol, trebuie să stabilim o convenție de a folosi un identificator numeric pentru a reprezenta +o referință către obiectul nostru în JavaScript.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/25_en.html b/webassembly/25_en.html new file mode 100644 index 000000000..564f8000f --- /dev/null +++ b/webassembly/25_en.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+
    +
  • storeObject(object) -> f64 - Stores an object and returns a numerical handle.
  • +
  • getObject(f64) -> object - Get a reference to an object by it's numerical handle.
  • +
  • releaseObject(f64) -> object - Release a reference to an object from storage, allowing it's memory to be freed.
  • +
+

The implementation of something like this is called an allocator. This is beyond the scope of this tutorial. We +could imagine a very naive implementation of this which is essentially just an ever growing vector where +when an object is stored in the vector and it's index is returned as the handle.

+
let storage = [];
+
+function storeObject(obj){
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle){
+  return storage[handle];
+}
+
+function releaseObject(handle){
+  return storage[handle] = null;
+}
+
+

There are many issues for you to consider with your implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/25_en_c.html b/webassembly/25_en_c.html new file mode 100644 index 000000000..8a1c9b154 --- /dev/null +++ b/webassembly/25_en_c.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+
    +
  • storeObject(object) -> f64 - Stores an object and returns a numerical handle.
  • +
  • getObject(f64) -> object - Get a reference to an object by it's numerical handle.
  • +
  • releaseObject(f64) -> object - Release a reference to an object from storage, allowing it's memory to be freed.
  • +
+

The implementation of something like this is called an allocator. This is beyond the scope of this tutorial. We +could imagine a very naive implementation of this which is essentially just an ever growing vector where +when an object is stored in the vector and it's index is returned as the handle.

+
let storage = [];
+
+function storeObject(obj){
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle){
+  return storage[handle];
+}
+
+function releaseObject(handle){
+  return storage[handle] = null;
+}
+
+

There are many issues for you to consider with your implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/25_es.html b/webassembly/25_es.html new file mode 100644 index 000000000..e5eaa294e --- /dev/null +++ b/webassembly/25_es.html @@ -0,0 +1,72 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+
    +
  • storeObject(object) -> f64 - Stores an object and returns a numerical handle.
  • +
  • getObject(f64) -> object - Get a reference to an object by it's numerical handle.
  • +
  • releaseObject(f64) -> object - Release a reference to an object from storage, allowing it's memory to be freed.
  • +
+

The implementation of something like this is called an allocator. This is beyond the scope of this tutorial. We +could imagine a very naive implementation of this which is essentially just an ever growing vector where +when an object is stored in the vector and it's index is returned as the handle.

+
let storage = [];
+
+function storeObject(obj){
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle){
+  return storage[handle];
+}
+
+function releaseObject(handle){
+  return storage[handle] = null;
+}
+
+

There are many issues for you to consider with your implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/25_fr.html b/webassembly/25_fr.html new file mode 100644 index 000000000..e0781f694 --- /dev/null +++ b/webassembly/25_fr.html @@ -0,0 +1,77 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Allocateurs

+

Comme nous venons de le voir, pour retourner la référence d'un objet +JavaScript, nous devons mettre en place un mécanisme de stockage pour +les objets à référencer:

+
    +
  • storeObject(object) -> f64 - Stocke la référence d'un objet et +retourne cette référence.
  • +
  • getObject(f64) -> object - Récupère la référence d'un objet.
  • +
  • releaseObject(f64) -> object - Supprime la référence d'un objet +présent dans le stockage, permettant ainsi de libérer l'espace mémoire.
  • +
+

Ce mécanisme de stockage est ce qu'on appelle un allocateur. Cela dépasse +la portée de ce tutoriel mais on pourrait imaginer une mise en œuvre très +naïve en utilisant un tableau dans lequel sont stockés les objects.

+
let storage = [];
+
+function storeObject(obj){
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle){
+  return storage[handle];
+}
+
+function releaseObject(handle){
+  return storage[handle] = null;
+}
+
+

Cela dit, cette implémentation simpliste présente de nombreux +problèmes que nous n'arborderons pas ici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/25_fr_c.html b/webassembly/25_fr_c.html new file mode 100644 index 000000000..b87a4285c --- /dev/null +++ b/webassembly/25_fr_c.html @@ -0,0 +1,72 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+
    +
  • storeObject(object) -> f64 - Stores an object and returns a numerical handle.
  • +
  • getObject(f64) -> object - Get a reference to an object by it's numerical handle.
  • +
  • releaseObject(f64) -> object - Release a reference to an object from storage, allowing it's memory to be freed.
  • +
+

The implementation of something like this is called an allocator. This is beyond the scope of this tutorial. We +could imagine a very naive implementation of this which is essentially just an ever growing vector where +when an object is stored in the vector and it's index is returned as the handle.

+
let storage = [];
+
+function storeObject(obj){
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle){
+  return storage[handle];
+}
+
+function releaseObject(handle){
+  return storage[handle] = null;
+}
+
+

There are many issues for you to consider with your implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/25_ie.html b/webassembly/25_ie.html new file mode 100644 index 000000000..7aac98488 --- /dev/null +++ b/webassembly/25_ie.html @@ -0,0 +1,72 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+
    +
  • storeObject(object) -> f64 - Stores an object and returns a numerical handle.
  • +
  • getObject(f64) -> object - Get a reference to an object by it's numerical handle.
  • +
  • releaseObject(f64) -> object - Release a reference to an object from storage, allowing it's memory to be freed.
  • +
+

The implementation of something like this is called an allocator. This is beyond the scope of this tutorial. We +could imagine a very naive implementation of this which is essentially just an ever growing vector where +when an object is stored in the vector and it's index is returned as the handle.

+
let storage = [];
+
+function storeObject(obj){
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle){
+  return storage[handle];
+}
+
+function releaseObject(handle){
+  return storage[handle] = null;
+}
+
+

There are many issues for you to consider with your implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/25_ja.html b/webassembly/25_ja.html new file mode 100644 index 000000000..c7054550c --- /dev/null +++ b/webassembly/25_ja.html @@ -0,0 +1,71 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

アロケータ

+

オブジェクトをやり取りできるよう、ストレージの仕組みが必要です。

+
    +
  • storeObject(object) -> f64 - オブジェクトを格納し、数値をハンドルとして返す
  • +
  • getObject(f64) -> object - 数値ハンドルから、オブジェクトへの参照を返す
  • +
  • releaseObject(f64) -> object - メモリを開放するために、オブジェクトを参照を解除
  • +
+

このような実装のことを、アロケータといいます。(詳細はこのツアーの範疇を超えています)

+

本質的には、オブジェクトを格納することができ、その際にインデックスがハンドルとして返される無限のベクタです。

+
let storage = [];
+
+function storeObject(obj) {
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle) {
+  return storage[handle];
+}
+
+function releaseObject(handle) {
+  return storage[handle] = null;
+}
+
+

実装としては考慮すべき点が多くあります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/25_pt-br.html b/webassembly/25_pt-br.html new file mode 100644 index 000000000..0dfa3a3ae --- /dev/null +++ b/webassembly/25_pt-br.html @@ -0,0 +1,66 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Alocadores

+

Como podemos ver para comunicar os objetos corretamente precisamos ter algum tipo de mecanismo de armazenamento para os objetos:

+
    +
  • storeObject(object) -> f64 - Armazena um objeto e retorna um identificador numérico.
  • +
  • getObject(f64) -> object - Obtém a referência de um objeto por seu identificador numérico.
  • +
  • releaseObject(f64) -> object - Libere uma referência de um objeto do armazenamento, permitindo que sua memória seja liberada.
  • +
+

A implementação de algo assim é chamado de alocador. Isso está além do escopo deste tutorial. Poderíamos imaginar uma implementação muito ingênua disso, que é essencialmente apenas um vetor sempre crescente, no qual um objeto é armazenado no vetor e seu índice é retornado como identificador.

+

let storage = []; +function storeObject(obj){ + let index = storage.length; + storage.push(obj); + return index; +} +function getObject(handle){ + return storage[handle]; +} +function releaseObject(handle){ + return storage[handle] = null; +}

+

Há muitas questões que você deve considerar na sua implementação.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/25_ro.html b/webassembly/25_ro.html new file mode 100644 index 000000000..80570d82e --- /dev/null +++ b/webassembly/25_ro.html @@ -0,0 +1,78 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Alocatoare

+

După cum putem vedea, pentru a comunica corect obiecte, avem nevoie de un fel de mecanism de stocare pentru obiecte:

+
    +
  • storeObject(object) -> f64 - Stochează un obiect și returnează un identificator +numeric.

  • +
  • getObject(f64) -> object - Obține o referință la un obiect prin identificatorul +său numeric.

  • +
  • releaseObject(f64) -> object - Eliberează o referință la un obiect din +spațiul de stocare, permițând eliberarea memoriei sale.

  • +
+

Implementarea unei astfel de funcționalități se numește alocator. Acesta este dincolo de sfera acestui tutorial. Ne-am putea imagina o implementare foarte simplă a +acestuia și anume un vector în creștere continuă astfel încât +un obiect este stocat în vector și indicele său este returnat ca identificator.

+
  let storage = [];
+
+
+  function storeObject(obj){
+    let index = storage.length;
+    storage.push(obj);
+    return index;
+  }
+
+
+  function getObject(handle){
+    return storage[handle];
+  }
+
+
+  function releaseObject(handle){
+    return storage[handle] = null;
+  }
+
+

Sunt multe aspecte pe care trebuie să le luăm în considerare în implementarea noastră.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_en.html b/webassembly/26_en.html new file mode 100644 index 000000000..38ce217c5 --- /dev/null +++ b/webassembly/26_en.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Drawing To The Screen

+

Let's put it all together with a an example by drawing a red square to the screen. Let's think about the functions we'll need +to register:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_en_c.html b/webassembly/26_en_c.html new file mode 100644 index 000000000..45c6c59ab --- /dev/null +++ b/webassembly/26_en_c.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Drawing To The Screen

+

Let's put it all together with a an example by drawing a red square to the screen. Let's think about the functions we'll need +to register:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_es.html b/webassembly/26_es.html new file mode 100644 index 000000000..dbf81b9a8 --- /dev/null +++ b/webassembly/26_es.html @@ -0,0 +1,72 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Drawing To The Screen

+

Let's put it all together with a an example by drawing a red square to the screen. Let's think about the functions we'll need +to register:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_fr.html b/webassembly/26_fr.html new file mode 100644 index 000000000..28915efff --- /dev/null +++ b/webassembly/26_fr.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dessiner à l'écran

+

Mettons en pratique tout ce que nous venons de voir avec un exemple où +nous allons dessiner un carré rouge à l'écran. Voici les fonctions dont +nous aurons besoin:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_fr_c.html b/webassembly/26_fr_c.html new file mode 100644 index 000000000..6dfa858f3 --- /dev/null +++ b/webassembly/26_fr_c.html @@ -0,0 +1,72 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Drawing To The Screen

+

Let's put it all together with a an example by drawing a red square to the screen. Let's think about the functions we'll need +to register:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_ie.html b/webassembly/26_ie.html new file mode 100644 index 000000000..245aab9fb --- /dev/null +++ b/webassembly/26_ie.html @@ -0,0 +1,72 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Drawing To The Screen

+

Let's put it all together with a an example by drawing a red square to the screen. Let's think about the functions we'll need +to register:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_ja.html b/webassembly/26_ja.html new file mode 100644 index 000000000..5b708c72a --- /dev/null +++ b/webassembly/26_ja.html @@ -0,0 +1,74 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

画面への描画

+

学んだ全てを組み合わせて、赤い四角を画面に描画する例を考えます。

+

登録すべき関数はこのようになります。

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart, selectorEnd
+    );
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart, colorEnd
+    );
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x, y, width, height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_pt-br.html b/webassembly/26_pt-br.html new file mode 100644 index 000000000..6ca3962aa --- /dev/null +++ b/webassembly/26_pt-br.html @@ -0,0 +1,69 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desenhando na Tela

+

Vamos juntar tudo em um exemplo desenhando um quadrado vermelho na tela. Vamos pensar a respeito das funções que precisaremos registrar:

+

```rust let get2dcontext = register_function(" + (context, selectorStart, selectorEnd) => { + let selector = context.getUtf8FromMemory( + selectorStart, selectorEnd); + let domEl = document.querySelector(selector); + let ctx = domEl.getContext("2d"); + let objHandle = context.storeObject(ctx); + return objHandle; + }");

+

let setcontextcolor = register_function(" + (context, ctxHandle, colorStart, colorEnd) => { + let color = context.getUtf8FromMemory( + colorStart, colorEnd); + let ctx = context.getObject(ctxHandle); + ctx.fillStyle = color; + }");

+

let drawrect = registerfunction(" + (context, ctxHandle, x, y, width, height) => { + let ctx = context.getObject(ctxHandle); + ctx.fillRect(x, y, width, height); + }"); +```

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/26_ro.html b/webassembly/26_ro.html new file mode 100644 index 000000000..98fad0bfc --- /dev/null +++ b/webassembly/26_ro.html @@ -0,0 +1,72 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desenarea pe ecran

+

Să punem toate informațiile laolaltă pentru a crea un exemplu, desenând un pătrat roșu pe ecran. Să ne gândim la funcțiile +pe care trebuie să le înregistrăm:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/27_en.html b/webassembly/27_en.html new file mode 100644 index 000000000..bbef6ea94 --- /dev/null +++ b/webassembly/27_en.html @@ -0,0 +1,47 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 Conclusion

+

We now have the ability to invoke any kind of JavaScript! How cool is that? Using eval obviously is not that ideal, +but WebAssembly is an evolving technology that will one day have better ways to access any aspect of the +browser. Until then we do our best! The next chapter is on asynchronous programming!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/27_en_c.html b/webassembly/27_en_c.html new file mode 100644 index 000000000..c77dbc162 --- /dev/null +++ b/webassembly/27_en_c.html @@ -0,0 +1,47 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 Conclusion

+

We now have the ability to invoke any kind of JavaScript! How cool is that? Using eval obviously is not that ideal, +but WebAssembly is an evolving technology that will one day have better ways to access any aspect of the +browser. Until then we do our best! The next chapter is on asynchronous programming!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/27_es.html b/webassembly/27_es.html new file mode 100644 index 000000000..d709114b8 --- /dev/null +++ b/webassembly/27_es.html @@ -0,0 +1,47 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 Conclusion

+

We now have the ability to invoke any kind of JavaScript! How cool is that? Using eval obviously is not that ideal, +but WebAssembly is an evolving technology that will one day have better ways to access any aspect of the +browser. Until then we do our best! The next chapter is on asynchronous programming!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/27_fr.html b/webassembly/27_fr.html new file mode 100644 index 000000000..d6c3fdd0d --- /dev/null +++ b/webassembly/27_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 3 - Conclusion

+

Nous avons maintenant la possibilité d'invoquer tout type de JavaScript +avec WebAssembly! N'est-ce pas génial? Utiliser eval n'est évidemment +pas idéal, mais WebAssembly est une technologie en évolution qui aura +un jour de meilleurs moyens d'accéder à n'importe quel aspect du navigateur. +D'ici là, nous faisons de notre mieux! Le chapitre suivant est consacré +à la programmation asynchrone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/27_fr_c.html b/webassembly/27_fr_c.html new file mode 100644 index 000000000..88296b6ff --- /dev/null +++ b/webassembly/27_fr_c.html @@ -0,0 +1,47 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 Conclusion

+

We now have the ability to invoke any kind of JavaScript! How cool is that? Using eval obviously is not that ideal, +but WebAssembly is an evolving technology that will one day have better ways to access any aspect of the +browser. Until then we do our best! The next chapter is on asynchronous programming!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/27_ie.html b/webassembly/27_ie.html new file mode 100644 index 000000000..ace3f0d0a --- /dev/null +++ b/webassembly/27_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 Conclusion

+

We now have the ability to invoke any kind of JavaScript! How cool is that? Using eval obviously is not that ideal, +but WebAssembly is an evolving technology that will one day have better ways to access any aspect of the +browser. Until then we do our best! The next chapter is on asynchronous programming!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/27_ja.html b/webassembly/27_ja.html new file mode 100644 index 000000000..38878376e --- /dev/null +++ b/webassembly/27_ja.html @@ -0,0 +1,47 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3章のまとめ

+

これでどんなJavaScriptでも実行できるようになりました!すごいですよね?

+

evalの使用は理想的ではないかもしれません。 しかし進化を続けるWebAssemblyならば、いつの日か ブラウザのあらゆる機能にアクセスするよりよい方法が得られると思います。

+

その日が来るまでは、やれることをやりましょう! 次の章は、非同期プログラミングについてです!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/27_pt-br.html b/webassembly/27_pt-br.html new file mode 100644 index 000000000..a6b2d1eb9 --- /dev/null +++ b/webassembly/27_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Conclusão

+

Agora temos a capacidade de invocar qualquer tipo de JavaScript! Quão legal é isso? Usar eval obviamente não é o ideal, mas o WebAssembly é uma tecnologia em evolução que um dia terá melhores maneiras de acessar qualquer aspecto do navegador. Até lá, fazemos o nosso melhor! O próximo capítulo é sobre programação assíncrona!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/27_ro.html b/webassembly/27_ro.html new file mode 100644 index 000000000..b60d69d18 --- /dev/null +++ b/webassembly/27_ro.html @@ -0,0 +1,47 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Concluzia capitolului 3

+

Acum avem capacitatea de a invoca orice fel de funcție JavaScript! Cât de tare e asta? Folosirea funției eval evident că nu este chiar ideală, +dar WebAssembly este o tehnologie în evoluție, care va avea într-o zi modalități mai bune de a accesa orice +aspect al browserului. Până atunci, facem tot ce ne stă în putință! Următorul capitol este despre programarea asincronă!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_en.html b/webassembly/TOC_en.html new file mode 100644 index 000000000..396ffed72 --- /dev/null +++ b/webassembly/TOC_en.html @@ -0,0 +1,69 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lessons

+

Chapter 1 - What Is WebAssembly?

Chapter 2 - Sharing Data Structures

Chapter 3 - Dynamic Invocation

+
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_en_c.html b/webassembly/TOC_en_c.html new file mode 100644 index 000000000..e7872de16 --- /dev/null +++ b/webassembly/TOC_en_c.html @@ -0,0 +1,69 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lessons

+

Chapter 1 - What Is WebAssembly?

Chapter 2 - Sharing Data Structures

[Untranslated] Chapter 3 - Dynamic Invocation

+
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_es.html b/webassembly/TOC_es.html new file mode 100644 index 000000000..ba3f2d4f4 --- /dev/null +++ b/webassembly/TOC_es.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lecciones

+

Capítulo 1 - Qué es WebAssembly?

[Untranslated] Chapter 2 - Sharing Data Structures

[Untranslated] Chapter 3 - Dynamic Invocation

+
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_fr.html b/webassembly/TOC_fr.html new file mode 100644 index 000000000..f6a1518ce --- /dev/null +++ b/webassembly/TOC_fr.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Leçons

+

Chapitre 1 - Qu'est-ce que WebAssembly?

Chapitre 2 - Partage de structures de données

Chapitre 3 - Invocation dynamique

+
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_fr_c.html b/webassembly/TOC_fr_c.html new file mode 100644 index 000000000..4e61d4054 --- /dev/null +++ b/webassembly/TOC_fr_c.html @@ -0,0 +1,69 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lessons

+

Chapitre 1 - Qu'est-ce que WebAssembly?

Chapitre 2 - Partage de structures de données

[Untranslated] Chapter 3 - Dynamic Invocation

+
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_ie.html b/webassembly/TOC_ie.html new file mode 100644 index 000000000..82e644ae5 --- /dev/null +++ b/webassembly/TOC_ie.html @@ -0,0 +1,69 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+
+ Tur de Rust + + +
+
+

Lectiones

+

Chapter 1 - Quo es WebAssembly?

[Untranslated] Chapter 2 - Sharing Data Structures

[Untranslated] Chapter 3 - Dynamic Invocation

+
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_ja.html b/webassembly/TOC_ja.html new file mode 100644 index 000000000..8fda0fb38 --- /dev/null +++ b/webassembly/TOC_ja.html @@ -0,0 +1,69 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

レッスン

+

1章 - WebAssemblyとは?

2章 - データ構造を共有する

3章 - 動的に実行する

+
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_pt-br.html b/webassembly/TOC_pt-br.html new file mode 100644 index 000000000..db67baf9a --- /dev/null +++ b/webassembly/TOC_pt-br.html @@ -0,0 +1,69 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Unidades

+

Capítulo 1 - O Que É WebAssembly?

Capítulo 2 - Compartilhando Estruturas de dados

Capítulo 3 - Invocação Dinâmica

+
+
+ + \ No newline at end of file diff --git a/webassembly/TOC_ro.html b/webassembly/TOC_ro.html new file mode 100644 index 000000000..082c46a59 --- /dev/null +++ b/webassembly/TOC_ro.html @@ -0,0 +1,69 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lecții

+

Capitolul 1 - Ce este WebAssembly?

Capitolul 2 - Partajarea structurilor de date

Capitolul 3 - Invocare dinamică

+
+
+ + \ No newline at end of file diff --git a/webassembly/beta_00_en_c.html b/webassembly/beta_00_en_c.html new file mode 100644 index 000000000..052d372bd --- /dev/null +++ b/webassembly/beta_00_en_c.html @@ -0,0 +1,59 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello, WebAssembly

+

Welcome to the Tour of WebAssembly. This is meant to be a introduction to the technology +and how C can be used to power the web. This tour is also available in Rust.

+ +

If you have suggestions on content or would like to contribute to translations, +checkout out Tour of WebAssembly's github repository.

+

You can navigate through the tour with keyboard ⬅️ and ➡️

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_00_es.html b/webassembly/beta_00_es.html new file mode 100644 index 000000000..cd66e55b8 --- /dev/null +++ b/webassembly/beta_00_es.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hola, WebAssembly

+

Bienvenido al Tour de WebAssembly. Este tutorial pretende introducirte a la tecnología y +a cómo Rust puede ser usado para mejorar la web. Si eres completamente nuevo en Rust, quizá te +interese el Tour de Rust! La mayoría de nuestros ejemplos serán lo +suficientemente fáciles para cualquier persona que quiera seguirlos.

+ +

En el caso de que tengas sugerencias respecto al contenido o quieras contribuir con traducciones, +vaya al repositorio del Tour de WebAssembly github repository.

+

Puedes navegar por el tour usando el teclado ⬅️ y ➡️

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_00_fr.html b/webassembly/beta_00_fr.html new file mode 100644 index 000000000..ac3a34a1a --- /dev/null +++ b/webassembly/beta_00_fr.html @@ -0,0 +1,62 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salut, WebAssembly

+

Bienvenue au * Tour de WebAssembly *. Celui-ci a pour but d'être une introduction à la technologie +et comment Rust peut être utilisé pour alimenter le Web. Si tu n'es pas à l'aise avec Rust, +je te conseilles le Tour de Rust! La plupart de nos exemples seront +suffisamment simples pour pouvoir être suivis par n'importe qui, même les débutants. +Cette visite est également disponible en C.

+ +

Si tu as des suggestions sur le contenu ou souhaite contribuer aux traductions, +consultes le dépôt github du Tour de WebAssembly.

+

Tu peux parcourir la visite avec les touches ⬅️ et ➡️ du clavier.

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_00_fr_c.html b/webassembly/beta_00_fr_c.html new file mode 100644 index 000000000..00629ce06 --- /dev/null +++ b/webassembly/beta_00_fr_c.html @@ -0,0 +1,59 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salut, WebAssembly

+

Bienvenue au Tour de WebAssembly. Celui-ci a pour but d'être une introduction à la technologie +et comment Rust peut être utilisé pour alimenter le Web. Cette visite est également disponible en Rust.

+ +

Si tu as des suggestions sur le contenu ou souhaite contribuer aux traductions, +consultes le dépôt github du Tour de WebAssembly.

+

Tu peux parcourir la visite avec les touches ⬅️ et ➡️ du clavier.

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_00_ie.html b/webassembly/beta_00_ie.html new file mode 100644 index 000000000..6538ee89c --- /dev/null +++ b/webassembly/beta_00_ie.html @@ -0,0 +1,61 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salute, WebAssembly

+

Benevenit al Tur de WebAssembly, un tur quel intente esser un introduction al tecnologie +e qualmen on posse usar Rust por dar plu fortie al web. Si tu es un novon a Rust, noi recomanda li +Tour of Rust! Malgré to, li pluparte de nor exemples va esser facil +a sequer por quicunc. Li tur es anc disponibil in C.

+ +

Si tu have suggestiones pri contenete o vole contribuer al traductiones, +ples vider li repositoria github del Tur.

+

Tu posse navigar tra li tur con li claves ⬅️ e ➡️

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_00_ja.html b/webassembly/beta_00_ja.html new file mode 100644 index 000000000..e351f04a3 --- /dev/null +++ b/webassembly/beta_00_ja.html @@ -0,0 +1,60 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

こんにちは, WebAssembly

+

WebAssembly ツアーへようこそ。 ここでは、Webを発展させるために、Rustを使ってなにができるかを紹介します。 +ほとんどの例は、誰にでも十分わかるように書かれていますが、もしあなたが完全なRust初心者の場合は、Rust ツアーがおすすめです。 +このツアーはCでも利用可能です。

+ +

コンテンツへの提案や翻訳に貢献したい場合、 +WebAssembly ツアーの github リポジトリをチェックしてください。

+

キーボードの ⬅️➡️ でツアーをナビゲートできます。

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_00_pt-br.html b/webassembly/beta_00_pt-br.html new file mode 100644 index 000000000..45edfb904 --- /dev/null +++ b/webassembly/beta_00_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Olá, WebAssembly

+

Bem-vindo ao Tour por WebAssembly. Pretendemos ser uma introdução a esta tecnologia e de como o Rust pode ser usado para dar mais força à web. Se você é completamente novo no Rust pode apreciar o Tour por Rust! A maioria dos nossos exemplos será fácil o suficiente para qualquer pessoa acompanhar. Este tour também está disponível para a linguagem C.

+ +

Caso tenha alguma sugestão a respeito do conteúdo ou queira contribuir com as traduções, veja o repositório do Tour do WebAssembly github repository.

+

Você pode navegar pelo tour usando ⬅️ e ➡️

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_00_ro.html b/webassembly/beta_00_ro.html new file mode 100644 index 000000000..877a324df --- /dev/null +++ b/webassembly/beta_00_ro.html @@ -0,0 +1,61 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Salut, WebAssembly

+

Bine ați venit la Turul WebAssembly. Acesta este conceput să fie o introducere în tehnologie +și modul în care Rust poate fi folosit pentru a dezvolta aplicații web. Dacă este prima oară când folosiți Rust, s-ar putea +să vă placă Turul limbajului Rust! În mare parte, exemplele noastre vor fi suficient de ușoare pentru +a fi urmărite de oricine. Acest tur este disponibil și în limbajul C.

+ +

Dacă aveți sugestii cu privire la conținut sau doriți să contribuiți la traduceri, +verificați repository-ul de Github.

+

Puteți naviga prin tur folosind tastele ⬅️ și ➡️

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_en.html b/webassembly/beta_02_en.html new file mode 100644 index 000000000..2693e4334 --- /dev/null +++ b/webassembly/beta_02_en.html @@ -0,0 +1,52 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inside A Module

+

When you compile to a WebAssembly target your compiler should create a file ending in .wasm called a module.

+

The module is a binary format full of information on how a +wasm program and its memory should be setup and interacted with:

+
    +
  • a list of functions
  • +
  • what functions should be exported/imported
  • +
  • what data should initially be in the wasm modules memory
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_en_c.html b/webassembly/beta_02_en_c.html new file mode 100644 index 000000000..bd7075da2 --- /dev/null +++ b/webassembly/beta_02_en_c.html @@ -0,0 +1,52 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Inside A Module

+

When you compile to a WebAssembly target your compiler should create a file ending in .wasm called a module.

+

The module is a binary format full of information on how a +wasm program and its memory should be setup and interacted with:

+
    +
  • a list of functions
  • +
  • what functions should be exported/imported
  • +
  • what data should initially be in the wasm modules memory
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_es.html b/webassembly/beta_02_es.html new file mode 100644 index 000000000..4b82c2d37 --- /dev/null +++ b/webassembly/beta_02_es.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dentro de un Módulo

+

Cuando compilas a WebAssembly, su compilador debe crear un archivo acabado en +.wasm llamado módulo.

+

El módulo es un formato binario con +toda la información necesaria para que un programa wasm y su memoria sean configurados e interaccionen +con:

+
    +
  • una lista de funciones.
  • +
  • qué funciones deben de ser exportadas/importadas.
  • +
  • qué datos tienen que estar inicialmente en la memoria de los módulos wasm.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_fr.html b/webassembly/beta_02_fr.html new file mode 100644 index 000000000..359cf5746 --- /dev/null +++ b/webassembly/beta_02_fr.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

À l'Intérieur d'un Module

+

Lorsque tu compiles vers du bytecode WebAssembly, le compilateur +crée un fichier .wasm qu'on appele un module.

+

Un module est un format binaire +contenant des informations sur le programme wasm et sur la mémoire qu'il +utilise. Un module contient:

+
    +
  • une liste de fonctions
  • +
  • quelles fonctions doivent être exportées/importées
  • +
  • quelles données doivent se trouver initialement dans la mémoire des modules wasm
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_fr_c.html b/webassembly/beta_02_fr_c.html new file mode 100644 index 000000000..f1d9a5308 --- /dev/null +++ b/webassembly/beta_02_fr_c.html @@ -0,0 +1,54 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

À l'Intérieur d'un Module

+

Lorsque tu compiles vers du bytecode WebAssembly, le compilateur +crée un fichier .wasm qu'on appele un module.

+

Un module est un format binaire +contenant des informations sur le programme wasm et sur la mémoire qu'il +utilise. Un module contient:

+
    +
  • une liste de fonctions
  • +
  • quelles fonctions doivent être exportées/importées
  • +
  • quelles données doivent se trouver initialement dans la mémoire des modules wasm
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_ie.html b/webassembly/beta_02_ie.html new file mode 100644 index 000000000..b4a5f58a9 --- /dev/null +++ b/webassembly/beta_02_ie.html @@ -0,0 +1,52 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Quo Sta in un Modul

+

Quande on compila a un cible de WebAssembly, li compilator deve crear un archive quel fini se con .wasm nominat un modul.

+

Li modul es in formate binari e plen de information pri qualmen +on mey crear e interacter con un programma wasm program e su memorie:

+
    +
  • un liste de functiones
  • +
  • quel functiones mey esser exportat/importat
  • +
  • quel data mey esser in prim in li memorie del modules wasm
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_ja.html b/webassembly/beta_02_ja.html new file mode 100644 index 000000000..0d29f6b35 --- /dev/null +++ b/webassembly/beta_02_ja.html @@ -0,0 +1,52 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Moduleについて

+

WebAssemblyをターゲットにしてコードをコンパイルすると、.wasmファイルができます。これを、モジュールと呼びます。

+

モジュールは、バイナリ形式で、どのようにプログラムが振る舞うのかのすべての情報が入っています。 +たとえば、これらです。

+
    +
  • 関数のリスト
  • +
  • どの関数がエクスポート、インポートされるか
  • +
  • どんなデータがあらかじめWASMモジュールのメモリに格納されるか
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_pt-br.html b/webassembly/beta_02_pt-br.html new file mode 100644 index 000000000..a7debf32e --- /dev/null +++ b/webassembly/beta_02_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Por Dentro de um Módulo

+

Quando você compila para WebAssembly, seu compilador deve criar um arquivo terminado em .wasm chamado de módulo.

+

O módulo é um formato binário com todas as informações para que um programa wasm e a sua memória sejam configurados e interajam com:

+
    +
  • uma lista de funções.
  • +
  • quais funções devem ser exportadas/importadas.
  • +
  • quais dados devem inicialmente estar na memória dos módulos wasm.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_02_ro.html b/webassembly/beta_02_ro.html new file mode 100644 index 000000000..1419e354a --- /dev/null +++ b/webassembly/beta_02_ro.html @@ -0,0 +1,52 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

În interiorul unui modul

+

Când compilați pentru WebAssembly, compilatorul ar trebui să creeze un fișier cu extensia .wasm numit modul.

+

Modulul este un format binar plin de informații despre cum un +program wasm și memoria acestuia ar trebui să fie configurate și să interacționeze cu:

+
    +
  • o listă de funcții
  • +
  • ce funcții ar trebui exportate/importate
  • +
  • ce date ar trebui să fie inițial în memoria modulului wasm
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_en.html b/webassembly/beta_03_en.html new file mode 100644 index 000000000..1122ecef8 --- /dev/null +++ b/webassembly/beta_03_en.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Loading A Module

+

Since a WebAssembly module is just a file of bytes. We first need to load those bytes in our browser.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_en_c.html b/webassembly/beta_03_en_c.html new file mode 100644 index 000000000..8c2f9b9ce --- /dev/null +++ b/webassembly/beta_03_en_c.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Loading A Module

+

Since a WebAssembly module is just a file of bytes. We first need to load those bytes in our browser.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_es.html b/webassembly/beta_03_es.html new file mode 100644 index 000000000..50c0fc99a --- /dev/null +++ b/webassembly/beta_03_es.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cargando un Módulo

+

Como un módulo de WebAssembly es apenas un conjunto de bytes, necesitamos primero cargar esos bytes +en nuestro navegador.

+
let file = await fetch('mi_modulo.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_fr.html b/webassembly/beta_03_fr.html new file mode 100644 index 000000000..3a71eb5d8 --- /dev/null +++ b/webassembly/beta_03_fr.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Charger un Module

+

Puisqu'un module WebAssembly n'est qu'un fichier d'octets (en anglais bytes), +nous devons d'abord charger ces octets dans notre navigateur.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_fr_c.html b/webassembly/beta_03_fr_c.html new file mode 100644 index 000000000..6d71615b1 --- /dev/null +++ b/webassembly/beta_03_fr_c.html @@ -0,0 +1,49 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Charger un Module

+

Puisqu'un module WebAssembly n'est qu'un fichier d'octets (en anglais bytes), +nous devons d'abord charger ces octets dans notre navigateur.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_ie.html b/webassembly/beta_03_ie.html new file mode 100644 index 000000000..58fbb6b01 --- /dev/null +++ b/webassembly/beta_03_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Cargar un Modul

+

Nam un modul WebAssembly es solmen un archive de bytes, noi va in prim cargar ti-ci bytes in nor navigator

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_ja.html b/webassembly/beta_03_ja.html new file mode 100644 index 000000000..4cc23639c --- /dev/null +++ b/webassembly/beta_03_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

モジュールのロード

+

WebAssemblyのモジュールはただのバイト列です。まずはそれをブラウザで読み込む必要があります。

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_pt-br.html b/webassembly/beta_03_pt-br.html new file mode 100644 index 000000000..8d9f4a445 --- /dev/null +++ b/webassembly/beta_03_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Carregando um Módulo

+

Como um módulo de WebAssembly é apenas um arquivo de bytes, precisamos primeiro carregar esses bytes em nosso navegador.

+

let file = await fetch('meu_arquivo.wasm'); +let bytes = await file.arrayBuffer();

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_03_ro.html b/webassembly/beta_03_ro.html new file mode 100644 index 000000000..20e77f9d2 --- /dev/null +++ b/webassembly/beta_03_ro.html @@ -0,0 +1,48 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Încărcarea unui modul

+

Deoarece un modul WebAssembly este doar un fișier de octeți, mai întâi trebuie să încărcăm acei octeți în browser.

+
let file = await fetch('my_file.wasm');
+let bytes = await file.arrayBuffer();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_04_en.html b/webassembly/beta_04_en.html new file mode 100644 index 000000000..fd48a51f8 --- /dev/null +++ b/webassembly/beta_04_en.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating a Module

+

Modules are created from bytes.

+
let module = await WebAssembly.instantiate(bytes);
+
+

During this phase we can import JavaScript functions we want our module to have access to. +We'll show an example of this next chapter.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_04_en_c.html b/webassembly/beta_04_en_c.html new file mode 100644 index 000000000..3598d4abf --- /dev/null +++ b/webassembly/beta_04_en_c.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Creating a Module

+

Modules are created from bytes.

+
let module = await WebAssembly.instantiate(bytes);
+
+

During this phase we can import JavaScript functions we want our module to have access to. +We'll show an example of this next chapter.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_04_fr.html b/webassembly/beta_04_fr.html new file mode 100644 index 000000000..c8b32ffa4 --- /dev/null +++ b/webassembly/beta_04_fr.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Créer d'un Module

+

Les modules sont créés à partir d'octets.

+
let module = await WebAssembly.instantiate(bytes);
+
+

Au cours de cette phase, nous pouvons également définir les fonctions à +importer et qui seront utilisées par notre module. Ne t'inquiète pas +si ce n'est pas clair, nous verrons un exemple d'import de fonction par +la suite.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_04_fr_c.html b/webassembly/beta_04_fr_c.html new file mode 100644 index 000000000..1e326620b --- /dev/null +++ b/webassembly/beta_04_fr_c.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Créer d'un Module

+

Les modules sont créés à partir d'octets.

+
let module = await WebAssembly.instantiate(bytes);
+
+

Au cours de cette phase, nous pouvons également définir les fonctions à +importer et qui seront utilisées par notre module. Ne t'inquiète pas +si ce n'est pas clair, nous verrons un exemple d'import de fonction par +la suite.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_04_ie.html b/webassembly/beta_04_ie.html new file mode 100644 index 000000000..86964772d --- /dev/null +++ b/webassembly/beta_04_ie.html @@ -0,0 +1,49 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crear un Modul

+

Modules es creat de bytes.

+
let module = await WebAssembly.instantiate(bytes);
+
+

Durant ti-ci fase noi posse importar li functiones de JavaScript a quel noi vole que nor modul mey posser accesser. +Noi va dar un exemple de to in li capitul a sequer.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_04_ja.html b/webassembly/beta_04_ja.html new file mode 100644 index 000000000..fcb31fde3 --- /dev/null +++ b/webassembly/beta_04_ja.html @@ -0,0 +1,49 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

モジュールの作成

+

モジュールはバイト列から作成されます。

+
let module = await WebAssembly.instantiate(bytes);
+
+

このとき、JavaScriptの関数などをモジュールがアクセスできるようにimportして渡すこともできます。 +次の章で紹介します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_04_pt-br.html b/webassembly/beta_04_pt-br.html new file mode 100644 index 000000000..636ed853a --- /dev/null +++ b/webassembly/beta_04_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Criando um Módulo

+

Módulos são criados a partir de bytes.

+

let module = await WebAssembly.instantiate(bytes);

+

Durante esta fase podemos importar funções JavaScript que desejamos que nosso módulo tenha acesso. Mostraremos um exemplo no próximo capítulo.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_04_ro.html b/webassembly/beta_04_ro.html new file mode 100644 index 000000000..42b6d8740 --- /dev/null +++ b/webassembly/beta_04_ro.html @@ -0,0 +1,49 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Crearea unui modul

+

Modulele sunt create din octeți.

+
let module = await WebAssembly.instantiate(bytes);
+
+

În această fază, putem importa funcții JavaScript la care dorim ca modulul nostru să aibă acces. +Vă vom oferi un exemplu în următorul capitol.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_05_en.html b/webassembly/beta_05_en.html new file mode 100644 index 000000000..20362152f --- /dev/null +++ b/webassembly/beta_05_en.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Using a Module

+

A module will have one or more export functions that are accessible to JavaScript. Typically +there is some export function to call in order to start a wasm program (e.g. main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_05_en_c.html b/webassembly/beta_05_en_c.html new file mode 100644 index 000000000..c0e813160 --- /dev/null +++ b/webassembly/beta_05_en_c.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Using a Module

+

A module will have one or more export functions that are accessible to JavaScript. Typically +there is some export function to call in order to start a wasm program (e.g. main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_05_fr.html b/webassembly/beta_05_fr.html new file mode 100644 index 000000000..63b764683 --- /dev/null +++ b/webassembly/beta_05_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Utiliser un Module

+

Un module peut exporter une ou plusieurs fonctions qui +seront utilisables par le code JavaScript. Typiquement +il existe une fonction à appeler pour démarrer +un programme wasm (par exemple main,start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_05_fr_c.html b/webassembly/beta_05_fr_c.html new file mode 100644 index 000000000..c03781c06 --- /dev/null +++ b/webassembly/beta_05_fr_c.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Utiliser un Module

+

Un module peut exporter une ou plusieurs fonctions qui +seront utilisables par le code JavaScript. Typiquement +il existe une fonction à appeler pour démarrer +un programme wasm (par exemple main,start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_05_ie.html b/webassembly/beta_05_ie.html new file mode 100644 index 000000000..aab1490b1 --- /dev/null +++ b/webassembly/beta_05_ie.html @@ -0,0 +1,48 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Usar un Modul

+

Un modul va haver un o pluri functiones export queles es accessibil a JavaScript. Tipicmen +hay alquel function de export a vocar por comensar un programma de wasm (p.ex. main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_05_ja.html b/webassembly/beta_05_ja.html new file mode 100644 index 000000000..7758a0892 --- /dev/null +++ b/webassembly/beta_05_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

モジュールを使用する

+

モジュールには、JavaScriptからアクセスできる1つ以上のexportされた関数があるはずです。 +多くの場合、WASMプログラムを起動するための関数があると思います。(例えばmain, startなど)

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_05_pt-br.html b/webassembly/beta_05_pt-br.html new file mode 100644 index 000000000..9d139eba6 --- /dev/null +++ b/webassembly/beta_05_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Usando um Módulo

+

Um módulo tem uma ou mais funções exportadas que estarão acessíveis ao JavaScript.

+

Tipicamente há uma função exportada que será chamada para iniciar um programa wasm (por exemplo: main, start).

+

module.instance.main();

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_05_ro.html b/webassembly/beta_05_ro.html new file mode 100644 index 000000000..210420159 --- /dev/null +++ b/webassembly/beta_05_ro.html @@ -0,0 +1,48 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Utilizarea unui modul

+

Un modul WebAssembly va avea una sau mai multe funcții export care sunt accesibile JavaScript-ului. De obicei +există o funcție export care poate fi apelată pentru a începe un program wasm (de exemplu main, start).

+
module.instance.main();
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_06_en.html b/webassembly/beta_06_en.html new file mode 100644 index 000000000..bdc6c7f12 --- /dev/null +++ b/webassembly/beta_06_en.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Let's put our knowledge all together and make a WebAssembly +module with a single export function add for adding two numbers, and put the +results in HTML.

+

#[no_mangle] tells our compiler to keep our function name human readable.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_06_en_c.html b/webassembly/beta_06_en_c.html new file mode 100644 index 000000000..1180f6b3a --- /dev/null +++ b/webassembly/beta_06_en_c.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Let's put our knowledge all together and make a WebAssembly +module with a single export function add for adding two numbers, and put the +results in HTML.

+

__attribute__((visibility("default"))) tells our compiler to keep our function name human readable to JavaScript.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_06_fr.html b/webassembly/beta_06_fr.html new file mode 100644 index 000000000..94cf21b81 --- /dev/null +++ b/webassembly/beta_06_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Nous en savons suffisamment pour écrire notre premier module WebAssembly: +l'addition de deux nombre! Le résultat sera affiché dans l'html.

+

#[no_mangle] est un attribut disant au compilateur de conserver +le nom de la fonction pour qu'on puisse l'appeler depuis le JavaScript.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_06_fr_c.html b/webassembly/beta_06_fr_c.html new file mode 100644 index 000000000..d5f2a6945 --- /dev/null +++ b/webassembly/beta_06_fr_c.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Nous en savons suffisamment pour écrire notre premier module WebAssembly: +l'addition de deux nombre! Le résultat sera affiché dans l'html.

+

__attribute __ ((visibility ("default"))) est une directive disant au compilateur +de conserver le nom de la fonction pour qu'on puisse l'appeler depuis le JavaScript.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_06_ie.html b/webassembly/beta_06_ie.html new file mode 100644 index 000000000..13ccd9037 --- /dev/null +++ b/webassembly/beta_06_ie.html @@ -0,0 +1,50 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Lass nos combinar nor conossenties por crear un module de WebAssembly +con un sol export-function nominat add por addir du ciffres, e plazzar li +resultates in HTML.

+

Con #[no_mangle] noi instructe li compilator mantener li nómine de nor function leibil por entes homan.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_06_ja.html b/webassembly/beta_06_ja.html new file mode 100644 index 000000000..a0eb69803 --- /dev/null +++ b/webassembly/beta_06_ja.html @@ -0,0 +1,49 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

今までに覚えたことを使って、WebAssemblyのモジュールを作ってみましょう。 +2つの数値を足し合わせてHTMLに表示するだけの関数をexportしてみます。

+

#[no_mangle] を付与することで、コンパイラーに関数名を難読化しないよう伝えます。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_06_pt-br.html b/webassembly/beta_06_pt-br.html new file mode 100644 index 000000000..c90c4abcf --- /dev/null +++ b/webassembly/beta_06_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Vamos juntar nossos conhecimentos e criar um módulo WebAssembly com uma única função add exportada para somar dois números e colocar o resultado em HTML.

+

#[no_mangle] diz ao nosso compilador para manter o nome da nossa função legível para seres humanos.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_06_ro.html b/webassembly/beta_06_ro.html new file mode 100644 index 000000000..9f3408916 --- /dev/null +++ b/webassembly/beta_06_ro.html @@ -0,0 +1,50 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1+1

+

Haideți să punem cunoștințele noastre laolaltă și să facem un modul +WebAssembly cu o singură funcție export add, care să adune două numere +și să punem rezultatul acesteia în HTML.

+

#[no_mangle] spune compilatorului nostru să păstreze numele funcției într-un format inteligibil pentru oameni ("human readable").

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_07_en.html b/webassembly/beta_07_en.html new file mode 100644 index 000000000..72199da9f --- /dev/null +++ b/webassembly/beta_07_en.html @@ -0,0 +1,46 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 Conclusion

+

I hope it's clear that WebAssembly is not that complex fundamentally! In our next chapter we will +start looking into the details of how JavaScript and WebAssembly can talk about the same data.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_07_en_c.html b/webassembly/beta_07_en_c.html new file mode 100644 index 000000000..1a95e3f87 --- /dev/null +++ b/webassembly/beta_07_en_c.html @@ -0,0 +1,46 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 Conclusion

+

I hope it's clear that WebAssembly is not that complex fundamentally! In our next chapter we will +start looking into the details of how JavaScript and WebAssembly can talk about the same data.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_07_fr.html b/webassembly/beta_07_fr.html new file mode 100644 index 000000000..666456f89 --- /dev/null +++ b/webassembly/beta_07_fr.html @@ -0,0 +1,48 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Conclusion

+

J'espère t'avoir convaincu que, fondamentalement, WebAssembly +n'est pas si compliqué que ça! Dans notre prochain chapitre, nous allons +commencer à examiner en détail comment JavaScript et WebAssembly peuvent +échanger des données.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_07_fr_c.html b/webassembly/beta_07_fr_c.html new file mode 100644 index 000000000..936344285 --- /dev/null +++ b/webassembly/beta_07_fr_c.html @@ -0,0 +1,48 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Conclusion

+

J'espère t'avoir convaincu que, fondamentalement, WebAssembly +n'est pas si compliqué que ça! Dans notre prochain chapitre, nous allons +commencer à examiner en détail comment JavaScript et WebAssembly peuvent +échanger des données.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_07_ja.html b/webassembly/beta_07_ja.html new file mode 100644 index 000000000..8fa3f569c --- /dev/null +++ b/webassembly/beta_07_ja.html @@ -0,0 +1,46 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1章のまとめ

+

WebAssemblyが基本的には複雑なものではないということが伝わったでしょう! +次の章では、JavaScriptとWebAssemblyが互いにデータをやり取りする部分を見ていきます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_07_pt-br.html b/webassembly/beta_07_pt-br.html new file mode 100644 index 000000000..c69361e25 --- /dev/null +++ b/webassembly/beta_07_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Conclusão

+

Espero que fique claro que o WebAssembly não é tão complexo fundamentalmente! No próximo capítulo começaremos a examinar os detalhes de como o JavaScript e p WebAssembly podem falar dos mesmos dados.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_07_ro.html b/webassembly/beta_07_ro.html new file mode 100644 index 000000000..81aeaaa55 --- /dev/null +++ b/webassembly/beta_07_ro.html @@ -0,0 +1,46 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Concluzia capitolului 1

+

Sperăm că este clar că WebAssembly nu este chiar atât de complex la bază! În următorul capitol vom +începe să ne uităm în detaliu la modul cum JavaScript și WebAssembly pot comunica despre aceleași date.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_09_en.html b/webassembly/beta_09_en.html new file mode 100644 index 000000000..c3a74e6e3 --- /dev/null +++ b/webassembly/beta_09_en.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Importing Functions

+

WebAssembly modules can only call functions that have been explicitly imported.

+

Rust uses extern "C" { ... } to list the function signatures of those imported functions.

+

Notice that calling an imported function is considered unsafe in Rust because the compiler +can make no guarantees about what happens within it's implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_09_en_c.html b/webassembly/beta_09_en_c.html new file mode 100644 index 000000000..b89ea9f38 --- /dev/null +++ b/webassembly/beta_09_en_c.html @@ -0,0 +1,48 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Importing Functions

+

WebAssembly modules can only call functions that have been explicitly imported.

+

C uses the extern keyword to define signatures of the imported functions.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_09_fr.html b/webassembly/beta_09_fr.html new file mode 100644 index 000000000..d83e695c6 --- /dev/null +++ b/webassembly/beta_09_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Import de Fonctions

+

Les modules WebAssembly ne peuvent appeler que des fonctions JavaScript qui ont été explicitement importées.

+

Rust utilise extern" C "{...} pour répertorier les signatures des fonctions importées.

+

Note que l'appel d'une fonction importée est considéré comme unsafe (dangereux) par Rust car le compilateur +ne peut faire aucune garantie sur ce qui se passe dans son implémentation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_09_fr_c.html b/webassembly/beta_09_fr_c.html new file mode 100644 index 000000000..3eb96687f --- /dev/null +++ b/webassembly/beta_09_fr_c.html @@ -0,0 +1,48 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Import de Fonctions

+

Les modules WebAssembly ne peuvent appeler que des fonctions JavaScript qui ont été explicitement importées.

+

C utilise le mot-clé extern pour définir les signatures des fonctions importées.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_09_ja.html b/webassembly/beta_09_ja.html new file mode 100644 index 000000000..fa0d2c49e --- /dev/null +++ b/webassembly/beta_09_ja.html @@ -0,0 +1,49 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数のインポート

+

WebAssemblyのモジュールでは、明示的にインポートされた関数しか呼ぶことができません。

+

Rustのコードでは、extern "C" { ... }と記述することで、インポートしている関数を列挙できます。

+

インポートされた関数について、Rustコンパイラはその実装を知らないため、動作保証ができません。 そのため、unsafeなものとして扱われることに注意してください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_09_pt-br.html b/webassembly/beta_09_pt-br.html new file mode 100644 index 000000000..6e2cd7cd2 --- /dev/null +++ b/webassembly/beta_09_pt-br.html @@ -0,0 +1,49 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Importando Funções

+

Os módulos WebAssembly podem chamar apenas funçõesque foram importadas explicitamente.

+

O Rust usa extern "C" { ... } para listar as assinaturas dessas funções importadas.

+

Observe que chamar uma função importada é considerado não seguro no Rust porque o compilador não pode dar garantias sobre o que acontece dentro da sua implementação.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_09_ro.html b/webassembly/beta_09_ro.html new file mode 100644 index 000000000..efbdb8ec9 --- /dev/null +++ b/webassembly/beta_09_ro.html @@ -0,0 +1,50 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Importarea funcțiilor

+

Modulele WebAssembly pot apela doar funcții care au fost importate explicit.

+

Rust folosește extern "C" { ... } pentru a înșirui semnăturile funcțiilor importate.

+

Observați că apelarea unei funcții importate este considerată nesigură (unsafe) în Rust deoarece compilatorul +nu poate garanta ce se întâmplă în implementarea sa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_10_en.html b/webassembly/beta_10_en.html new file mode 100644 index 000000000..33bfb0bcc --- /dev/null +++ b/webassembly/beta_10_en.html @@ -0,0 +1,51 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitations of Functions

+

Parameter and return types of functions are limited to:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

So in order to communicate between JavaScript and WebAssembly we will have to get clever with the meaning of numbers!

+

Rust is fairly good at converting it's primitive types to WebAssembly's numerical equivalents.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_10_en_c.html b/webassembly/beta_10_en_c.html new file mode 100644 index 000000000..f08c5c05b --- /dev/null +++ b/webassembly/beta_10_en_c.html @@ -0,0 +1,51 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitations of Functions

+

Parameter and return types of functions are limited to:

+
    +
  • int/long
  • +
  • float/double
  • +
+

So in order to communicate between JavaScript and WebAssembly we will have to get clever with the meaning of numbers!

+

C is fairly good at converting it's primitive types to WebAssembly's numerical equivalents.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_10_fr.html b/webassembly/beta_10_fr.html new file mode 100644 index 000000000..b697a1541 --- /dev/null +++ b/webassembly/beta_10_fr.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitations des Fonctions

+

Les types des paramètres et retours d'une fonction sont limités à:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

Donc, pour communiquer entre JavaScript et WebAssembly, nous devrons ruser sur les types à utiliser!

+

Rust permet facilement de convertir ces types primitifs en équivalents numériques de WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_10_fr_c.html b/webassembly/beta_10_fr_c.html new file mode 100644 index 000000000..f54905121 --- /dev/null +++ b/webassembly/beta_10_fr_c.html @@ -0,0 +1,51 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitations des Fonctions

+

Les types de paramètres et de fonctions de retour sont limités à:

+
    +
  • int/long
  • +
  • float/double
  • +
+

Donc, pour communiquer entre JavaScript et WebAssembly, nous devrons ruser sur les types à utiliser!

+

C permet facilement de convertir ces types primitifs en équivalents numériques de WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_10_ja.html b/webassembly/beta_10_ja.html new file mode 100644 index 000000000..e4bb58843 --- /dev/null +++ b/webassembly/beta_10_ja.html @@ -0,0 +1,51 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数の制限

+

関数から返すことのできる値は、次のものに限られます。

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

そのため、JavaScriptとWebAssembly間のデータのやり取りのためには、数値の意味についてより深く知らねばなりません。

+

Rustでプリミティブな数値型を返すと、それはうまくWebAssemblyの数値表現に変換されます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_10_pt-br.html b/webassembly/beta_10_pt-br.html new file mode 100644 index 000000000..2d3d899b4 --- /dev/null +++ b/webassembly/beta_10_pt-br.html @@ -0,0 +1,51 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitações das Funções

+

Os parâmetros e tipos retornados pelas funções são limitados a:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

Portanto, para se comunicar entre JavaScript e WebAssembly, teremos que ficar espertos com o significado dos números!

+

Rust e C são bastante bons em converter seus tipos primitivos nos equivalentes numéricos do WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_10_ro.html b/webassembly/beta_10_ro.html new file mode 100644 index 000000000..b3e5dd851 --- /dev/null +++ b/webassembly/beta_10_ro.html @@ -0,0 +1,51 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Limitările funcțiilor

+

Tipurile de parametri, respectiv cele de returnare ale funcțiilor sunt limitate la:

+
    +
  • i32/i64
  • +
  • f32/f64
  • +
+

Așadar, pentru a comunica între JavaScript și WebAssembly, va trebui să găsim un artificiu inteligent pentru semnificația numerelor!

+

Rust este destul de bun la convertirea tipurilor sale primitive în echivalentele numerice ale WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_11_en.html b/webassembly/beta_11_en.html new file mode 100644 index 000000000..a49380bb5 --- /dev/null +++ b/webassembly/beta_11_en.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting Memory

+

WebAssembly programs export their memory as a long array of bytes (up to 4GB!).

+

The host can interpret from these bytes the data structures created by the program's code.

+

Arrays of bytes can also be written directly into a program's memory from the host.

+

Writing/reading bytes to/from a WebAssembly programs memory is +the primary means of input and output of non-primitive types.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_11_en_c.html b/webassembly/beta_11_en_c.html new file mode 100644 index 000000000..228426e6e --- /dev/null +++ b/webassembly/beta_11_en_c.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exporting Memory

+

WebAssembly programs export their memory as a long array of bytes (up to 4GB!).

+

The host can interpret from these bytes the data structures created by the program's code.

+

Arrays of bytes can also be written directly into a program's memory from the host.

+

Writing/reading bytes to/from a WebAssembly programs memory is +the primary means of input and output of non-primitive types.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_11_fr.html b/webassembly/beta_11_fr.html new file mode 100644 index 000000000..94d6a47c2 --- /dev/null +++ b/webassembly/beta_11_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportation de la Mémoire

+

Les programmes WebAssembly exportent leur mémoire sous forme d'un long tableau d'octets (jusqu'à 4 Go!).

+

L'environnement hôte peut interpréter à partir de ces octets les structures de données créées par le code du programme.

+

Des tableaux d'octets peuvent également être écrits directement dans la mémoire d'un programme par +l'environnement hôte.

+

L' écriture et la lecture d'octets vers (ou depuis) la mémoire d'un programme WebAssembly sont +les principaux moyens d'entrée et de sortie des types non primitifs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_11_fr_c.html b/webassembly/beta_11_fr_c.html new file mode 100644 index 000000000..306d7591e --- /dev/null +++ b/webassembly/beta_11_fr_c.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportation de la Mémoire

+

Les programmes WebAssembly exportent leur mémoire sous forme d'un long tableau d'octets (jusqu'à 4 Go!).

+

L'environnement hôte peut interpréter à partir de ces octets les structures de données créées par le code du programme.

+

Des tableaux d'octets peuvent également être écrits directement dans la mémoire d'un programme par +l'environnement hôte.

+

L' écriture et la lecture d'octets vers (ou depuis) la mémoire d'un programme WebAssembly sont +les principaux moyens d'entrée et de sortie des types non primitifs.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_11_ja.html b/webassembly/beta_11_ja.html new file mode 100644 index 000000000..a624009e4 --- /dev/null +++ b/webassembly/beta_11_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

メモリのエクスポート

+

WebAssemblyのプログラムは、メモリ領域を最大4GBまでのバイト列としてエクスポートできます。

+

そしてホスト側で、そのデータ構造を解釈することができます。 +また、このバイト列は、ホスト側からも直接書き込むこともできます。

+

WebAssemblyのメモリから読み込む、または書き込むことが、プリミティブではない値のやりとりのための手段というわけです。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_11_pt-br.html b/webassembly/beta_11_pt-br.html new file mode 100644 index 000000000..d27d1b5be --- /dev/null +++ b/webassembly/beta_11_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportando Memória

+

Os programas WebAssembly exportam sua memória como uma longa matriz de bytes (até 4 GB!).

+

O host pode interpretar a partir desses bytes as estruturas de dados criadas pelo código do programa.

+

Matrizes de bytes também podem ser gravadas diretamente na memória de um programa a partir do host e vice-versa.

+

Ler e gravar bytes na memória de programas do WebAssembly é o principal meio de entrada e saída de tipos não primitivos.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_11_ro.html b/webassembly/beta_11_ro.html new file mode 100644 index 000000000..f1a8345ec --- /dev/null +++ b/webassembly/beta_11_ro.html @@ -0,0 +1,49 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Exportarea memoriei

+

Programele WebAssembly își exportă memoria ca un șir lung de octeți (până la 4GB!).

+

Gazda poate interpreta din acești octeți structurile de date create de codul programului.

+

Șirurile de octeți pot fi, de asemenea, scrise direct în memoria unui program din gazdă.

+

Scrierea/citirea octeților în/din memoria unui program WebAssembly este +principalul mijloc de intrare și ieșire a tipurilor de date non-primitive.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_12_en.html b/webassembly/beta_12_en.html new file mode 100644 index 000000000..c36e2b81c --- /dev/null +++ b/webassembly/beta_12_en.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript represents a long array of bytes as an ArrayBuffer

+

You can get a typed view of this buffer that is very efficient to +interact with.

+
// create an array of 8 bytes
+let bytes = new ArrayBuffer(8);
+// view those 8 bytes as 8-bit unsigned integers
+let u8_bytes = new Uint8Array(bytes);
+// modify the array buffer
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1;  // 00000001
+// re-interpret the u8_bytes's array buffer as 
+// little endian 32-bit signed integers
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]); 
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_12_en_c.html b/webassembly/beta_12_en_c.html new file mode 100644 index 000000000..303cac29d --- /dev/null +++ b/webassembly/beta_12_en_c.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript represents a long array of bytes as an ArrayBuffer

+

You can get a typed view of this buffer that is very efficient to +interact with.

+
// create an array of 8 bytes
+let bytes = new ArrayBuffer(8);
+// view those 8 bytes as 8-bit unsigned integers
+let u8_bytes = new Uint8Array(bytes);
+// modify the array buffer
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1;  // 00000001
+// re-interpret the u8_bytes's array buffer as 
+// little endian 32-bit signed integers
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]); 
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_12_fr.html b/webassembly/beta_12_fr.html new file mode 100644 index 000000000..1b5fc82ca --- /dev/null +++ b/webassembly/beta_12_fr.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript représente le long tableau d'octets avec un ArrayBuffer.

+

Vous pouvez obtenir une vue typée de ce buffer avec laquelle on peut +intéragir efficacement.

+

`JavaScript +// Crée un tableau de 8 octets. +let bytes = new ArrayBuffer(8); +// Affiche ces 8 octets comme des entiers non signés 8 bits. +let u8bytes = new Uint8Array(bytes); +// Modification du tableau d'octets. +u8bytes[0] = 16; // 00010000 +u8bytes[1] = 1; // 00000001 +// Réinterprète les bytes u8bytes de l'ArrayBuffer comme +// des entiers signés 32 bits petits-boutiste (little endian). +let i32bytes = new Int32Array(u8bytes.buffer); +console.log(i32_bytes[0]); +/// 272 ou 00010000000000010000000000000000 +```

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_12_fr_c.html b/webassembly/beta_12_fr_c.html new file mode 100644 index 000000000..431b0f6af --- /dev/null +++ b/webassembly/beta_12_fr_c.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript représente le long tableau d'octets avec un ArrayBuffer.

+

Vous pouvez obtenir une vue typée de ce buffer avec laquelle on peut +intéragir efficacement.

+

`JavaScript +// Crée un tableau de 8 octets. +let bytes = new ArrayBuffer(8); +// Affiche ces 8 octets comme des entiers non signés 8 bits. +let u8bytes = new Uint8Array(bytes); +// Modification du tableau d'octets. +u8bytes[0] = 16; // 00010000 +u8bytes[1] = 1; // 00000001 +// Réinterprète les bytes u8bytes de l'ArrayBuffer comme +// des entiers signés 32 bits petits-boutiste (little endian). +let i32bytes = new Int32Array(u8bytes.buffer); +console.log(i32_bytes[0]); +/// 272 ou 00010000000000010000000000000000 +```

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_12_ja.html b/webassembly/beta_12_ja.html new file mode 100644 index 000000000..ea4a45924 --- /dev/null +++ b/webassembly/beta_12_ja.html @@ -0,0 +1,60 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScrtipでは、バイト列をArrayBufferとして表現します。

+

そこから任意の型のビューを取得して、操作することができます。

+
// 8バイトの領域を初期化
+let bytes = new ArrayBuffer(8);
+
+// 8ビット符号なし整数としてビューを取得
+let u8_bytes = new Uint8Array(bytes);
+// ArrayBufferを操作
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1;  // 00000001
+
+// 32ビット符号あり整数のビューとして改めて変換
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]);
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_12_pt-br.html b/webassembly/beta_12_pt-br.html new file mode 100644 index 000000000..fa139453b --- /dev/null +++ b/webassembly/beta_12_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript representa uma longa matriz de bytes como um ArrayBuffer.

+

Você pode obter uma visualização tipada desse buffer de uma maneira muito eficiente para interagir. +JavaScript // cria uma matriz de 8 bytes let bytes = new ArrayBuffer(8); // exibe estes 8 bytes como inteiros sem sinal de 8-bit let u8_bytes = new Uint8Array(bytes); // modifica o buffer da matriz u8_bytes[0] = 16; // 00010000 u8_bytes[1] = 1; // 00000001 // reinterpreta o buffer da matriz de u8_bytes como // 32-bit little endian inteiros com sinal let i32_bytes = new Int32Array(u8_bytes.buffer); console.log(i32_bytes[0]); ///272 or 00010000000000010000000000000000

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_12_ro.html b/webassembly/beta_12_ro.html new file mode 100644 index 000000000..053fa7078 --- /dev/null +++ b/webassembly/beta_12_ro.html @@ -0,0 +1,62 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ArrayBuffer

+

JavaScript reprezintă un șir lung de octeți ca un ArrayBuffer.

+

Puteți obține o vedere tipizată a acestui buffer care este foarte eficientă +pentru a interacționa cu el.

+
// creează un șir de 8 octeți
+let bytes = new ArrayBuffer(8);
+// vezi acei 8 octeți ca numere întregi fără semn
+// pe 8 biți
+let u8_bytes = new Uint8Array(bytes);
+// modifică array buffer-ul
+u8_bytes[0] = 16; // 00010000
+u8_bytes[1] = 1; // 00000001
+// reinterpretează array buffer-ul u8_bytes ca
+// numere întregi cu semn, pe 32 de biți
+// în reprezentare "little endian"
+let i32_bytes = new Int32Array(u8_bytes.buffer);
+console.log(i32_bytes[0]); 
+///272 or 00010000000000010000000000000000
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_13_en.html b/webassembly/beta_13_en.html new file mode 100644 index 000000000..9bcd0146f --- /dev/null +++ b/webassembly/beta_13_en.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8 Encoding/Decoding

+

JavaScript provides utility functions for writing/reading UTF-8 strings to/from +bytes inside of ArrayBuffer objects.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// sub array takes start and end index
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_13_en_c.html b/webassembly/beta_13_en_c.html new file mode 100644 index 000000000..400ffe46d --- /dev/null +++ b/webassembly/beta_13_en_c.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8 Encoding/Decoding

+

JavaScript provides utility functions for writing/reading UTF-8 strings to/from +bytes inside of ArrayBuffer objects.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// sub array takes start and end index
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_13_fr.html b/webassembly/beta_13_fr.html new file mode 100644 index 000000000..c440d69fe --- /dev/null +++ b/webassembly/beta_13_fr.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encodage/Décodage UTF-8

+

JavaScript fournit des fonctions utilitaires pour écrire/lire des chaînes UTF-8 vers/depuis +les octets à l'intérieur des objets ArrayBuffer.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 83; // S
+data[1] = 65; // A
+data[2] = 76; // L
+data[3] = 85; // U
+data[4] = 84; // T
+data[5] = 33; // !
+let str_len = 6;
+const utf8dec = new TextDecoder("utf-8");
+// Le 'sous-tableau' (en anglais subarray) prend l'index de début et de fin.
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Salut!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(6) [ 83, 65, 76, 85, 84, 33 ]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_13_fr_c.html b/webassembly/beta_13_fr_c.html new file mode 100644 index 000000000..08d28a424 --- /dev/null +++ b/webassembly/beta_13_fr_c.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Encodage/Décodage UTF-8

+

JavaScript fournit des fonctions utilitaires pour écrire/lire des chaînes UTF-8 vers/depuis +les octets à l'intérieur des objets ArrayBuffer.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 83; // S
+data[1] = 65; // A
+data[2] = 76; // L
+data[3] = 85; // U
+data[4] = 84; // T
+data[5] = 33; // !
+let str_len = 6;
+const utf8dec = new TextDecoder("utf-8");
+// Le 'sous-tableau' (en anglais subarray) prend l'index de début et de fin.
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Salut!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(6) [ 83, 65, 76, 85, 84, 33 ]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_13_ja.html b/webassembly/beta_13_ja.html new file mode 100644 index 000000000..fe028713d --- /dev/null +++ b/webassembly/beta_13_ja.html @@ -0,0 +1,60 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8エンコード/デコード

+

JavaScriptには、UTF-8の文字列を、ArrayBuffer内に書き込む、読み出すための便利な関数があります。

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// subarrayはその範囲をインデックス指定する
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes)
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_13_pt-br.html b/webassembly/beta_13_pt-br.html new file mode 100644 index 000000000..c53c71dce --- /dev/null +++ b/webassembly/beta_13_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

UTF-8 Encoding/Decoding

+

O JavaScript fornece funções utilitárias para ler e escrever strings UTF-8 para bytes dentro de objetos ArrayBuffer e vice-versa.

+

JavaScript let bytes = new ArrayBuffer(8); const data = new Uint8Array(bytes); data[0] = 79; // O data[1] = 105; // i data[2] = 33; // ! let str_len = 3; const utf8dec = new TextDecoder("utf-8"); +// subarray() pega o primeiro e último índice let text = utf8dec.decode(data.subarray(0,str_len)); console.log(text) // Oi! const utf8enc = new TextEncoder("utf-8"); let text_bytes = utf8enc.encode(text); console.log(text_bytes) // Uint8Array(3) [72, 105, 33]

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_13_ro.html b/webassembly/beta_13_ro.html new file mode 100644 index 000000000..67258711d --- /dev/null +++ b/webassembly/beta_13_ro.html @@ -0,0 +1,62 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Codificarea/decodificarea UTF-8

+

JavaScript oferă funcții utilitare pentru a scrie/citi string-uri UTF-8 în/din +octeți din obiecte de tip ArrayBuffer.

+
let bytes = new ArrayBuffer(8);
+const data = new Uint8Array(bytes);
+data[0] = 72;  // H
+data[1] = 105; // i
+data[2] = 33;  // !
+let str_len = 3;
+const utf8dec = new TextDecoder("utf-8");
+// subșirul ia indicele de început și de sfârșit
+let text = utf8dec.decode(data.subarray(0,str_len));
+console.log(text) // Hi!
+
+const utf8enc = new TextEncoder("utf-8");
+let text_bytes = utf8enc.encode(text);
+console.log(text_bytes) 
+// Uint8Array(3) [72, 105, 33]
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_14_en.html b/webassembly/beta_14_en.html new file mode 100644 index 000000000..7dbbf1705 --- /dev/null +++ b/webassembly/beta_14_en.html @@ -0,0 +1,63 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Logging Text

+

Let's explore a simple example of logging some text from a WebAssembly program.

+

We must:

+
    +
  1. Create some utf-8 compliant text in our program's memory
  2. +
  3. Determine the length of our text's bytes
  4. +
  5. Somehow send the starting byte start index and length in bytes of that text data to the host browser so it can call console.log.
  6. +
+

Here's an example of what that receiving JavaScript function would look like:

+
wasm_log(start,len) {
+  // extract text from memory location and length
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_14_en_c.html b/webassembly/beta_14_en_c.html new file mode 100644 index 000000000..a227677a6 --- /dev/null +++ b/webassembly/beta_14_en_c.html @@ -0,0 +1,63 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Logging Text

+

Let's explore a simple example of logging some text from a WebAssembly program.

+

We must:

+
    +
  1. Create some utf-8 compliant text in our program's memory
  2. +
  3. Determine the length of our text's bytes
  4. +
  5. Somehow send the starting byte start index and length in bytes of that text data to the host browser so it can call console.log.
  6. +
+

Here's an example of what that receiving JavaScript function would look like:

+
wasm_log(start,len) {
+  // extract text from memory location and length
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_14_fr.html b/webassembly/beta_14_fr.html new file mode 100644 index 000000000..1bfd2e203 --- /dev/null +++ b/webassembly/beta_14_fr.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Affichage de texte depuis WebAssembly

+

Explorons un exemple simple d'affichage de texte à partir d'un programme WebAssembly.

+

Nous devons:

+
    +
  1. Créer du texte compatible utf-8 dans la mémoire de notre programme.
  2. +
  3. Déterminer la longueur des octets de notre texte.
  4. +
  5. Envoyer d'une manière ou d'une autre l'index de début du premier octet +et la longueur en octets du texte au navigateur hôte afin qu'il +puisse appeler console.log.
  6. +
+

Voici un exemple de ce à quoi ressemblerait la réception de la fonction JavaScript:

+
wasm_log(start,len) {
+  // Extrait le texte de l'emplacement mémoire.
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_14_fr_c.html b/webassembly/beta_14_fr_c.html new file mode 100644 index 000000000..654e8e1c4 --- /dev/null +++ b/webassembly/beta_14_fr_c.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Affichage de texte depuis WebAssembly

+

Explorons un exemple simple d'affichage de texte à partir d'un programme WebAssembly.

+

Nous devons:

+
    +
  1. Créer du texte compatible utf-8 dans la mémoire de notre programme.
  2. +
  3. Déterminer la longueur des octets de notre texte.
  4. +
  5. Envoyer d'une manière ou d'une autre l'index de début du premier octet +et la longueur en octets du texte au navigateur hôte afin qu'il +puisse appeler console.log.
  6. +
+

Voici un exemple de ce à quoi ressemblerait la réception de la fonction JavaScript:

+
wasm_log(start,len) {
+  // Extrait le texte de l'emplacement mémoire.
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_14_ja.html b/webassembly/beta_14_ja.html new file mode 100644 index 000000000..99ea78250 --- /dev/null +++ b/webassembly/beta_14_ja.html @@ -0,0 +1,63 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

テキストのロギング

+

WebAssemblyのプログラムから、テキストをロギングする簡単な例を見てみましょう。

+

次のような流れになります。

+
    +
  1. プログラムのメモリから、utf-8のテキストをつくる
  2. +
  3. そのテキストの長さを判断する
  4. +
  5. そのテキストが格納されているスタート位置と長さをホストのブラウザ側に伝え、console.logを実行
  6. +
+

これはJavaScript側の関数をどのように実装するかの例です。

+
wasm_log(start,len) {
+  // 開始位置と長さから、テキストを抽出する
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_14_pt-br.html b/webassembly/beta_14_pt-br.html new file mode 100644 index 000000000..5d837059d --- /dev/null +++ b/webassembly/beta_14_pt-br.html @@ -0,0 +1,62 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Logando Texto

+

Vamos explorar um exemplo simples de logar um texto de um programa WebAssembly.

+

Nós devemos:

+
    +
  1. Criar um texto compatível com utf-8 na memória do nosso programa.
  2. +
  3. Determinar o comprimento em bytes do nosso texto.
  4. +
  5. De alguma forma, enviar o índice do byte inicial e o comprimento em bytes desses dados do texto para o navegador host, e então chamar o console.log.
  6. +
+

Aqui está um exemplo de como seria essa função de recebimento em JavaScript:

+

JavaScript wasm_log(start,len) { + // extrai o texto de um lugar da memória e seu comprimento + const utf8dec = new TextDecoder("utf-8"); + let buffer = module.instance.exports.memory.buffer; + let memory = new Uint8Array(buffer); + let text = utf8dec.decode(memory.subarray(start,start+len)); + console.log(text); +}

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_14_ro.html b/webassembly/beta_14_ro.html new file mode 100644 index 000000000..47c71e811 --- /dev/null +++ b/webassembly/beta_14_ro.html @@ -0,0 +1,63 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Înregistrarea textului

+

Haideți să explorăm un exemplu simplu de înregistrare a unui text dintr-un program WebAssembly.

+

Este necesar:

+
    +
  1. Să creăm un text compatibil cu UTF-8 în memoria programului nostru.
  2. +
  3. Să determinăm lungimea octeților textului nostru.
  4. +
  5. Să găsim o modalitate de a transmite indicele de început al primului octet și lungimea în octeți a textului către browser-ul gazdei pentru a putea apela console.log.
  6. +
+

Iată un exemplu de cum ar arăta acea funcție JavaScript de primire:

+
wasm_log(start,len) {
+  // extrage textul din memorie și lungimea
+  const utf8dec = new TextDecoder("utf-8");
+  let buffer = module.instance.exports.memory.buffer;
+  let memory = new Uint8Array(buffer);
+  let text = utf8dec.decode(memory.subarray(start,start+len));
+  console.log(text);
+}
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_15_en.html b/webassembly/beta_15_en.html new file mode 100644 index 000000000..830b91066 --- /dev/null +++ b/webassembly/beta_15_en.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Reading Text

+

Let's explore the opposite idea. Imagine we want to give some text to a WebAssembly program.

+

We must:

+
    +
  1. Determine the length in bytes of the text we want to pass in.
  2. +
  3. Allocate some space in our memory of that byte length.
  4. +
  5. Copy bytes into our program's memory at the start of the space we allocated.
  6. +
  7. Let the WebAssembly program know we have put some data in it's memory at a specific index and lenth in bytes.
  8. +
+

Here's an example of what that initialization looks like:

+
// Turn "Ferris" into bytes
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Allocate enough space for the text
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Put the text in WebAssembly program's memory
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Run the program
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_15_en_c.html b/webassembly/beta_15_en_c.html new file mode 100644 index 000000000..c65db003e --- /dev/null +++ b/webassembly/beta_15_en_c.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Reading Text

+

Let's explore the opposite idea. Imagine we want to give some text to a WebAssembly program.

+

We must:

+
    +
  1. Determine the length in bytes of the text we want to pass in.
  2. +
  3. Allocate some space in our memory of that byte length.
  4. +
  5. Copy bytes into our program's memory at the start of the space we allocated.
  6. +
  7. Let the WebAssembly program know we have put some data in it's memory at a specific index and lenth in bytes.
  8. +
+

Here's an example of what that initialization looks like:

+
// Turn "Ferris" into bytes
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Allocate enough space for the text
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Put the text in WebAssembly program's memory
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Run the program
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_15_fr.html b/webassembly/beta_15_fr.html new file mode 100644 index 000000000..5cb16aaef --- /dev/null +++ b/webassembly/beta_15_fr.html @@ -0,0 +1,75 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Envoi de Texte vers un Programme WebAssembly

+

Explorons l'idée opposée. Imagine que nous voulons envoyer du texte vers notre +programme WebAssembly.

+

Nous devons:

+
    +
  1. Déterminer la longueur en octets du texte que nous souhaitons transmettre.
  2. +
  3. Allouer suffisamment d'espace dans notre mémoire pour ces octets.
  4. +
  5. Copier les octets dans la mémoire de notre programme à la position que nous +venons d'allouer.
  6. +
  7. Informer au programme WebAssembly que nous avons mis ces octets dans sa mémoire +en lui indiquant l'index et la taille.
  8. +
+

Voici un exemple de ce à quoi ressemble cette initialisation:

+
// Transforme "Ferris" en octets.
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Alloue de l'espace mémoire pour le texte.
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Met le texte dans la mémoire du programme WebAssembly.
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Exécute le programme.
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_15_fr_c.html b/webassembly/beta_15_fr_c.html new file mode 100644 index 000000000..028747cde --- /dev/null +++ b/webassembly/beta_15_fr_c.html @@ -0,0 +1,75 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Envoi de Texte vers un Programme WebAssembly

+

Explorons l'idée opposée. Imagine que nous voulons envoyer du texte vers notre +programme WebAssembly.

+

Nous devons:

+
    +
  1. Déterminer la longueur en octets du texte que nous souhaitons transmettre.
  2. +
  3. Allouer suffisamment d'espace dans notre mémoire pour ces octets.
  4. +
  5. Copier les octets dans la mémoire de notre programme à la position que nous +venons d'allouer.
  6. +
  7. Informer au programme WebAssembly que nous avons mis ces octets dans sa mémoire +en lui indiquant l'index et la taille.
  8. +
+

Voici un exemple de ce à quoi ressemble cette initialisation:

+
// Transforme "Ferris" en octets.
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Alloue de l'espace mémoire pour le texte.
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Met le texte dans la mémoire du programme WebAssembly.
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Exécute le programme.
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_15_ja.html b/webassembly/beta_15_ja.html new file mode 100644 index 000000000..b7802cecf --- /dev/null +++ b/webassembly/beta_15_ja.html @@ -0,0 +1,72 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

テキストの読み込み

+

次は、その反対の考え方をしてみます。WebAssemblyのプログラムに、テキストを渡したい場合です。

+

次のような流れになります。

+
    +
  1. 渡したいテキスト(バイト列)の長さを求める
  2. +
  3. その長さの分だけメモリを確保する
  4. +
  5. 開始位置を指定して、確保したメモリにバイト列をコピー
  6. +
  7. WebAssemblyのプログラムに、特定の位置と長さでデータを渡したことを知らせる
  8. +
+

これがその初期化の例です。

+
// 文字列"Ferris"をバイト列に
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// そのための領域を確保
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// WebAssemblyのメモリに配置
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// プログラムを実行
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_15_pt-br.html b/webassembly/beta_15_pt-br.html new file mode 100644 index 000000000..5294fc19e --- /dev/null +++ b/webassembly/beta_15_pt-br.html @@ -0,0 +1,59 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Lendo Texto

+

Vamos explorar a ideia oposta. Imagine que queremos passar um texto para um programa WebAssembly.

+

Nós devemos:

+
    +
  1. Determinar o comprimento em bytes do texto que queremos passar.
  2. +
  3. Alocar algum espaço em nossa memória com esse comprimento em bytes.
  4. +
  5. Copiar os bytes para a memória do nosso programa no início do espaço que alocamos.
  6. +
  7. Informar o programa WebAssembly que colocamos alguns dados na memória em uma posição e com um comprimento específicos em bytes.
  8. +
+

Aqui está um exemplo de como é essa inicialização:

+

JavaScript // Transforma "Ferris" em bytes const utf8enc = new TextEncoder("utf-8"); let text = "Ferris"; let text_bytes = utf8enc.encode(text); +// Aloca espaço suficiente para o texto let len = text_bytes.length; let start = module.instance.exports.wasm_malloc(len); +// Coloca o texto na memória do programa WebAssembly let buffer = module.instance.exports.memory.buffer; let memory = new Uint8Array(buffer); memory.set(text_bytes, start); +// Executa o programa module.instance.exports.main(start,len);

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_15_ro.html b/webassembly/beta_15_ro.html new file mode 100644 index 000000000..8c5a3871e --- /dev/null +++ b/webassembly/beta_15_ro.html @@ -0,0 +1,72 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Citirea textului

+

Să explorăm conceptul opus. Imaginați-vă că dorim să dăm niște text unui program WebAssembly.

+

Este necesar:

+
    +
  1. Să determinăm lungimea în octeți a textului pe care vrem să îl furnizăm.
  2. +
  3. Să alocăm suficientă memorie pentru a stoca textul nostru.
  4. +
  5. Să copiem octeții în memoria programului nostru la începutul spațiului alocat.
  6. +
  7. Să anunțăm programul nostru că am pus textul în memoria sa la un anumit indice de început și lungime specificată în octeți.
  8. +
+

Iată un exemplu de cum ar arăta acea inițializare:

+
// Transformă "Ferris" în octeți
+const utf8enc = new TextEncoder("utf-8");
+let text = "Ferris";
+let text_bytes = utf8enc.encode(text);
+
+// Alocă suficient spațiu pentru text
+let len = text_bytes.length;
+let start = module.instance.exports.wasm_malloc(len);
+
+// Pune textul în memoria programului WebAssembly
+let buffer = module.instance.exports.memory.buffer;
+let memory = new Uint8Array(buffer);
+memory.set(text_bytes, start);
+
+// Rulează programul
+module.instance.exports.main(start,len);
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_16_en.html b/webassembly/beta_16_en.html new file mode 100644 index 000000000..6da19a386 --- /dev/null +++ b/webassembly/beta_16_en.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Discovering Representations

+

You might find it annoying to pass around the length along with the start index of text.

+

Consider this an opportunity to reflect upon useful conventions of the past like C strings +that declare the end of text is a 0 value character \0.

+

Don't want to pass around a byte packed data structure? Consider passing around json.

+

You are in control of your representations in memory and what they mean and if they +are appropriate for your use cases!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_16_en_c.html b/webassembly/beta_16_en_c.html new file mode 100644 index 000000000..9d208c05c --- /dev/null +++ b/webassembly/beta_16_en_c.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Discovering Representations

+

You might find it annoying to pass around the length along with the start index of text.

+

Consider this an opportunity to reflect upon useful conventions of the past like C strings +that declare the end of text is a 0 value character \0.

+

Don't want to pass around a byte packed data structure? Consider passing around json.

+

You are in control of your representations in memory and what they mean and if they +are appropriate for your use cases!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_16_fr.html b/webassembly/beta_16_fr.html new file mode 100644 index 000000000..9dea80637 --- /dev/null +++ b/webassembly/beta_16_fr.html @@ -0,0 +1,53 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Découverte des représentations

+

Il est possible que tu trouves cela pénible de devoir passer la taille des données +en mémoire ainsi que l'index de début de celles-ci.

+

Ne pourrions-nous pas ruser pour échanger une structure donnée de manière simple +sans devoir passer chaque champs un à un? Pense au chaînes de caractères du C +(en anglais * C strings *) qui déclare la fin du texte avec le caractère \0.

+

Tu l'as peut-être déjà à l'esprit, mais nous pouvons utiliser le json! Ce n'est ni plus ni +moins qu'une chaîne de caractères et tu sais déjà comment échanger ce type de donnée!

+

N'oublie pas que tu as le contrôle sur la représentation mémoire des données et +c'est donc à toi de choisir celle qui te simplifie le travail.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_16_fr_c.html b/webassembly/beta_16_fr_c.html new file mode 100644 index 000000000..f1f56545e --- /dev/null +++ b/webassembly/beta_16_fr_c.html @@ -0,0 +1,53 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Découverte des représentations

+

Il est possible que tu trouves cela pénible de devoir passer la taille des données +en mémoire ainsi que l'index de début de celles-ci.

+

Ne pourrions-nous pas ruser pour échanger une structure donnée de manière simple +sans devoir passer chaque champs un à un? Pense au chaînes de caractères du C +(en anglais * C strings *) qui déclare la fin du texte avec le caractère \0.

+

Tu l'as peut-être déjà à l'esprit, mais nous pouvons utiliser le json! Ce n'est ni plus ni +moins qu'une chaîne de caractères et tu sais déjà comment échanger ce type de donnée!

+

N'oublie pas que tu as le contrôle sur la représentation mémoire des données et +c'est donc à toi de choisir celle qui te simplifie le travail.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_16_ja.html b/webassembly/beta_16_ja.html new file mode 100644 index 000000000..1161825e0 --- /dev/null +++ b/webassembly/beta_16_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

表現を見つける

+

テキストの開始位置や長さを渡すことに煩雑さを覚えるかもしれません。

+

これは、C言語で文字列の終端を表すのに\0を使っていたようなものだと考えてください。

+

データ構造をいちいちバイトに包んで渡したくない場合は、JSON形式で渡すことも検討してください。

+

どのようにそれを表現するかはあなた次第ですし、ユースケースに応じて使い分けるようにしてください!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_16_pt-br.html b/webassembly/beta_16_pt-br.html new file mode 100644 index 000000000..e73cb8f72 --- /dev/null +++ b/webassembly/beta_16_pt-br.html @@ -0,0 +1,48 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Descobrindo Representações

+

Você pode achar irritante passar pelo comprimento junto com o índice inicial do texto.

+

Considere isso uma oportunidade para refletir sobre as convenções úteis do passado, tais como as C strings que declaram que o final do texto é um caractere de valor \0.

+

Não quer passar uma estrutura de dados formatada em bytes? Considere passar um json.

+

Você está no controle de suas representações na memória, o que elas significam e se são apropriadas para seus casos de uso!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_16_ro.html b/webassembly/beta_16_ro.html new file mode 100644 index 000000000..59e45aebc --- /dev/null +++ b/webassembly/beta_16_ro.html @@ -0,0 +1,49 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Descoperirea reprezentărilor

+

Vi s-ar putea părea enervant să trebuiască să dați lungimea alături de indicele de început al textului.

+

Considerați această situație drept o oportunitate de a reflecta asupra convențiilor utile, precum string-urile din C, +care declară terminarea unui text ca o valoare nulă prin caracterul \0.

+

Nu doriți să transmiteți peste tot o structură de date reprezentată sub formă de octeți? Luați în considerare utilizarea json în loc.

+

Sunteți în controlul atât a propriilor reprezentări în memorie, cât și a semnificațiilor acestora sau dacă se potrivesc scenariului dumneavoastră de utilizare!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_17_en.html b/webassembly/beta_17_en.html new file mode 100644 index 000000000..9ad5282f2 --- /dev/null +++ b/webassembly/beta_17_en.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 Conclusion

+

Crossing the boundry between host and WebAssembly program is cumbersome, but with it can come great performance. +It's important to remind ourselves that WebAssembly is a low -level executable byte code with concerns about memory +structures that are much fine-grained than JavaScript. Check out your programming language's +library support for tools that help make this an easier task! For Rust, wasm-bindgen is a popular option.

+

In our next chapter we will talk about a technique for dynamically calling JavaScript functions and garbage collection!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_17_en_c.html b/webassembly/beta_17_en_c.html new file mode 100644 index 000000000..9850d7d35 --- /dev/null +++ b/webassembly/beta_17_en_c.html @@ -0,0 +1,49 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 Conclusion

+

Crossing the boundry between host and WebAssembly program is cumbersome, but with it can come great performance. +It's important to remind ourselves that WebAssembly is a low -level executable byte code with concerns about memory +structures that are much fine-grained than JavaScript. Check out your programming language's +library support for tools that help make this an easier task!

+

In our next chapter we will talk about a technique for dynamically calling JavaScript functions and garbage collection!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_17_fr.html b/webassembly/beta_17_fr.html new file mode 100644 index 000000000..da5def005 --- /dev/null +++ b/webassembly/beta_17_fr.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Conclusion

+

Echanger des données entre l'hôte et un programme WebAssembly est fastidieux, +mais cela peut entraîner de grands gains en performances. +Il est important de se rappeler que WebAssembly exécute du bytecode bas-niveau et +nous donne un contrôle sur la mémoire beaucoup plus fin que JavaScript. +N'hésite pas non plus à regarder s'il n'existe pas de librairies Rust pour te +simplifier la tâche. +Par exemple, wasm-bindgen est une +option populaire.

+

Dans le prochain chapitre, nous parlerons d'une technique pour appeler +dynamiquement les fonctions JavaScript et nous aborderons +le ramasse-miettes (garbage collector)!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_17_fr_c.html b/webassembly/beta_17_fr_c.html new file mode 100644 index 000000000..17f746c73 --- /dev/null +++ b/webassembly/beta_17_fr_c.html @@ -0,0 +1,53 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Conclusion

+

Echanger des données entre l'hôte et un programme WebAssembly est fastidieux, +mais cela peut entraîner de grands gains en performances. +Il est important de se rappeler que WebAssembly exécute du bytecode bas-niveau et +nous donne un contrôle sur la mémoire beaucoup plus fin que JavaScript. +N'hésite pas non plus à regarder s'il n'existe pas de librairies C pour te +simplifier la tâche.

+

Dans le prochain chapitre, nous parlerons d'une technique pour appeler +dynamiquement les fonctions JavaScript et nous aborderons le +ramasse-miettes (garbage collector)!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_17_ja.html b/webassembly/beta_17_ja.html new file mode 100644 index 000000000..bddcc0fe4 --- /dev/null +++ b/webassembly/beta_17_ja.html @@ -0,0 +1,48 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2章のまとめ

+

ホスト側とWebAssemblyのプログラムの間をまたぐのは面倒ですが、それにより多くのことを得られます。

+

WebAssemblyは、JavaScriptよりも細かなメモリ構造に関心のある、ローレベルな実行環境であることを忘れないことが重要です。 +あわせて、これらをより簡単に行うためのライブラリがあることも確認してください。 Rustの場合、wasm-bindgenが人気の選択肢です。

+

次の章では、動的にJavaScriptの関数を呼び出す方法と、ガベージコレクションについて見ていきます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_17_pt-br.html b/webassembly/beta_17_pt-br.html new file mode 100644 index 000000000..4b68ab644 --- /dev/null +++ b/webassembly/beta_17_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Conclusão

+

Atravessar a fronteira entre o host e o programa WebAssembly é complicado, mas com ele podemos ter um ótimo desempenho.

+

É importante lembrar que o WebAssembly é um byte-code executável de baixo nível com preocupações a respeito de estruturas de memória que são muito mais refinadas que o JavaScript. Confira o suporte da biblioteca da sua linguagem de programação para ferramentas que ajudam a tornar essa tarefa mais fácil! Para o Rust, o wasm-bindgen é uma opção popular.

+

No próximo capítulo falaremos sobre uma técnica para chamar dinamicamente funções JavaScript e garbage collection!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_17_ro.html b/webassembly/beta_17_ro.html new file mode 100644 index 000000000..9cf2cd43d --- /dev/null +++ b/webassembly/beta_17_ro.html @@ -0,0 +1,49 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Concluzia capitolului 2

+

Trecerea graniței între gazdă și WebAssembly este anevoioasă, însă poate aduce performanțe mari. +Este important să ne amintim că WebAssembly este un cod executabil apropiat de hardware, care se preocupă de structuri de memorie +mult mai fin definite decât în JavaScript. Verificați dacă limbajul dumneavoastră de programare oferă funcționalități care să vă ajute la rezolvarea problemei! +Pentru Rust, wasm-bindgen este o opțiune populară.

+

În capitolul următor, vom vorbi despre o tehnică de a apela dinamic funcții JavaScript și despre "garbage collection".

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_19_en.html b/webassembly/beta_19_en.html new file mode 100644 index 000000000..90a9d4f8b --- /dev/null +++ b/webassembly/beta_19_en.html @@ -0,0 +1,55 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Why Dynamic Invocation?

+

We saw in the first chapters that we could easily write our own JavaScript functions by hand in our .js files, so why +dynamically create functions?

+
    +
  • Most people come to WebAssembly to escape JavaScript. Dynamic creation of JavaScript functions allow us to use +libraries in our native language that do the hard part of dynamically creating their bindings without everyone having +to recreate the wheel.
  • +
  • Simplifies our setup and bootstrapping of our WebAssembly module to a bare minimum. We only need the ability to register +new functions and call those new functions instead of specifying a litany of hand written JavaScript functions.
  • +
  • It's difficult for JavaScript to know what dependencies your module needs, by allowing the WebAssembly program to create its own functions +it creates only exactly what it needs.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_19_fr.html b/webassembly/beta_19_fr.html new file mode 100644 index 000000000..e48f92bd8 --- /dev/null +++ b/webassembly/beta_19_fr.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Pourquoi l'invocation dynamique?

+

Nous avons vu dans les premiers chapitres que nous pouvions facilement +écrire nos propres fonctions JavaScript à la main dans nos fichiers .js, +alors pourquoi vouloir créer dynamiquement ces fonctions?

+
    +
  • Un certain nombre de développeurs sont attirés par WebAssembly pour échapper +à JavaScript. On pourrait imaginer des librairies natives Rust qui facilitent +la liaison avec JavaScript et nous évite tout simplement d'écrire du code +JavaScript.
  • +
  • Cela simplifie la configuration et l'amorçage d'un module WebAssembly. +Nous avons seulement besoin de donner à WebAssembly un moyen de pouvoir +déclarer et exécuter nos fonctions JavaScript. Nous n'avons dès lors plus +besoin de spécifier une pléthore de fonctions dans notre code JavaScript.
  • +
  • Il est difficile pour JavaScript de savoir quelles dépendances le module +a besoin et en donnant la possibilité au programme WebAssembly de créer +ses propres fonctions, ce dernier crée lui-même ce dont il a besoin.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_19_ja.html b/webassembly/beta_19_ja.html new file mode 100644 index 000000000..57ebbee75 --- /dev/null +++ b/webassembly/beta_19_ja.html @@ -0,0 +1,53 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

なぜ動的実行なのか?

+

1章で、.jsファイルの中に簡単に関数を定義し、WebAssemblyから実行できることを学びました。 ならばなぜ、動的に実行する手段が必要なのでしょうか?

+
    +
  • WebAssemblyを学ぶ多くの人は、そもそもJavaScriptから逃避することが目的です。 +JavaScriptの関数を動的に実行できることで、誰もが車輪の再発明をすることなく、動的なバインディングという最も難解な部分を行う既存資産を利用できます。
  • +
  • 準備や起動を単純化することで、WebAssemblyモジュールを小さくできます。 +手書きのJavaScriptコードをたくさん指定する代わりに、関数を登録する方法と、実行する方法だけが必要なのです。
  • +
  • JavaScriptでは、どんなモジュールに依存しているかを知ることは難しいです。 +WebAssemblyで関数を作成できるようにすることでは、必要なものだけを使うことができます。
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_19_pt-br.html b/webassembly/beta_19_pt-br.html new file mode 100644 index 000000000..77f2d6ed5 --- /dev/null +++ b/webassembly/beta_19_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Por Que Invocação Dinâmica?

+

Vimos nos primeiros capítulos que poderíamos facilmente escrever as nossas próprias funções JavaScript manualmente em nossos arquivos .js, então por que criar funções dinamicamente?

+
    +
  • A maioria das pessoas vem ao WebAssembly para escapar do JavaScript. A criação dinâmica de funções no JavaScript nos permite usar bibliotecas em nossa linguagem nativa que fazem a parte mais difícil de criar dinamicamente suas ligações sem que todos tenham que reinventar a roda.
  • +
  • Simplifica nossa configuração e inicialização do módulo WebAssembly ao mínimo. Precisamos apenas da capacidade de registrar novas funções e chamar essas novas funções em vez de especificar uma ladainha de funções JavaScript escritas à mão.
  • +
  • É difícil para o JavaScript saber de quais dependências seu módulo precisa, ao permitir que o programa WebAssembly crie suas próprias funções, ele cria apenas exatamente o que precisa.
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_19_ro.html b/webassembly/beta_19_ro.html new file mode 100644 index 000000000..1b336890c --- /dev/null +++ b/webassembly/beta_19_ro.html @@ -0,0 +1,53 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

De ce invocare dinamică?

+

Am văzut în primele capitole că putem foarte ușor să scriem manual propriile funcții JavaScript în fișierele noastre .js. Așa că +de ce am crea funcții dinamice?

+
    +
  • Majoritatea oamenilor aleg WebAssembly pentru a scăpa de JavaScript. Crearea funcțiilor JavaScript dinamice ne permite să folosim +biblioteci în limbajul nativ, care să se ocupe de partea dificilă de a crea +dinamic legăturile fără să reinventeze roata.

  • +
  • Simplifică configurarea și lansarea modulelor WebAssembly la un minim absolut. Avem nevoie doar de capacitatea de a înregistra funcții noi și de a le apela în loc să specificăm o serie de funcții JavaScript scrise manual.

  • +
  • Este dificil pentru JavaScript să știe ce dependențe are modulul său, permițând programului WebAssembly să-și creeze propriile funcții care să facă exact ceea ce este nevoie.

  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_20_en.html b/webassembly/beta_20_en.html new file mode 100644 index 000000000..c0208954e --- /dev/null +++ b/webassembly/beta_20_en.html @@ -0,0 +1,50 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Logging Revisited

+

In our first chapter we manually wrote our log functions to do logging with console.log. Let's consider how we would do this dynamically.

+
    +
  • We need some way to register a function at runtime.
  • +
  • We need some way to call that function.
  • +
  • We'll need some way for that dynamic function to have access to memory (e.g. for extracting utf-8 bytes.)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_20_fr.html b/webassembly/beta_20_fr.html new file mode 100644 index 000000000..6b9c9a527 --- /dev/null +++ b/webassembly/beta_20_fr.html @@ -0,0 +1,55 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Affichage de texte depuis WebAssembly revisité

+

Dans le premier chapitre, nous avons écrit nous même une fonction JavaScript +qui affichait un texte en appelant console.log. Voyons comment procéder de +manière dynamique (e.g. l'instruction console.log se trouvera dans le code +Rust!):

+
    +
  • Nous avons besoin d'un moyen de déclarer notre fonction dynamique lors de +l'exécution.
  • +
  • Nous avons besoin d'un moyen d'appeler cette fonction.
  • +
  • Nous devons faire en sorte que cette fonction ait accès à la mémoire (e.g. +pour extraire les octets utf-8.)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_20_ja.html b/webassembly/beta_20_ja.html new file mode 100644 index 000000000..777f070d1 --- /dev/null +++ b/webassembly/beta_20_ja.html @@ -0,0 +1,50 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

ロギングふたたび

+

1章でconsole.logを使ったロギングの関数を書きました。これを動的に行う方法について考えましょう。

+
    +
  • ランタイムに関数を登録する方法が必要です。
  • +
  • そしてそれを呼び出す方法が必要です。
  • +
  • 動的な関数のためには、メモリにアクセスする方法が必要です。 (たとえば、UTF-8のバイトを抽出するために)
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_20_pt-br.html b/webassembly/beta_20_pt-br.html new file mode 100644 index 000000000..5fcde5765 --- /dev/null +++ b/webassembly/beta_20_pt-br.html @@ -0,0 +1,50 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Registro Revisitado

+

Em nosso primeiro capítulo, escrevemos manualmente nossas funções de log para fazer o registro com o console.log. Vamos considerar como faríamos isso dinamicamente.

+
    +
  • Precisamos de alguma maneira de registrar uma função em tempo de execução.
  • +
  • Precisamos de alguma maneira de chamar essa função.
  • +
  • Precisamos de alguma maneira para que essa função dinâmica tenha acesso à memória (por exemplo, para extrair bytes utf-8).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_20_ro.html b/webassembly/beta_20_ro.html new file mode 100644 index 000000000..aea35f050 --- /dev/null +++ b/webassembly/beta_20_ro.html @@ -0,0 +1,50 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Recapitularea înregistrării

+

În primul capitol am scris manual funcțiile noastre de log pentru a efectua înregistrarea cu console.log. Să vedem cum am putea face acest lucru dinamic.

+
    +
  • Avem nevoie de o modalitate de a înregistra o funcție la runtime.
  • +
  • Avem nevoie de o modalitate de a apela acea funcție.
  • +
  • Avem nevoie ca acea funcție dinamică să aibă acces la memorie (de exemplu, pentru a extrage octeți UTF-8).
  • +
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_21_en.html b/webassembly/beta_21_en.html new file mode 100644 index 000000000..db1ba1ff3 --- /dev/null +++ b/webassembly/beta_21_en.html @@ -0,0 +1,56 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Registering Functions

+

In order to register a function we need two things:

+
    +
  • we need to pass body of function we want to create in JavaScript as a string
  • +
  • we need to get back a handle so we can call that function later with parameters
  • +
+
register_function(js:&str) -> usize
+
+

Since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

Underneath the covers we take advantage of JavaScript's eval function to make these functions real.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_21_fr.html b/webassembly/beta_21_fr.html new file mode 100644 index 000000000..c5b3e3bed --- /dev/null +++ b/webassembly/beta_21_fr.html @@ -0,0 +1,61 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Déclaration de fonctions

+

Pour déclarer une fonction, nous avons besoin de deux choses:

+
    +
  • Nous devons passer le corps de la fonction JavaScript que nous voulons créer +sous la forme d'une chaîne de caractères.
  • +
  • Nous devons avoir un moyen d'appeler cette fonction plus tard. Pour +cela, les fonctions sont stockées dans un tableau.
  • +
+

La signature Rust de cette fonction est:

+
register_function(js:&str) -> usize
+
+

Cependant, étant donné que WebAssembly et JavaScript ne peuvent échanger que +des nombres et que tous les nombres en JavaScript sont des float 64 bits, +la signature de cette fonction côté JavaScript sera:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

Nous profitons de la fonction eval de JavaScript permettant d'évaluer du code +JavaScript représenté sous forme d'une chaîne de caractères.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_21_ja.html b/webassembly/beta_21_ja.html new file mode 100644 index 000000000..77460378c --- /dev/null +++ b/webassembly/beta_21_ja.html @@ -0,0 +1,55 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数の登録

+

関数を登録するためには、次の2つが必要となります。

+
    +
  • JavaScriptで実行したい関数の定義を、文字列で渡すこと
  • +
  • 後でパラメータを渡して実行するための、ハンドルを得ること
  • +
+
register_function(js: &str) -> usize
+
+

WebAssemblyでは、すべてを数値でやり取りしなければなりません。 そして、JavaScriptの数値型は64ビット浮動小数点です。 よって、これが最終形です。

+
register_function(js_start: f64, js_len: f64) -> f64
+
+

水面下では、JavaScriptのeval関数を利用しており、実際に実行することができるようになります。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_21_pt-br.html b/webassembly/beta_21_pt-br.html new file mode 100644 index 000000000..2cc596abe --- /dev/null +++ b/webassembly/beta_21_pt-br.html @@ -0,0 +1,53 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Registrando Funções

+

Para registrar uma função precisamos de duas coisas:

+
    +
  • Precisamos passar o corpo da função que queremos criar no JavaScript como uma string.
  • +
  • Precisamos recuperar um identificador para podermos chamar essa função posteriormente com parâmetros.
  • +
+

rust register_function(js:&str) -> usize

+

Como o WebAssembly só pode passar e receber números e como todos os números em JavaScript são floats de 64 bits, a aparência final será de uma função importada:

+

register_function(js_start:f64, js_len:f64) -> f64

+

Por baixo dos panos aproveitamos a função eval do JavaScript para tornar essas funções reais.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_21_ro.html b/webassembly/beta_21_ro.html new file mode 100644 index 000000000..13941c39c --- /dev/null +++ b/webassembly/beta_21_ro.html @@ -0,0 +1,56 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Înregistrarea funcțiilor

+

Pentru a înregistra o funcție avem nevoie de două lucruri:

+
    +
  • trebuie să transmitem corpul funcției pe care dorim să o creăm în JavaScript drept șir de caractere
  • +
  • trebuie să primim înapoi un identificator pentru a putea apela acea funcție mai târziu cu parametri
  • +
+
register_function(js:&str) -> usize
+
+

De vreme ce WebAssembly poate să trimită înainte și înapoi doar numere, iar toate numerele din JavaScript sunt numere reale pe 64 de biți, +în cele din urmă, lucrurile vor arăta ca o funcție importată:

+
register_function(js_start:f64,js_len:f64) -> f64
+
+

În spatele cortinei profităm de funcția eval din JavaScript pentru a face aceste funcții să fie reale.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_22_en.html b/webassembly/beta_22_en.html new file mode 100644 index 000000000..f5693c857 --- /dev/null +++ b/webassembly/beta_22_en.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Calling Functions

+

When we later want to call our dynamic function, we'll need some sort of invocation function that can take +in our function handle and arguments.

+

Again, since WebAssembly can only pass back and forth numbers, and since all numbers in JavaScript are 64-bit floats, +what this will look like ultimately is an imported function:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Putting it all together we

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // somehow call console_log  
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

You'll notice there is a problem with our JavaScript function though. It has the start and end of our utf-8 but not memory!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_22_fr.html b/webassembly/beta_22_fr.html new file mode 100644 index 000000000..c73b7f576 --- /dev/null +++ b/webassembly/beta_22_fr.html @@ -0,0 +1,68 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Appel de fonctions

+

Lorsque nous voulons appeler une fonction dynamique, nous avons besoin +de connaître sa position (fn_handle dans le code) dans le tableau contenant +les fonctions dynamiques ainsi que ses arguments.

+

Encore une fois, étant donné que WebAssembly ne peut transmettre que des +nombres et que tous les nombres en JavaScript sont des flottants 64 bits, +la signature de la fonction pour l'appel des fonctions dynamiques est donc:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Notre code Rust devient:

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // appel de console_log ici
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

Il y a cependant un problème. En effet, notre fonction JavaScript à appeler +(celle affichant le console log) doit récupérer le message à afficher depuis +la mémoire. Elle connait la postition du message dans la mémoire ainsi que sa +taille, mais comment récupérer le message? Nous utiliserons pour cela un +contexte!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_22_ja.html b/webassembly/beta_22_ja.html new file mode 100644 index 000000000..65a2d7552 --- /dev/null +++ b/webassembly/beta_22_ja.html @@ -0,0 +1,65 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

関数を呼び出す

+

後で動的な関数を実行するためには、関数ハンドルとその引数を受け取るための呼び出し方が必要になります。

+

繰り返しですが、JavaScriptとWebAssemblyは数値だけをやり取りし、JavaScriptの数値は64ビットの浮動小数点です。

+

関数は最終的にこのようになります。

+
js_invoke_with_2_params(fn_handle: f64, a: f64, b: f64) -> f64
+
+

全てを組み合わせるとこうです。

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // ここでどうにかして console.log を呼び出す
+  }");
+
+
+let msg = "hello world";
+
+js_invoke_with_2_params(
+  log_handle,
+  msg.as_ptr() as f64,
+  msg.len() as f64
+);
+
+

しかしまだこのJavaScriptの関数には問題があることに気付いたでしょう。 メモリではなく、UTF-8文字列の開始位置と終了位置が渡されています!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_22_pt-br.html b/webassembly/beta_22_pt-br.html new file mode 100644 index 000000000..db953f442 --- /dev/null +++ b/webassembly/beta_22_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chamando Funções

+

Quando mais tarde desejarmos chamar nossa função dinâmica, precisaremos de algum tipo de invocação de função que possa incluir o identificador e os argumentos da nossa função.

+

Novamente, como o WebAssembly só pode passar e receber números e como todos os números em JavaScript são floats de 64 bits, a aparência final será de uma função importada:

+

js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64

+

Juntando tudo nós

+

```rust let loghandle = registerfunction(" + (parama, paramb) => { + // de alguma forma chame console_log
+ }");

+

let msg = "olá, mundo"; +jsinvokewith2params( loghandle, msg.asptr() as f64, + msg.len() as f64 ); +```

+

Você notará que há um problema com nossa função JavaScript. Ele tem o início e o fim do nosso utf-8, mas não a memória!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_22_ro.html b/webassembly/beta_22_ro.html new file mode 100644 index 000000000..b967e1fbb --- /dev/null +++ b/webassembly/beta_22_ro.html @@ -0,0 +1,62 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Apelarea funcțiilor

+

Mai târziu, când dorim să apelăm funcția noastră dinamică, vom avea nevoie de o funcție de invocare care să poată lua +identificatorul funcției și argumentele.

+

Din nou, de vreme ce WebAssembly poate să trimită înainte și înapoi doar numere, iar toate numerele din JavaScript sunt numere reale pe 64 de biți, +în cele din urmă, lucrurile vor arăta ca o funcție importată:

+
js_invoke_with_2_params(fn_handle:f64, a:f64, b:f64) -> f64
+
+

Punând totul laolaltă avem:

+
let log_handle = register_function("
+  (param_a, param_b) => {
+    // apelează cumva console_log  
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+    msg.len() as f64 );
+
+

Veți observa că există o problemă cu funcția noastră JavaScript. Are începutul și sfârșitul șirului UTF-8, dar nu și memoria acestuia!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_23_en.html b/webassembly/beta_23_en.html new file mode 100644 index 000000000..f632a3969 --- /dev/null +++ b/webassembly/beta_23_en.html @@ -0,0 +1,60 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Context Of Dynamic Invocation

+

When our dynamically invoked functions are called, the functions need to have access to the module's memory. We can place +important resources on a context object so our function has all the available tools to do it's job.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Look at the example for the complete implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_23_fr.html b/webassembly/beta_23_fr.html new file mode 100644 index 000000000..ec46d57fc --- /dev/null +++ b/webassembly/beta_23_fr.html @@ -0,0 +1,63 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Contexte d'invocation dynamique

+

Lorsque nos fonctions invoquées dynamiquement sont appelées, celles-ci +doivent avoir accès à la mémoire du module. Pour cela, nous pouvons créer +une fonction ayant pour but de décoder les octets de cette mémoire et +passer cette fonction de décodage à chacune des fonctions dynamiques à +l'aide d'un objet contexte.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Nous donnons un exemple avec l'implémentation complète.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_23_ja.html b/webassembly/beta_23_ja.html new file mode 100644 index 000000000..caf59b800 --- /dev/null +++ b/webassembly/beta_23_ja.html @@ -0,0 +1,63 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

動的実行のコンテキスト

+

我々の動的実行関数が呼ばれるとき、WebAssemblyモジュールのメモリ領域にアクセスできる必要があります。 そのためのコンテキストのオブジェクトを用意し、そこに重要なリソースを配置します。 こうすることで、関数が仕事をすることができるようになります。

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart, msgEnd);
+    console.log(msg);
+  }");
+
+
+let msg = "hello world";
+
+js_invoke_with_2_params(
+  log_handle,
+  msg.as_ptr() as f64,
+  msg.len() as f64
+);
+
+

完全な実装は、実際のコード例を見てください。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_23_pt-br.html b/webassembly/beta_23_pt-br.html new file mode 100644 index 000000000..7e7d3bfa8 --- /dev/null +++ b/webassembly/beta_23_pt-br.html @@ -0,0 +1,57 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Contexto da Invocação Dinâmica

+

Quando nossas funções invocadas dinamicamente são chamadas, as funções precisam ter acesso à memória do módulo. Podemos colocar recursos importantes em um objeto de contexto para que nossa função tenha todas as ferramentas disponíveis para fazer seu trabalho.

+

```rust let loghandle = registerfunction(" + (context, msgStart, msgEnd) => { + let msg = context.getUtf8FromMemory(msgStart, msgEnd); + console.log(msg); + }");

+

let msg = "olá mundo"; +jsinvokewith2params( loghandle, msg.asptr() as f64, + msg.len() as f64); +```

+

Veja o exemplo para a implementação completa.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_23_ro.html b/webassembly/beta_23_ro.html new file mode 100644 index 000000000..3cf127c68 --- /dev/null +++ b/webassembly/beta_23_ro.html @@ -0,0 +1,60 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Contextul invocării dinamice

+

Când funcțiile noastre invocate dinamic sunt apelate, acestea trebuie să aibă acces la memoria modulului. Putem plasa +resurse importante unui obiect de context astfel încât funcția noastră să aibă toate instrumentele disponibile pentru a face ceea ce trebuie.

+
let log_handle = register_function("
+  (context, msgStart, msgEnd) => {
+    let msg = context.getUtf8FromMemory(msgStart,msgEnd);
+    console.log(msg); 
+  }");
+
+let msg = "hello world";
+
+js_invoke_with_2_params( log_handle,msg.as_ptr() as f64, 
+  msg.len() as f64);
+
+

Studiați exemplul pentru implementarea completă.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_24_en.html b/webassembly/beta_24_en.html new file mode 100644 index 000000000..7f3e8b28c --- /dev/null +++ b/webassembly/beta_24_en.html @@ -0,0 +1,62 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returning References

+

We run into an issue with dynamic functions when we want to return a reference to an object. WebAssembly can only pass +around numbers! To break past this challenge, we must establish a convention of using a numerical handle to represent +a reference to our object in JavaScript.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_24_fr.html b/webassembly/beta_24_fr.html new file mode 100644 index 000000000..1cc886a91 --- /dev/null +++ b/webassembly/beta_24_fr.html @@ -0,0 +1,65 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retourner une référence

+

Nous rencontrons cependant un problème avec les fonctions dynamiques +lorsque nous voulons retourner une référence à un objet. En effet, +WebAssembly et JavaScript ne peuvent échanger entre eux uniquement +des nombres! Afin de surmonter ce problème, il nous suffit d'établir +une convention pour pouvoir référencer nos objets JavaScript en +stockant ces objets dans le contexte.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_24_ja.html b/webassembly/beta_24_ja.html new file mode 100644 index 000000000..2f6316c3f --- /dev/null +++ b/webassembly/beta_24_ja.html @@ -0,0 +1,63 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

参照を返す

+

このやり方では、オブジェクトへの参照を返したい場合に問題があります。 WebAssemblyからは数値しか渡すことができないからです!

+

これを乗り越えるためには、数値ハンドルを使ってJavaScriptのオブジェクトへの参照を保持する仕組みを導入するしかありません。

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+  query_selector_handle,
+  selector.as_ptr() as f64,
+  selector.len() as f64
+);
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_24_pt-br.html b/webassembly/beta_24_pt-br.html new file mode 100644 index 000000000..54b209f69 --- /dev/null +++ b/webassembly/beta_24_pt-br.html @@ -0,0 +1,58 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Retornando Referências

+

Nos deparamos com um problema com funções dinâmicas quando queremos retornar uma referência a um objeto. O WebAssembly pode retornar somente números! Para superar esse desafio precisamos estabelecer uma convenção de uso de um identificador numérico para representar uma referência ao nosso objeto em JavaScript.

+

```rust let queryselectorhandle = register_function(" + (context, selectorStart, selectorEnd) => { + let selector = context.getUtf8FromMemory( + selectorStart, selectorEnd); + let domEl = document.querySelector(selector); + let objHandle = context.storeObject(domEl); + return objHandle; + }");

+

let selector = "#fancy-button"; +let domelementhandle = jsinvokewith2params( + loghandle, selector.asptr() as f64, + selector.len() as f64 ); +```

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_24_ro.html b/webassembly/beta_24_ro.html new file mode 100644 index 000000000..41abde3cf --- /dev/null +++ b/webassembly/beta_24_ro.html @@ -0,0 +1,62 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Returnarea referințelor

+

Când vrem să returnăm o referință la un obiect, întâlnim o problemă la funcțiile dinamice. WebAssembly poate să trimită înainte și înapoi doar numere! +Pentru a trece peste acest obstacol, trebuie să stabilim o convenție de a folosi un identificator numeric pentru a reprezenta +o referință către obiectul nostru în JavaScript.

+
let query_selector_handle = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let objHandle = context.storeObject(domEl);
+    return objHandle;
+  }");
+
+let selector = "#fancy-button";
+
+let dom_element_handle = js_invoke_with_2_params(
+    log_handle,selector.as_ptr() as f64, 
+    selector.len() as f64 );
+
+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_25_en.html b/webassembly/beta_25_en.html new file mode 100644 index 000000000..0f71937af --- /dev/null +++ b/webassembly/beta_25_en.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Allocators

+

As we can see to properly communicate objects, we need to have some kind of storage mechanism for objects:

+
    +
  • storeObject(object) -> f64 - Stores an object and returns a numerical handle.
  • +
  • getObject(f64) -> object - Get a reference to an object by it's numerical handle.
  • +
  • releaseObject(f64) -> object - Release a reference to an object from storage, allowing it's memory to be freed.
  • +
+

The implementation of something like this is called an allocator. This is beyond the scope of this tutorial. We +could imagine a very naive implementation of this which is essentially just an ever growing vector where +when an object is stored in the vector and it's index is returned as the handle.

+
let storage = [];
+
+function storeObject(obj){
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle){
+  return storage[handle];
+}
+
+function releaseObject(handle){
+  return storage[handle] = null;
+}
+
+

There are many issues for you to consider with your implementation.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_25_fr.html b/webassembly/beta_25_fr.html new file mode 100644 index 000000000..57ef8c4bc --- /dev/null +++ b/webassembly/beta_25_fr.html @@ -0,0 +1,77 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Allocateurs

+

Comme nous venons de le voir, pour retourner la référence d'un objet +JavaScript, nous devons mettre en place un mécanisme de stockage pour +les objets à référencer:

+
    +
  • storeObject(object) -> f64 - Stocke la référence d'un objet et +retourne cette référence.
  • +
  • getObject(f64) -> object - Récupère la référence d'un objet.
  • +
  • releaseObject(f64) -> object - Supprime la référence d'un objet +présent dans le stockage, permettant ainsi de libérer l'espace mémoire.
  • +
+

Ce mécanisme de stockage est ce qu'on appelle un allocateur. Cela dépasse +la portée de ce tutoriel mais on pourrait imaginer une mise en œuvre très +naïve en utilisant un tableau dans lequel sont stockés les objects.

+
let storage = [];
+
+function storeObject(obj){
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle){
+  return storage[handle];
+}
+
+function releaseObject(handle){
+  return storage[handle] = null;
+}
+
+

Cela dit, cette implémentation simpliste présente de nombreux +problèmes que nous n'arborderons pas ici.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_25_ja.html b/webassembly/beta_25_ja.html new file mode 100644 index 000000000..90aa286bf --- /dev/null +++ b/webassembly/beta_25_ja.html @@ -0,0 +1,71 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

アロケータ

+

オブジェクトをやり取りできるよう、ストレージの仕組みが必要です。

+
    +
  • storeObject(object) -> f64 - オブジェクトを格納し、数値をハンドルとして返す
  • +
  • getObject(f64) -> object - 数値ハンドルから、オブジェクトへの参照を返す
  • +
  • releaseObject(f64) -> object - メモリを開放するために、オブジェクトを参照を解除
  • +
+

このような実装のことを、アロケータといいます。(詳細はこのツアーの範疇を超えています)

+

本質的には、オブジェクトを格納することができ、その際にインデックスがハンドルとして返される無限のベクタです。

+
let storage = [];
+
+function storeObject(obj) {
+  let index = storage.length;
+  storage.push(obj);
+  return index;
+}
+
+function getObject(handle) {
+  return storage[handle];
+}
+
+function releaseObject(handle) {
+  return storage[handle] = null;
+}
+
+

実装としては考慮すべき点が多くあります。

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_25_pt-br.html b/webassembly/beta_25_pt-br.html new file mode 100644 index 000000000..9eb198eb6 --- /dev/null +++ b/webassembly/beta_25_pt-br.html @@ -0,0 +1,66 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Alocadores

+

Como podemos ver para comunicar os objetos corretamente precisamos ter algum tipo de mecanismo de armazenamento para os objetos:

+
    +
  • storeObject(object) -> f64 - Armazena um objeto e retorna um identificador numérico.
  • +
  • getObject(f64) -> object - Obtém a referência de um objeto por seu identificador numérico.
  • +
  • releaseObject(f64) -> object - Libere uma referência de um objeto do armazenamento, permitindo que sua memória seja liberada.
  • +
+

A implementação de algo assim é chamado de alocador. Isso está além do escopo deste tutorial. Poderíamos imaginar uma implementação muito ingênua disso, que é essencialmente apenas um vetor sempre crescente, no qual um objeto é armazenado no vetor e seu índice é retornado como identificador.

+

let storage = []; +function storeObject(obj){ + let index = storage.length; + storage.push(obj); + return index; +} +function getObject(handle){ + return storage[handle]; +} +function releaseObject(handle){ + return storage[handle] = null; +}

+

Há muitas questões que você deve considerar na sua implementação.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_25_ro.html b/webassembly/beta_25_ro.html new file mode 100644 index 000000000..aa1f531bd --- /dev/null +++ b/webassembly/beta_25_ro.html @@ -0,0 +1,78 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Alocatoare

+

După cum putem vedea, pentru a comunica corect obiecte, avem nevoie de un fel de mecanism de stocare pentru obiecte:

+
    +
  • storeObject(object) -> f64 - Stochează un obiect și returnează un identificator +numeric.

  • +
  • getObject(f64) -> object - Obține o referință la un obiect prin identificatorul +său numeric.

  • +
  • releaseObject(f64) -> object - Eliberează o referință la un obiect din +spațiul de stocare, permițând eliberarea memoriei sale.

  • +
+

Implementarea unei astfel de funcționalități se numește alocator. Acesta este dincolo de sfera acestui tutorial. Ne-am putea imagina o implementare foarte simplă a +acestuia și anume un vector în creștere continuă astfel încât +un obiect este stocat în vector și indicele său este returnat ca identificator.

+
  let storage = [];
+
+
+  function storeObject(obj){
+    let index = storage.length;
+    storage.push(obj);
+    return index;
+  }
+
+
+  function getObject(handle){
+    return storage[handle];
+  }
+
+
+  function releaseObject(handle){
+    return storage[handle] = null;
+  }
+
+

Sunt multe aspecte pe care trebuie să le luăm în considerare în implementarea noastră.

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_26_en.html b/webassembly/beta_26_en.html new file mode 100644 index 000000000..bc6c389d9 --- /dev/null +++ b/webassembly/beta_26_en.html @@ -0,0 +1,72 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Drawing To The Screen

+

Let's put it all together with a an example by drawing a red square to the screen. Let's think about the functions we'll need +to register:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_26_fr.html b/webassembly/beta_26_fr.html new file mode 100644 index 000000000..a7e8d3022 --- /dev/null +++ b/webassembly/beta_26_fr.html @@ -0,0 +1,73 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Dessiner à l'écran

+

Mettons en pratique tout ce que nous venons de voir avec un exemple où +nous allons dessiner un carré rouge à l'écran. Voici les fonctions dont +nous aurons besoin:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_26_ja.html b/webassembly/beta_26_ja.html new file mode 100644 index 000000000..e2d73fdbe --- /dev/null +++ b/webassembly/beta_26_ja.html @@ -0,0 +1,74 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

画面への描画

+

学んだ全てを組み合わせて、赤い四角を画面に描画する例を考えます。

+

登録すべき関数はこのようになります。

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart, selectorEnd
+    );
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart, colorEnd
+    );
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x, y, width, height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_26_pt-br.html b/webassembly/beta_26_pt-br.html new file mode 100644 index 000000000..b8a116f36 --- /dev/null +++ b/webassembly/beta_26_pt-br.html @@ -0,0 +1,69 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desenhando na Tela

+

Vamos juntar tudo em um exemplo desenhando um quadrado vermelho na tela. Vamos pensar a respeito das funções que precisaremos registrar:

+

```rust let get2dcontext = register_function(" + (context, selectorStart, selectorEnd) => { + let selector = context.getUtf8FromMemory( + selectorStart, selectorEnd); + let domEl = document.querySelector(selector); + let ctx = domEl.getContext("2d"); + let objHandle = context.storeObject(ctx); + return objHandle; + }");

+

let setcontextcolor = register_function(" + (context, ctxHandle, colorStart, colorEnd) => { + let color = context.getUtf8FromMemory( + colorStart, colorEnd); + let ctx = context.getObject(ctxHandle); + ctx.fillStyle = color; + }");

+

let drawrect = registerfunction(" + (context, ctxHandle, x, y, width, height) => { + let ctx = context.getObject(ctxHandle); + ctx.fillRect(x, y, width, height); + }"); +```

+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_26_ro.html b/webassembly/beta_26_ro.html new file mode 100644 index 000000000..f7c64c12c --- /dev/null +++ b/webassembly/beta_26_ro.html @@ -0,0 +1,72 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Desenarea pe ecran

+

Să punem toate informațiile laolaltă pentru a crea un exemplu, desenând un pătrat roșu pe ecran. Să ne gândim la funcțiile +pe care trebuie să le înregistrăm:

+
let get_2d_context = register_function("
+  (context, selectorStart, selectorEnd) => {
+    let selector = context.getUtf8FromMemory(
+      selectorStart,selectorEnd);
+    let domEl = document.querySelector(selector);
+    let ctx = domEl.getContext("2d");
+    let objHandle = context.storeObject(ctx);
+    return objHandle;
+  }");
+
+let set_context_color = register_function("
+  (context, ctxHandle, colorStart, colorEnd) => {
+    let color = context.getUtf8FromMemory(
+      colorStart,colorEnd);
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillStyle = color;
+  }");
+
+let draw_rect = register_function("
+  (context, ctxHandle, x, y, width, height) => {
+    let ctx = context.getObject(ctxHandle);
+    ctx.fillRect(x,y,width,height);
+  }");
+
+ +
+
+ +
+
+ + \ No newline at end of file diff --git a/webassembly/beta_27_en.html b/webassembly/beta_27_en.html new file mode 100644 index 000000000..6608fdf7e --- /dev/null +++ b/webassembly/beta_27_en.html @@ -0,0 +1,47 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 Conclusion

+

We now have the ability to invoke any kind of JavaScript! How cool is that? Using eval obviously is not that ideal, +but WebAssembly is an evolving technology that will one day have better ways to access any aspect of the +browser. Until then we do our best! The next chapter is on asynchronous programming!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_27_fr.html b/webassembly/beta_27_fr.html new file mode 100644 index 000000000..fdbc8ec04 --- /dev/null +++ b/webassembly/beta_27_fr.html @@ -0,0 +1,50 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 3 - Conclusion

+

Nous avons maintenant la possibilité d'invoquer tout type de JavaScript +avec WebAssembly! N'est-ce pas génial? Utiliser eval n'est évidemment +pas idéal, mais WebAssembly est une technologie en évolution qui aura +un jour de meilleurs moyens d'accéder à n'importe quel aspect du navigateur. +D'ici là, nous faisons de notre mieux! Le chapitre suivant est consacré +à la programmation asynchrone!

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_27_ja.html b/webassembly/beta_27_ja.html new file mode 100644 index 000000000..9f235242b --- /dev/null +++ b/webassembly/beta_27_ja.html @@ -0,0 +1,47 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3章のまとめ

+

これでどんなJavaScriptでも実行できるようになりました!すごいですよね?

+

evalの使用は理想的ではないかもしれません。 しかし進化を続けるWebAssemblyならば、いつの日か ブラウザのあらゆる機能にアクセスするよりよい方法が得られると思います。

+

その日が来るまでは、やれることをやりましょう! 次の章は、非同期プログラミングについてです!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_27_pt-br.html b/webassembly/beta_27_pt-br.html new file mode 100644 index 000000000..ef1bddfa9 --- /dev/null +++ b/webassembly/beta_27_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Conclusão

+

Agora temos a capacidade de invocar qualquer tipo de JavaScript! Quão legal é isso? Usar eval obviamente não é o ideal, mas o WebAssembly é uma tecnologia em evolução que um dia terá melhores maneiras de acessar qualquer aspecto do navegador. Até lá, fazemos o nosso melhor! O próximo capítulo é sobre programação assíncrona!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_27_ro.html b/webassembly/beta_27_ro.html new file mode 100644 index 000000000..5eecaa191 --- /dev/null +++ b/webassembly/beta_27_ro.html @@ -0,0 +1,47 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Concluzia capitolului 3

+

Acum avem capacitatea de a invoca orice fel de funcție JavaScript! Cât de tare e asta? Folosirea funției eval evident că nu este chiar ideală, +dar WebAssembly este o tehnologie în evoluție, care va avea într-o zi modalități mai bune de a accesa orice +aspect al browserului. Până atunci, facem tot ce ne stă în putință! Următorul capitol este despre programarea asincronă!

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_en.html b/webassembly/beta_chapter_1_en.html new file mode 100644 index 000000000..73d21d89b --- /dev/null +++ b/webassembly/beta_chapter_1_en.html @@ -0,0 +1,53 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - What Is WebAssembly?

+

WebAssembly is a binary format for representating isolated executable code. It was developed for web +browsers as an alternative to JavaScript with some distinct advantages:

+
    +
  • Because its a low level bytecode, it's able to perform math quickly and manage memory more concisely.
  • +
  • WebAssembly was built with existing compilers in mind, allowing native languages like C/C++ and Rust to compile to it as a target.
  • +
  • Built with isolation in mind, allowing fine grain access control.
  • +
  • WebAssembly was built rather host agnostic, allowing some people to use WebAssembly outside of browsers too!
  • +
+

WebAssembly is often called WASM

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_en_c.html b/webassembly/beta_chapter_1_en_c.html new file mode 100644 index 000000000..fca2fe810 --- /dev/null +++ b/webassembly/beta_chapter_1_en_c.html @@ -0,0 +1,53 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - What Is WebAssembly?

+

WebAssembly is a binary format for representating isolated executable code. It was developed for web +browsers as an alternative to JavaScript with some distinct advantages:

+
    +
  • Because its a low level bytecode, it's able to perform math quickly and manage memory more concisely.
  • +
  • WebAssembly was built with existing compilers in mind, allowing native languages like C/C++ and Rust to compile to it as a target.
  • +
  • Built with isolation in mind, allowing fine grain access control.
  • +
  • WebAssembly was built rather host agnostic, allowing some people to use WebAssembly outside of browsers too!
  • +
+

WebAssembly is often called WASM

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_es.html b/webassembly/beta_chapter_1_es.html new file mode 100644 index 000000000..7d66d3163 --- /dev/null +++ b/webassembly/beta_chapter_1_es.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Qué es WebAssembly?

+

WebAssembly es un formato binario para representar un código ejecutable de forma aislada. Foi +Fue creado para para ser executado en los navegadores como una alternativa a +JavaScript con las siguientes ventajas:

+
    +
  • Por ser un bytecode de bajo nivel, capaz de ejecutar cálculos rápidamente y acceder a la memoria +de una forma más directa.
  • +
  • WebAssembly fue creado teniendo a los compiladores existentes en mente, haciendo posible que fuera +compilado a partir de lenguajes nativos como C/C++ y Rust.
  • +
  • Creado con seguridad e isolación en mente, permitiendo un control de acesso detallado.
  • +
  • WebAssembly fue creado para ser agnóstico, permitiendo que los usuarios usaran WebAssembly +fuera de los navegadores también!
  • +
+

WebAssembly es frecuentemente mencionado como WASM.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_fr.html b/webassembly/beta_chapter_1_fr.html new file mode 100644 index 000000000..08b3985b5 --- /dev/null +++ b/webassembly/beta_chapter_1_fr.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Qu'est-ce que WebAssembly?

+

WebAssembly est un format binaire pour représenter un code exécutable dans +un environement isolé. Il a été développé pour être exécuté par les navigateurs +web et propose une alternative au langage Javascript avec plusieurs avantages +distincts:

+
    +
  • Étant du bytecode de bas niveau, cela permet d'effectuer des calculs +plus rapidement que le JavaScript et d'avoir plus de contrôle sur la gestion +de la mémoire.
  • +
  • WebAssembly a été créé en s'inspirant des compilateurs existants, permettant +ainsi aux langages natifs comme C / C ++ et Rust de produire ce bytecode.
  • +
  • Le bytecode étant exécuté dans un environement isolé, cela permet de +contrôler son exécution.
  • +
  • WebAssembly a été construit indépendamment de l'hôte, rendant possible +son utilisation en dehors des navigateurs!
  • +
+

WebAssembly est souvent racourci en ** WASM **.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_fr_c.html b/webassembly/beta_chapter_1_fr_c.html new file mode 100644 index 000000000..54d0f79b1 --- /dev/null +++ b/webassembly/beta_chapter_1_fr_c.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Qu'est-ce que WebAssembly?

+

WebAssembly est un format binaire pour représenter un code exécutable dans +un environement isolé. Il a été développé pour être exécuté par les navigateurs +web et propose une alternative au langage Javascript avec plusieurs avantages +distincts:

+
    +
  • Étant du bytecode de bas niveau, cela permet d'effectuer des calculs +plus rapidement que le JavaScript et d'avoir plus de contrôle sur la gestion +de la mémoire.
  • +
  • WebAssembly a été créé en s'inspirant des compilateurs existants, permettant +ainsi aux langages natifs comme C / C ++ et Rust de produire ce bytecode.
  • +
  • Le bytecode étant exécuté dans un environement isolé, cela permet de +contrôler son exécution.
  • +
  • WebAssembly a été construit indépendamment de l'hôte, rendant possible +son utilisation en dehors des navigateurs!
  • +
+

WebAssembly est souvent racourci en ** WASM **.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_ie.html b/webassembly/beta_chapter_1_ie.html new file mode 100644 index 000000000..42859aa00 --- /dev/null +++ b/webassembly/beta_chapter_1_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Quo es WebAssembly?

+

WebAssembly es un formate binari por representar code executabil isolat. On developat it por navigatores web +quam un alternative a JavaScript con quelc avantages distint:

+
    +
  • Essente bytecode de bass nivelle, it posse far matematica rapidmen e gerer memorie con plu concisitá.
  • +
  • On constructet WebAssembly pensante pri compilatores existent, por que lingues nativ quam C/C++ e Rust mey compilar con it quam cible.
  • +
  • It esset constructet sur li principie de isolation, possibilisante control de accesse rafinat.
  • +
  • On constructet WebAssembly sin egard al hósped, con quel alcunes posse usar it anc éxter navigatores web!
  • +
+

On nomina WebAssembly sovente WASM

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_ja.html b/webassembly/beta_chapter_1_ja.html new file mode 100644 index 000000000..7270b652e --- /dev/null +++ b/webassembly/beta_chapter_1_ja.html @@ -0,0 +1,53 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1章 - WebAssemblyとは?

+

WebAssemblyは、単体で実行可能なバイナリ形式のコードです。 +JavaScriptの代わりとしてWebブラウザのために開発されたもので、いくつかの優位性があります。

+
    +
  • ローレベルのバイトコードのため、メモリ安全に高速な演算が可能
  • +
  • 既存のプログラミング言語でコンパイルできるよう設計されているので、C/C++やRustなどからもターゲットとしてコンパイルできる
  • +
  • 独立性を保ちつつ、きめ細かいアクセス管理が可能
  • +
  • もとより実行される環境を問わない設計のため、Webブラウザ外でも実行可能です!
  • +
+

WebAssemblyは、しばしばWASMと呼ばれます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_pt-br.html b/webassembly/beta_chapter_1_pt-br.html new file mode 100644 index 000000000..b68322513 --- /dev/null +++ b/webassembly/beta_chapter_1_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - O Que É WebAssembly?

+

O WebAssembly é um formato binário para representar um código executável isolado. Foi projetado para ser executado nos navegadores de internet como uma alternativa ao JavaScript com algumas vantagens nítidas:

+
    +
  • Por ser um bytecode de baixo nível, é capaz de executar cálculos rapidamente e gerenciar a memória de forma mais concisa.
  • +
  • O WebAssembly foi projetado tendo os compiladores existentes em mente, permitindo que seja compilado a partir de linguagens nativas como C/C++ e Rust.
  • +
  • Projetado com o isolamento em mente, permitindo um controle de acesso detalhado.
  • +
  • O WebAssembly foi projetado para ser bem agnóstico, permitindo que as pessoas usem o web assembly fora dos navegadores também!
  • +
+

O WebAssembly é frequentemente chamado de WASM.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_1_ro.html b/webassembly/beta_chapter_1_ro.html new file mode 100644 index 000000000..98c0fc7a5 --- /dev/null +++ b/webassembly/beta_chapter_1_ro.html @@ -0,0 +1,52 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 1 - Ce este WebAssembly?

+

WebAssembly este o formă binară de a reprezenta cod executabil izolat. A fost dezvoltat pentru browser ca alternativă pentru JavaScript, având niște avantaje speciale:

+
    +
  • Deoarece este un cod binar apropiat de hardware, este capabil să facă operații matematice rapid și să gestioneze memorie mai concis.
  • +
  • WebAssembly a fost construit având în vedere compilatoare existente, ceea ce permite limbajelor native precum C/C++ și Rust să compileze cod pentru acesta.
  • +
  • Are în vedere și izolarea, permițând controlul fin al accesului.
  • +
  • WebAssembly a fost proiectat pentru a fi independent de platformă, permițând folosirea sa și în afara browserelor!
  • +
+

WebAssembly este adesea numit WASM

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_2_en.html b/webassembly/beta_chapter_2_en.html new file mode 100644 index 000000000..471dc8c62 --- /dev/null +++ b/webassembly/beta_chapter_2_en.html @@ -0,0 +1,47 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Sharing Data Structures

+

JavaScript and your WebAssembly program have very different representations of data at the memory level. +To make matters more complex, interacting with the host environment from WebAssembly is very limited. +In this chapter we will explore the strategies used to move data back and forth.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_2_en_c.html b/webassembly/beta_chapter_2_en_c.html new file mode 100644 index 000000000..e387886ed --- /dev/null +++ b/webassembly/beta_chapter_2_en_c.html @@ -0,0 +1,47 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Sharing Data Structures

+

JavaScript and your WebAssembly program have very different representations of data at the memory level. +To make matters more complex, interacting with the host environment from WebAssembly is very limited. +In this chapter we will explore the strategies used to move data back and forth.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_2_fr.html b/webassembly/beta_chapter_2_fr.html new file mode 100644 index 000000000..166552d17 --- /dev/null +++ b/webassembly/beta_chapter_2_fr.html @@ -0,0 +1,47 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Partage de structures de données

+

JavaScript et ton programme WebAssembly ont des représentations très différentes des données au niveau de la mémoire. +Pour rendre les choses plus complexes, l'interaction avec l'environnement hôte de WebAssembly est très limité. +Dans ce chapitre, nous explorerons les stratégies utilisées pour échanger les données entre JavaScript et WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_2_fr_c.html b/webassembly/beta_chapter_2_fr_c.html new file mode 100644 index 000000000..3a51eb315 --- /dev/null +++ b/webassembly/beta_chapter_2_fr_c.html @@ -0,0 +1,47 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Partage de structures de données

+

JavaScript et ton programme WebAssembly ont des représentations très différentes des données au niveau de la mémoire. +Pour rendre les choses plus complexes, l'interaction avec l'environnement hôte de WebAssembly est très limité. +Dans ce chapitre, nous explorerons les stratégies utilisées pour échanger les données entre JavaScript et WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_2_ja.html b/webassembly/beta_chapter_2_ja.html new file mode 100644 index 000000000..6b546282e --- /dev/null +++ b/webassembly/beta_chapter_2_ja.html @@ -0,0 +1,47 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2章 - データ構造を共有する

+

JavaScriptとWebAssemblyのプログラムでは、メモリ上でのデータの表現が大きく異なります。 +そしてより複雑なことに、WebAssemblyからホスト環境への干渉は厳しく制限されています。

+

この章では、そんな中でも互いにデータをやり取りするための方法を探ります。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_2_pt-br.html b/webassembly/beta_chapter_2_pt-br.html new file mode 100644 index 000000000..84209ffc6 --- /dev/null +++ b/webassembly/beta_chapter_2_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Compartilhando Estruturas de dados

+

JavaScript e seu WebAssembly têm representações de dados muito diferentes no nível da memória.

+

Para tornar as coisas mais complexas, a interação com o ambiente host do WebAssembly é muito limitada.

+

Neste capítulo exploraremos as estratégias usadas para o vai-e-vem dos dados.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_2_ro.html b/webassembly/beta_chapter_2_ro.html new file mode 100644 index 000000000..131bd9d18 --- /dev/null +++ b/webassembly/beta_chapter_2_ro.html @@ -0,0 +1,47 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 2 - Partajarea structurilor de date

+

JavaScript și programul dumneavoastră de WebAssembly au reprezentări foarte diferite ale datelor la nivelul memoriei. +Pentru a complica lucrurile și mai mult, interacțiunea cu mediul gazdă din WebAssembly este foarte limitată. +În acest capitol, vom explora strategiile folosite pentru a putea muta datele în ambele direcții.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_3_en.html b/webassembly/beta_chapter_3_en.html new file mode 100644 index 000000000..117227179 --- /dev/null +++ b/webassembly/beta_chapter_3_en.html @@ -0,0 +1,45 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Dynamic Invocation

+

In this chapter we will talk about how we can create our own dynamic functions at runtime to call from WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_3_fr.html b/webassembly/beta_chapter_3_fr.html new file mode 100644 index 000000000..b56259484 --- /dev/null +++ b/webassembly/beta_chapter_3_fr.html @@ -0,0 +1,46 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 3 - Invocation dynamique

+

Dans ce chapitre, nous expliquerons comment créer nos propres fonctions +dynamiques (créées lors de l'exécution) et les appeler depuis WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_3_ja.html b/webassembly/beta_chapter_3_ja.html new file mode 100644 index 000000000..87bd5608d --- /dev/null +++ b/webassembly/beta_chapter_3_ja.html @@ -0,0 +1,45 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3章 - 動的に実行する

+

この章では、ランタイムでWebAssemblyから動的にJavaScriptを実行する方法について話します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_3_pt-br.html b/webassembly/beta_chapter_3_pt-br.html new file mode 100644 index 000000000..d97462c35 --- /dev/null +++ b/webassembly/beta_chapter_3_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Invocação Dinâmica

+

Neste capítulo falaremos sobre como podemos criar nossas próprias funções dinâmicas em tempo de execução para chamar do WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_chapter_3_ro.html b/webassembly/beta_chapter_3_ro.html new file mode 100644 index 000000000..4bde27cca --- /dev/null +++ b/webassembly/beta_chapter_3_ro.html @@ -0,0 +1,45 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 3 - Invocare dinamică

+

În acest capitol vom discuta despre cum putem crea propriile funcții dinamice la runtime pentru a le apela din WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/beta_index.html b/webassembly/beta_index.html new file mode 100644 index 000000000..ba236f5ec --- /dev/null +++ b/webassembly/beta_index.html @@ -0,0 +1,61 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello, WebAssembly

+

Welcome to the Tour of WebAssembly. This is meant to be a introduction to the technology +and how Rust can be used to power the web. If you are completely new to Rust, you might +appreciate the Tour of Rust! Most of our examples will be easy +enough to follow along by anyone though. This tour is also available in C.

+ +

If you have suggestions on content or would like to contribute to translations, +checkout out Tour of WebAssembly's github repository.

+

You can navigate through the tour with keyboard ⬅️ and ➡️

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_en.html b/webassembly/chapter_1_en.html new file mode 100644 index 000000000..d8058b098 --- /dev/null +++ b/webassembly/chapter_1_en.html @@ -0,0 +1,53 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - What Is WebAssembly?

+

WebAssembly is a binary format for representating isolated executable code. It was developed for web +browsers as an alternative to JavaScript with some distinct advantages:

+
    +
  • Because its a low level bytecode, it's able to perform math quickly and manage memory more concisely.
  • +
  • WebAssembly was built with existing compilers in mind, allowing native languages like C/C++ and Rust to compile to it as a target.
  • +
  • Built with isolation in mind, allowing fine grain access control.
  • +
  • WebAssembly was built rather host agnostic, allowing some people to use WebAssembly outside of browsers too!
  • +
+

WebAssembly is often called WASM

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_en_c.html b/webassembly/chapter_1_en_c.html new file mode 100644 index 000000000..2d8ea7467 --- /dev/null +++ b/webassembly/chapter_1_en_c.html @@ -0,0 +1,53 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - What Is WebAssembly?

+

WebAssembly is a binary format for representating isolated executable code. It was developed for web +browsers as an alternative to JavaScript with some distinct advantages:

+
    +
  • Because its a low level bytecode, it's able to perform math quickly and manage memory more concisely.
  • +
  • WebAssembly was built with existing compilers in mind, allowing native languages like C/C++ and Rust to compile to it as a target.
  • +
  • Built with isolation in mind, allowing fine grain access control.
  • +
  • WebAssembly was built rather host agnostic, allowing some people to use WebAssembly outside of browsers too!
  • +
+

WebAssembly is often called WASM

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_es.html b/webassembly/chapter_1_es.html new file mode 100644 index 000000000..db16e2b6b --- /dev/null +++ b/webassembly/chapter_1_es.html @@ -0,0 +1,57 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - Qué es WebAssembly?

+

WebAssembly es un formato binario para representar un código ejecutable de forma aislada. Foi +Fue creado para para ser executado en los navegadores como una alternativa a +JavaScript con las siguientes ventajas:

+
    +
  • Por ser un bytecode de bajo nivel, capaz de ejecutar cálculos rápidamente y acceder a la memoria +de una forma más directa.
  • +
  • WebAssembly fue creado teniendo a los compiladores existentes en mente, haciendo posible que fuera +compilado a partir de lenguajes nativos como C/C++ y Rust.
  • +
  • Creado con seguridad e isolación en mente, permitiendo un control de acesso detallado.
  • +
  • WebAssembly fue creado para ser agnóstico, permitiendo que los usuarios usaran WebAssembly +fuera de los navegadores también!
  • +
+

WebAssembly es frecuentemente mencionado como WASM.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_fr.html b/webassembly/chapter_1_fr.html new file mode 100644 index 000000000..615177e0e --- /dev/null +++ b/webassembly/chapter_1_fr.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Qu'est-ce que WebAssembly?

+

WebAssembly est un format binaire pour représenter un code exécutable dans +un environement isolé. Il a été développé pour être exécuté par les navigateurs +web et propose une alternative au langage Javascript avec plusieurs avantages +distincts:

+
    +
  • Étant du bytecode de bas niveau, cela permet d'effectuer des calculs +plus rapidement que le JavaScript et d'avoir plus de contrôle sur la gestion +de la mémoire.
  • +
  • WebAssembly a été créé en s'inspirant des compilateurs existants, permettant +ainsi aux langages natifs comme C / C ++ et Rust de produire ce bytecode.
  • +
  • Le bytecode étant exécuté dans un environement isolé, cela permet de +contrôler son exécution.
  • +
  • WebAssembly a été construit indépendamment de l'hôte, rendant possible +son utilisation en dehors des navigateurs!
  • +
+

WebAssembly est souvent racourci en ** WASM **.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_fr_c.html b/webassembly/chapter_1_fr_c.html new file mode 100644 index 000000000..cfc22643d --- /dev/null +++ b/webassembly/chapter_1_fr_c.html @@ -0,0 +1,60 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 1 - Qu'est-ce que WebAssembly?

+

WebAssembly est un format binaire pour représenter un code exécutable dans +un environement isolé. Il a été développé pour être exécuté par les navigateurs +web et propose une alternative au langage Javascript avec plusieurs avantages +distincts:

+
    +
  • Étant du bytecode de bas niveau, cela permet d'effectuer des calculs +plus rapidement que le JavaScript et d'avoir plus de contrôle sur la gestion +de la mémoire.
  • +
  • WebAssembly a été créé en s'inspirant des compilateurs existants, permettant +ainsi aux langages natifs comme C / C ++ et Rust de produire ce bytecode.
  • +
  • Le bytecode étant exécuté dans un environement isolé, cela permet de +contrôler son exécution.
  • +
  • WebAssembly a été construit indépendamment de l'hôte, rendant possible +son utilisation en dehors des navigateurs!
  • +
+

WebAssembly est souvent racourci en ** WASM **.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_ie.html b/webassembly/chapter_1_ie.html new file mode 100644 index 000000000..d3d672964 --- /dev/null +++ b/webassembly/chapter_1_ie.html @@ -0,0 +1,53 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 1 - Quo es WebAssembly?

+

WebAssembly es un formate binari por representar code executabil isolat. On developat it por navigatores web +quam un alternative a JavaScript con quelc avantages distint:

+
    +
  • Essente bytecode de bass nivelle, it posse far matematica rapidmen e gerer memorie con plu concisitá.
  • +
  • On constructet WebAssembly pensante pri compilatores existent, por que lingues nativ quam C/C++ e Rust mey compilar con it quam cible.
  • +
  • It esset constructet sur li principie de isolation, possibilisante control de accesse rafinat.
  • +
  • On constructet WebAssembly sin egard al hósped, con quel alcunes posse usar it anc éxter navigatores web!
  • +
+

On nomina WebAssembly sovente WASM

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_ja.html b/webassembly/chapter_1_ja.html new file mode 100644 index 000000000..0b25220ca --- /dev/null +++ b/webassembly/chapter_1_ja.html @@ -0,0 +1,53 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

1章 - WebAssemblyとは?

+

WebAssemblyは、単体で実行可能なバイナリ形式のコードです。 +JavaScriptの代わりとしてWebブラウザのために開発されたもので、いくつかの優位性があります。

+
    +
  • ローレベルのバイトコードのため、メモリ安全に高速な演算が可能
  • +
  • 既存のプログラミング言語でコンパイルできるよう設計されているので、C/C++やRustなどからもターゲットとしてコンパイルできる
  • +
  • 独立性を保ちつつ、きめ細かいアクセス管理が可能
  • +
  • もとより実行される環境を問わない設計のため、Webブラウザ外でも実行可能です!
  • +
+

WebAssemblyは、しばしばWASMと呼ばれます。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_pt-br.html b/webassembly/chapter_1_pt-br.html new file mode 100644 index 000000000..376fa5694 --- /dev/null +++ b/webassembly/chapter_1_pt-br.html @@ -0,0 +1,52 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 1 - O Que É WebAssembly?

+

O WebAssembly é um formato binário para representar um código executável isolado. Foi projetado para ser executado nos navegadores de internet como uma alternativa ao JavaScript com algumas vantagens nítidas:

+
    +
  • Por ser um bytecode de baixo nível, é capaz de executar cálculos rapidamente e gerenciar a memória de forma mais concisa.
  • +
  • O WebAssembly foi projetado tendo os compiladores existentes em mente, permitindo que seja compilado a partir de linguagens nativas como C/C++ e Rust.
  • +
  • Projetado com o isolamento em mente, permitindo um controle de acesso detalhado.
  • +
  • O WebAssembly foi projetado para ser bem agnóstico, permitindo que as pessoas usem o web assembly fora dos navegadores também!
  • +
+

O WebAssembly é frequentemente chamado de WASM.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_1_ro.html b/webassembly/chapter_1_ro.html new file mode 100644 index 000000000..028c53f7b --- /dev/null +++ b/webassembly/chapter_1_ro.html @@ -0,0 +1,52 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 1 - Ce este WebAssembly?

+

WebAssembly este o formă binară de a reprezenta cod executabil izolat. A fost dezvoltat pentru browser ca alternativă pentru JavaScript, având niște avantaje speciale:

+
    +
  • Deoarece este un cod binar apropiat de hardware, este capabil să facă operații matematice rapid și să gestioneze memorie mai concis.
  • +
  • WebAssembly a fost construit având în vedere compilatoare existente, ceea ce permite limbajelor native precum C/C++ și Rust să compileze cod pentru acesta.
  • +
  • Are în vedere și izolarea, permițând controlul fin al accesului.
  • +
  • WebAssembly a fost proiectat pentru a fi independent de platformă, permițând folosirea sa și în afara browserelor!
  • +
+

WebAssembly este adesea numit WASM

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_en.html b/webassembly/chapter_2_en.html new file mode 100644 index 000000000..51eead3b1 --- /dev/null +++ b/webassembly/chapter_2_en.html @@ -0,0 +1,47 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Sharing Data Structures

+

JavaScript and your WebAssembly program have very different representations of data at the memory level. +To make matters more complex, interacting with the host environment from WebAssembly is very limited. +In this chapter we will explore the strategies used to move data back and forth.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_en_c.html b/webassembly/chapter_2_en_c.html new file mode 100644 index 000000000..c9795593a --- /dev/null +++ b/webassembly/chapter_2_en_c.html @@ -0,0 +1,47 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 2 - Sharing Data Structures

+

JavaScript and your WebAssembly program have very different representations of data at the memory level. +To make matters more complex, interacting with the host environment from WebAssembly is very limited. +In this chapter we will explore the strategies used to move data back and forth.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_es.html b/webassembly/chapter_2_es.html new file mode 100644 index 000000000..3106b0a76 --- /dev/null +++ b/webassembly/chapter_2_es.html @@ -0,0 +1,47 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 2 - Sharing Data Structures

+

JavaScript and your WebAssembly program have very different representations of data at the memory level. +To make matters more complex, interacting with the host environment from WebAssembly is very limited. +In this chapter we will explore the strategies used to move data back and forth.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_fr.html b/webassembly/chapter_2_fr.html new file mode 100644 index 000000000..d95430154 --- /dev/null +++ b/webassembly/chapter_2_fr.html @@ -0,0 +1,47 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Partage de structures de données

+

JavaScript et ton programme WebAssembly ont des représentations très différentes des données au niveau de la mémoire. +Pour rendre les choses plus complexes, l'interaction avec l'environnement hôte de WebAssembly est très limité. +Dans ce chapitre, nous explorerons les stratégies utilisées pour échanger les données entre JavaScript et WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_fr_c.html b/webassembly/chapter_2_fr_c.html new file mode 100644 index 000000000..91ffda871 --- /dev/null +++ b/webassembly/chapter_2_fr_c.html @@ -0,0 +1,47 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 2 - Partage de structures de données

+

JavaScript et ton programme WebAssembly ont des représentations très différentes des données au niveau de la mémoire. +Pour rendre les choses plus complexes, l'interaction avec l'environnement hôte de WebAssembly est très limité. +Dans ce chapitre, nous explorerons les stratégies utilisées pour échanger les données entre JavaScript et WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_ie.html b/webassembly/chapter_2_ie.html new file mode 100644 index 000000000..125f528fe --- /dev/null +++ b/webassembly/chapter_2_ie.html @@ -0,0 +1,47 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 2 - Sharing Data Structures

+

JavaScript and your WebAssembly program have very different representations of data at the memory level. +To make matters more complex, interacting with the host environment from WebAssembly is very limited. +In this chapter we will explore the strategies used to move data back and forth.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_ja.html b/webassembly/chapter_2_ja.html new file mode 100644 index 000000000..2e0ab11e9 --- /dev/null +++ b/webassembly/chapter_2_ja.html @@ -0,0 +1,47 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

2章 - データ構造を共有する

+

JavaScriptとWebAssemblyのプログラムでは、メモリ上でのデータの表現が大きく異なります。 +そしてより複雑なことに、WebAssemblyからホスト環境への干渉は厳しく制限されています。

+

この章では、そんな中でも互いにデータをやり取りするための方法を探ります。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_pt-br.html b/webassembly/chapter_2_pt-br.html new file mode 100644 index 000000000..d76ff792d --- /dev/null +++ b/webassembly/chapter_2_pt-br.html @@ -0,0 +1,47 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 2 - Compartilhando Estruturas de dados

+

JavaScript e seu WebAssembly têm representações de dados muito diferentes no nível da memória.

+

Para tornar as coisas mais complexas, a interação com o ambiente host do WebAssembly é muito limitada.

+

Neste capítulo exploraremos as estratégias usadas para o vai-e-vem dos dados.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_2_ro.html b/webassembly/chapter_2_ro.html new file mode 100644 index 000000000..abb992a26 --- /dev/null +++ b/webassembly/chapter_2_ro.html @@ -0,0 +1,47 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 2 - Partajarea structurilor de date

+

JavaScript și programul dumneavoastră de WebAssembly au reprezentări foarte diferite ale datelor la nivelul memoriei. +Pentru a complica lucrurile și mai mult, interacțiunea cu mediul gazdă din WebAssembly este foarte limitată. +În acest capitol, vom explora strategiile folosite pentru a putea muta datele în ambele direcții.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_en.html b/webassembly/chapter_3_en.html new file mode 100644 index 000000000..aa40d104a --- /dev/null +++ b/webassembly/chapter_3_en.html @@ -0,0 +1,45 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapter 3 - Dynamic Invocation

+

In this chapter we will talk about how we can create our own dynamic functions at runtime to call from WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_en_c.html b/webassembly/chapter_3_en_c.html new file mode 100644 index 000000000..d875f7607 --- /dev/null +++ b/webassembly/chapter_3_en_c.html @@ -0,0 +1,45 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 - Dynamic Invocation

+

In this chapter we will talk about how we can create our own dynamic functions at runtime to call from WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_es.html b/webassembly/chapter_3_es.html new file mode 100644 index 000000000..a98ed9086 --- /dev/null +++ b/webassembly/chapter_3_es.html @@ -0,0 +1,45 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 - Dynamic Invocation

+

In this chapter we will talk about how we can create our own dynamic functions at runtime to call from WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_fr.html b/webassembly/chapter_3_fr.html new file mode 100644 index 000000000..35ce96de6 --- /dev/null +++ b/webassembly/chapter_3_fr.html @@ -0,0 +1,46 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Chapitre 3 - Invocation dynamique

+

Dans ce chapitre, nous expliquerons comment créer nos propres fonctions +dynamiques (créées lors de l'exécution) et les appeler depuis WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_fr_c.html b/webassembly/chapter_3_fr_c.html new file mode 100644 index 000000000..da784d460 --- /dev/null +++ b/webassembly/chapter_3_fr_c.html @@ -0,0 +1,45 @@ + + + + Tour de WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 - Dynamic Invocation

+

In this chapter we will talk about how we can create our own dynamic functions at runtime to call from WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_ie.html b/webassembly/chapter_3_ie.html new file mode 100644 index 000000000..80a169579 --- /dev/null +++ b/webassembly/chapter_3_ie.html @@ -0,0 +1,45 @@ + + + + Tur de Rust - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

[Untranslated] Chapter 3 - Dynamic Invocation

+

In this chapter we will talk about how we can create our own dynamic functions at runtime to call from WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_ja.html b/webassembly/chapter_3_ja.html new file mode 100644 index 000000000..63fb173ef --- /dev/null +++ b/webassembly/chapter_3_ja.html @@ -0,0 +1,45 @@ + + + + WebAssembly ツアー - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

3章 - 動的に実行する

+

この章では、ランタイムでWebAssemblyから動的にJavaScriptを実行する方法について話します。

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_pt-br.html b/webassembly/chapter_3_pt-br.html new file mode 100644 index 000000000..59228b2c7 --- /dev/null +++ b/webassembly/chapter_3_pt-br.html @@ -0,0 +1,45 @@ + + + + Um tour por WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capítulo 3 - Invocação Dinâmica

+

Neste capítulo falaremos sobre como podemos criar nossas próprias funções dinâmicas em tempo de execução para chamar do WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/webassembly/chapter_3_ro.html b/webassembly/chapter_3_ro.html new file mode 100644 index 000000000..0dda22708 --- /dev/null +++ b/webassembly/chapter_3_ro.html @@ -0,0 +1,45 @@ + + + + Turul WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Capitolul 3 - Invocare dinamică

+

În acest capitol vom discuta despre cum putem crea propriile funcții dinamice la runtime pentru a le apela din WebAssembly.

+ +
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/docs/webassembly/ferris.png b/webassembly/ferris.png similarity index 100% rename from docs/webassembly/ferris.png rename to webassembly/ferris.png diff --git a/webassembly/index.html b/webassembly/index.html new file mode 100644 index 000000000..971ef5260 --- /dev/null +++ b/webassembly/index.html @@ -0,0 +1,61 @@ + + + + Tour of WebAssembly - Let's go on an adventure! + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+

Hello, WebAssembly

+

Welcome to the Tour of WebAssembly. This is meant to be a introduction to the technology +and how Rust can be used to power the web. If you are completely new to Rust, you might +appreciate the Tour of Rust! Most of our examples will be easy +enough to follow along by anyone though. This tour is also available in C.

+ +

If you have suggestions on content or would like to contribute to translations, +checkout out Tour of WebAssembly's github repository.

+

You can navigate through the tour with keyboard ⬅️ and ➡️

+
+ + +
+
+
Mascot Ferris
+
+ + \ No newline at end of file diff --git a/docs/webassembly/tour.css b/webassembly/tour.css similarity index 100% rename from docs/webassembly/tour.css rename to webassembly/tour.css